[Trac-tickets] [The Trac Project] #2016: hotcopy crashes

The Trac Project noreply at edgewall.com
Tue Sep 6 07:59:22 CDT 2005


#2016: hotcopy crashes
--------------------------------+-------------------------------------------
 Reporter:  pellatt at mirocs.com  |       Owner:  daniel
     Type:  defect              |      Status:  new   
 Priority:  normal              |   Milestone:        
Component:  trac-admin          |     Version:  devel 
 Severity:  normal              |   Keywords:                      |  
--------------------------------+-------------------------------------------
 I'm on the latest trunk, running on Windows 2003 Server, and get  this
 stack trace:

 {{{
 Trac [<repopath>]> hotcopy \tr
 Traceback (most recent call last):
   File "trac-admin", line 26, in ?
     run(*sys.argv[1:])
   File "C:\Program Files\Python23\Lib\site-packages\trac\scripts
 \admin.py",
  1085, in run
     tracadm.run()
   File "C:\Program Files\Python23\Lib\site-packages\trac\scripts
 \admin.py",
  82, in run
     self.cmdloop()
   File "C:\Program Files\Python23\lib\cmd.py", line 133, in cmdloop
     stop = self.onecmd(line)
   File "C:\Program Files\Python23\lib\cmd.py", line 210, in onecmd
     return func(arg)
   File "C:\Program Files\Python23\Lib\site-packages\trac\scripts
 \admin.py",
  1053, in do_hotcopy
     cnx.db.execute("BEGIN")
   File "C:\Program Files\Python23\Lib\site-packages\trac\db.py",  line
 101,
 getattr__
     return getattr(self.cnx, name)
   File "C:\Program Files\Python23\Lib\site-packages\trac\db.py",  line
 101,
 getattr__
     return getattr(self.cnx, name)
 AttributeError: 'pysqlite2.dbapi2.Connection' object has no  attribute
 'db'
 }}}

 Other trac admin commands seem to work fine, as does normal use of  the
 wiki etc.


 FYI - the other versions I have are clearilver 0.9.14, docutils 0.3.9,
 pysqlite 2.0.3, sqlite 3.2.5, svn 1.2.3.

 Response from the mailing list was "This is a leftover from when we only
 supported SQLite, and only  PySQLite 1.x. ".

-- 
Ticket URL: <http://projects.edgewall.com/trac/ticket/2016>
The Trac Project <http://trac.edgewall.com/>


More information about the Trac-Tickets mailing list