|
|
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:
- Ubuntu: sudo apt-get install python python-glade2 python-gnome2 python-sqlite3 graphviz
- Debian: sudo apt-get install python python-glade2 python-gnome2 python-sqlite3 graphviz
- Redhat: sudo yum install pygtk2 pygtk2-libglade python-sqlite3 graphviz
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):
- svn checkout http://gpapers.googlecode.com/svn/trunk/ gpapers
- svn co http://code.djangoproject.com/svn/django/trunk/django gpapers/django
- 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:
- 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
- bzr branch http://bazaar.launchpad.net/~poppler-python/poppler-python/poppler-0.6-experimental
- cd poppler-0.6-experimental
- ./autogen.sh
- ./configure
- make
- sudo make install
Sign in to add a comment

help me please ImportError?: "no module named BeautifulSoup?" at run python gPapers.py
As of May 1 2008, the svn instructions don't work:
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.
zooemhh,
do you have "BeautifulSoup?.py" in your gpapers directory still?
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)
Work now. Thanks Derek Anderson !
Works beautifully on Ubuntu 8.04, with python-sqlite instead of python-sqlite3. Thanks!
Can you please post installation instructions for Slackware 12.0? Thank you.
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 :(
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!
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
http://bazaar.launchpad.net/~poppler-python/poppler-python/poppler-0.6-experimental is a dead link now... is python-poppler located somewhere else now?
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.
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.
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.
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):
IndexError?: list index out of rangeAny help would be appreciated.
Other than that, great app. Thanks Derek Anderson!
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
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!
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):
ImportError?: No module named poppler could not import python-popplerCan any one please help me with this.
Hmm... Why desktop application depends on Django?!
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):
AttributeError?: 'Paper' object has no attribute 'save_full_text_file'