id	summary	reporter	owner	description	type	status	priority	component	severity	resolution	keywords	cc	release
10870	ERROR: Exception caught while checking for upgrade	alillards	falkb	Hi!\r\n\r\nFirst of all, thanks for your efforts making this plugin possible, you are doing a great job!\r\n\r\nI have a little problem: After having installed the plugin, I noticed a 3-4 second delay in every TRAC page refresh in my browser. After discarding apache or network problems, I checked the TRAC logs and got this:\r\n\r\n{{{\r\n2013-02-13 11:07:39,817 Trac[env] ERROR: Exception caught while checking for upgrade: \r\nTraceback (most recent call last):\r\n  File "build/bdist.linux-i686/egg/trac/env.py", line 664, in open_environment\r\n    needs_upgrade = env.needs_upgrade()\r\n  File "build/bdist.linux-i686/egg/trac/env.py", line 498, in needs_upgrade\r\n    if participant.environment_needs_upgrade(db):\r\n  File "build/bdist.linux-i686/egg/simplemultiproject/environmentSetup.py", line 78, in environment_needs_upgrade\r\n    print "SimpleMultiProject database schema version: %s initialized." % db_version\r\nIOError: sys.stdout access restricted by mod_wsgi\r\n2013-02-13 11:07:39,848 Trac[api] WARNING: Discarding duplicate repository 'mine'\r\n}}}\r\n\r\nIf I try to upgrade the db I get this response:\r\n\r\n{{{\r\n# trac-admin /TRAC_PATH/ upgrade\r\nSimpleMultiProject database schema version: 4 initialized.\r\nSimpleMultiProject database schema version: 4 installed.\r\nSimpleMultiProject database schema is out of date: False\r\nDatabase is up to date, no upgrade necessary.\r\n}}}\r\n\r\nApart from that, the plugin works ok, but the lag is so annoying the team asks me daily to remove it. Can you please help?\r\n\r\nThanks!\r\n	defect	closed	normal	SimpleMultiProjectPlugin	normal	fixed		rjollos, hasienda, jun66j5	0.12
