On a Trac 1.0 instance I installed the trunk version of tracbibplugin-r12578.zip. Having the following repository setup
[repositories]
project.description = This is the ''main'' project repository.
project.dir = /var/share/svn/myrepo
project.type = svn
project.url = https://myserver/repos/myrepo
a wiki page with the BibAdd macro
[[BibAdd(source:project/trunk/vat.bib)]]
produces the following error (the source path was verified to be accessible with a simple [source:project/trunk/vat.bib]-macro):
2013-01-29 17:32:12,223 Trac[formatter] DEBUG: Executing Wiki macro BibAdd by provider <tracbib.tracbib.BibAddMacro object at 0x7f19eae6dad0>
2013-01-29 17:32:12,227 Trac[formatter] ERROR: Macro BibAdd(source:project/trunk/vat.bib) failed:
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/trac/wiki/formatter.py", line 765, in _macro_formatter
return macro.ensure_inline(macro.process(args))
File "/usr/local/lib/python2.7/dist-packages/trac/wiki/formatter.py", line 356, in process
text = self.processor(text)
File "/usr/local/lib/python2.7/dist-packages/trac/wiki/formatter.py", line 343, in _macro_processor
text)
File "build/bdist.linux-x86_64/egg/tracbib/tracbib.py", line 198, in expand_macro
loaded.append(source.source(formatter.req, args[0]))
File "build/bdist.linux-x86_64/egg/tracbib/source.py", line 91, in source
bib = repos.get_node(file, revision)
AttributeError: 'NoneType' object has no attribute 'get_node'