On Tuesday, April 1, 2014 5:42:41 AM UTC-7, Tomas Pelka wrote: > > > > Dne úterý, 1. dubna 2014 14:40:58 UTC+2 Tomas Pelka napsal(a): >> >> I've changed my DB backend from MySQL back to standard SQLite one. After >> trac-admin <path> upgrade I'm getting: >> >> # trac-admin /srv/trac/desktopqe-backlog-dbchange upgrade >> Traceback (most recent call last): >> File "/usr/lib64/python2.6/logging/__init__.py", line 776, in emit >> msg = self.format(record) >> File "/usr/lib64/python2.6/logging/__init__.py", line 654, in format >> return fmt.format(record) >> File "/usr/lib64/python2.6/logging/__init__.py", line 436, in format >> record.message = record.getMessage() >> File "/usr/lib64/python2.6/logging/__init__.py", line 306, in getMessage >> msg = msg % self.args >> TypeError: %d format: a number is required, not NoneType >> Traceback (most recent call last): >> File "/usr/lib64/python2.6/logging/__init__.py", line 776, in emit >> msg = self.format(record) >> File "/usr/lib64/python2.6/logging/__init__.py", line 654, in format >> return fmt.format(record) >> File "/usr/lib64/python2.6/logging/__init__.py", line 436, in format >> record.message = record.getMessage() >> File "/usr/lib64/python2.6/logging/__init__.py", line 306, in getMessage >> msg = msg % self.args >> TypeError: %d format: a number is required, not NoneType >> TypeError: %d format: a number is required, not NoneType >> >> Anybody have a clue what can goes wrong? >> >> Thanks >> Tom >> > > I forgot to mention: > > Trac 0.12.5 Babel 0.9.4 Genshi 0.6 (without speedups) mod_python 3.3.1 > Pygments 1.1.1 pysqlite 2.4.1 Python 2.6.6 (r266:84292, Sep 4 2013, > 07:46:00) [GCC 4.4.7 20120313 (Red Hat 4.4.7-3)] pytz 2010h setuptools 0.6 > SQLite 3.6.20 Subversion 1.6.11 (r934486) >
I would guess that a plugin is passing a None variable to the logger in an IEnvironmentUpgradeParticipant method. Could you try again with all plugins disabled? -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/trac-users. For more options, visit https://groups.google.com/d/optout.
