While trying to upgrade my model with "tg-admin sql upgrade", I ran into 
the same bug as ticket 165 http://trac.turbogears.org/turbogears/ticket/165
about the attribute error and applied the patch provided in ticket 459 
but now I receive the following error when I try to create a record :

> Using database URI sqlite:///home/nkassi/album/album.db
> Creating version 2006-04-06
> Traceback (most recent call last):
>   File "/usr/local/bin/tg-admin", line 7, in ?
>     sys.exit(
>   File 
> "/usr/lib/python2.4/site-packages/TurboGears-0.9a4-py2.4.egg/turbogears/command/base.py",
>  
> line 262, in main
>     command.run()
>   File 
> "/usr/lib/python2.4/site-packages/TurboGears-0.9a4-py2.4.egg/turbogears/command/base.py",
>  
> line 121, in run
>     command.the_runner.run(sys.argv)
>   File 
> "/usr/lib/python2.4/site-packages/SQLObject-0.7.1dev_r1457-py2.4.egg/sqlobject/manager/command.py",
>  
> line 102, in run
>     runner.run()
>   File 
> "/usr/lib/python2.4/site-packages/SQLObject-0.7.1dev_r1457-py2.4.egg/sqlobject/manager/command.py",
>  
> line 233, in run
>     self.command()
>   File 
> "/usr/lib/python2.4/site-packages/SQLObject-0.7.1dev_r1457-py2.4.egg/sqlobject/manager/command.py",
>  
> line 839, in command
>     create, constraints = cls.createTableSQL()
> ValueError: too many values to unpack

any thing I can do ?

-- 

Nicolas Kassis
--------------
www.nickassis.net
www.nickassis.net/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