Modify ↓
#8024 closed defect (fixed)
`[[BibRef]]` macro produce error
Reported by: | anonymous | Owned by: | Roman Mohr |
---|---|---|---|
Priority: | normal | Component: | TracBibPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.10 |
Description
When I tried to render the citations using [[BibRef]]
per the example, I got the following error:
Error: Macro BibRef(None) failed expected string or buffer
Here's an example of my bibtex entry, just in case it's relevant:
@article{Quir94, Adsnote = {Provided by the SAO/NASA Astrophysics Data System}, Adsurl = {http://adsabs.harvard.edu/abs/1994IJNMF..18..555Q}, Author = {{Quirk}, J.~J.}, Date-Added = {2010-05-04 10:41:00 -0400}, Date-Modified = {2010-05-04 10:41:10 -0400}, Doi = {10.1002/fld.1650180603}, Journal = {International Journal for Numerical Methods in Fluids}, Month = mar, Pages = {555-574}, Title = {{A contribution to the great Riemann solver debate}}, Volume = 18, Year = 1994, Bdsk-Url-1 = {http://dx.doi.org/10.1002/fld.1650180603}}
and this is how I reference it :
[[BibAdd(source:trunk/hydro.bib)]] Let's cite [[BibCite(Quir94)]].
Attachments (0)
Change History (3)
comment:1 Changed 14 years ago by
Status: | new → assigned |
---|
comment:2 Changed 14 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:3 Changed 14 years ago by
In http://trac.edgewall.org/ticket/4972#comment:5 it is expliticly said:
You should never call close() by yourself, unless you've created the Repository instance. ![...]
... but I did.
Fixed in r9945
Note: See
TracTickets for help on using
tickets.
OK, FINALLY I found some time to look at this error. The funny thing is, that when the file is attached to the page, everything works perfect. If a file "source:trunk/somefile.bib" is loaded everything works, but if your file is loaded from the repository the macro can't load the file. I'm very curious what's responsible for that error.