Help me to install Cubic web
I am using Ubuntu 12.04. I want to install Cubicweb semantic webframework.
http://
http://
Above links shows it. But I want help in achieving this.
And need to install the required elements and optional elements as well
http://
Kindly help.
Regards,
Rohit
Question information
- Language:
- English Edit question
- Status:
- Open
- For:
- Ubuntu apt Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Related bugs
Related FAQ:
None Link to a FAQ
Revision history for this message
|
#1 |
run:
gksudo gedit /etc/apt/
add the line:
deb http://
Save the new file and close gedit. Then run:
wget -q http://
apt-get update
apt-get install cubicweb cubicweb-dev
That is from the links you gave. All I did was copy and paste the lines.....
Revision history for this message
|
#2 |
I am getting this error.
-4720Z:~$ sudo apt-get install cubicweb cubicweb-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
cubicweb : Depends: cubicweb-server (= 3.15.1-1) but it is not going to be installed
cubicweb-dev : Depends: cubicweb-server (= 3.15.1-1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
_______
I even tried to install from (1.6. Install from source)
download cubicweb-
But to install that we need all the installation dependencies as mentioned in their site which links to http://
Got any trick to do this
--- On Tue, 7/8/12, actionparsnip <email address hidden> wrote:
From: actionparsnip <email address hidden>
Subject: Re: [Question #205205]: Help me to install Cubic web
To: <email address hidden>
Date: Tuesday, 7 August, 2012, 4:31 PM
Your question #205205 on Ubuntu changed:
https:/
Status: Open => Answered
actionparsnip proposed the following answer:
run:
gksudo gedit /etc/apt/
add the line:
deb http://
Save the new file and close gedit. Then run:
wget -q http://
apt-get update
apt-get install cubicweb cubicweb-dev
That is from the links you gave. All I did was copy and paste the
lines.....
--
If this answers your question, please go to the following page to let us
know that it is solved:
https:/
If you still need help, you can reply to this email or go to the
following page to enter your feedback:
https:/
You received this question notification because you asked the question.
Revision history for this message
|
#3 |
If I read the installation instructions and combine that with the information that you provided, I recommend tha following:
Instead of
deb http://
you should add
deb http://
(either somewhere in /etc/apt/
If you have done that you have to issue the command
sudo apt-get update
If that command gives warnings or errors please copy all output and paste it into a new message of this question thread.
If the sudo apt-get update completes successfully without warnings and errors, issue the command
sudo apt-get install cubicweb cubicweb-dev
If that command ends with the same error message as ebove (dependency problem...), try adding the missing packages, e.g.
sudo apt-get install cubicweb cubicweb-dev cubicweb-server cubicweb-twisted cubicweb-web
If that still fails plase copy all output and paste it into a new message of this question thread, that we can examine the error message and try finding further recommendations.
Revision history for this message
|
#4 |
:~$ sudo apt-get update
E: Malformed line 1 in source list /etc/apt/
E: The list of sources could not be read.
rohit@rohit-
:~$ sudo apt-get install cubicweb cubicweb-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Malformed line 1 in source list /etc/apt/
E: The list of sources could not be read.
E: Unable to locate package cubicweb
E: Unable to locate package cubicweb-dev
:~$ sudo apt-get install cubicweb cubicweb-dev cubicweb-server cubicweb-twisted cubicweb-web
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package cubicweb
E: Unable to locate package cubicweb-dev
E: Unable to locate package cubicweb-server
E: Unable to locate package cubicweb-twisted
E: Unable to locate package cubicweb-web
Revision history for this message
|
#5 |
When I try source install I get this error after processing few installation files
Running pysqlite-
In file included from src/module.c:24:0:
src/connection.
compilation terminated.
error: Setup script exited with error: command 'gcc' failed with exit status 1
Revision history for this message
|
#6 |
...sudo apt-get update
E: Malformed line 1 in source list /etc/apt/
Now there seems to be a syntax error in /etc/apt/
What are the contents of /etc/apt/
Revision history for this message
|
#7 |
deb http://
it got this statement
Revision history for this message
|
#8 |
maybe the ending slashes are missing, change it to
deb http://
Revision history for this message
|
#9 |
It worked I guess,
But when I try to check commands, I am getting this
:~/cubicweb$ cubicweb-ctl --help
Traceback (most recent call last):
File "/usr/local/
import pkg_resources
File "/usr/lib/
working_
File "/usr/lib/
needed = self.resolve(
File "/usr/lib/
raise DistributionNot
pkg_resources.
Revision history for this message
|
#10 |
I am happy to see that finally the packages are installed, but sorry to see that it does not work.
For me the error points towards a problem in the cooperation between cubicweb and 'twisted' (or 'Twisted' - the capital T puzzles me a bit!)
You might try reinstalling cubicweb-twisted and the python-twisted... packages, but I do not think that this will help.
Eventually you might try switching to the twisted packages from https:/
Revision history for this message
|
#11 |
How to use that ppa if you don't mind could you help me
--- On Wed, 8/8/12, Manfred Hampl <email address hidden> wrote:
From: Manfred Hampl <email address hidden>
Subject: Re: [Question #205205]: Help me to install Cubic web
To: <email address hidden>
Date: Wednesday, 8 August, 2012, 8:05 PM
Your question #205205 on Ubuntu changed:
https:/
Status: Open => Answered
Manfred Hampl proposed the following answer:
I am happy to see that finally the packages are installed, but sorry to
see that it does not work.
For me the error points towards a problem in the cooperation between cubicweb and 'twisted' (or 'Twisted' - the capital T puzzles me a bit!)
You might try reinstalling cubicweb-twisted and the python-twisted... packages, but I do not think that this will help.
Eventually you might try switching to the twisted packages from
https:/
--
If this answers your question, please go to the following page to let us
know that it is solved:
https:/
If you still need help, you can reply to this email or go to the
following page to enter your feedback:
https:/
You received this question notification because you asked the question.
Revision history for this message
|
#12 |
see https:/
issue the commands
sudo add-apt-repository ppa:twisted-dev/ppa
sudo apt-get update
sudo aot-get upgrade
Revision history for this message
|
#13 |
Still the same issue which I posted with "cubicweb-ctl --help" comment. I was thinking is it related with setting up environment. Could you help me if I am doing anything wrong. Is it working for you.
Revision history for this message
|
#14 |
I do not have cubicweb on my own system, so there is only little what I can help further.
What I am puzzled about is that the error message states "pkg_resources.
I searched the source tarball and spotted the string "Twisted" in __pkginfo__.py (is most probably installed in /usr/share/
What you might try is to edit the file /usr/share/
If that does not help, I am running out of ideas. Maybe other sources (http://
Revision history for this message
|
#15 |
Still the same issue which I posted with "cubicweb-ctl --help" comment. I was thinking is it related with setting up environment. Could you help me if I am doing anything wrong. Is it working for you.
Revision history for this message
|
#16 |
I did change it. And now I get this error.
rohit@rohit-
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be upgraded:
malys-revolt
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
59 not fully installed or removed.
Need to get 0 B/5,119 kB of archives.
After this operation, 5,954 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
(Reading database ... 275926 files and directories currently installed.)
Preparing to replace malys-revolt 3.3~precise (using .../malys-
Unpacking replacement malys-revolt ...
dpkg: error processing /var/cache/
trying to overwrite '/usr/share/
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/
E: Sub-process /usr/bin/dpkg returned an error code (1)
Revision history for this message
|
#17 |
When I try to download the package, I get this issue. I think the problem is with the python package.
$python setup.py install
running install
Checking .pth file support in /usr/local/
error: can't create or remove files in install directory
The following error occurred while trying to add or remove files in the
installation directory:
[Errno 13] Permission denied: '/usr/local/
The installation directory you specified (via --install-dir, --prefix, or
the distutils default setting) was:
/usr/
Perhaps your account does not have write access to this directory? If the
installation directory is a system-owned directory, you may need to sign in
as the administrator or "root" account. If you do not have administrative
access to this machine, you may wish to choose a different installation
directory, preferably one that is listed in your PYTHONPATH environment
variable.
For information on other options, you may wish to consult the
documentation at:
http://
Please make the appropriate changes for your system and try again.
Revision history for this message
|
#18 |
I think that the problem with malys-revolt is not related to the one with cubicweb.
What you are facing here is the following:
Both malys-revolt-0.5 and malys-revolt want to install a file 'usr/share/
As far as I can see the new package malys-revolt 3.7 contains all files from malys-revolt-0.5, so most probably you should remove malys-revolt-0.5 and the update of malys-revilt should work again.
Back to the cubicweb issue:
Have you changed the string 'Twisted' to 'twisted' in __pkginfo__.py?
What is the exact error message of the cubicweb-ctl --help command now? (still showing 'Twisted' with a capital T?)
Revision history for this message
|
#19 |
I see that out messages crossed each other.
Your last problem
You might try
sudo python setup.py install
Revision history for this message
|
#20 |
I have changed the Twisted word to twist and when i tried to upgrade I got malys-revolt error. I feel I am troubling you alot. But really appreciate your help. If possible if you are ok trying to download it and try it yourself. Kindly let me know. Hope you won't face the same situation
--- On Thu, 9/8/12, Manfred Hampl <email address hidden> wrote:
From: Manfred Hampl <email address hidden>
Subject: Re: [Question #205205]: Help me to install Cubic web
To: <email address hidden>
Date: Thursday, 9 August, 2012, 4:06 PM
Your question #205205 on apt in Ubuntu changed:
https:/
Status: Open => Answered
Manfred Hampl proposed the following answer:
I think that the problem with malys-revolt is not related to the one
with cubicweb.
What you are facing here is the following:
Both malys-revolt-0.5 and malys-revolt want to install a file 'usr/share/
As far as I can see the new package malys-revolt 3.7 contains all files
from malys-revolt-0.5, so most probably you should remove malys-
revolt-0.5 and the update of malys-revilt should work again.
Back to the cubicweb issue:
Have you changed the string 'Twisted' to 'twisted' in __pkginfo__.py?
What is the exact error message of the cubicweb-ctl --help command now? (still showing 'Twisted' with a capital T?)
--
If this answers your question, please go to the following page to let us
know that it is solved:
https:/
If you still need help, you can reply to this email or go to the
following page to enter your feedback:
https:/
You received this question notification because you asked the question.
Revision history for this message
|
#21 |
I mean changed "T" to "t"
Revision history for this message
|
#22 |
I downloaded the whole package and tried to install through that command. But got that issue.
--- On Thu, 9/8/12, Manfred Hampl <email address hidden> wrote:
From: Manfred Hampl <email address hidden>
Subject: Re: [Question #205205]: Help me to install Cubic web
To: <email address hidden>
Date: Thursday, 9 August, 2012, 4:11 PM
Your question #205205 on apt in Ubuntu changed:
https:/
Manfred Hampl proposed the following answer:
I see that out messages crossed each other.
Your last problem
You might try
sudo python setup.py install
--
If this answers your question, please go to the following page to let us
know that it is solved:
https:/
If you still need help, you can reply to this email or go to the
following page to enter your feedback:
https:/
You received this question notification because you asked the question.
Can you help with this problem?
Provide an answer of your own, or ask Rohith Kumar for more information if necessary.