Trac 0.11.1 Released

2 views
Skip to first unread message

Jonas Borgström

unread,
Aug 6, 2008, 4:44:16 PM8/6/08
to trac-...@googlegroups.com
Trac 0.11.1
===========

We're happy to announce the Trac 0.11.1 release.

You will find this release at the usual place:
http://trac.edgewall.org/wiki/TracDownload

Trac 0.11.1 contains a number of bug fixes and minor enhancements.
The following list contains only a few highlights:

* Improved DB connection handling (new connection pool)
* Better MySQL backend unicode support. "utf8" and "utf8_bin" is the
recommended database charset and collation settings.
* Fixes intermittent "constraint violation" and "invalid form token"
error messages.
* Fixes roadmap layout glitch in Firefox 3.
* Safer default umask value for tracd (can be set using --umask option)
* Better default PYTHON_EGG_CACHE value.

You can find a more detailed release note at:
http://trac.edgewall.org/wiki/TracDev/ReleaseNotes/0.11

Acknowledgements
================

Many thanks to the growing number of people who have, and continue to,
support the project. Also our thanks to all people providing feedback
and bug reports that helps us make Trac better, easier to use and more
effective.
Without your invaluable help, Trac would not evolve. Thank you all.

Finally, we offer hope that Trac will prove itself useful to like-
minded programmers around the world, and that this release will prove an
improvement over the last version.

Please let us know. :-)
/The Trac Team http://trac.edgewall.org/

Mr Papa

unread,
Aug 6, 2008, 8:24:30 PM8/6/08
to Trac Users
Hmmm... my trac install wont work after upgrade... removed the old
install... used easy_install (as always has been done) to get the
0.11.1 (tried both 0.11.1 from stable and tags)... install seemed to
work fine, but after restart, trac just throws a whole bunch of
errors... tried a trac upgrade but it too throws errors...

was able to delete the 0.11.1 version and resinstall 0.11 just fine
and its working....

Am I missing a step? Errors from visiting trac page after 0.11.1
upgrade shown below:

Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/Trac-0.11.1-py2.4.egg/trac/
web/api.py", line 339, in send_error
'text/html')
File "/usr/lib/python2.4/site-packages/Trac-0.11.1-py2.4.egg/trac/
web/chrome.py", line 684, in render_template
data = self.populate_data(req, data)
File "/usr/lib/python2.4/site-packages/Trac-0.11.1-py2.4.egg/trac/
web/chrome.py", line 592, in populate_data
d['chrome'].update(req.chrome)
File "/usr/lib/python2.4/site-packages/Trac-0.11.1-py2.4.egg/trac/
web/api.py", line 169, in __getattr__
value = self.callbacks[name](self)
File "/usr/lib/python2.4/site-packages/Trac-0.11.1-py2.4.egg/trac/
web/chrome.py", line 460, in prepare_request
for category, name, text in contributor.get_navigation_items(req):
File "build/bdist.linux-i686/egg/navadd/navadd.py", line 26, in
get_navigation_items
File "/usr/lib/python2.4/site-packages/Trac-0.11.1-py2.4.egg/trac/
perm.py", line 523, in has_permission
return self._has_permission(action, resource)
File "/usr/lib/python2.4/site-packages/Trac-0.11.1-py2.4.egg/trac/
perm.py", line 536, in _has_permission
decision = PermissionSystem(self.env). \
File "/usr/lib/python2.4/site-packages/Trac-0.11.1-py2.4.egg/trac/
perm.py", line 424, in check_permission
perm)
File "/usr/lib/python2.4/site-packages/Trac-0.11.1-py2.4.egg/trac/
perm.py", line 281, in check_permission
permissions = PermissionSystem(self.env). \
File "/usr/lib/python2.4/site-packages/Trac-0.11.1-py2.4.egg/trac/
perm.py", line 357, in get_user_permissions
for perm in self.store.get_user_permissions(username):
File "/usr/lib/python2.4/site-packages/Trac-0.11.1-py2.4.egg/trac/
perm.py", line 173, in get_user_permissions
db = self.env.get_db_cnx()
File "/usr/lib/python2.4/site-packages/Trac-0.11.1-py2.4.egg/trac/
env.py", line 257, in get_db_cnx
return DatabaseManager(self).get_connection()
File "/usr/lib/python2.4/site-packages/Trac-0.11.1-py2.4.egg/trac/db/
api.py", line 76, in get_connection
return self._cnx_pool.get_cnx(self.timeout or None)
File "/usr/lib/python2.4/site-packages/Trac-0.11.1-py2.4.egg/trac/db/
pool.py", line 166, in get_cnx
return _backend.get_cnx(self._connector, self._kwargs, timeout)
File "/usr/lib/python2.4/site-packages/Trac-0.11.1-py2.4.egg/trac/db/
pool.py", line 99, in get_cnx
cnx = connector.get_connection(**kwargs)
File "/usr/lib/python2.4/site-packages/Trac-0.11.1-py2.4.egg/trac/db/
mysql_backend.py", line 70, in get_connection
cnx = MySQLConnection(path, user, password, host, port, params)
File "/usr/lib/python2.4/site-packages/Trac-0.11.1-py2.4.egg/trac/db/
mysql_backend.py", line 159, in __init__
host=host, port=port, charset='utf8')
File "/usr/lib/python2.4/site-packages/MySQLdb/__init__.py", line
66, in Connect
return Connection(*args, **kwargs)
File "/usr/lib/python2.4/site-packages/MySQLdb/connections.py", line
134, in __init__
super(Connection, self).__init__(*args, **kwargs2)
TypeError: 'charset' is an invalid keyword argument for this function

Jonas Borgström

unread,
Aug 7, 2008, 4:02:13 AM8/7/08
to trac-...@googlegroups.com
Mr Papa wrote:
>
> Hmmm... my trac install wont work after upgrade... removed the old
> install... used easy_install (as always has been done) to get the
> 0.11.1 (tried both 0.11.1 from stable and tags)... install seemed to
> work fine, but after restart, trac just throws a whole bunch of
> errors... tried a trac upgrade but it too throws errors...
>
> was able to delete the 0.11.1 version and resinstall 0.11 just fine
> and its working....
>
> Am I missing a step? Errors from visiting trac page after 0.11.1
> upgrade shown below:
*snip*

> File "/usr/lib/python2.4/site-packages/Trac-0.11.1-py2.4.egg/trac/db/
> mysql_backend.py", line 159, in __init__
> host=host, port=port, charset='utf8')
> File "/usr/lib/python2.4/site-packages/MySQLdb/__init__.py", line
> 66, in Connect
> return Connection(*args, **kwargs)
> File "/usr/lib/python2.4/site-packages/MySQLdb/connections.py", line
> 134, in __init__
> super(Connection, self).__init__(*args, **kwargs2)
> TypeError: 'charset' is an invalid keyword argument for this function

What MySQLdb version are you using? At least version 1.2.2 should accept
a 'charset' keyword argument:

>>> import MySQLdb
>>> MySQLdb.__version__
'1.2.2'
>>> MySQLdb.connect(db='test', user='root', charset='utf8')
<_mysql.connection open to 'localhost' at 879a10>

/ Jonas

Mr Papa

unread,
Aug 7, 2008, 11:21:12 AM8/7/08
to Trac Users
offhand not sure... will check when home from work tonight and have
access to my system... did the requirements go up for the version with
0.11.1 as it worked with 0.11?

Mr Papa

Mr Papa

unread,
Aug 7, 2008, 9:14:31 PM8/7/08
to Trac Users
looks like I am running 1.2.0.... will try upgrading it...

Mr Papa

Mr Papa

unread,
Aug 7, 2008, 9:58:32 PM8/7/08
to Trac Users
easier said than done... argh... more errors to deal with...

kevin.m...@e-mis.co.uk

unread,
Aug 8, 2008, 5:06:55 AM8/8/08
to Trac Users
As per normal, the upgrade worked fine. The only problem is with
TracNav (takes 5 argument 6 given) but thats a simple problem to fix
(well I've not sorted it yet, so I could be eating my own words)

Thomas Moschny

unread,
Aug 8, 2008, 7:04:37 AM8/8/08
to trac-...@googlegroups.com
2008/8/8 <kevin.m...@e-mis.co.uk>:

> As per normal, the upgrade worked fine. The only problem is with
> TracNav (takes 5 argument 6 given) but thats a simple problem to fix
> (well I've not sorted it yet, so I could be eating my own words)

Already fixed in 4.0pre7 one month ago, see
http://svn.ipd.uni-karlsruhe.de/trac/javaparty/ticket/292 .

Regards,
Thomas

Reply all
Reply to author
Forward
0 new messages