I try to install a module and I get a missing 'zbar' message!?

Asked by Zoltan Somogyi

I try to install a module and I get the following errors (v6.1, last versions...):

1. "Error Unable to install module "xyz" because an external dependency is not met: No module named zbar"

2. "Error Unable to install module "xyz" because an external dependency is not met: No module named elaphe"

3. "ValidateErrorError occurred while validating the field(s) arch: Invalid XML for View Architecture!". Why I get this error?"

Thank you for any help!

Question information

Language:
English Edit question
Status:
Answered
For:
Odoo Addons (MOVED TO GITHUB) Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Serpent Consulting Services (serpent-consulting-services) said :
#1

Zoltan,

Would you please clarify which module are you trying to install?

It seems you are trying to install a module related to barcoding (like training).

1. Run this command into your terminal:
sudo apt-get install python-zbar

2. Follow http://pypi.python.org/pypi/elaphe/0.5.3 for installation.

3. This says that the module is using wrong tags in xml.

Please give more information.

Regards,
Serpent Consulting Services.

Revision history for this message
Zoltan Somogyi (zsomogyi-be) said :
#2

Hi,

Thank you for your answer!

Can you please tell me how to do this in Windows (not Linux)? Can I just copy from somewhere the right files to somewhere under my OpenERP server (zbar and elaphe)?

Yes I am trying to install and test the 'Training' module but it is even not installing well... and there is also no documentation.

Revision history for this message
Serpent Consulting Services (serpent-consulting-services) said :
#3

Zoltan,

For windows, you have to install relevant libraries in executable mode.

No pure idea and comments about training module, but if you are looking for an education portal, we are making a portal underway.

Thanks.

Revision history for this message
Zoltan Somogyi (zsomogyi-be) said :
#4

Hi,

Education portal, interesting! Let me know when you are ready. Is this a module for OpenERP or stand alone? I am looking for a solution to manager trainings (subscription, event management, exam, etc.) preferably in OpenERP.

Do you know where to find the libraries (zbar and elaphe) in executable mode?

Thank you,
Zoltan

Revision history for this message
Serpent Consulting Services (serpent-consulting-services) said :
#5

Zoltan,

Sure, the whole community will be informed.

http://pypi.python.org/pypi/elaphe/0.5.3#downloads and http://pypi.python.org/pypi/zbar#downloads

Elaphe does not seem to have one, you have to do that pythonic way!

Thanks.

Revision history for this message
Zoltan Somogyi (zsomogyi-be) said :
#6

Hi,

Thank you but it is still a bit of a chaos for me because those libraries are in C (or in dll form under Windows) but we need Pyhon (.py) for OpenERP... I do not really understand what to do with them... !?

Thank you,
Zoltan

Revision history for this message
Sohil Patel(SerpentCS) (sohil-patel) said :
#7

Zoltan,

Look at the server/lib folder of OpenERP where you will see compiled libraries of diff py packages.

If there is no compatible file for windows, then we have to think of an alternate.

I am not against windows, but OpenERP fits the best while using ubuntu due to various technical reasons.

Thanks.

Can you help with this problem?

Provide an answer of your own, or ask Zoltan Somogyi for more information if necessary.

To post a message you must log in.