Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#13680 - [wxpython] package influence other python package use?

Attached to Project: Arch Linux
Opened by zhangkaizhao (halfcool) - Friday, 06 March 2009, 11:48 GMT
Last edited by Roman Kyrylych (Romashka) - Saturday, 13 June 2009, 07:22 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Eric Belanger (Snowman)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
It seems that the wxpython package would influence some zope packages under python 2.6?

Additional info:
* version(s):
python 2.6.1-1
wxpython 2.8.9.1-1
* config and/or log files etc:
....
File "/home/cool/buildout-cache/eggs/zope.configuration-3.4.0-py2.6.egg/zope/configuration/fields.py", line 139, in fromUnicode
value = self.context.resolve(name)
File "/home/cool/buildout-cache/eggs/zope.configuration-3.4.0-py2.6.egg/zope/configuration/config.py", line 182, in resolve
mod = __import__(mname, *_import_chickens)
File "/usr/lib/python2.6/site-packages/wxaddons/__init__.py", line 180, in import_hook
return builtin_import(name, globals, locals, fromlist)
File "/home/cool/edo/eggs/zopen.skin/src/zopen/skin/layer.py", line 4, in <module>
from z3c.layer.pagelet import IPageletBrowserLayer
File "/usr/lib/python2.6/site-packages/wxaddons/__init__.py", line 180, in import_hook
return builtin_import(name, globals, locals, fromlist)
File "/home/cool/buildout-cache/eggs/z3c.layer-0.3.1-py2.6.egg/z3c/layer/pagelet/__init__.py", line 25, in <module>
stacklevel=2)
zope.configuration.xmlconfig.ZopeXMLConfigurationError: File "/home/cool/edo/apps/app.edo/site.zcml", line 44.2-44.49
ZopeXMLConfigurationError: File "/home/cool/edo/eggs/zopen.skin/src/zopen/skin/app.zcml", line 28.2-28.34
ZopeXMLConfigurationError: File "/home/cool/edo/eggs/zopen.skin/src/zopen/skin/configure.zcml", line 9.2-9.29
ZopeXMLConfigurationError: File "/home/cool/edo/eggs/zopen.skin/src/zopen/skin/skin/configure.zcml", line 9.2-13.8
TypeError: import_hook() takes at most 4 arguments (5 given)


Steps to reproduce:
I remove the wxpython package from system. And everything works well. But How make to them work together? I need both.
This task depends upon

Closed by  Roman Kyrylych (Romashka)
Saturday, 13 June 2009, 07:22 GMT
Reason for closing:  Fixed
Additional comments about closing:  No responses in +1 month. Please reopen if necessary.
Comment by Eric Belanger (Snowman) - Tuesday, 10 March 2009, 19:12 GMT
I need a few clarifications:
- What do you mean by "some zope packages" ? Are you talking about zope? If you're talking about other packages, what are they?
- What were you doing when you got this error? What command line did you ran? I don't understand why you get references to "/home/cool/edo/eggs/zopen.skin/src/zopen/skin". Are you using the package from the repo?
Comment by zhangkaizhao (halfcool) - Wednesday, 11 March 2009, 04:48 GMT
It's very kind of you to pay your attention to it!

- Yes. I use the zope components to build my application.( http://download.zope.org/distribution/ )
- It happened when I tried to run my application. I use the PasteScript ( http://pypi.python.org/pypi/PasteScript/ ) to run my application in the zc.buildout (A python virtual environment http://pypi.python.org/pypi/zc.buildout/ ). I am mazed that 'from z3c.layer.pagelet import IPageletBrowserLayer' get reference to 'usr/lib/python2.6/site-packages/wxaddons/__init__.py'.
Comment by Eric Belanger (Snowman) - Tuesday, 05 May 2009, 06:07 GMT
I don't have /usr/lib/python2.6/site-packages/wxaddons/__init__.py on my system. Could you post the output of 'pacman -Qo /usr/lib/python2.6/site-packages/wxaddons/__init__.py' ?
Comment by Eric Belanger (Snowman) - Tuesday, 05 May 2009, 06:55 GMT
I just checked and wxpython 2.8.9.2-1 no longer has /usr/lib/python2.6/site-packages/wxaddons/__init__.py. Can you test to see if the bug is still valid?

Loading...