Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Ticket #432 (closed defect: duplicate)

Opened 13 years ago

Last modified 12 years ago

sql upgrade fails in r545

Reported by: Ivo Looser <ivo.looser@…> Owned by: anonymous
Priority: normal Milestone: 0.9
Component: CherryPy Version:
Severity: normal Keywords:
Cc:

Description

sql upgrade does not work in r545.

  1. i did sql create to create the database
  2. i did sql list to show the content
  3. sql upgrade fails with the message on the next...
root@DONALD:/home/theuser/turbogear/unicodelix # tg-admin sql upgrade
/usr/lib/python2.4/site-packages/CherryPy-2.2.0beta-py2.4.egg/cherrypy/lib/profiler.py:54: UserWarning: Your installation of Python doesn't have a profile module. If you're on Debian, you can apt-get python2.4-profiler from non-free in a separate step. See http://www.cherrypy.org/wiki/ProfilingOnDebian for details.
  warnings.warn(msg)
Using database URI sqlite:///home/theuser/turbogear/unicodelix/unicodelix.db
Traceback (most recent call last):
  File "/usr/bin/tg-admin", line 7, in ?
    sys.exit(
  File "/usr/lib/python2.4/site-packages/TurboGears-0.9a0dev_r545-py2.4.egg/turbogears/command/base.py", line 269, in main
    command.run()
  File "/usr/lib/python2.4/site-packages/TurboGears-0.9a0dev_r545-py2.4.egg/turbogears/command/base.py", line 129, in run
    command.the_runner.run(sys.argv)
  File "/usr/lib/python2.4/site-packages/SQLObject-0.7.1dev_r1516-py2.4.egg/sqlobject/manager/command.py", line 102, in run
    runner.run()
  File "/usr/lib/python2.4/site-packages/SQLObject-0.7.1dev_r1516-py2.4.egg/sqlobject/manager/command.py", line 233, in run
    self.command()
  File "/usr/lib/python2.4/site-packages/SQLObject-0.7.1dev_r1516-py2.4.egg/sqlobject/manager/command.py", line 1055, in command
    version_to = os.path.basename(self.find_last_version())
  File "/usr/lib/python2.4/posixpath.py", line 112, in basename
    return split(p)[1]
  File "/usr/lib/python2.4/posixpath.py", line 77, in split
    i = p.rfind('/') + 1
AttributeError: 'NoneType' object has no attribute 'rfind'

Change History

comment:1 Changed 13 years ago by anonymous

  • Status changed from new to closed
  • Resolution set to duplicate

Same issue as #165

Note: See TracTickets for help on using tickets.