crs4 / notredam

Automatically exported from code.google.com/p/notredam
http://www.notredam.org
17 stars 4 forks source link

Missing python-egenix-mxdatetime and libexempi3 dependency for notredam-replacement branch #82

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Install a fresh Ubuntu 12.04.2 LTS server
2. Install notredam-replacement as documented in 
http://notredam.org/2013/01/installation-from-source-code-repository/
3. Try to run notredam

What is the expected output? What do you see instead?
Instead of having a running NotreDAM instance we get a few errors due to 
missing libraries. 

What version of the product are you using? On what operating system?
Using notredam-replacement branch at changeset: 2042:3c2338db42d4

Please provide any additional information below.
Please, check if this dependency are necesary and update the documentation or 
try to include this information when you create the final version of the 
intalation document.

Original issue reported on code.google.com by goo...@gmail.com on 5 Apr 2013 at 11:41

GoogleCodeExporter commented 9 years ago
hi,
which libraries are missing?
Have you tried to pull the last changes from the notredam-replacement branch?

Let me know,
brixio

Original comment by fabrizio.solinas83@gmail.com on 5 Apr 2013 at 12:52

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I haven't write down the exact errors so I couldn't tell you the exact messages.
I think both where python import errors.

What I could say is that I needed to install the ubuntu packages 
python-egenix-mxdatetime and libexempi3 in order to start NotreDAM without 
errors.

First I installed python-egenix-mxdatetime then I get another error that was 
solved by installing libexempi3 package.

I'm going to install a fresh new ubuntu 12.04 amd64 system in order to have 
more detailed error report. 

Keep in mind that this was a clean install and after this I just tried to 
install notredam-replcement as documented.

I'm going to install a fresh new ubuntu 12.04 amd64 system in order to have 
more detailed error report. 

Keep in mind that this was a clean install and after this I just tried to 
install notredam-replacement as documented.

Original comment by goo...@gmail.com on 8 Apr 2013 at 10:15

GoogleCodeExporter commented 9 years ago
As commented by gherardo in 
http://notredam.org/2013/01/installation-from-source-code-repository/#comment-32

He also needs to install python-egenix-mxdatetime and libexempi3

Maybe those are just Celery dependencies.

Original comment by goo...@gmail.com on 8 Apr 2013 at 12:25

GoogleCodeExporter commented 9 years ago
Confirmed!

in Step 9 – Launch Celery when trying to run 'celeryd -c 4'
I get the following error:
  <...>
  File "~/notredam/src/dam/mprocessor/servers/xmp_embedder.py", line 3, in <module>
    from mx.DateTime.Parser import DateTimeFromString
ImportError: No module named mx.DateTime.Parser

solved with
# sudo apt-get install python-egenix-mxdatetime
That installs python-egenix-mxdatetime and python-egenix-mxtools

trying to run 'celeryd -c 4' again and got the following error:
  <...>
  File "~/notredam/src/dam/mprocessor/servers/xmp_embedder.py", line 8, in <module>
    from libxmp import XMPFiles, XMPError, files, XMPMeta
  File "~/notredam/src/dam/libxmp/__init__.py", line 95, in <module>
    raise ExempiLoadError('Could not load shared library exempi.')
NameError: name 'ExempiLoadError' is not defined

Solved with
# sudo apt-get install libexempi3

After that, Celery starts normally.

CONCLUSION:
python-egenix-mxdatetime and libexempi3 are both dependencies of 
mprocessor/servers/xmp_embedder.py

I recommend to include:
# sudo apt-get install python-egenix-mxdatetime libexempi3
in Step 9 - Launch Celery
as those seems to be needed only for the MProcessor works.

Original comment by goo...@gmail.com on 9 Apr 2013 at 10:10

GoogleCodeExporter commented 9 years ago
Fresh new install of ubuntu 12.04.2 amd64 only OpenSSH server selected at 
install time.

and use NotreDAM code at:
changeset:   2055:9988fa26629d
branch:      notredam-replacement
tag:         tip
parent:      2054:aa6f88726ade
parent:      2042:a8c4097cadc2
user:        Alceste Scalas <alceste@crs4.it>
date:        Thu Apr 04 17:19:44 2013 +0200
summary:     Merge from default branch

Original comment by goo...@gmail.com on 9 Apr 2013 at 10:19

GoogleCodeExporter commented 9 years ago
thank you, we have updated the guide.

brixio.

Original comment by fabrizio.solinas83@gmail.com on 9 Apr 2013 at 10:37