id,summary,reporter,owner,description,type,status,priority,component,severity,resolution,keywords,cc,release
10843,Adding bibfile from svn source fails with Trac 1.0 and tracbibplugin-r12578,anonymous,Amfortas,On a Trac 1.0 instance I installed the trunk version of tracbibplugin-r12578.zip. Having the following repository setup\r\n{{{\r\n[repositories]\r\nproject.description = This is the ''main'' project repository.\r\nproject.dir = /var/share/svn/myrepo\r\nproject.type = svn\r\nproject.url = https://myserver/repos/myrepo\r\n}}}\r\na wiki page with the !BibAdd macro\r\n{{{\r\n[[BibAdd(source:project/trunk/vat.bib)]]\r\n}}}\r\nproduces the following error (the source path was verified to be accessible with a simple `[source:project/trunk/vat.bib]`-macro):\r\n{{{\r\n2013-01-29 17:32:12_223 Trac[formatter] DEBUG: Executing Wiki macro BibAdd by provider <tracbib.tracbib.BibAddMacro object at 0x7f19eae6dad0>\r\n2013-01-29 17:32:12_227 Trac[formatter] ERROR: Macro BibAdd(source:project/trunk/vat.bib) failed: \r\nTraceback (most recent call last):\r\n  File "/usr/local/lib/python2.7/dist-packages/trac/wiki/formatter.py"_ line 765_ in _macro_formatter\r\n    return macro.ensure_inline(macro.process(args))\r\n  File "/usr/local/lib/python2.7/dist-packages/trac/wiki/formatter.py"_ line 356_ in process\r\n    text = self.processor(text)\r\n  File "/usr/local/lib/python2.7/dist-packages/trac/wiki/formatter.py"_ line 343_ in _macro_processor\r\n    text)\r\n  File "build/bdist.linux-x86_64/egg/tracbib/tracbib.py"_ line 198_ in expand_macro\r\n    loaded.append(source.source(formatter.req_ args[0]))\r\n  File "build/bdist.linux-x86_64/egg/tracbib/source.py"_ line 91_ in source\r\n    bib = repos.get_node(file_ revision)\r\nAttributeError: 'NoneType' object has no attribute 'get_node'\r\n}}},defect,closed,normal,TracBibPlugin,blocker,fixed,BibtexSourceSource,,1.0
