[Zope-dev] Problem with Zope 2.6.0 and ZShell
Jerome Alet
alet@librelogiciel.com
Tue, 19 Nov 2002 19:41:38 +0100
Hi,
Someone has reported to me a problem when running ZShell's latest
version (1.5) under Zope 2.6 CVS and Python 2.2.2
Here's the traceback :
*****
Traceback (innermost last):
Module ZPublisher.Publish, line 98, in publish
Module ZPublisher.mapply, line 88, in mapply
Module ZPublisher.Publish, line 39, in call_object
Module Products.ExternalMethod.ExternalMethod, line 224, in __call__
- __traceback_info__: ((<Application instance at b796560>, ['man ls',
'ls'], None), {}, (None, None))
Module /home/zope/Zope/ZInstanceHome/Extensions/zshell.py, line 3501,
in zshell
Module /home/zope/Zope/ZInstanceHome/Extensions/zshell.py, line 701,
in __init__
Module /home/zope/Zope/ZInstanceHome/Extensions/zshell.py, line 1014,
in execCommands
Module /home/zope/Zope/ZInstanceHome/Extensions/zshell.py, line 1081,
in execCommand
Module /home/zope/Zope/ZInstanceHome/Extensions/zshell.py, line 891,
in ShellExpand
Module rexec, line 429, in s_exec
Module rexec, line 412, in s_apply
Module rexec, line 308, in r_exec
Module __main__, line 1, in ?
Module rexec, line 339, in r_import
Module ihooks, line 397, in import_module
Module ihooks, line 433, in find_head_package
Module ihooks, line 486, in import_it
Module ihooks, line 325, in load_module
Module glob, line 4, in ?
Module rexec, line 339, in r_import
Module ihooks, line 397, in import_module
Module ihooks, line 433, in find_head_package
Module ihooks, line 486, in import_it
Module ihooks, line 325, in load_module
Module fnmatch, line 13, in ?
Module rexec, line 339, in r_import
Module ihooks, line 397, in import_module
Module ihooks, line 433, in find_head_package
Module ihooks, line 486, in import_it
Module ihooks, line 325, in load_module
Module re, line 27, in ?
Module rexec, line 339, in r_import
Module ihooks, line 397, in import_module
Module ihooks, line 433, in find_head_package
Module ihooks, line 486, in import_it
Module ihooks, line 325, in load_module
Module sre, line 168, in ?
AttributeError: 'module' object has no attribute 'hexversion'
*****
This seems to be deep in Python standard library.
Since I don't actually use Zope 2.6, does anyone have an idea on
where the problem may come from ?
Does any of you use ZShell with Zope 2.6 ?
It works fine in 2.5.1 with Python 2.1.3, so something has
changed somewhere which breaks it.
ZShell's latest version is available from :
http://www.librelogiciel.com/software
Thanks in advance for any pointer.
Jerome Alet