|
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):
You will also need to install python-poppler. This is an extremely new library which allows embedding PDF files into pygtk apps. You can install this by running (from the ext directory):
|
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'hi all! sorry for my pure English ;) I want that you know: poppler is now here : (http://bazaar.launchpad.net/~poppler-python/poppler-python/trunk/files/30) download all it files in directory named as (poppler-0.6-experimental) then open terminal in this directory and type in it ./autogen.sh ./configure make sudo make install
That`s work!!!!!
if you have any problem with svn and bzr - only download all files from http://gpapers.googlecode.com/svn/trunk/ (in trunk directory of your gPapers directory on your PC) http://code.djangoproject.com/svn/django/trunk/django http://deseb.googlecode.com/svn/trunk/src/deseb and poppler (see upper) ... django and deserb directory place in trunk directory of gPapers directory on your desktop and open terminal here, and run "python gPapers" its work
Thank`s Dereck Anderson
Hi! If you have any problems with svn and bzr comand then try after comands: 1) sudo apt-get install python python-glade2 python-gnome2 python-sqlite3 graphviz 2) 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
create "gPapers" folder whenewer you want on your desktop and then download all file and folder from http://gpapers.googlecode.com/svn/trunk/ in it. Then create in "gPapers" folders which called "deserb", "poppler-0.6-experimental" and "django" and copy in it files downloaded from (http://deseb.googlecode.com/svn/trunk/src/deseb), ((http://bazaar.launchpad.net/~poppler-python/poppler-python/trunk/files/30) and (http://code.djangoproject.com/svn/django/trunk/django) respectively. In "poppler-0.6-experimental" folder run terminal and type: 1) ./autogen.sh 2) ./configure 3) make 4) sudo make install Then open terminal in "gPapers" and run comand: python gPaper.py It work! I using Kubuntu 8.04. This is cooooool scientific software!!! I being advertise it everywhere when I can!
Hi, I have followed all the instructions given above, but when I type ./autogen.sh I have an error "command not found" . I am new in Linux and don't know how to proceed. Any help would be appreciated. Regards,
You have to change the permissions of the file autogen.sh
sudo chmod a+x autogen.sh
+1 for a deb for this program... it looks great!
I am using Ubuntu8.04. By following the instruction, I had trouble compiling pysqlite2. The system complains something like: src/connection.h:33:21: error: sqlite3.h: no such file So it didn't succeed. However, I had python-pysqlite2 installed on the system -- I wonder if that is OK? Anyhow, when I ran gpapers, it seems that it can not import local files or directories. It went through the process but nothing really happened. Can anyone please help?
I've just been trying to install, and got this from the autogen script:
checking for PYPOPPLER... configure: error: Package requirements ( pygtk-2.0 >= 2.10.0,
Requested 'poppler-glib >= 0.10' but version of poppler-glib is 0.8.7
--- What gives? Is 0.8 no longer >0.1
If you're having trouble (as I did) with the poppler install, a cheat work-around is to download this deb:
pool/main/p/python-poppler/python-poppler-dbg_0.8.1-1_i386.deb
from your favourite debian mirror. Works like a charm!
i have tries to install it on 2.6.25-14.fc9.i686 but failed. I found following things: 1. yum install poppler on fc9 gives version 0.8.14,so you got to http://poppler.freedesktop.org/ to download the source code and install it. this went smooth with me. I also manage to find poppler-glib-0.10.0.tgz and unzip lib folder under /usr/lib , unzip include to /usr/local/include/poppler/ . 2. it is ok to yum install pygtk2-libglade python-sqlite3 graphviz. 3. as mentioned above, ithttp://bazaar.launchpad.net/~poppler-python/poppler-python/trunk
After finishing the above 3 steps . i am able to run the follwoing setps as shown in the instrcutions : # ./autogen.sh # ./configure # make # sudo make install This generates two files : poppler.so and poppler.la under /usr/local/lib/python2.5/site-packages/
when I issue gPapers.py , the system complain about : File "./gPapers.py", line 105, in <module>
can not properly load python-poppler. I tried to use following to add path to python loading path ; >>> import sys >>> sys.path.append("/usr/lib/python2.5/site-packages/poppler") >>> sys.path.append("/usr/local/lib") >>> sys.path.append("/usr/lib") but still no good.The gPaper looks interesting, however the installation is a pain
gPapers could be incredibly useful. Thanks for your work and I hope development can continue.
On Mandriva Cooker, the python-poppler modules installed in /usr/local/lib64/python2.6/site-packages. To get past the line 105 import failure, I used the following:
export PYTHONPATH="$PYTHONPATH:/usr/local/lib64/python2.6/site-packages"
After that the program loads successfully.
The first thing I tried was to import a locally stored pdf file. This failed with the same error reported by petit.lepton above:
trying to fetch: '/home/greg/Documents/enforcementmanual.pdf'? 1115003216 importing paper = /home/greg/Documents/enforcementmanual.pdf Traceback (most recent call last):
AttributeError?: 'Paper' object has no attribute 'save_full_text_file'My assumption is that this is an issue with this particular file (available at http://www.sec.gov/divisions/enforce/enforcementmanual.pdf). It would be nice if there were some feedback within gPapers about what, if anything, could be done.
In a test search on Google Scholars ("dark matter"), the title and year were not parsed correctly from the metadata. Importing one article at random did not give very useful results. Two co-authors and a source were available, although the My Library count did not increment (it did eventually after some clicking around), but there was no further data. The Google Scholar search results were cleared. There's a lot of output in the terminal, but I forgot to look at this for each action in the program window. A lot of it is repeated as:
Traceback (most recent call last):
AttributeError?: 'Paper' object has no attribute 'get_full_text_filename'My wife works in medical research and would be thrilled with something like this to deal with her collection of papers. Thanks for a brilliant start.
Your instruction about downloading the python-poppler from the 0.6-experimental branch is no longer valid. The branch no longer exists.
One can download python-poppler, but the code doesn't configure (forget compile) on Ubuntu Intrepid. The dependency that is missing is poppler-glib. I believe it is looking for poppler-glib2 >= 0.10, whereas Intrepid comes with poppler-glib3 0.8.7.
I get the same error as shouri (Jan. 18, 2009 comment) on Ubuntu 8.10 Intrepid. However, I do have glib2 installed and still get the error. Someone build a .deb for this!
i installed it on juanty ( ubunutu 9.04 ) but dont know how to run it?!! can someone help meeee?
worked for me on ubuntu 9.04 -- so far, with some crashes
This software is indeed a godsend for people in academia. Thank you so much for writing it, let us know if you are planning to maintain it, we would be happy to test it and report any bugs.
Hi! I run it in Windows XP SP2 under andLinux (http://www.andlinux.org) :). It's works...not bad ;) and try cb2bib or JabRef??? or Zotero... Becouse we haven't right article\PhD writing software until now. and more thing... try cb2bib, JabRef???, Zotero, BibTex4Word???, LyX (beamer), PDF-X-Change reader.
I found www.mendeley.com it`s interesting and free for Windows\Linux\Mac