Dominik Kriegner | 27 May 2013 23:27
Picon

referencer using acroread when started in terminal

Hi all,

I have a question about the behavior of referencer. Today when testing
the new 1.2.1 release (thank for the new release and your continued
effort to work on referencer!) I found that referencer is using
acroread when I start it from the terminal.

When started from gnome applications or via alt+F2 it uses my default
pdf-viewer evince for viewing the documents linked to my library.

any idea why the behavior is different when started from gnome-terminal?

regards

Dominik
_______________________________________________
referencer mailing list
referencer <at> icculus.org
http://icculus.org/mailman/listinfo/referencer

Douglas Rees | 24 Jan 2013 03:52
Picon

Can plugins access tags and notes fields?

Hi,

I've been using referencer for all of a day, and I'm quite impressed (I 
especially like the ease of DOI lookup, once you get past the 
registration hurdle [is it possible to have a link in the dialog box, or 
selectable text?])

I'm only an amateur pythoner, but I'd like to write a plugin that would 
generate an annotated biography (current idea is to generate a LaTeX 
file with a full citation of each selected reference followed by some 
notes), possibly separating it into several sections.

For this to work I'd need to be able to access the notes field of the 
reference, but I can't seem to find a way of doing it (there is no 
get_notes() function, but is there some other function that could return 
the notes?), and I'm similarly unsure about whether plugins can access tags.

This way I'd be able to keep my references and notes together, and 
easily be able to generate something extra to show my supervisor that 
I'm actually doing something (well, there are several extra possibilities).

Cheers,

-Doug
_______________________________________________
referencer mailing list
referencer <at> icculus.org
http://icculus.org/mailman/listinfo/referencer

(Continue reading)

Mads Chr. Olesen | 31 Oct 2012 03:56
Picon

Upcoming new Referencer release

Hi all,

in the past few weeks I have been using Referencer extensively, so I
have in that process fixed a number of issues:
 * Ported completely to GIO (one minor regression outstanding)
 * Removed dependency on gnome-vfsmm and libgnomeuimm
 * Changed plugin metadata mechanism to have dynamic priorities to allow
plugins to signal "how well it is able to fetch metadata for this
document"
 * Imported ISI Web of Knowledge metadata plugin from Debian package,
updated this to new web service API
 * Added DBLP metadata plugin
 * Added Google books plugin from this mailing list
 * Fixed up some regressions in the GUI due to new GTK version

All my changes are in
https://code.launchpad.net/~referencer-devs/referencer/trunk

I have a few more changes I would like to get in.

I intend to do a new release of Referencer in a week or so. If you could
help test the current code in trunk that would be really great :-)

--

-- 
Mads Chr. Olesen <mads <at> mchro.dk>

_______________________________________________
referencer mailing list
referencer <at> icculus.org
http://icculus.org/mailman/listinfo/referencer
(Continue reading)

Christopher Belanger | 20 Dec 2011 00:03
Picon
Picon
Favicon

A question about document types and document.get_field()

Hi,

First off, I love Referencer, so thanks for all the hard work.  As a
humanities student, I often find myself needing to compile
bibliographies.  Obviously LaTeX is awesome for this, but if someone
wants me to e-mail them a list of references, it doesn't make sense to
make a new .tex file and generate a pdf.

So I've been working on a plugin to export plaintext citations from
Referencer to the clipboard.  It's pretty simple, but if I finish it
I'll gladly share it.

However, I'm having problems with document.get_field().  In order to get
the bibliographic information, the plugin needs to get a bunch of
fields.  The problem is that if it tries to get a field that doesn't
exist, rather than just returning a null value for that field, it throws
an exception and the plugin doesn't return anything at all.

I've gone through the source code, and this seems to happen on or around
line 774 of Document.c.

So, first question: is this a bug?  If so, it seems like it would be
easy to just change that line from 'throw std::etc....' to 'return "";',
which would allow the plugin to keep chugging along with an empty variable.

Second question: documents have different "genres" or "types," such as
article, book, etc., and I know this determines which fields are
defined.  However I can't find a direct way for a plugin to find out
what type a document is.  Is there such a function I just can't find? 
If so, that would allow me to make sure I only get the fields defined
(Continue reading)

Stefan Bucher | 5 Dec 2011 11:51
Picon
Favicon

Referencer reports <class 'xml.parsers.expat.ExpatError'> when quering ISI, second edition

Hi

I set up a new system which I'am using to write my master thesis. Guess what: I got a similar problem as https://answers.launchpad.net/referencer/+question/169030 again... Unfortunately the trick that solved the problem last time, did not work this time. The output of the terminal is slightly different:

___________________________
bool Transfer::waitForFlag(volatile bool&):
 Waiting...

(referencer:15889): libgnomevfsmm-WARNING **: gnome-vfsmm Async::Handle::cancel(): This method currently leaks memory.
 waitForFlag completed due to transferfail
PyObject* referencer_download(PyObject*, PyObject*):
 got 0 characters

virtual bool PythonPlugin::doAction(Glib::ustring, std::vector<Document*>):
 PythonPlugin::doAction: NULL return value
_________________________________

As you can see the "void Transfer...." does not show up. Yet the rest of the errormessage and the behaviour of referencer remains exactly the same.

Thanks in advance for your help.
Stefan
(Question: https://answers.launchpad.net/referencer/+question/180942)

_______________________________________________
referencer mailing list
referencer <at> icculus.org
http://icculus.org/mailman/listinfo/referencer
RISHAV SINHA | 16 Nov 2011 11:19
Picon

about deputation allowance

I m transferred from ahmedabad to delhi commissionerate on deputation basis, and it it not on compassionate ground, I m a ministrial staff as tax assistant. my grade is pay band is 8120 and grade pay is 2400, Am I entitled for deputation allowance, is there no deputation to ministrial staff, actually in my office, concerned officer tells that  ministrial staff is not entitled for deputation allowance. kindly guide me

_______________________________________________
referencer mailing list
referencer <at> icculus.org
http://icculus.org/mailman/listinfo/referencer
David Dombrowsky | 9 Nov 2011 20:05
Gravatar

Question on the project's focus

First, I think the referencer app is great.  I think it fills a hole in
file management that simply does not exist anywhere else.

I personally use the app simply to organize files, specifically scans
of bills and other documents that come in through snail mail.
Referencer gives me a simple way of tagging and adding metadata to
existing files.  While the app seems well suited for this, I don't
think it was written with this use case in mind.  Am I correct in
assuming this?  Is there something else out there better suited for
this use case?

-Dave
_______________________________________________
referencer mailing list
referencer <at> icculus.org
http://icculus.org/mailman/listinfo/referencer

arthur xu | 4 Nov 2011 17:21
Picon

for help about the isi-plugin

I am new for the referencer.
I have a problem with the isi-plugin.
the version I downloaded is 0.1.1, is it the newest?
when I want use isi-plugin, I got the error:
invalid literal for int() with base 10: ''
what does it mean? how can I fix it?
my system is Ubuntu 10.04.
the version for python is 2.6, 3.0 and 3.1.
but I don't know which one is default.
thank you in advance.

_______________________________________________
referencer mailing list
referencer <at> icculus.org
http://icculus.org/mailman/listinfo/referencer
Stefan Bucher | 22 Sep 2011 09:11
Picon
Favicon

Referencer reports <class 'xml.parsers.expat.ExpatError'> when quering ISI

Hi everybody

I got a problem with referencer. Below you will find the content of the
problem as posted on the referencer launchpad site. If anyone got an
idea how to resolve that - I would be very grateful.

I got kind of a large overall problem. Perhaps it is a bug, yet I don't
know. Here is what I did:
I installed referencer from the ubuntu software-center (Natty, Unity).
Then I linked PDF's to referencer to administrate my library and have an
easy and quick access to my literature. A feature I like (according to
promised program features) is the automatic retrieval of literature info
(journal, pages etc.) - but that does not happen...

When I link the pdf - the only data that are taken out of the pdf is the
doi and places the pdf-name as title (as it seems). When I try to
retrieve information (even with correct paper title) nothing happens -
the information in the referencer remains the same. Even if I give more
info like (the correct) year and author, the information are not
retrieved from the net. What is the problem here? (I use VPN-connection
to my university. Access to ISI is possible when I manually access
documents.)

I already tried to purge and reinstall referencer --> no change
whatsoever in behaviour.

After that I tried to retreive metadate explicitly from ISI by clicking
the respective button in icon bar. The answer was (translated from
german):
        ____________________________
        Exception: <class 'xml.parsers.expat.ExpatError'>

        Module: isi-plugin
        Explanation: no element found: line 1, column 0
        _____________________________

The terminal output is:
        ________________________________________
        bool Transfer::waitForFlag(volatile bool&):
         Waiting...
        void Transfer::openCB(const Gnome::Vfs::Async::Handle&,
        Gnome::Vfs::Result):
         result not OK

        (referencer:5003): libgnomevfsmm-WARNING **: gnome-vfsmm
        Async::Handle::cancel(): This method currently leaks memory.
        bool Transfer::waitForFlag(volatile bool&):
         waitForFlag completed due to transferfail
        PyObject* referencer_download(PyObject*, PyObject*):
         got 0 characters

        virtual bool PythonPlugin::doAction(Glib::ustring,
        std::vector<Document*>):
         PythonPlugin::doAction: NULL return value
        __________________________________________

The for curiosity I clicked on the Lyx button. Answer there (translated
from german):
        __________________________________________
        Exception: <type 'exceptions.TypeError'>

        Module: lyx
        Explanation: exceptions must be old-style classes or derived
from
        BaseException, not str
        __________________________________________

Terminal output was:
        __________________________________________
        virtual bool PythonPlugin::doAction(Glib::ustring,
        std::vector<Document*>):
         PythonPlugin::doAction: NULL return value
        __________________________________________

Oh, and btw I have this bug
https://bugs.launchpad.net/referencer/+bug/494684 too. Yet, I don't know
how to install the code provided as a patch in that post. I'm just an
ordinary user --> I would need some explanation on how to install such a
patch.

Thanks for your help
Stefan

_______________________________________________
referencer mailing list
referencer <at> icculus.org
http://icculus.org/mailman/listinfo/referencer

Dominik Kriegner | 15 Aug 2011 11:27
Picon

./data directory needed during startup

Hello all,

I tried to build the latest commit from launchpad in António Lima's
development branch. However I have problems executing the resulting
referencer binary.

So what I did is

fetch the sources from launchpad 
bzr branch lp:~referencer-devs/referencer/amrlima_gio_port

configure, build and install them
cd amrlima_gio_port/
./devconfigure
make
make install

the build works fine. when I try to run referencer this only works when
in the working directory a folder "data" exists. Otherwise I get

$ bin/referencer
int main(int, char**):
	setting pythonPath
to :/home/dominik/apps/lib/python:./plugins:/home/dominik/.referencer/plugins:/home/dominik/devel/referencer/amrlima_gio_port/dist/lib/referencer:
terminate called after throwing an instance of 'Gio::Error'
Aborted

if I do
mkdir data
bin/referencer

then referencer starts up fine and creates 4 empty files in the data
directory:

crossref.ui  documentproperties.ui  preferences.ui  referencer.svg
	
A subsequent start of referencer fails because of those 4 emtpy files.
Did I do something wrong or should I file a bug report on launchpad?

kind regards,

Dominik

_______________________________________________
referencer mailing list
referencer <at> icculus.org
http://icculus.org/mailman/listinfo/referencer
Adrien ANDRE | 15 Jul 2011 21:42
Picon

Re: Referencer ignores PDF metadata ?

Too bad these informations aren't taken into account, especially when 
information fields remain empty after the Referencer lookup.

Not to mention that the special PDF metadata 'Producer' exists to store 
this program name.

Adrien

Le 15/07/2011 13:00, referencer-request <at> icculus.org a écrit :
> Message: 1
> Date: Thu, 14 Jul 2011 15:30:07 -0300
> From: Adrien ANDRE<adrien.andre.m <at> gmail.com>
> Subject: [referencer] Referencer ignores PDF metadata ?
> To: referencer <at> icculus.org
> Message-ID:<4E1F35AF.5050003 <at> gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Hi all,
>
> i was surprised noticing Referencer doesn't use PDF metadata,
> that one can easily dump using these two linux commands, for example :
>
> pdfinfo paper.pdf
> pdftk paper.pdf dump_data
>
> Is this functionality in development ? Did i miss something ?
>
> Thanks in advance,
>
> Adrien
>
>
> ------------------------------
>
> Message: 2
> Date: Thu, 14 Jul 2011 19:47:01 +0100
> From: John Spray<jcspray <at> gmail.com>
> Subject: Re: [referencer] Referencer ignores PDF metadata ?
> To: referencer mailing list<referencer <at> icculus.org>
> Message-ID:
> 	<CAJP3sOXwAx0W0B-1+UxhDxs36mtxvjx_J_RrZEkqd51kTf6qQg <at> mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> In my experience, hardly any PDFs in the wild have useful metadata.  Author
> is frequently set to the name of the program that generated the PDF.
>
> _______________________________________________
> referencer mailing list
> referencer <at> icculus.org
> http://icculus.org/mailman/listinfo/referencer
_______________________________________________
referencer mailing list
referencer <at> icculus.org
http://icculus.org/mailman/listinfo/referencer


Gmane