Re: latex bibliographies with multiple databases

David Nebauer <[email protected]>
Newsgroups gmane.text.refdb.devel
Message-ID <[email protected]>
Hi Markus,

> I've fixed refdbd to support multiple databases in bibtex too.

Now it is not working for me at all.

runbib is retrieving no information.  Here is an annotated transcript:

------------------------------------------------------------------------------------------
 >> Here are the tex-related files <<

$ ls
-rw-r--r-- 1 david david  155 2006-07-08 14:13 test.aux
-rw-r--r-- 1 david david  275 2006-07-08 14:06 test.bbl
-rw-r--r-- 1 david david    1 2006-07-08 14:22 test.bib
-rw-r--r-- 1 david david  914 2006-07-08 14:06 test.blg
-rw-r--r-- 1 david david  696 2006-07-08 14:13 test.dvi
-rw-r--r-- 1 david david 3017 2006-07-08 14:13 test.log
-rw-r--r-- 1 david david  480 2006-07-08 14:06 test.tex
-rw-r--r-- 1 david david  178 2006-07-06 15:36 test.tex~

 >> Here are the references in the tex document <<

$ cat test.tex
%        File: test.tex
%     Created: Thu Jul 06 03:00 PM 2006 C
% Last Change: Thu Jul 06 03:00 PM 2006 C
%
\documentclass[a4paper]{article}
\usepackage{natbib}
\author{David Nebauer}
\title{Test Document}
\begin{document}
\maketitle

\section{Introduction}

This is a test of the RefDB application used in conjunction with 
vim-latexsuite.  Here is a reference \cite{Agnew0}.  Here is another 
\cite{Weckert0}.

\bibliographystyle{plainnat}
\bibliography{test}

\end{document}


 >> Let me prove the references exist <<

$ refdbc -C getref -d refs_computing :CK:=Agnew0
ID*:17 (2000)
Key: Agnew0
Agnew,Grace
Government Access to Encryption Keys
 

999:1 retrieved:0 failed
$ refdbc -C getref -d refs_computing :CK:=Weckert0
ID*:23 (1997)
Key: Weckert0
Weckert,J.
Intellectual Property Rights and Computer Software
Business Ethics: A European Review 6(2):102-109

999:1 retrieved:0 failed

 >> Let me show the test.aux file includes those references <<

$ cat test.aux
\relax
\citation{Agnew0}
\citation{Weckert0}
\bibstyle{plainnat}
\bibdata{test}
\@writefile{toc}{\contentsline {section}{\numberline {1}Introduction}{1}}

 >> Here is the runbib command that returns no results <<

$ runbib -d refs_computing -S bibtex-full -t bibtex test
999:0 retrieved:0 failed

 >> The corresponding refdbib command also returns nothing <<

$ refdbib -d refs_computing -S bibtex-full -t bibtex test.aux > test.bib
999:0 retrieved:0 failed

 >> The test.bib file remains empty! <<

$ cat test.bib

$
------------------------------------------------------------------------------------------

I ran refdbd standalone at log setting 7.  Here is the feedback 
generated when running the runbib or refdbib command as above:

------------------------------------------------------------------------------------------
adding client 127.0.0.1 on fd 5
server waiting n_max_fd=5
try to read from client
serving client on fd 5 with protocol version 4
012-58-51-27
send pseudo-random string to client
parent removing client on fd 5
server waiting n_max_fd=4
gettexbib  -u david -w xxxxxxxxxxxxxxxxxxxxxxxxxxx -d refs_computing -s 
bibtex-full 19
dbi is up
localhost
david
daviduser
refs_computing

sqlite
/var/lib/refdb/db

refdb
connected to database server using database:
refdb
Main database looks ok:
refdb
localhost
david
daviduser
refs_computing

sqlite
/var/lib/refdb/db

refs_computing
SELECT meta_app,meta_type,meta_dbversion from t_meta
connected to database server using database:
refs_computing
command processing done, finish dialog now
child finished client on fd 5
child exited with code 0
server waiting n_max_fd=4
------------------------------------------------------------------------------------------

I'm not familiar with the 'gettexbib' command.  The '19' initially 
looked a little strange but I had a quick dive into refdbib.c and it 
looks like that is a legitimate parameter -- the command buffer string 
length.

Adding the database name to each reference as per the manual makes no 
difference.

Regards,
David.

P.S. The refdb-users lists is rejecting my posts sporadically with the 
claim my ISP is not providing a postmaster address, so I'm copying all 
my posts to your personal email address.

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.