Using version 1.0 and running initenv I get the following error after
entering te database connection string.
I have quite a few installations that were upgraded to vewrsion 1.0 but I
can't seem to create a new environment.
I'm not sure how to overcome this error so any suggestions are welcome.
Thanks,
See error;
Failed to create environment.
unsupported operand type(s) for /: 'int' and 'NoneType'
Traceback (most recent call last):
File "build/bdist.linux-x86_64/egg/trac/admin/console.py", line 455, in
do_initenv
options=options)
File "build/bdist.linux-x86_64/egg/trac/core.py", line 124, in __call__
self.__init__(*args, **kwargs)
File "build/bdist.linux-x86_64/egg/trac/env.py", line 281, in __init__
self.create(options)
File "build/bdist.linux-x86_64/egg/trac/env.py", line 572, in create
DatabaseManager(self).init_db()
File "build/bdist.linux-x86_64/egg/trac/db/api.py", line 239, in init_db
connector.init_db(**args)
File "build/bdist.linux-x86_64/egg/trac/db/mysql_backend.py", line 117,
in init_db
for stmt in self.to_sql(table, utf8_size=utf8_size):
File "build/bdist.linux-x86_64/egg/trac/db/mysql_backend.py", line 166,
in to_sql
utf8_size=utf8_size))
File "build/bdist.linux-x86_64/egg/trac/db/mysql_backend.py", line 130,
in _collist
limit_col = 767 / utf8_size
TypeError: unsupported operand type(s) for /: 'int' and 'NoneType'
--
You received this message because you are subscribed to the Google Groups "Trac
Users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/trac-users/-/ApPAYhrydjgJ.
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.