Hi Mike,
Nothing like flattery to get me out of the bush =)
Can you please add the following line before the offending line 607  
on turbogears/toolbox/catwalk/__init__.py?:

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

On Apr 19, 2006, at 9:51 PM, Mike Sarahan wrote:

>
> Hello all,
>
> 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'
>
>
> >

________________________________
Ronald Jaramillo
mail: ronald AT checkandshare DOT com
blog: http://www.checkandshare.com/blog




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~----------~----~----~----~------~----~------~--~---

Reply via email to