[Zope] New user problems with Solaris 9 Zope

John Ziniti jziniti at speakeasy.org
Thu Jan 6 15:10:34 EST 2005


Mike Elliott wrote:
> I've been working on getting Zope running on an Ultra 1 running
> Solaris 9, with no real success so far.
> 
> I can apparently compile and install Zope, but when I try to run it I
> get the following:
> 
> mre at bonk$ instance/bin/runzope -X port-base=1000
[ snip most of traceback ]
>   File "/opt/Zope-2.7/lib/python/App/version_txt.py", line 45, in
> _prep_version_data
>     dict = expr.match(s).groupdict()
> AttributeError: 'NoneType' object has no attribute 'groupdict'

The code in question is trying to match a version number from
a file called "version.txt" in $SOFTWARE_HOME, which is set
in the runzope file.  Check the runzope file you are running
above for $SOFTWARE_HOME, then open the version.txt file and
tell us what is in it.  It probably does not match the regular
expression:

expr = re.compile(
             r'(?P<product>[A-Za-z0-9]+) +(?P<major>[0-9]+)'
             '\.(?P<minor>[0-9]+)\.(?P<micro>[0-9]+)'
             '(?P<status>[A-Za-z]+)?(?P<release>[0-9]+)?')

You can probably get past this problem in the short term by
just deleting that file.

HTH,
JZ



More information about the Zope mailing list