On Wednesday 26 November 2008 00:16:53 nowson wrote:
> Hi,
>
> Some months back I was developing an application using TG 1.0.4.4, on
> Ubuntu 7.04.  After a few months on another project I came back to it,
> my system now upgraded to Ubuntu 8.04.  After restoring my TG version
> (and the associated components) I attempted to run what was a working
> application.
>
> It starts as expected, but I encounter a problem when I try to view a
> page - there's no formatting, graphics, or scripts.  It seems
> somewhere my path is being somewhat chomped.
>
> The application should run out of:
>  * /home/fullpath/project
> but instead it runs out of:
>  * /home/fullpath/projec    (note the missing final character)
>
> This explains why it is not finding some of the files further into the
> project directory ...
>
> cherrypy.msg INFO DEBUG:     NOT FOUND file: /home/fullpath/projec/
> static/images/under_the_hood_blue.png
>
> I have tried to track down the source of this error, but to no avail.
> I was hoping someone might be able point me in the right direction or
> offer some advice on fixing this.  Any words of wisdom most
> appreciated.

Please upgrade your TG installation to 1.0.7. The problem lies within a 
setuptools-upgrade (through your system upgrade I presume) that unfortunately 
affects the way paths are created.

As a suggestion for the future: use virtualenv to tie your working app to a 
given set of packages. The chance of accidents like that happening greatly 
decreases.

Diez

--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to