#2426: Exception when importing turbogears with python -OO
-------------------------+--------------------------------------------------
Reporter: nickpholden | Owner:
Type: defect | Status: new
Priority: low | Milestone: __unclassified__
Component: TurboGears | Version: 1.1
Severity: normal | Keywords:
-------------------------+--------------------------------------------------
This isn't that serious as I can live without -OO but I thought you guy
should know. I can't quite work out what is going on as one of the lines
in question "# $Id$" isn't actually doing anything?! I tried deleting the
.pyc and .pyo files but this did not help.
{{{
$ /sv/venv/svPortal2/bin/python -OO /sv/venv/svPortal2/bin/start-
HTMLViewer.py
Traceback (most recent call last):
File "/sv/venv/svPortal2/bin/start-HTMLViewer.py", line 5, in <module>
pkg_resources.run_script('svHTMLViewer==1.0.0.0-r3', 'start-
HTMLViewer.py')
File "/sv/venv/svPortal2/lib/python2.5/site-
packages/setuptools-0.6c9-py2.5.egg/pkg_resources.py", line 448, in
run_script
File "/sv/venv/svPortal2/lib/python2.5/site-
packages/setuptools-0.6c9-py2.5.egg/pkg_resources.py", line 1166, in
run_script
File "/sv/venv/svPortal2/lib/python2.5/site-
packages/svHTMLViewer-1.0.0.0_r3-py2.5.egg/EGG-INFO/scripts/start-
HTMLViewer.py", line 6, in <module>
import turbogears
File "/sv/venv/svPortal2/lib/python2.5/site-
packages/TurboGears-1.1-py2.5.egg/turbogears/__init__.py", line 6, in
<module>
from turbogears.controllers import (absolute_url, expose, flash,
validate,
File "/sv/venv/svPortal2/lib/python2.5/site-
packages/TurboGears-1.1-py2.5.egg/turbogears/controllers.py", line 15, in
<module>
from peak.rules import abstract, always_overrides, Method,
NoApplicableMethods
File "/sv/venv/svPortal2/lib/python2.5/site-
packages/PIL-1.1.7-py2.5-linux-x86_64.egg/__init__.py", line 3, in
<module>
# $Id$
File "build/bdist.linux-x86_64/egg/peak/rules/core.py", line 247, in
<module>
File "build/bdist.linux-x86_64/egg/peak/rules/core.py", line 267, in
RuleSet
File "build/bdist.linux-x86_64/egg/peak/rules/core.py", line 267, in
RuleSet
File "/sv/venv/svPortal2/lib/python2.5/site-
packages/DecoratorTools-1.7-py2.5.egg/peak/util/decorators.py", line 576,
in tracer
File "/sv/venv/svPortal2/lib/python2.5/site-
packages/DecoratorTools-1.7-py2.5.egg/peak/util/decorators.py", line 302,
in <lambda>
File "/sv/venv/svPortal2/lib/python2.5/site-
packages/DecoratorTools-1.7-py2.5.egg/peak/util/decorators.py", line 321,
in synchronized
AttributeError: 'NoneType' object has no attribute 'replace'
}}}
--
Ticket URL: <http://trac.turbogears.org/ticket/2426>
TurboGears <http://www.turbogears.org/>
TurboGears front-to-back web development
--
You received this message because you are subscribed to the Google
Groups "TurboGears Tickets" group.
This group is read-only. No posting by normal members allowed.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/turbogears-tickets?hl=en?hl=en