I recently upgraded to 0.9a4, and was sad to see catwalk kick the
bucket on my installation. It won't load, and posts the following
output (at end of message). Getting SVN didn't fix it. I am
admittedly not very good at bug hunts.
This has been mentioned here:
http://groups.google.com/group/turbogears/browse_thread/thread/9d291a2bf5e178ce/6a865b4c980b532f?lnk=raot#6a865b4c980b532f
But it wasn't related to the other thread it was posted in, and I
didn't want it to get passed over.
Any ideas? Catwalk is an amazingly helpful tool, thanks for all the
great work on it, Ronald.
-Mike
File
"/home/.castor/mikez0r/download/trunk/turbogears/toolbox/catwalk/__init__
.py", line 1123, in index
return dict(models=self.models())
File
"/home/.castor/mikez0r/download/trunk/turbogears/toolbox/catwalk/__init__
.py", line 1106, in models
return self.order_models(objs)
File
"/home/.castor/mikez0r/download/trunk/turbogears/toolbox/catwalk/__init__
.py", line 763, in order_models
ordered = self.load_models_order()
File
"/home/.castor/mikez0r/download/trunk/turbogears/toolbox/catwalk/__init__
.py", line 759, in load_models_order
state = self.load_state()
File
"/home/.castor/mikez0r/download/trunk/turbogears/toolbox/catwalk/__init__
.py", line 619, in load_state
if not os.path.exists(self.state_path()): return {}
File
"/home/.castor/mikez0r/download/trunk/turbogears/toolbox/catwalk/__init__
.py", line 607, in state_path
catwalk_session_dir =
os.path.join(turbogears.util.get_package_name(),'catwa
lk-session')
File "/home/mikez0r/lib/lib/python2.4/posixpath.py", line 62, in join
elif path == '' or path.endswith('/'):
AttributeError: 'NoneType' object has no attribute 'endswith'
print turbogears.util.get_package_name()
And tell me what the yielded path is? It seams that os.path.join
doesn't like what it gets.
Cheers
Ronald
________________________________
Ronald Jaramillo
mail: ronald AT checkandshare DOT com
blog: http://www.checkandshare.com/blog
I put the line in, but how should I get output from it? I tried to
access the site, but I just get the 500 message and the dump above. my
server log also just has the traceback.
running python __init__.py also didn't give me any output.
Thanks for the help!
-Mike
I hope this helps.
Mike