My favorites | Sign in
Project Logo
                
Search
for
Updated Jan 20, 2008 by pub...@kered.org
Windows  

Note: gPapers currently does not work on Windows, but it almost does. All of the required libraries already have been ported, and the following describes how to install them. If you know Python and are willing to go through the following and help me debug, please email me.

Install Python

Use the Windows installer from: http://www.python.org/download/

Add Python to your system path:

  1. Click "Start"
  2. Right-click on "My Computer"
  3. Select "Properties"
  4. In the window that pops up, click the "Advanced" tab
  5. Click the button "Environment Variables"
  6. Under "User Variables" add or edit "PATH" to include your Python install directory (my default: "C:\Python25") (remember different directories must be separated by ";")
  7. Click "Ok" to close both the windows

To test:

  1. Click "Start" and then "Run"
  2. Type "python"
  3. If it says "Python v2.5.1 ...", it worked.

Install Glade / GTK

Download the "Gtk+/Win32 Development Environment" from: http://gladewin32.sourceforge.net/modules/news/

Install PyGTK / PyGObject / PyCairo

Download from: http://www.pygtk.org/downloads.html

Install a Subversion Client

http://tortoisesvn.tigris.org/

Install Django

  1. Use Windows Explorer to go to your Python site-packages directory (by default: "C:\Python25\Lib\site-packages")
  2. Right-click in the empty space and choose "SVN Checkout"
  3. Where it says "URL of the repository", enter "http://code.djangoproject.com/svn/django/trunk/django"
  4. Where it says "Checkout directory", add "\django" to the path
  5. Click "Ok"

Install Deseb

  1. Use Windows Explorer to go to your Python site-packages directory (by default: "C:\Python25\Lib\site-packages")
  2. Right-click in the empty space and choose "SVN Checkout"
  3. Where it says "URL of the repository", enter "http://deseb.googlecode.com/svn/trunk/src/deseb"
  4. Where it says "Checkout directory", add "\deseb" to the path
  5. Click "Ok"

Install gPapers

  1. Use Windows Explorer to go to wherever you install programs (by default: "C:\Program Files")
  2. Right-click in the empty space and choose "SVN Checkout"
  3. Where it says "URL of the repository", enter "http://gpapers.googlecode.com/svn/trunk/gpapers"
  4. Where it says "Checkout directory", add "\gpapers" to the path
  5. Click "Ok"

Run gPapers

  1. Open a command window
  2. Navigate to wherever you installed gPapers (by default: "C:\Program Files\gpapers")
  3. Type: "python gpapers.py"

Comment by emmartinezmd, Feb 24, 2008

Can't run the program on windows I have Windows XP The path : "http://gpapers.googlecode.com/svn/trunk/gpapers" is a dead end but I was able to download "http://gpapers.googlecode.com/svn/trunk"

I also cannot open a command window to get the program working

Comment by jrperegrina, Mar 17, 2008

Great job!. I'm impatient to try it, but unluckily the revision 143 (23th february) doesn´t work on windows as you point out, a problem importing a gnome module in gPapers.py.

Comment by rmore...@wisc.edu, Apr 30, 2008

Windows installation looks to be a non-starter. Attempts to use revision 143 fail hard.

As alluded to earlier, there is a problem with importing the "gnome" module in line 46 of gpapers.py ("import gnome")-- This is due to not installing the gnome-python library (PyGTK and gnome-python are not the same thing). There does not appear to be a Windows version for gnome-python. Initial inspection of the source indicates that gnome-python may be superfluous.

However, commenting out the gnome-python lines leads to an error in line 105 ("import poppler") -- This is due to not installing the poppler-python library. There does not appear to be a Windows version of either poppler-python or the poppler library proper. Also commenting out the poppler lines does give a gPapers window, but one which hangs immediately. (Actually, it hangs in the call to gtk.main() - unfortunately, my lack of expertise does not allow me to trace it any further.)

Summary: Don't bother trying the installation unless you have experience debugging GTK GUI apps on Windows.

Comment by rmore...@wisc.edu, Apr 30, 2008

Update - The unresponsive window appears to have something to do with threads -> Commenting out the thread initialization functions (lines 49 and 50 of revision 143, in addition to the library commenting-out mentioned earlier) gives a window you can close, although you cannot do anything useful with it. So don't bother with the installation unless you have experience debugging threaded GTK GUI apps on Windows.

Comment by polohiggins, Jul 30, 2008

same thing for me I get an error that gnome can't be found under windows -pity I was really hoping to find something like iPapers for Windows,

Comment by nachokb, Oct 22, 2008

Please correct gpapers' repo URL, it's "gPapers" and won't work with "gpapers".

Thanks (I'm gonna try it now)

-- nachokb

Comment by nachokb, Oct 22, 2008

It was simply "http://gpapers.googlecode.com/svn/trunk".

Now, I can't start it. I have everything installed and yet it can't find the "gnome" module :(

$> python gpapers.py
Traceback (most recent call last):
  File "gpapers.py", line 46, in <module>
    import gnome
ImportError: No module named gnome
could not import required GTK libraries.  try running:
        for ubuntu: sudo apt-get install python python-glade2 python-gnome2 python-gconf
        for debian: sudo apt-get install python python-glade2 python-gnome2
        for redhat: yum install pygtk2 gnome-python2-gconf pygtk2-libglade

$> _

Any ideas??

-- nachokb

Comment by dolopichtis, Jul 15, 2009

Hi! I run it in Windows XP SP2 under andLinux (http://www.andlinux.org) :). It's works...not bad ;)

Comment by dolopichtis, Jul 15, 2009

and more thing... try cb2bib, JabRef?, Zotero, BibTex4Word?, LyX (beamer), PDF-X-Change reader.

Comment by dolopichtis, Jul 16, 2009

I found www.mendeley.com it`s interesting and free

Comment by hoodb...@maxnet.co.nz, Jul 31, 2009

> All of the required libraries already have been ported Eh? Where can I get pypoppler for windows?

Comment by dario.santomarco, Oct 13, 2009

Hi, I'm developing an application with python/pygtk and need pypoppler to show pdf documents. I'm searching for a binary version of pypoppler, it seems nonexistent. I tried compile it myself but I'm not so skilled to accomplish this work ("./configure" it's ok, errors during "./make"). If someone more talented want to try, i downloaded all dependencies from: ftp://ftp.gnome.org/Public/GNOME/binaries/win32/dependencies/ (there is binary version of poppler 0.12.0 for windows)

Sorry for the out-of-topic post

Dario


Sign in to add a comment
Hosted by Google Code