Getting Things GNOME! Windows

Create installation documentation

Reported by Alexandre COLLIGNON on 2010-04-22
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Getting Things GNOME! Windows
High
amx109

Bug Description

For the time we do not have a beautiful all-in-one installer, however we need that people test the trunk ! So we have to provide documentation about the installation of the trunk version.

Changed in gtg-win:
importance: Undecided → High
assignee: nobody → amx109 (amx109)
amx109 (amx109) wrote :

first draft of step-by-step installation guide.

amx109 (amx109) wrote :

note, the above installation were tested with the 0.2.x branch, not the 0.3. however, they should work for 0.3 (i upgraded from 0.2.x to 0.3 and everything was fine

Changed in gtg-win:
milestone: none → 0.3

We can publish this tutorial on http://live.gnome.org/gtg/installOnWindows and add a link in the global install page of GTG http://live.gnome.org/gtg/install.

LeeHach (lee-hachadoorian) wrote :

I tried the install instructions on Windows Vista, but have not been able to get it to run. Note that when I first tried to run setup.py, I got the message "libglade-2.0-0.dll can't be found". I decided to install the Glade IDE, available for download from the GTK+ website, but still had missing DLLs, so in the end I installed the version of Glade that has GTK+ packaged with it.

But after downloading the branch (using Bazaar http://bazaar.canonical.com/en/), what do I do next? When I try to install using easy_install, nothing happens, and running gtg.py or gtg_launcher.py nothing happens either.

Note that although I use GTG on Ubuntu, I've never tried to install a development branch on a Windows machine, so I'm probably doing something wrong here.

amx109 (amx109) wrote :

if you look at the 1st comment in this bug report, you will see a text file attached that documents my install process

http://launchpadlibrarian.net/45012563/install_gtg.txt

can you try installing gtg-win via these instructions?

let me know how you get on.

LeeHach (lee-hachadoorian) wrote :

Sorry, I was in the woods for awhile and just getting back to this.

My problem is with the last part. After "Now grab GTG from launchpad", what do I do? I've downloaded the branch, but what do I do to actually launch it on Windows?

what i do is open up a command line window, 'cd' to the directory where gtg
live and run the following

python gtg_launcher.py

admittedly, there should be a nicer way to launch it. perhaps for the next
release..

On Thu, Aug 12, 2010 at 3:58 PM, LeeHach <email address hidden> wrote:

> Sorry, I was in the woods for awhile and just getting back to this.
>
> My problem is with the last part. After "Now grab GTG from launchpad",
> what do I do? I've downloaded the branch, but what do I do to actually
> launch it on Windows?
>
> --
> Create installation documentation
> https://bugs.launchpad.net/bugs/568321
> You received this bug notification because you are a bug assignee.
>

LeeHach (lee-hachadoorian) wrote :

OK, after starting over and redoing all the steps in the instructions, and launching using "python gtg_launcher.py", I'm getting the following message:

     This application has failed to start because libglade-2.0-0.dll was not
     found. Re-installing the application may fix this problem.

I assume libglade-2.0-0.dll should be in c:\gtk\bin, but it is not. Should it be somewhere else? Do I need to add something else to my PATH?

LeeHach (lee-hachadoorian) wrote :

PS: When I try the to launch a GTK window per the installer instructions, a window appears, but it's status is "(Not Responding)". When I try to close it with the X, Windows tells me python.exe is not responding and offers to terminate the program. Is this correct behavior?

amx109 (amx109) wrote :

odd - cant find a lib glade dll anywhere on the machine i run gtg-win on.

please make sure the gtk\bin folder is added to your path - i think you need
to reboot for this to take affect.

can you tell me the results of the GTK windows test thats documented in the
text document?

On Thu, Aug 12, 2010 at 6:33 PM, LeeHach <email address hidden> wrote:

> OK, after starting over and redoing all the steps in the instructions,
> and launching using "python gtg_launcher.py", I'm getting the following
> message:
>
> This application has failed to start because libglade-2.0-0.dll was not
> found. Re-installing the application may fix this problem.
>
> I assume libglade-2.0-0.dll should be in c:\gtk\bin, but it is not.
> Should it be somewhere else? Do I need to add something else to my PATH?
>
> --
> Create installation documentation
> https://bugs.launchpad.net/bugs/568321
> You received this bug notification because you are a bug assignee.
>

LeeHach (lee-hachadoorian) wrote :

C:\gtk\bin is definitely in path and machine has been rebooted.

The windows test goes as follows:

C:\Python25>python
Python 2.5.1 (r251:54863, Apr 18 2007, 08:51:08) [MSC v.1310 32 bit (Intel)] on
win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import gtk
>>> window = gtk.Window()
>>> window.set_title("PyGTK Test Window")
>>> window.connect("destroy", gtk.main_quit)
9L
>>> window.show_all()
>>>
C:\Python25>

As you can see I get a one line message "9L" after issuing the window.connect command. On window.show_all a window appears in a Not Responding state. I have to kill it, then the python shell exits.

amx109 (amx109) wrote :

ok,

i get a '9L' message too.

theres something gone wrong with your gtk install. the window that gets
displayed should be any other normal window - you should be able to
minimise/maximise/resize it. obviously, this isnt happening for you.

im not sure what else i can suggest.

i will be working on an installer, hopefully over the next couple of weeks.
the hope is that will solve the messy dependancy/install process. in the
meantime i can only suggest you reinstall the dependencies, and make sure
that they are all compatible versions eg if you've installed python 2.4 then
make sure the gtk+extras are targeted for 2.4. there may be a problem with
some aspects of your windows setup, though its unlikely.

out of curiosity what version of windows are you using?

On Thu, Aug 12, 2010 at 11:24 PM, LeeHach <email address hidden>wrote:

> C:\gtk\bin is definitely in path and machine has been rebooted.
>
> The windows test goes as follows:
>
> C:\Python25>python
> Python 2.5.1 (r251:54863, Apr 18 2007, 08:51:08) [MSC v.1310 32 bit
> (Intel)] on
> win32
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import gtk
> >>> window = gtk.Window()
> >>> window.set_title("PyGTK Test Window")
> >>> window.connect("destroy", gtk.main_quit)
> 9L
> >>> window.show_all()
> >>>
> C:\Python25>
>
> As you can see I get a one line message "9L" after issuing the
> window.connect command. On window.show_all a window appears in a Not
> Responding state. I have to kill it, then the python shell exits.
>
> --
> Create installation documentation
> https://bugs.launchpad.net/bugs/568321
> You received this bug notification because you are a bug assignee.
>

LeeHach (lee-hachadoorian) wrote :

The window I get can be minimized and restored. I didn't try to maximize. It cannot be resized.

I think I did a good job of making sure to download Python 2.5 compatible versions of the dependencies, but I could have done something wrong. If you're going to be working on an installer, I'll probably just wait.

This is Windows Vista. Work computer, not my choice. I'm interested in gtg-win because I use gtg on Ubuntu at home.

Thanks for your replies.

I'm running gtg-win on Vista (work computer) so I guess that
everything should work for you too.

When you talk about "window that can be minimized and restored", are
you trying the little piece of code of the documentation ? This one :

import gtk
window = gtk.Window()
window.set_title("PyGTK Test Window")
window.connect("destroy", gtk.main_quit)
window.show_all()
gtk.main() # Amran, note that this line is missing in install_gtg.txt

I tested the code on my computer and everything is OK (maximize,
minimize, open, close, resize)

Just in case you would like to check your configuration, this is mine
:

Python 2.6.5
gtk+-bundle_2.20.0-20100406_win32
pygtk 2.16.0
pygobject 2.20
pycairo 1.8.6
setuptools 0.6c11

--
Alexandre COLLIGNON <email address hidden>
http://blog.collign.net

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Related questions

Bug attachments