On Sep 18, 12:46 pm, Pearl <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have developed an application using TurboGears Framework. I am using
> TurboGears 0.8 and Python 2.4. I want to upgrade that to latest
> version of TG.  I looked at the TurboGears Upgrade guide. But I
> couldn't find any _specific_ instructions for doing this.
>
> So following the guide, I did the following...
>
> * Downloaded the latest version of tgsetup.py and ran it (With Python
> 2.5)
> * Then I tried to run "tg-admin update"
>
> But tg-admin update fails a index out of range error. The error
> verbatim is as follows:
>
> Traceback (most recent call last):
>   File "C:\Python25\Scripts\tg-admin-script.py", line 8, in <module>
>     load_entry_point('TurboGears==1.0.4b1', 'console_scripts', 'tg-
> admin')()
>   File "c:\python25\lib\site-packages\TurboGears-1.0.4b1-py2.5.egg
> \turbogears\co
> mmand\base.py", line 361, in main
>     if not turbogears.util.get_project_name():
>   File "c:\python25\lib\site-packages\TurboGears-1.0.4b1-py2.5.egg
> \turbogears\ut
> il.py", line 122, in get_project_name
>     name = list(open(pkg_info))[1][6:-1]
> IndexError: list index out of range
>
> Is there anything I need to do other than this?
>
> Should I change controllers.Root' to 'controllers.RootController in
> controller classes ?
>
> Regards
> Roopesh

I would be interested in this issue as well. A while back I upgraded
from 0.9a to 1.0 or so, and had major problems. I solved them by
starting from scratch and simply copy/pasting my controllers and
templates. Either I did something along the path that TG did not
particularly like, or the TG upgrade process is flaky ;)


--~--~---------~--~----~------------~-------~--~----~
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