What's new? | Help | Directory | Sign in
Google
  
  
  
  
    
Search
for
Updated Feb 15, 2008 by pub...@kered.org
Installation  

Note: These are installation instructions for Linux. For Windows, click here.

I've developed this program on Ubuntu 7.10 (Gutsy Gibbon), and have done little testing outside this release. But I can tell you that you'll need something fairly recent. Specifically, if your distro is using pygtk < v2.12, not everything will work.

No prebuilt packages yet, sorry. You'll need the following libraries:

Note: If your distro doesn't have python-sqlite3, you can instead use pysqlite2. Read how to install pysqlite2.

Now run (from wherever you want to install to):

  1. svn checkout http://gpapers.googlecode.com/svn/trunk/ gpapers
  2. svn co http://code.djangoproject.com/svn/django/trunk/django gpapers/django
  3. svn checkout http://deseb.googlecode.com/svn/trunk/src/deseb gpapers/deseb

Note: The last two lines aren't necessary if you have recent versions of django and deseb already installed. (in the case of deseb, very recent)

You will also need python-poppler. This is an extremely new library which allows embedding PDF files into pygtk apps. You can install this by running:

  1. sudo apt-get install build-essential libpoppler2 libpoppler-dev libpoppler-glib2 libpoppler-glib-dev python-cairo-dev bzr gnome-common python-dev python-gnome2-dev python-gtk2-dev python-gobject-dev python-pyorbit-dev
  2. bzr branch http://bazaar.launchpad.net/~poppler-python/poppler-python/poppler-0.6-experimental
  3. cd poppler-0.6-experimental
  4. ./autogen.sh
  5. ./configure
  6. make
  7. sudo make install


Comment by zooemhh, Mar 23, 2008

help me please ImportError?: "no module named BeautifulSoup?" at run python gPapers.py

Comment by wdjoyner, May 01, 2008

As of May 1 2008, the svn instructions don't work:

wdj@wooster:~/wdj/papers$ svn checkout http://gpapers.googlecode.com/svn/trunk/ gpapers
svn: PROPFIND request failed on '/svn/trunk'
svn: PROPFIND of '/svn/trunk': 502 Bad Gateway (http://gpapers.googlecode.com)
Comment by pub...@kered.org, May 01, 2008

google's svn servers have been flaky lately, falsely flagging legit traffic as bots. see: http://groups.google.com/group/google-code-hosting/browse_thread/thread/d02f5a8da6a4887b/9090fcc221f065ad

but it is working for me right now. try again.

Comment by pub...@kered.org, May 01, 2008

zooemhh,

do you have "BeautifulSoup?.py" in your gpapers directory still?

Comment by nucleic81, May 01, 2008

hi the following error...;( wat to do....

svn: PROPFIND request failed on '/svn/trunk' svn: PROPFIND of '/svn/trunk': could not connect to server (http://gpapers.googlecode.com)

Comment by wdjoyner, May 01, 2008

Work now. Thanks Derek Anderson !

Comment by aendruk, May 01, 2008

Works beautifully on Ubuntu 8.04, with python-sqlite instead of python-sqlite3. Thanks!

Comment by oleg.yordanov, May 03, 2008

Can you please post installation instructions for Slackware 12.0? Thank you.

Comment by rodolfo.carvajal, May 06, 2008

Great project!! I installed it last night in my laptop and no problem, but now that I try to install it at work, subversion asks me for a password... so I can't do the checkout :(

Comment by rodolfo.carvajal, May 06, 2008

I just find out why I was having trouble checking out. I'm behind a proxy, so you have to configure subversion properly.

Just in case you need to know how, go to http://subversion.tigris.org/faq.html#proxy

Greetings from Chile!

Comment by cesaram33, May 07, 2008

I am using mandriva, please, help me, how do I do for installing gpapers?, theres is other insted svn that I could use? also, I think there is not deseb for mandriva

Thank you!! Cesar Alvarez

Comment by mikas.remeika, May 08, 2008

http://bazaar.launchpad.net/~poppler-python/poppler-python/poppler-0.6-experimental is a dead link now... is python-poppler located somewhere else now?

Comment by aohara1986, May 08, 2008

python-poppler is now located at: http://bazaar.launchpad.net/~poppler-python/poppler-python/trunk

The problem is that it now requires several newer versions of the prereq packages which are not yet available via synaptic in Ubuntu 8.04...

I'm going to see what I can do about finding either the older version of poppler-python, or these other packages will have to updated manually. Kind of an annoying situation.

Comment by aohara1986, May 09, 2008

So, the prereq that needs updating is the actual poppler package. Went ahead and installed from the lasted tar ball. Now the ./autogen.sh and ./configure work, except the make on python-poppler spits back errors. I'm still waiting to here back from the main author on python-poppler. Anyone else have any suggestions? I'm just really excited to get gPapers going.

Comment by drjswalker, May 13, 2008

to fix the problem with python poppler, use an earlier version that still uses the 0.6 version of poppler. This prevents newer versions of the library confusing other applications that rely on it. ie. use the following command to checkout the previous version

bzr branch http://bazaar.launchpad.net/~poppler-python/poppler-python/trunk --revision 40

then cd trunk and run the autoconfig,configure, make and make install commands as previously described above.

Comment by mrmiller83, May 20, 2008

I Installed it on 05/18 in Ubuntu 8.04, with the following modifications:

1) python-sqlite instead of python-sqlite3 2) 'bzr branch http://bazaar.launchpad.net/~poppler-python/poppler-python/trunk --revision 40' instead of 'bzr branch http://bazaar.launchpad.net/~poppler-python/poppler-python/poppler-0.6-experimental'

It seems to be working well except IEEE, PubMed?, and CiteSeer? searches don't work. Only ACM and Google Scholar work.

Here's what it says in the terminal when I try a PubMed? search:

Traceback (most recent call last):

File "gPapers.py", line 2066, in refresh_middle_pane_from_pubmed
paired_nodes.append( (nodesi?, nodes2i?) )
IndexError?: list index out of range

Any help would be appreciated.

Other than that, great app. Thanks Derek Anderson!

Comment by dcos73, Jun 16, 2008

I'm in a similar situation as mrmiller83 (same OS and modified install). can't get PubMed?? search to work :/

I also get the same error on the terminal.

most of the searches I do are through PubMed?? and the app is just what I've been looking for... Anybody has a clue on how to solve this issue?

thanks in advance

Comment by andrew.d.king, Jun 21, 2008

Curses. I don't have my Ubuntu disk with me and I can't install all the prereqs right now. This program seems like exactly what I've been looking for -- hopefully I can install it in the next couple of days but I'd love to see and apt-get package. Thanks for the hard work!

Comment by sushobhanb, Jun 23, 2008

Could any body please tell me how to install this gpapers in fedora based system... I have been trying to install this since a month still no luck... Every time it goes up to the poppler step and i am not able to get any packages by apt-get on the other hand I already have poppler installed.

rpm -qa | grep poppler poppler-0.6.2-1.fc8

so that should not be a problem but then when I tried running gpapers.py it gives the following error

Traceback (most recent call last):

File "gPapers.py", line 105, in <module>
import poppler
ImportError?: No module named poppler could not import python-poppler

Can any one please help me with this.

Comment by gforgx, Aug 09, 2008

Hmm... Why desktop application depends on Django?!

Comment by petit.lepton, Aug 14, 2008

Dear all, I have installed gPapers on Ubuntu 8.04 but, each time I try to import a PDF file, I got the following message : -1265583216 importing paper = /home/flavien/Documents/Documentation/charte-elements.pdf Traceback (most recent call last):

File "./gPapers.py", line 332, in import_document
paper.save_full_text_file( defaultfilters.slugify(os.path.split(filename)1?.replace('.pdf',''))+'.pdf', data )
AttributeError?: 'Paper' object has no attribute 'save_full_text_file'


Sign in to add a comment