Install issue wikipbx.wikipbxweb: No module named ext
Forum » WikiPBX / Technical Support » Install issue wikipbx.wikipbxweb: No module named ext
Started by: NemNemNemNem
On: 1247414947|%e %b %Y, %H:%M %Z|agohover
Number of posts: 2
rss icon RSS: New posts
Summary:
/usr/src/wikipbx# python manage.py syncdb Error: Couldn't install apps, because there were errors in one or more models: wikipbx.wikipbxweb: No module named ext
Install issue wikipbx.wikipbxweb: No module named ext
NemNemNemNem 1247414947|%e %b %Y, %H:%M %Z|agohover

Hi,

I'm currently following the install documentation.

I am having problems with

/usr/src/wikipbx# python manage.py syncdb

Error: Couldn't install apps, because there were errors in one or more models:
wikipbx.wikipbxweb: No module named ext

After some googling I found the following (which may or may not be significant.

https://launchpad.net/ubuntu/+source/python-xml/

python-xml (0.8.4-10.1ubuntu1) intrepid; urgency=low

* Merge from debian unstable, remaining changes: (LP: #????)
- Explicitely remove /usr/lib/python2.[345]/site-packages/_xmlplus,
likely be left by an earlier python-central version. LP: #212917.
- Install the files outside of sys.path, so that the package
does not overlay the xml code as found in the core python packages.
This package should be removed once all rdepends are gone. For
now, packages have to add this path before the first xml import:
sys.path.append('/usr/lib/python%s/site-packages/oldxml' %
sys.version[:3])

I am running on an ubuntu server.
/usr/src/wikipbx# cat /etc/debian_version
lenny/sid

Any ideas about what I need to do to get this going?

Cheers,

Darren

Reply  |  Options
Unfold Install issue wikipbx.wikipbxweb: No module named ext by NemNemNemNem, 1247414947|%e %b %Y, %H:%M %Z|agohover
Re: Install issue wikipbx.wikipbxweb: No module named ext
stas_shtinstas_shtin 1247430931|%e %b %Y, %H:%M %Z|agohover

Looks like adding "/usr/lib/python<YOUR VERSION>/site-packages/oldxml" to the PYTHONPATH environment variable should help you.

I think you aren't doing anything wrong - it's just that the Ubuntu developers have moved an underlying library from python-xml package in order to avoid some import problems.

Reply  |  Options
New Post
page_revision: 0, last_edited: 1226259295|%e %b %Y, %H:%M %Z (%O ago)
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License