
cemahizer at inspecttech
Aug 19, 2008, 4:16 AM
Post #3 of 3
(865 views)
Permalink
|
Unfortunately that didn't fix it. I now get: Traceback (most recent call last): File "C:\Python25\Lib\site-packages\trac\web\api.py", line 339, in send_error 'text/html') File "C:\Python25\Lib\site-packages\trac\web\chrome.py", line 684, in render_template data = self.populate_data(req, data) File "C:\Python25\Lib\site-packages\trac\web\chrome.py", line 592, in populate_data d['chrome'].update(req.chrome) File "C:\Python25\Lib\site-packages\trac\web\api.py", line 168, in __getattr__ value = self.callbacks[name](self) File "C:\Python25\Lib\site-packages\trac\web\chrome.py", line 460, in prepare_request for category, name, text in contributor.get_navigation_items(req): File "c:\Python25\lib\site-packages\tracfogbugzplugin-0.9u-py2.5.egg\fogbugz\fogb ugz.py", line 22, in get_navigation_items yield 'mainnav', 'fogbugz', Markup('<a href="%s">FogBugz</a>'%self.baseurl) LookupError: unknown encoding: https://inspecttech.fogbugz.com/ I have tried many versions of my URL.direction of slashes, a direct IP, etc.thinking it might be something with the actual URL string itself, but no luck. I left in the URL string just in case it had something to do with it that I couldn't see. I appreciate your help! Thanks, Chad From: trac-users [at] googlegroups [mailto:trac-users [at] googlegroups] On Behalf Of Noah Kantrowitz Sent: Monday, August 18, 2008 12:38 PM To: trac-users [at] googlegroups Subject: [Trac] Re: Fogbugz plugin error The line with the error: yield 'mainnav', 'fogbugz', Markup('<a href="%s">FogBuz</a>', self.baseurl) should be: yield 'mainnav', 'fogbugz', Markup('<a href="%s">FogBuz</a>'%self.baseurl) Since email will probably mangle the line endings, it should be Markup(str%arg) instead of str,arg. --Noah From: trac-users [at] googlegroups [mailto:trac-users [at] googlegroups] On Behalf Of Chad Emahizer Sent: Monday, August 18, 2008 5:59 AM To: trac-users [at] googlegroups Subject: [Trac] Fogbugz plugin error Howdy all! I am trying to get the Fogbugz plugin working, and I am getting this error: Traceback (most recent call last): File "C:\Python25\Lib\site-packages\trac\web\api.py", line 339, in send_error 'text/html') File "C:\Python25\Lib\site-packages\trac\web\chrome.py", line 684, in render_template data = self.populate_data(req, data) File "C:\Python25\Lib\site-packages\trac\web\chrome.py", line 592, in populate_data d['chrome'].update(req.chrome) File "C:\Python25\Lib\site-packages\trac\web\api.py", line 168, in __getattr__ value = self.callbacks[name](self) File "C:\Python25\Lib\site-packages\trac\web\chrome.py", line 460, in prepare_request for category, name, text in contributor.get_navigation_items(req): File "c:\Python25\lib\site-packages\tracfogbugzplugin-0.9u-py2.5.egg\fogbugz\fogb ugz.py", line 22, in get_navigation_items yield 'mainnav', 'fogbugz', Markup('<a href="%s">FogBuz</a>', self.baseurl) LookupError: unknown encoding: https://<<myurl>>/ I've replaced my actual URL with <<myurl>>. The issue may be that I'm running 0.11 and the plugin appears to be tested for 0.10.4. I also have done some digging and see that a similar issue appeared for the accountmanager plugin and it was patched (http://trac-hacks.org/attachment/ticket/2907/genshi-0.5.patch). I tried to apply the same mods to the Fogbugz plugin, but it didn't help. Has anyone else seen this problem? Thanks, Chad --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to trac-users [at] googlegroups To unsubscribe from this group, send email to trac-users+unsubscribe [at] googlegroups For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~----------~----~----~----~------~----~------~--~---
|