refdb-users Mailing List for RefDB (Page 95)
Status: Beta
Brought to you by:
mhoenicka
You can subscribe to this list here.
| 2001 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(8) |
Dec
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2002 |
Jan
(5) |
Feb
(8) |
Mar
(21) |
Apr
(4) |
May
(20) |
Jun
(18) |
Jul
(5) |
Aug
(4) |
Sep
(11) |
Oct
|
Nov
(5) |
Dec
(16) |
| 2003 |
Jan
(16) |
Feb
(28) |
Mar
(78) |
Apr
(96) |
May
(40) |
Jun
(52) |
Jul
(55) |
Aug
(119) |
Sep
(40) |
Oct
(30) |
Nov
(46) |
Dec
(50) |
| 2004 |
Jan
(121) |
Feb
(86) |
Mar
(97) |
Apr
(60) |
May
(75) |
Jun
(67) |
Jul
(110) |
Aug
(75) |
Sep
(92) |
Oct
(120) |
Nov
(27) |
Dec
(23) |
| 2005 |
Jan
(26) |
Feb
(58) |
Mar
(50) |
Apr
(73) |
May
(165) |
Jun
(11) |
Jul
(10) |
Aug
(17) |
Sep
(32) |
Oct
(25) |
Nov
(35) |
Dec
(21) |
| 2006 |
Jan
(74) |
Feb
(93) |
Mar
(24) |
Apr
(37) |
May
(45) |
Jun
(125) |
Jul
(101) |
Aug
(39) |
Sep
(10) |
Oct
(32) |
Nov
(36) |
Dec
(20) |
| 2007 |
Jan
(22) |
Feb
(2) |
Mar
(27) |
Apr
(35) |
May
(6) |
Jun
|
Jul
(19) |
Aug
(8) |
Sep
(3) |
Oct
(26) |
Nov
(15) |
Dec
(3) |
| 2008 |
Jan
(4) |
Feb
(4) |
Mar
(8) |
Apr
|
May
|
Jun
|
Jul
|
Aug
(4) |
Sep
|
Oct
(2) |
Nov
|
Dec
|
| 2009 |
Jan
(5) |
Feb
(39) |
Mar
(7) |
Apr
(24) |
May
(27) |
Jun
(5) |
Jul
(9) |
Aug
(12) |
Sep
(19) |
Oct
(16) |
Nov
|
Dec
(5) |
| 2010 |
Jan
(5) |
Feb
(4) |
Mar
|
Apr
|
May
|
Jun
(4) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2011 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(5) |
Jul
(4) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2012 |
Jan
(6) |
Feb
(2) |
Mar
|
Apr
|
May
|
Jun
(2) |
Jul
|
Aug
|
Sep
(6) |
Oct
|
Nov
|
Dec
|
| 2015 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(4) |
Sep
(1) |
Oct
|
Nov
|
Dec
|
| 2016 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(4) |
Sep
|
Oct
|
Nov
|
Dec
|
| 2018 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2019 |
Jan
|
Feb
|
Mar
(6) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2022 |
Jan
(3) |
Feb
(5) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: Matt P. <mat...@ut...> - 2004-02-18 02:12:59
|
On Tue, Feb 17, 2004 at 01:50:30PM -0500, Bruce D'Arcus wrote: > I'm big on annotations, which means also exploiting the semantic power > of xml. So, stuff like: > > <quote page="33" source-name="Jane Doe">a quote</quote> > But this leaves the question of how to add this markup easily in a > web-based interface of the sort that Rob and Matt have been working on. > > How about a wiki-ish solution? > > http://atox.sourceforge.net/atox.html > > Maybe the above could be: > > "[@33] a quote" this looks cool, esp since I hope to integrate this stuff into a wiki. I have to take a bit of a break from this stuff and write some papers... A somewhat functional version of that addnote code is still up at http://www/derailleur.org/webref I also made a quick zip file of a slightly improved (but also slightly broken... ) version of same, with the first steps towards building an 'add references' form. I would love for people to check that out and make improvements(!) (comments welcome too...). You can get that at http://www.derailleur.org/refdbphp.tar. Please improve it! Changes to css and xsl are also EXTREMELY welcome. ok, gotta go. matt > > Bruce > |
|
From: Markus H. <mar...@mh...> - 2004-02-18 00:46:32
|
Hi all, 0.9.4 is (finally) available at: http://sourceforge.net/projects/refdb This version offers a boatload of new features which are listed below. Please note that you should have a close look at the file UPGRADING if you want to avoid losing your data. Both the system and reference databases were changed considerably and require a rebuild. Please also note that due to a change in the communication protocol the old clients and the old Perl client library won't talk to the new server and vice versa. The manual and the tutorial were updated for the new version. Both are accessible from: http://refdb.sourceforge.net/doc.html Thanks to all who spotted bugs, made contributions, or otherwise helped to improve RefDB. Your help is much appreciated. Please send all suggestions, complaints, bug reports etc. to the mailing list. regards, Markus Version 0.9.4 (February 2004) Bugfixes: - fixed risx output - fixed wrong mapping of titles in some risx types - added publication type HEAR to the risx DTD - fixed a possible segfault if messages are logged to stderr - fixed case mismatches in DocBook XML driver files - fixed bug in bibliography code for subsequent multiple citations - fixed deleteref return message if the requested reference does not exist - fixed junk error messages if refdbc was run in batch mode without specifying a default database. - fixed erroneus trailing spaces in middle names - fixed handling of hyphenated double-initials (K.-H.) - fixed error in handling of journal custom abbrev2 - fixed bug that would have blocked concurrent addref commands Improvements: - added XHTML support to the getref command and to DocBook XML bibliographies - added support for extended notes. Extended notes can be linked to any number of references, keywords, author names, and periodical names in your database. You can search for references and display all notes attached to them, or you can search for notes and display which references they are linked to. You can search for notes which are attached to particular references and vice versa. The new refdbc commands addnote, updatenote, deletenote, and getnote work essentially like their *ref counterparts. The new refdbc command addlink adds or removes links from notes to other database objects. - by default refdbd answers only connections from localhost. The new -I switch allows remote connections as well. - deleteref will refuse to delete a reference if it is in the personal lists of more than one user. - reference databases now carry additional meta information like the refdb version they were created with and the dates of creation and last modification. This information is available through the refdbc:whichdb command. - listdb now only returns RefDB reference databases - the refdbnd script was enhanced to simplify generating a Makefile for an existing SGML or XML document - server and clients can now be built and installed separately - if a default database is selected in refdbc, the program will try to select this database at startup to test for its presence. - the getref and getnote query language now uses literal string matches by default. Use the new "~" operator to obtain a regexp match. - the string quoting was improved to simplify running regexp queries in the batch mode. - refdbd now has built-in support for character encoding conversions. You can add datasets and notes in several encodings, including Unicode, and retrieve datasets in all encodings that your libiconv supports. Incoming data is automatically converted to the encoding used by the current database. -- Markus Hoenicka mar...@ca... (Spam-protected email: replace the quadrupeds with "mhoenicka") http://www.mhoenicka.de |
|
From: Bruce D'A. <bd...@fa...> - 2004-02-17 18:57:45
|
I just had an idea: I'm big on annotations, which means also exploiting the semantic power of xml. So, stuff like: <quote page="33" source-name="Jane Doe">a quote</quote> ...and such. But this leaves the question of how to add this markup easily in a web-based interface of the sort that Rob and Matt have been working on. How about a wiki-ish solution? http://atox.sourceforge.net/atox.html Maybe the above could be: "[@33] a quote" Bruce |
|
From: Markus H. <mar...@mh...> - 2004-02-15 23:01:10
|
Matt Price writes: > Hey Markus: > > a couple notes: > > I may have overstated my problems with refdb earlier. I think my > 'addnote' issues don't actually require rebuilding the database, but > rather, just restarting refdbd. obviously that's way less drastic. > I could track down the problem with the help of your logs. I can't explain why in your case restarting refdbd got you around the problem (it can't, if I understand my code correctly :-). In any case, no one wouldn't want to restart an app anyway. I think I've fixed the problem. In brief, adding a dataset or a note involves creating a temporary citation key if the dataset doesn't specify one. If there is a problem with a dataset and it is not removed properly from the database again, this citation key may block the next addnote/addref command as it has to be unique. That is, this problem occurred only with a database engine that does not use transactions, only with datasets that cause a parse error (see below), and only with datasets that don't specify a citation key. I've fixed the code that removes partial datasets if you can't do a rollback, and I've also fixed a bug that swallowed the error message of the XML parser. It now returns for your dataset: refdbc: addnote ../pseudotest/data/xnoteset.xml server error: Parse error at line 50: not well-formed (invalid token) Now it should be pretty clear what's going on. > As for the note, the stumbling block seems to be the presence of the > character '&'. Do you know why this would be? being quite ignorant > of almost all the technologies involved here, I'm not sure what the > issue is. > Yep. The ampersand is one of the reserved characters in XML (others would be < and >). In order to use a literal ampersand in an XML document, use the entity "&" instead. Same with "<" and ">" for < and >, respectively. Thanks again for helping me spot this bug. regards, Markus -- Markus Hoenicka mar...@ca... (Spam-protected email: replace the quadrupeds with "mhoenicka") http://www.mhoenicka.de |
|
From: Markus H. <mar...@mh...> - 2004-02-14 00:53:33
|
Matt Price writes: > Hey Markus, sorry to take so long getting you data, but I'm being > somewhat unsystematic at the moment -- I will do my best to reproduce > the error faithfully and get back to you, but it will likely be a > couple of days at best. Looking at my mail it sounds rather > plaintive, and I don't mean that actually -- I suspect the problem may > lie, for instance, in a faulty installation ofm ysql sor some such. > No, don't take me wrong. I'm just trying to get 0.9.4 out the door, and I can't do that as long as there are unresolved issues. That's why I'm pressing a bit, sorry about that. > anyway it's my birthday and we have a babysitter so I'm off to the > movies -- more sometime later! > congrats & enjoy! Markus -- Markus Hoenicka mar...@ca... (Spam-protected email: replace the quadrupeds with "mhoenicka") http://www.mhoenicka.de |
|
From: Matt P. <mat...@ut...> - 2004-02-13 23:54:38
|
On Fri, Feb 13, 2004 at 10:32:20PM +0100, Markus Hoenicka wrote: > Hi Matt, > > Matt Price writes: > > Hey folks, > > > > I have finally (after demonstrating to myself many times over that I'm > > a terrible programmer) gotten a barely adequate version of a web 'add > > note' page working. You can find it here: > > http://www.derailleur.org/webref/index.php?format=risx&field=CK&searchText=Garthwaite2002 > > > > First of all, thanks for this effort. Much appreciated. > > > a couple of serious problems: > > > > -searching by author is entirely broken. THis seems to be an issue > > with my refdb installation, as it doesn't work from refbc either. > > > > This is related to the next "problem". > > > - searches don't work on regex's -- that is, they only work when the > > precise, full field value is entered. Again this seems to be a > > problem with my installation of refdb: > > refdbc: getref :CK:=Martin2001 > > gets a reference, whereas > > refdbc: getref :CK:=Martin > > does not. > > > > As you're running the CVS version, you're ahead of the latest NEWS > file (not yet checked in) which will explain a change in the query > syntax. Queries using '=' or '!=' now default to a literal match, this > is why > refdbc: getref :CK:=Martin2001 > works for you. If you want a partial or a regexp match, you have to > use the new tilde operators '~' and '!~' instead: > refdbc: getref :CK:~Martin > > So if I understand your problem correctly, this is an "early adopter" > issue. Sorry for the inconvenience. > > > - this last leads me to another issue with my refdb installation: I > > can't delete notes. > > e.g.: > > refdbc: deletenote :NID:>0 > > 0 datasets deleted, 0 skipped > > The deletenote command expects a whitespace-separated list of ID > values, like this: > refdbc: deletenote 1 3 4-6 > The < and > operators are not (yet) implemented. > > > ... and also I periodically lose the capacity to add notes, and have > > to rebuild my db to get it back > > > > This is a serious issue that I can't reproduce here. In order to fix > this I seriously need more debug information. If you find the time, > please > > - start refdbd with a log level of 7 > - start with a fresh database > - use a defined set of notes and add them until addnote fails > - send me the log and the set of notes that caused the failure. > > I can't fix things which I can't reproduce. I need these data. Hey Markus, sorry to take so long getting you data, but I'm being somewhat unsystematic at the moment -- I will do my best to reproduce the error faithfully and get back to you, but it will likely be a couple of days at best. Looking at my mail it sounds rather plaintive, and I don't mean that actually -- I suspect the problem may lie, for instance, in a faulty installation ofm ysql sor some such. anyway it's my birthday and we have a babysitter so I'm off to the movies -- more sometime later! matt . > > Thanks > Markus > |
|
From: Markus H. <mar...@mh...> - 2004-02-13 22:14:55
|
Bruce D'Arcus writes: > Just was pointed to another standard that handles names. More at: > > http://netapps.muohio.edu/movabletype/archives/darcusb/darcusb/ > 000135.html > > Am not sure what to make of it, but here's an example: > > <NameDetails PartyType="Person"> > <PersonName> > <Title>Mr</Title> > <FirstName Type="GivenName">Ram</FirstName> > <MiddleName>Laxhman</MiddleName> > <MiddleName Type="Initial">B</MiddleName> > <LastName NameType="SurName">Kumar</LastName> > <Alias>Ram</Alias> > <FormerName> > <NameLine>Ramkumar</NameLine> > </FormerName> > </PersonName> > </NameDetails> > This gets pretty close to what we need. Although I'm not sure what <NameLine> means. regards, Markus -- Markus Hoenicka mar...@ca... (Spam-protected email: replace the quadrupeds with "mhoenicka") http://www.mhoenicka.de |
|
From: Markus H. <mar...@mh...> - 2004-02-13 22:14:20
|
Hi Matt, Matt Price writes: > Hey folks, > > I have finally (after demonstrating to myself many times over that I'm > a terrible programmer) gotten a barely adequate version of a web 'add > note' page working. You can find it here: > http://www.derailleur.org/webref/index.php?format=risx&field=CK&searchText=Garthwaite2002 > First of all, thanks for this effort. Much appreciated. > a couple of serious problems: > > -searching by author is entirely broken. THis seems to be an issue > with my refdb installation, as it doesn't work from refbc either. > This is related to the next "problem". > - searches don't work on regex's -- that is, they only work when the > precise, full field value is entered. Again this seems to be a > problem with my installation of refdb: > refdbc: getref :CK:=Martin2001 > gets a reference, whereas > refdbc: getref :CK:=Martin > does not. > As you're running the CVS version, you're ahead of the latest NEWS file (not yet checked in) which will explain a change in the query syntax. Queries using '=' or '!=' now default to a literal match, this is why refdbc: getref :CK:=Martin2001 works for you. If you want a partial or a regexp match, you have to use the new tilde operators '~' and '!~' instead: refdbc: getref :CK:~Martin So if I understand your problem correctly, this is an "early adopter" issue. Sorry for the inconvenience. > - this last leads me to another issue with my refdb installation: I > can't delete notes. > e.g.: > refdbc: deletenote :NID:>0 > 0 datasets deleted, 0 skipped The deletenote command expects a whitespace-separated list of ID values, like this: refdbc: deletenote 1 3 4-6 The < and > operators are not (yet) implemented. > ... and also I periodically lose the capacity to add notes, and have > to rebuild my db to get it back > This is a serious issue that I can't reproduce here. In order to fix this I seriously need more debug information. If you find the time, please - start refdbd with a log level of 7 - start with a fresh database - use a defined set of notes and add them until addnote fails - send me the log and the set of notes that caused the failure. I can't fix things which I can't reproduce. I need these data. Thanks Markus -- Markus Hoenicka mar...@ca... (Spam-protected email: replace the quadrupeds with "mhoenicka") http://www.mhoenicka.de |
|
From: Bruce D'A. <bd...@fa...> - 2004-02-13 18:53:14
|
Just was pointed to another standard that handles names. More at: http://netapps.muohio.edu/movabletype/archives/darcusb/darcusb/ 000135.html Am not sure what to make of it, but here's an example: <NameDetails PartyType="Person"> <PersonName> <Title>Mr</Title> <FirstName Type="GivenName">Ram</FirstName> <MiddleName>Laxhman</MiddleName> <MiddleName Type="Initial">B</MiddleName> <LastName NameType="SurName">Kumar</LastName> <Alias>Ram</Alias> <FormerName> <NameLine>Ramkumar</NameLine> </FormerName> </PersonName> </NameDetails> |
|
From: Bruce D'A. <bd...@fa...> - 2004-02-13 13:51:37
|
On Feb 13, 2004, at 7:37 AM, Matt Price wrote: > I have finally (after demonstrating to myself many times over that I'm > a terrible programmer) gotten a barely adequate version of a web 'add > note' page working Cool. I still think Moveable Type's pop-up comments UI is a better model though. Even with one record, I find the notes UI now a little confusing (if I have the notes displayed, how do I get rid of them? What does "add note" do?). If there are many records, it seems like it'll be more confusing. Bruce |
|
From: Matt P. <mat...@ut...> - 2004-02-13 12:37:39
|
Hey folks, I have finally (after demonstrating to myself many times over that I'm a terrible programmer) gotten a barely adequate version of a web 'add note' page working. You can find it here: http://www.derailleur.org/webref/index.php?format=risx&field=CK&searchText=Garthwaite2002 a couple of serious problems: -searching by author is entirely broken. THis seems to be an issue with my refdb installation, as it doesn't work from refbc either. - searches don't work on regex's -- that is, they only work when the precise, full field value is entered. Again this seems to be a problem with my installation of refdb: refdbc: getref :CK:=Martin2001 gets a reference, whereas refdbc: getref :CK:=Martin does not. - the 'comment.php' page has no prodection against double-loading, so it's easy to screw up and addyour comment twice just by hitting the reload button. - this last leads me to another issue with my refdb installation: I can't delete notes. e.g.: refdbc: deletenote :NID:>0 0 datasets deleted, 0 skipped ... and also I periodically lose the capacity to add notes, and have to rebuild my db to get it back So there appears to be something seriously wrong with my refdb install, which I will look into. But for the meantime, the addnotes is working ok, please give ocmmetns.! matt |
|
From: Matt P. <mat...@ut...> - 2004-02-12 02:39:53
|
Hey Markus, things seem to be working a bit better, will try to get you a reproducible version of that error soon, in the meantime... there's a paragraph in the manual (chapter 10) that reads, in sgml source: <para>The <option>-t</option> switch determines the <link linkend="sect-output-formats">type of output</link>. The default value for <replaceable>output-format</replaceable> is <wordasword>scrn</wordasword> (screen output), other possible values are <wordasword>db31</wordasword> (DocBook SGML V. 3.1), <wordasword>db31x</wordasword> (DocBook XML), <wordasword>ris</wordasword> (RIS as of Reference Manager 8.01), <wordasword>risx</wordasword> (XML according to the <link linkend="sect1-writing-risx">risx DTD</link>), <wordasword>html</wordasword> (HTML), <wordasword>xhtml</wordasword> (XHTML), and <wordasword>bibtex</wordasword> (BibTeX).</para> This has a coupleo f errors (b/c of direct copying from getref documntation) and should probably read morel ike: <para>The <option>-t</option> switch determines the <link linkend="sect-output-formats">type of output</link>. The default value for <replaceable>output-format</replaceable> is <wordasword>scrn</wordasword> (screen output), other possible values are <wordasword>xnote</wordasword> (XML according to the <link linkend="sect1-writing-risx">xnote DTD</link>), <wordasword>html</wordasword> (HTML), and <wordasword>xhtml</wordasword> (XHTML).</para> the <link linkend="sect1-writing-risx"> element is wrong but I wasn't sure where you would want to point the xnote link. more soon (making progress on php!), matt |
|
From: Markus H. <mar...@mh...> - 2004-02-11 22:26:17
|
Matt Price writes:
> hey markus, the segfault and the free() error are back when i try to
> addnote...
>
> sorry to report that...
> matt
Turns out this was one of these bugs that are silent on FreeBSD. I
managed to reproduce the problem on Debian. Stupid me! The following
patch fixes the problem. I've also updated the file in CVS.
BTW: so much about temporary hacks. They've been in place for three
years...
--- refdbc.c.orig Wed Feb 11 23:08:15 2004
+++ refdbc.c Wed Feb 11 23:08:41 2004
@@ -3507,7 +3507,7 @@
}
/* the following is a temporary hack to allow cmdln_tokenize to work */
- newarg = (char*)malloc((size_t)(strlen(arg)+8));
+ newarg = (char*)malloc((size_t)(strlen(arg)+9));
if (newarg == NULL) {
delete_all_lilimem(&sentinel);
return 1;
@@ -4399,7 +4399,7 @@
}
/* the following is a temporary hack to allow cmdln_tokenize to work */
- newarg = (char*)malloc((size_t)(strlen(arg)+8));
+ newarg = (char*)malloc((size_t)(strlen(arg)+9));
if (newarg == NULL) {
delete_all_lilimem(&sentinel);
return 1;
regards,
Markus
--
Markus Hoenicka
mar...@ca...
(Spam-protected email: replace the quadrupeds with "mhoenicka")
http://www.mhoenicka.de
|
|
From: Markus H. <mar...@mh...> - 2004-02-11 00:21:15
|
Matt Price writes: > hey markus, the segfault and the free() error are back when i try to > addnote... > > sorry to report that... Nothing to apologize for. If it's broke, I'll have to fix it... Would you mind sending me a minimal set of data and the sequence of commands you used to reproduce the crash over here? I tried, but all goes well. And please send the refdbd log with log level 7 as well. Thanks, Markus -- Markus Hoenicka mar...@ca... (Spam-protected email: replace the quadrupeds with "mhoenicka") http://www.mhoenicka.de |
|
From: Matt P. <mat...@ut...> - 2004-02-10 23:13:44
|
hey markus, the segfault and the free() error are back when i try to addnote... sorry to report that... matt |
|
From: Matt P. <mat...@ut...> - 2004-02-10 23:08:06
|
Markus, first thanks for the help with libdbi. Oddly, simply compiling the libdbi package from scratch didn't work; so I reinstalled the debian package and made some symlinks and viola, it seems to work now. I also got rid of the old libdbd-sqlite package htat had been hanging around, so now I think there are no conflicts. So I believe the libdbi problems are solved -- which still doesn't explain why I can't add notes. Oh, also thanks for help on cvs. I, er, I don't usually have to do autogen.sh because I'm just a widdle itsy bitsy user and I'd never paid attention to thatpart before... anyway, compiles fine now. So, still have a problem: On Tue, Feb 10, 2004 at 03:06:54AM +0100, Markus Hoenicka wrote: > Matt Price writes: > > > > and this error on quit: > > free(): invalid pointer 0x80641b0! > > > > Do you get this free() error on the client side? I haven't seen this > yet. the error persists, andd I'm unable to add notes of any kind. Sometimes I get a segmentation fault as well (!).... but I just tried the same process with a new database -- and it worked! I guess the database got corrupted somehow -- this may well have been the result of my broken php scripts. So thanks! And more soon. Alles beste, bis... sehr bald wahrscheinlich, matt |
|
From: Markus H. <mar...@mh...> - 2004-02-10 21:00:58
|
Matt Price writes: > you're up late! > Yeah, tell me about it! My dayjob is too busy these days. > > > > Do you get this free() error on the client side? I haven't seen this > > yet. > > um, I htink so. It's waiting in stdout when I exit from refdbc. > > Ok, I'll check with the latest prerelease using valgrind. > dbi_driver_dir went to: > > libdbi: Failed to load driver: /usr/lib/dbd/libsqlite_dbi.so > dbi is up using default driver dir > Initialized libdbi, but no drivers were found! > ------------------- > notice dbi_driver_dir seems to point nowhere! on the other hand > /usr/lib/dbd/libsqlite_dbi.so does exist, but it's the old version, > check out the date: > This is ok. dbi_driver_dir contains a custom driver directory or nothing if you want to use the compile-time default. You're doing the latter, as indicated two lines further down. > ---------- > $ ll /usr/lib/dbd/libsqlite_dbi.so > -rw-r--r-- 1 root root 23020 2003-04-15 23:13 /usr/lib/dbd/libsqlite_dbi.so > ------------ > > The new drivers installed in /usr/local/lib/dbd: > # ll /usr/local/lib/dbd > total 160 > -rw-r--r-- 1 root staff 16374 2004-02-09 21:36 libmysql.a > -rwxr-xr-x 1 root staff 882 2004-02-09 21:36 libmysql.la > -rwxr-xr-x 1 root staff 23045 2004-02-09 21:36 libmysql.so > -rw-r--r-- 1 root staff 21658 2004-02-09 21:36 libpgsql.a > -rwxr-xr-x 1 root staff 823 2004-02-09 21:36 libpgsql.la > -rwxr-xr-x 1 root staff 29685 2004-02-09 21:36 libpgsql.so > -rw-r--r-- 1 root staff 20230 2004-02-09 21:36 libsqlite.a > -rwxr-xr-x 1 root staff 847 2004-02-09 21:36 libsqlite.la > -rwxr-xr-x 1 root staff 29363 2004-02-09 21:36 libsqlite.so > ------------ > sooo... > I'm wondering if I have to set a variable somewhere. I notice in > ./configure --help this line: > --with-libdbi-lib=DIR Find libdbi lib in DIR > but I'm assuming this is for libdbi itself, not for the driver, right? > This is correct. This setting is for libdbi.so, not for the drivers. > Meanwhile, I set dbi_driverdir in /etc/refdbdrc: > dbi_driverdir /usr/local/lib/dbd > This should work, although it should not be necessary. > for good measure, I even tried this in addition: > dbi_driver_dir /usr/local/lib/dbd > This shouldn't work. > > ------------ > so far, no dice. > > soooo... any hints? > This all looks pretty wacky, I guess there's more than just one problem. First of all, you should always test your libdbi-drivers installation. That is, after: (libdbi) make && make install (libdbi-drivers) make && make install you should run (libdbi-drivers) make check This will tell you whether the lib itself works properly. I believe one of your problems is that some of the older files are still present on your system. When you start refdbd, it tries to load the drivers from /usr/lib/dbi which indicates that refdbd is linked against the Debian version of libdbi (they put everything into /usr; scratchbuilt stuff goes into /usr/local). Make sure you delete the Debian packages for libdbi and the drivers, plus the development packages. Then you'll have to rebuild libdbi-drivers as they are most likely built using the old development files. After that, make check should work and refdbd should start up ok. regards, Markus -- Markus Hoenicka mar...@ca... (Spam-protected email: replace the quadrupeds with "mhoenicka") http://www.mhoenicka.de |
|
From: Markus H. <mar...@mh...> - 2004-02-10 21:00:56
|
Matt Price writes: > hi markus, I get this error building the current cvs version: > > Making all in @client_subdirs@ > /bin/sh: line 1: cd: @client_subdirs@: No such file or directory > make: *** [all-recursive] Error 1 > > Is something wierd going on with those @ characters? > If all goes well, the variables enclosed in those @ characters should be replaced by configure with configuration-specific values. If this does not work, something weird is going on. What was your sequence to build the cvs version? You should do something along these lines: ./autogen.sh ./configure <your options> make This works allright on my FreeBSD box. I'll try later tonight on a Debian box. regards, Markus -- Markus Hoenicka mar...@ca... (Spam-protected email: replace the quadrupeds with "mhoenicka") http://www.mhoenicka.de |
|
From: Matt P. <mat...@ut...> - 2004-02-10 11:40:41
|
hi markus, I get this error building the current cvs version: Making all in @client_subdirs@ /bin/sh: line 1: cd: @client_subdirs@: No such file or directory make: *** [all-recursive] Error 1 Is something wierd going on with those @ characters? matt |
|
From: Matt P. <mat...@ut...> - 2004-02-10 11:33:03
|
On Tue, Feb 10, 2004 at 10:21:31AM +0100, Marc Herbert wrote: > On Mon, 9 Feb 2004, Matt Price wrote: > > > so, decided I needed to install the latest preleease and took the > > plunge with libdbi 0.7. old libdbd-mysql & libdbd-pgsql files, so now > > I'm kinda screwed with regards to my previous installation of refdb. > > ANyway, there are no debian packages for libdbi-drivers, so I compiled > > them myself; didn't notice any problems. Then I compiled the latest > > refdb-prerelease, ./configure, make,install; no problems. But I can't > > run refdbd; when I try the configuration tests suggested in the > > manual, I get the following: > > I strongly recommend "stow" to anyone wanting to quickly switch > between different versions of refdb/libdbi/whatever. I use it since > months and it is a real relief. Thanks to a clever and automated use > of symbolic links, it is completely transparent to applications; they > just can't tell they are "stowed". Caveat: I am afraid symbolic links > do not work well with Windows. jeez, his sounds great. A bit late for my current situation I think (b/c I was using debian packaging for my earlier installation of libdbi etc...) but I will check ito ut! matt |
|
From: Marc H. <mar...@fr...> - 2004-02-10 09:21:24
|
On Mon, 9 Feb 2004, Matt Price wrote: > so, decided I needed to install the latest preleease and took the > plunge with libdbi 0.7. old libdbd-mysql & libdbd-pgsql files, so now > I'm kinda screwed with regards to my previous installation of refdb. > ANyway, there are no debian packages for libdbi-drivers, so I compiled > them myself; didn't notice any problems. Then I compiled the latest > refdb-prerelease, ./configure, make,install; no problems. But I can't > run refdbd; when I try the configuration tests suggested in the > manual, I get the following: I strongly recommend "stow" to anyone wanting to quickly switch between different versions of refdb/libdbi/whatever. I use it since months and it is a real relief. Thanks to a clever and automated use of symbolic links, it is completely transparent to applications; they just can't tell they are "stowed". Caveat: I am afraid symbolic links do not work well with Windows. The "HOWTO use stow" is so short that I can write it here right away: To install version123 cd refdbversion123 ./configure make make install prefix=/usr/local/stow/refdbversion123 To enable version123 cd /usr/local/stow stow refdbversion123 To switch to version456 cd /usr/local/stow stow --delete refdbversion123 stow refdbversion456 and so on... see the attached documentation for more details. |
|
From: Matt P. <mat...@ut...> - 2004-02-10 03:09:05
|
you're up late! > > Do you get this free() error on the client side? I haven't seen this > yet. um, I htink so. It's waiting in stdout when I exit from refdbc. > > Otherwise your best bet is to try the latest prerelease (and the test > data included in that release, there might be subtle changes). The notes > stuff did have some serious problems in earlier prereleases, although > I was usually able to add notes on my system. Using the latest > prerelease requires the latest libdbi (0.7.2) and libdbi-drivers > (0.7.1) versions, but they should build out of the box on most > systems. Let me know if you need further assistance. > > If this doesn't help, please run the server with a log level of 7 and > post the log. This might give a clue about what is going wrong. loglevel 7 means loglevel=debug in refdbdrc, right? > regards, > Markus > so, decided I needed to install the latest preleease and took the plunge with libdbi 0.7. old libdbd-mysql & libdbd-pgsql files, so now I'm kinda screwed with regards to my previous installation of refdb. ANyway, there are no debian packages for libdbi-drivers, so I compiled them myself; didn't notice any problems. Then I compiled the latest refdb-prerelease, ./configure, make,install; no problems. But I can't run refdbd; when I try the configuration tests suggested in the manual, I get the following: $ sudo refdbd -s -e 0 -l 7 dbi_driver_dir went to: libdbi: Failed to load driver: /usr/lib/dbd/libsqlite_dbi.so dbi is up using default driver dir Initialized libdbi, but no drivers were found! ------------------- notice dbi_driver_dir seems to point nowhere! on the other hand /usr/lib/dbd/libsqlite_dbi.so does exist, but it's the old version, check out the date: ---------- $ ll /usr/lib/dbd/libsqlite_dbi.so -rw-r--r-- 1 root root 23020 2003-04-15 23:13 /usr/lib/dbd/libsqlite_dbi.so ------------ The new drivers installed in /usr/local/lib/dbd: # ll /usr/local/lib/dbd total 160 -rw-r--r-- 1 root staff 16374 2004-02-09 21:36 libmysql.a -rwxr-xr-x 1 root staff 882 2004-02-09 21:36 libmysql.la -rwxr-xr-x 1 root staff 23045 2004-02-09 21:36 libmysql.so -rw-r--r-- 1 root staff 21658 2004-02-09 21:36 libpgsql.a -rwxr-xr-x 1 root staff 823 2004-02-09 21:36 libpgsql.la -rwxr-xr-x 1 root staff 29685 2004-02-09 21:36 libpgsql.so -rw-r--r-- 1 root staff 20230 2004-02-09 21:36 libsqlite.a -rwxr-xr-x 1 root staff 847 2004-02-09 21:36 libsqlite.la -rwxr-xr-x 1 root staff 29363 2004-02-09 21:36 libsqlite.so ------------ sooo... I'm wondering if I have to set a variable somewhere. I notice in ./configure --help this line: --with-libdbi-lib=DIR Find libdbi lib in DIR but I'm assuming this is for libdbi itself, not for the driver, right? Meanwhile, I set dbi_driverdir in /etc/refdbdrc: dbi_driverdir /usr/local/lib/dbd for good measure, I even tried this in addition: dbi_driver_dir /usr/local/lib/dbd ------------ so far, no dice. soooo... any hints? thanks as always, matt |
|
From: Markus H. <mar...@mh...> - 2004-02-10 02:10:12
|
Matt Price writes: > but at least one problem seems to be with refdb itself: I don't seem > to be able to add notes at all. so for instance this command: > > /usr/local/bin/refdbc -u [deleted] -d bib_test -w [deleted] -C addnote /usr/local/share/refdb/examples/xnoteset.xml > > gives this output: > > numerical ID ignored > 0 note(s) added, 0 skipped, 0 failed > > and this error on quit: > free(): invalid pointer 0x80641b0! > Do you get this free() error on the client side? I haven't seen this yet. Otherwise your best bet is to try the latest prerelease (and the test data included in that release, there might be subtle changes). The notes stuff did have some serious problems in earlier prereleases, although I was usually able to add notes on my system. Using the latest prerelease requires the latest libdbi (0.7.2) and libdbi-drivers (0.7.1) versions, but they should build out of the box on most systems. Let me know if you need further assistance. If this doesn't help, please run the server with a log level of 7 and post the log. This might give a clue about what is going wrong. regards, Markus -- Markus Hoenicka mar...@ca... (Spam-protected email: replace the quadrupeds with "mhoenicka") http://www.mhoenicka.de |
|
From: Matt P. <mat...@ut...> - 2004-02-09 22:28:39
|
Hi everyone, running into a little bit of trouble writing this php script to get refdb to add notes via a web form. (In fact, the overhealming paucity of my programming skills is making this WAY more difficult than it hsould be). but at least one problem seems to be with refdb itself: I don't seem to be able to add notes at all. so for instance this command: /usr/local/bin/refdbc -u [deleted] -d bib_test -w [deleted] -C addnote /usr/local/share/refdb/examples/xnoteset.xml gives this output: numerical ID ignored 0 note(s) added, 0 skipped, 0 failed and this error on quit: free(): invalid pointer 0x80641b0! I assume there are no problems with xnoteset.xml, which is why I used it. Is this possibly a bug with pre3? DOes this mean, then, th at I have to upgrade -- and does that furtherm ean i have to do somethiing extreme with libdbi or something? I will if I have to, but own't if I can avoid it... anyway, thanks, matt |
|
From: Markus H. <mar...@mh...> - 2004-02-06 21:41:19
|
Matt Price writes: > For a project like this, call numbers are really handy. The > bibliography will mostly be used by students as a way to start > research on term papers -- so that means thy'll likely be going > straight to the library to look the book up; having a call number on > hand is a way to cut one step out of the research process; and since > the computers at the library have long waiting lines, cutting out > a step is a substantial bonus. > This sounds like the system is not used to manage *local* copies anyway, so you'd be free to abuse the AV field for this purpose. And it also sounds like the call number (or whatever system applies) should be student-readable rather than machine-readable, so it wouldn't hurt to use a free text string describing the library, branch, and call number. regards, Markus -- Markus Hoenicka mar...@ca... (Spam-protected email: replace the quadrupeds with "mhoenicka") http://www.mhoenicka.de |