Hi,

I'm trying to convert my bugzilla tickets to a trac system. But I get
an error about 8-bit bytestrings?
I'm not quite sure if that is a trac-bug or a pysqlite-bug? Has anyone
encountered this error before?


I'm using pysqlite 2.5.5 and trac 0.11.1

greetings
Fabian

backtrace:
Traceback (most recent call last):
  File "bugzilla2trac.py", line 911, in <module>
    main()
  File "bugzilla2trac.py", line 908, in main
    convert(BZ_DB, BZ_HOST, BZ_USER, BZ_PASSWORD, TRAC_ENV,
TRAC_CLEAN)
  File "bugzilla2trac.py", line 824, in convert
    ticketid = trac.addTicket(**ticket)
  File "bugzilla2trac.py", line 348, in addTicket
    keywords))
  File "/usr/lib/python2.5/site-packages/trac/db/util.py", line 50, in
execute
    return self.cursor.execute(sql_escape_percent(sql), args)
  File "/usr/lib/python2.5/site-packages/trac/db/sqlite_backend.py",
line 58, in execute
    args or [])
  File "/usr/lib/python2.5/site-packages/trac/db/sqlite_backend.py",
line 50, in _rollback_on_error
    return function(self, *args, **kwargs)
pysqlite2.dbapi2.ProgrammingError: You must not use 8-bit bytestrings
unless you use a text_factory that can interpret 8-bit bytestrings
(like text_factory = str). It is highly recommended that you instead
just switch your application to Unicode strings.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" 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/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to