|
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 PythonUse the Windows installer from: http://www.python.org/download/ Add Python to your system path: - Click "Start"
- Right-click on "My Computer"
- Select "Properties"
- In the window that pops up, click the "Advanced" tab
- Click the button "Environment Variables"
- Under "User Variables" add or edit "PATH" to include your Python install directory (my default: "C:\Python25") (remember different directories must be separated by ";")
- Click "Ok" to close both the windows
To test: - Click "Start" and then "Run"
- Type "python"
- If it says "Python v2.5.1 ...", it worked.
Install Glade / GTKDownload the "Gtk+/Win32 Development Environment" from: http://gladewin32.sourceforge.net/modules/news/ Install PyGTK / PyGObject / PyCairoDownload from: http://www.pygtk.org/downloads.html Install a Subversion Clienthttp://tortoisesvn.tigris.org/ Install Django- Use Windows Explorer to go to your Python site-packages directory (by default: "C:\Python25\Lib\site-packages")
- Right-click in the empty space and choose "SVN Checkout"
- Where it says "URL of the repository", enter "http://code.djangoproject.com/svn/django/trunk/django"
- Where it says "Checkout directory", add "\django" to the path
- Click "Ok"
Install Deseb- Use Windows Explorer to go to your Python site-packages directory (by default: "C:\Python25\Lib\site-packages")
- Right-click in the empty space and choose "SVN Checkout"
- Where it says "URL of the repository", enter "http://deseb.googlecode.com/svn/trunk/src/deseb"
- Where it says "Checkout directory", add "\deseb" to the path
- Click "Ok"
Install gPapers- Use Windows Explorer to go to wherever you install programs (by default: "C:\Program Files")
- Right-click in the empty space and choose "SVN Checkout"
- Where it says "URL of the repository", enter "http://gpapers.googlecode.com/svn/trunk/gpapers"
- Where it says "Checkout directory", add "\gpapers" to the path
- Click "Ok"
Run gPapers- Open a command window
- Navigate to wherever you installed gPapers (by default: "C:\Program Files\gpapers")
- Type: "python gpapers.py"
|
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
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.
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.
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.
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,
Please correct gpapers' repo URL, it's "gPapers" and won't work with "gpapers".
Thanks (I'm gonna try it now)
-- nachokb
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
Hi! I run it in Windows XP SP2 under andLinux (http://www.andlinux.org) :). It's works...not bad ;)
and more thing... try cb2bib, JabRef?, Zotero, BibTex4Word?, LyX (beamer), PDF-X-Change reader.
I found www.mendeley.com it`s interesting and free
> All of the required libraries already have been ported Eh? Where can I get pypoppler for windows?
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