Re: [pygtk] Call For Testing: Updated PyGObject, Pycairo and PyGTK for Windows

2010-11-02 Thread Yann Leboulanger

On 11/02/2010 10:53 AM, John Stowers wrote:

On Thu, 2010-10-28 at 11:52 +1300, John Stowers wrote:

On Sat, 2010-10-16 at 20:00 +1300, John Stowers wrote:
PyGObject 2.26 (for glib-2.26.0)
http://www.johnstowers.co.nz/files/win32/pygobject-2.26.0.win32-py2.6.exe
http://www.johnstowers.co.nz/files/win32/pygobject-2.26.0.win32-py2.7.exe

Pycairo 1.8.10
http://www.johnstowers.co.nz/files/win32/pycairo-1.8.10.win32-py2.6.exe
http://www.johnstowers.co.nz/files/win32/pycairo-1.8.10.win32-py2.7.exe

PyGTK 2.22 (for gtk+-2.22.0)
http://www.johnstowers.co.nz/files/win32/pygtk-2.22.0.win32-py2.6.exe
http://www.johnstowers.co.nz/files/win32/pygtk-2.22.0.win32-py2.7.exe


Final attempt. The only change is that these were built with
--user-access-control=auto

Can those that saw errors during install on vista/7 please test.

Once someone confirms they work I'll put them on GNOME FTP

Cheers,

John


pycairo -> no error
pygobject -> no error
pygtk -> no error

Perfect! Thanks!!

Now I have to see with GTK why 
tree.rc_get_style().bg[gtk.STATE_ACTIVE].to_string() returns #.


--
Yann
___
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/


Re: [pygtk] Call For Testing: Updated PyGObject, Pycairo and PyGTK for Windows

2010-11-02 Thread John Stowers
On Thu, 2010-10-28 at 11:52 +1300, John Stowers wrote:
> On Sat, 2010-10-16 at 20:00 +1300, John Stowers wrote:
> > Hi All,
> > 
> > I spent some time updating the windows installers for PyGObject, PyGTK
> > and Pycairo.
> > 
> 
> Hi All,
> 
> Thanks for your feedback and testing. I updated the installers again to
> hopefully correct the bug some were seeing on install. I also generated
> installers for Python2.7.
> 
> Can those who got an error on install please test these to ensure that
> this is no longer present.
> 
> PyGObject 2.26 (for glib-2.26.0)
> http://www.johnstowers.co.nz/files/win32/pygobject-2.26.0.win32-py2.6.exe
> http://www.johnstowers.co.nz/files/win32/pygobject-2.26.0.win32-py2.7.exe
> 
> Pycairo 1.8.10
> http://www.johnstowers.co.nz/files/win32/pycairo-1.8.10.win32-py2.6.exe
> http://www.johnstowers.co.nz/files/win32/pycairo-1.8.10.win32-py2.7.exe
> 
> PyGTK 2.22 (for gtk+-2.22.0)
> http://www.johnstowers.co.nz/files/win32/pygtk-2.22.0.win32-py2.6.exe
> http://www.johnstowers.co.nz/files/win32/pygtk-2.22.0.win32-py2.7.exe

Final attempt. The only change is that these were built with
--user-access-control=auto

Can those that saw errors during install on vista/7 please test.

Once someone confirms they work I'll put them on GNOME FTP

Cheers,

John


___
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/


Re: [pygtk] Call For Testing: Updated PyGObject, Pycairo and PyGTK for Windows

2010-11-01 Thread Manuel Alejandro CerĂ³n Estrada
Hi!

2010/10/27 John Stowers :

> Thanks for your feedback and testing. I updated the installers again to
> hopefully correct the bug some were seeing on install. I also generated
> installers for Python2.7.
>
> Can those who got an error on install please test these to ensure that
> this is no longer present.
>
> PyGObject 2.26 (for glib-2.26.0)
> http://www.johnstowers.co.nz/files/win32/pygobject-2.26.0.win32-py2.6.exe
> http://www.johnstowers.co.nz/files/win32/pygobject-2.26.0.win32-py2.7.exe
>
> Pycairo 1.8.10
> http://www.johnstowers.co.nz/files/win32/pycairo-1.8.10.win32-py2.6.exe
> http://www.johnstowers.co.nz/files/win32/pycairo-1.8.10.win32-py2.7.exe
>
> PyGTK 2.22 (for gtk+-2.22.0)
> http://www.johnstowers.co.nz/files/win32/pygtk-2.22.0.win32-py2.6.exe
> http://www.johnstowers.co.nz/files/win32/pygtk-2.22.0.win32-py2.7.exe
>
> These are to be used with the all in one gtk bundle
>
> http://ftp.gnome.org/pub/gnome/binaries/win32/gtk+/2.22/gtk
> +-bundle_2.22.0-20101016_win32.zip

Thanks! I tested your installers and everything worked perfectly. I
didn't use the gtk bundle you mentioned, but instead used the gtk
installer provided here:
http://gtk-win.sourceforge.net/home/index.php/Downloads

Thanks.

Manuel.
___
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/


Re: [pygtk] Call For Testing: Updated PyGObject, Pycairo and PyGTK for Windows

2010-10-29 Thread Dieter Verfaillie

Hi,

Quoting "Yann Leboulanger" :

I confirm: first one raises the same error

and second and third one works: I see
"Great, you've reached the postinstall script"


The binaries I posted yesterday where incomplete (missing constants.py
in pygobject). I've fixed that and some other stuff and posted
pygobject, pygtk and pygoocanvas installers here:
http://www.optionexplicit.be/projects/gnome-windows/20101029/

These are built from the windows branches of their respective git
repos at http://github.com/dieterv.

mvg,
Dieter


This message was sent using IMP, the Internet Messaging Program.

___
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/


Re: [pygtk] Call For Testing: Updated PyGObject, Pycairo and PyGTK for Windows

2010-10-28 Thread Dieter Verfaillie

Quoting "Yann Leboulanger" :

The first [1] one is compiled as usual and will most certainly produce the
error message. The second [2] and third [3] have been compiled with the
bdist_wininst uac option set to various values.

Could you try them out? I'll bet the first doesn't work, but hope 2 and
3 do...


I confirm: first one raises the same error

and second and third one works: I see
"Great, you've reached the postinstall script"


That's great! I've pushed patches to the README.win32 files in my pygobject
and pygtk windows branches on github (http://github.com/dieterv/pygobject
and http://github.com/dieterv/pygtk) documenting the need to build with
bdist_wininst --user-access-control=auto.
I'll contact John to get those patches upstream.

Also, I've removed the test builds from  
http://www.optionexplicit.be/projects/gnome-windows/20101028/ and  
uploaded fixed build for pygobject and pygtk.


Thanks for your help in hunting this down,
mvg,
Dieter


This message was sent using IMP, the Internet Messaging Program.
___
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/


Re: [pygtk] Call For Testing: Updated PyGObject, Pycairo and PyGTK for Windows

2010-10-28 Thread Yann Leboulanger

On 10/28/2010 03:52 PM, Dieter Verfaillie wrote:

Quoting "Yann Leboulanger" :

Nothing more, still the same thing.


Ok, I'm quite sure this is not an issue with the postinstall script
itself.

I've made 3 new build to make sure. All 3 have their
pygobject_postinstall.py
replaced with simply:
=
import sys
if len(sys.argv) == 2:
if sys.argv[1] == '-install':
print ('Great, you\'ve reached the postinstall script')
=
This means if you see "Great, you've reached the postinstall script"
on the last page, the installer worked.

The first [1] one is compiled as usual and will most certainly produce the
error message. The second [2] and third [3] have been compiled with the
bdist_wininst uac option set to various values.

Could you try them out? I'll bet the first doesn't work, but hope 2 and
3 do...


I confirm: first one raises the same error

and second and third one works: I see
"Great, you've reached the postinstall script"

--
Yann
___
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/


Re: [pygtk] Call For Testing: Updated PyGObject, Pycairo and PyGTK for Windows

2010-10-28 Thread Dieter Verfaillie

Quoting "Yann Leboulanger" :

Nothing more, still the same thing.


Ok, I'm quite sure this is not an issue with the postinstall script
itself.

I've made 3 new build to make sure. All 3 have their pygobject_postinstall.py
replaced with simply:
=
import sys
if len(sys.argv) == 2:
if sys.argv[1] == '-install':
print ('Great, you\'ve reached the postinstall script')
=
This means if you see "Great, you've reached the postinstall script"
on the last page, the installer worked.

The first [1] one is compiled as usual and will most certainly produce the
error message. The second [2] and third [3] have been compiled with the
bdist_wininst uac option set to various values.

Could you try them out? I'll bet the first doesn't work, but hope 2  
and 3 do...


Thanks,
Dieter

[1]  
http://www.optionexplicit.be/projects/gnome-windows/20101028/pygobject-2.26.0-1.win32-py2.6.exe


compiled with python setup.py build --compiler=mingw32  
--enable-threading bdist_wininst


[2]  
http://www.optionexplicit.be/projects/gnome-windows/20101028/pygobject-2.26.0-2.win32-py2.6.exe


compiled with python setup.py build --compiler=mingw32  
--enable-threading bdist_wininst --user-access-control=auto


[3]  
http://www.optionexplicit.be/projects/gnome-windows/20101028/pygobject-2.26.0-3.win32-py2.6.exe


compiled with python setup.py build --compiler=mingw32  
--enable-threading bdist_wininst --user-access-control=force



This message was sent using IMP, the Internet Messaging Program.
___
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/


Re: [pygtk] Call For Testing: Updated PyGObject, Pycairo and PyGTK for Windows

2010-10-28 Thread Yann Leboulanger

On 10/28/2010 02:49 PM, Dieter Verfaillie wrote:

Quoting "Yann Leboulanger" :

On 10/28/2010 02:04 PM, Dieter Verfaillie wrote:
I uninstalled everything, removed previously listed folder, installed
this pygobject, and still the same error at the end, without any
debugging thing. I only see:


For the pygobject installation? That's really strange...
There's only one test I can think of we can still try:
uninstall again, remove everything as described before but also delete:
\Scripts\pygobject*
\Scripts\pygtk*
\Scripts\pygtk*
\pygobject-wininst.log
\pygtk-wininst.log

Then install pycairo, then the pygobject version I sent you and look again
at the contents of the last page of the pygobject installer. What's the
output?


Nothing more, still the same thing.


Oh, there's a second thing we can check.
- Did you install Python "for all users" or "just for me" in windows 7?


For all users


- If installed "for all users", do you run pygobject-2.26.0.win32-py2.6.exe
as admin?


Yes, I install it as admin (right click -> run as admin). But anyway 
there is only one account that have admin rights.



- Does windows 7 ask for permission to run the .exe as admin?


Yes
--
Yann
___
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/


Re: [pygtk] Call For Testing: Updated PyGObject, Pycairo and PyGTK for Windows

2010-10-28 Thread Dieter Verfaillie

Quoting "Yann Leboulanger" :

On 10/28/2010 02:04 PM, Dieter Verfaillie wrote:
I uninstalled everything, removed previously listed folder,  
installed this pygobject, and still the same error at the end,  
without any debugging thing. I only see:


For the pygobject installation? That's really strange...
There's only one test I can think of we can still try:
uninstall again, remove everything as described before but also delete:
\Scripts\pygobject*
\Scripts\pygtk*
\Scripts\pygtk*
\pygobject-wininst.log
\pygtk-wininst.log

Then install pycairo, then the pygobject version I sent you and look again
at the contents of the last page of the pygobject installer. What's the
output?
Note this does not affect the error of the pygtk installer, you'll still
see it there and that's to be expected...

Oh, there's a second thing we can check.
- Did you install Python "for all users" or "just for me" in windows 7?
- If installed "for all users", do you run pygobject-2.26.0.win32-py2.6.exe
  as admin?
- Does windows 7 ask for permission to run the .exe as admin?

As the installers filename does not contain the magic 'setup' or 'install'
substring, I doubt windows 7 runs it with an admin account by default. That
may be causing your problem also...

hth,
Dieter


This message was sent using IMP, the Internet Messaging Program.
___
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/


Re: [pygtk] Call For Testing: Updated PyGObject, Pycairo and PyGTK for Windows

2010-10-28 Thread Yann Leboulanger

On 10/28/2010 02:04 PM, Dieter Verfaillie wrote:

Hi,

Quoting "Yann Leboulanger" :

I did all that, reinstalled everything, and I still get error on
pygobject and pygtk.
Funny thing is that if I run the .exe from command line, I don't get
error, but a success message and the end of the installer.

I'm installing on a win7, python 2.6.4


I added some logging to the postinstall script and made a new pygobject
snapshot, available from [1]. Could you give it a try and post the log
from the last page of the installer?

Thanks,
Dieter

[1]
http://www.optionexplicit.be/projects/gnome-windows/20101028/pygobject-2.26.0.win32-py2.6.exe


I uninstalled everything, removed previously listed folder, installed 
this pygobject, and still the same error at the end, without any 
debugging thing. I only see:


"close failed in file object destructor:
Error in sys.excepthook:

Original exception was:"

And still no error when run from command line
--
Yann
___
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/


Re: [pygtk] Call For Testing: Updated PyGObject, Pycairo and PyGTK for Windows

2010-10-28 Thread Dieter Verfaillie

Hi,

Quoting "Yann Leboulanger" :
I did all that, reinstalled everything, and I still get error on  
pygobject and pygtk.
Funny thing is that if I run the .exe from command line, I don't get  
error, but a success message and the end of the installer.


I'm installing on a win7, python 2.6.4


I added some logging to the postinstall script and made a new pygobject
snapshot, available from [1]. Could you give it a try and post the log
from the last page of the installer?

Thanks,
Dieter

[1]  
http://www.optionexplicit.be/projects/gnome-windows/20101028/pygobject-2.26.0.win32-py2.6.exe



This message was sent using IMP, the Internet Messaging Program.

___
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/


Re: [pygtk] Call For Testing: Updated PyGObject, Pycairo and PyGTK for Windows

2010-10-28 Thread Yann Leboulanger

On 10/28/2010 11:12 AM, Dieter Verfaillie wrote:

Hi,

Quoting "John Stowers" :

Yeah, styles is something different. Can you please run the installer
from the console and see if it prints anything else of interest please?

What is your target system, etc?

Does anyone else have any ideas on this?


This might be caused by leftover files from a previous installation.
At least, the error stopped for me once I manually cleaned my pyg*
environment last year.

Uninstall pygtk, pygobject, pycairo (and other pyg* bindings if you
have them) and manually delete the following (if those files/dirs
are still there...):
\include\pycairo
\include\pygtk-2.0
\Lib\pkgconfig
\Lib\site-packages\cairo
\Lib\site-packages\gtk-2.0
\Lib\site-packages\pygtk*
\share\gtk-doc
\share\pygobject
\share\pygtk

Then reinstall pycairo, pygobject and pygtk. If you still get the error
after that, I'd like to know about it. That would mean something goes
wrong when the pkgconfig file gets fixed during the installation
process (in postinstall).


I did all that, reinstalled everything, and I still get error on 
pygobject and pygtk.
Funny thing is that if I run the .exe from command line, I don't get 
error, but a success message and the end of the installer.


I'm installing on a win7, python 2.6.4

--
Yann
___
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/


Re: [pygtk] Call For Testing: Updated PyGObject, Pycairo and PyGTK for Windows

2010-10-28 Thread Dieter Verfaillie

Hi,

Quoting "John Stowers" :

Yeah, styles is something different. Can you please run the installer
from the console and see if it prints anything else of interest please?

What is your target system, etc?

Does anyone else have any ideas on this?


This might be caused by leftover files from a previous installation.
At least, the error stopped for me once I manually cleaned my pyg*
environment last year.

Uninstall pygtk, pygobject, pycairo (and other pyg* bindings if you
have them) and manually delete the following (if those files/dirs
are still there...):
\include\pycairo
\include\pygtk-2.0
\Lib\pkgconfig
\Lib\site-packages\cairo
\Lib\site-packages\gtk-2.0
\Lib\site-packages\pygtk*
\share\gtk-doc
\share\pygobject
\share\pygtk

Then reinstall pycairo, pygobject and pygtk. If you still get the error
after that, I'd like to know about it. That would mean something goes
wrong when the pkgconfig file gets fixed during the installation
process (in postinstall).

John: I'll investigate if it's possible to fix the pkgconfig
file at build time instead of the current postinstall procedure.
That way we can drop postinstall altogether and .msi
installers can have a working environment too (as those don't
support postinstall)...

hth,
Dieter


This message was sent using IMP, the Internet Messaging Program.
___
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/


Re: [pygtk] Call For Testing: Updated PyGObject, Pycairo and PyGTK for Windows

2010-10-28 Thread John Stowers
On Thu, 2010-10-28 at 09:59 +0200, Yann Leboulanger wrote:
> On 10/28/2010 12:52 AM, John Stowers wrote:
> > On Sat, 2010-10-16 at 20:00 +1300, John Stowers wrote:
> >> Hi All,
> >>
> >> I spent some time updating the windows installers for PyGObject, PyGTK
> >> and Pycairo.
> >>
> >
> > Hi All,
> >
> > Thanks for your feedback and testing. I updated the installers again to
> > hopefully correct the bug some were seeing on install. I also generated
> > installers for Python2.7.
> >
> > Can those who got an error on install please test these to ensure that
> > this is no longer present.
> 
> I still have the same error when installing pygobject and pygtk:
> 
> "close failed in file object destructor:
> Error in sys.excepthook:
> 
> Original exception was:"
> 
> And I still have the problem with styles, but that's probably not due to 
> windows installers.

Yeah, styles is something different. Can you please run the installer
from the console and see if it prints anything else of interest please?

What is your target system, etc?

Does anyone else have any ideas on this?

John

> 
> Thanks for your work


___
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/


Re: [pygtk] Call For Testing: Updated PyGObject, Pycairo and PyGTK for Windows

2010-10-28 Thread Yann Leboulanger

On 10/28/2010 12:52 AM, John Stowers wrote:

On Sat, 2010-10-16 at 20:00 +1300, John Stowers wrote:

Hi All,

I spent some time updating the windows installers for PyGObject, PyGTK
and Pycairo.



Hi All,

Thanks for your feedback and testing. I updated the installers again to
hopefully correct the bug some were seeing on install. I also generated
installers for Python2.7.

Can those who got an error on install please test these to ensure that
this is no longer present.


I still have the same error when installing pygobject and pygtk:

"close failed in file object destructor:
Error in sys.excepthook:

Original exception was:"

And I still have the problem with styles, but that's probably not due to 
windows installers.


Thanks for your work
--
Yann
___
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/


Re: [pygtk] Call For Testing: Updated PyGObject, Pycairo and PyGTK for Windows

2010-10-27 Thread John Stowers
On Sat, 2010-10-16 at 20:00 +1300, John Stowers wrote:
> Hi All,
> 
> I spent some time updating the windows installers for PyGObject, PyGTK
> and Pycairo.
> 

Hi All,

Thanks for your feedback and testing. I updated the installers again to
hopefully correct the bug some were seeing on install. I also generated
installers for Python2.7.

Can those who got an error on install please test these to ensure that
this is no longer present.

PyGObject 2.26 (for glib-2.26.0)
http://www.johnstowers.co.nz/files/win32/pygobject-2.26.0.win32-py2.6.exe
http://www.johnstowers.co.nz/files/win32/pygobject-2.26.0.win32-py2.7.exe

Pycairo 1.8.10
http://www.johnstowers.co.nz/files/win32/pycairo-1.8.10.win32-py2.6.exe
http://www.johnstowers.co.nz/files/win32/pycairo-1.8.10.win32-py2.7.exe

PyGTK 2.22 (for gtk+-2.22.0)
http://www.johnstowers.co.nz/files/win32/pygtk-2.22.0.win32-py2.6.exe
http://www.johnstowers.co.nz/files/win32/pygtk-2.22.0.win32-py2.7.exe

These are to be used with the all in one gtk bundle

http://ftp.gnome.org/pub/gnome/binaries/win32/gtk+/2.22/gtk
+-bundle_2.22.0-20101016_win32.zip

The script used for building the installers has also been updated
http://gist.github.com/629505

Thanks,

John


> 
> These require the installation of the appropriate dependencies.
> However, to make this step easier, and until Tor updates the gtk+
> bundle, Armin Burgmeier provided me with an interim gtk+ bundle [1].
> This can be downloaded from the following address,
> http://www.johnstowers.co.nz/files/win32/gtk
> +-bundle-win32-devel-2.22.zip
> Once extracted to C:\GTK (for example), you will need to add C:\GTK\bin
> to your path.
> 
> The installers and dependencies will be removed from my site
> and moved to the GNOME servers once verified that they work.
> 
> Some technical details about the installers
> * Built against Python 2.6.6
> * Source code comes from the 'windows' branch of each project
>   (on git.gnome.org)
> * They were built using wine-1.2+MinGW on Ubuntu 10.04
>   as my laptop with a windows install is on loan. This means they
>   have not been tested on a real windows install yet...
> * Yes, this actually works.
> * The script to generate the installers lives at
>   http://gist.github.com/629505
> * MinGW with GCC-4.5.0 was used for the compilation.
> * gtk+-2.22 sees the return of the windows theme! Please test
>   this by setting adding the following line to 
>   C:\GTK\etc\gtk-2.0\gtkrc (for example)
> 
>   gtk-theme-name = "MS-Windows"
> 
> Happy testing and good luck,
> 
> John
> 
> [1] Extracted from the well polished gtkmm windows installer
> http://live.gnome.org/gtkmm/MSWindows
> 


___
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/


Re: [pygtk] Call For Testing: Updated PyGObject, Pycairo and PyGTK for Windows

2010-10-26 Thread Dieter Verfaillie

Hi,

Quoting "John Stowers" :

I spent some time updating the windows installers for PyGObject, PyGTK
and Pycairo.


Thanks!


I would appreciate it if those interested tested these installers before
they go on the official GNOME servers. The installers are


I've tested with both Armin Burgmeier's binaries and the new gtk+ bundle
from [1] and everything seems to function correctly :)

mvg,
Dieter Verfaillie

[1]  
http://ftp.gnome.org/pub/GNOME/binaries/win32/gtk+/2.22/gtk+-bundle_2.22.0-20101016_win32.zip



This message was sent using IMP, the Internet Messaging Program.

___
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/


Re: [pygtk] Call For Testing: Updated PyGObject, Pycairo and PyGTK for Windows

2010-10-16 Thread Yann Leboulanger

On 10/16/2010 03:01 PM, steve_...@optusnet.com.au wrote:



* gtk+-2.22 sees the return of the windows theme! Please test
this by setting adding the following line to
C:\GTK\etc\gtk-2.0\gtkrc (for example)

gtk-theme-name = "MS-Windows"

Tried this, .. it seems to work.



things seems to work quite nicely! Great !

Some comments though: When installing pygobject and pygtk, at the end of the 
installer in the textview there is an error message:
close failed in file object destructor:
Error in sys.excepthook:

Original exception was:

But that doesn't prevent things to work.



You mean in the textview of the installer (lastpage?),  I didn't see any such 
error message. I am testing on XP with python 2.6.5.


Yes exactly.
I tested on win7.

--
Asterix
___
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/


Re: [pygtk] Call For Testing: Updated PyGObject, Pycairo and PyGTK for Windows

2010-10-16 Thread Pachi

 Seems to be working fine here too (on Vista), with the same harmless but ugly 
error message.

Regards,

Pachi

On 16/10/2010 11:10, Yann Leboulanger wrote:

On 10/16/2010 09:00 AM, John Stowers wrote:

Hi All,

I spent some time updating the windows installers for PyGObject, PyGTK
and Pycairo.

I would appreciate it if those interested tested these installers before
they go on the official GNOME servers. The installers are

* PyGObject 2.26 (for glib-2.26.0)
http://www.johnstowers.co.nz/files/win32/pygobject-2.26.0.win32-py2.6.exe
* Pycairo 1.8.10
http://www.johnstowers.co.nz/files/win32/pycairo-1.8.10.win32-py2.6.exe
* PyGTK 2.22 (for gtk+-2.22.0)
http://www.johnstowers.co.nz/files/win32/pygtk-2.22.0.win32-py2.6.exe

These require the installation of the appropriate dependencies.
However, to make this step easier, and until Tor updates the gtk+
bundle, Armin Burgmeier provided me with an interim gtk+ bundle [1].
This can be downloaded from the following address,
http://www.johnstowers.co.nz/files/win32/gtk
+-bundle-win32-devel-2.22.zip
Once extracted to C:\GTK (for example), you will need to add C:\GTK\bin
to your path.

The installers and dependencies will be removed from my site
and moved to the GNOME servers once verified that they work.

Some technical details about the installers
* Built against Python 2.6.6
* Source code comes from the 'windows' branch of each project
   (on git.gnome.org)
* They were built using wine-1.2+MinGW on Ubuntu 10.04
   as my laptop with a windows install is on loan. This means they
   have not been tested on a real windows install yet...
* Yes, this actually works.
* The script to generate the installers lives at
   http://gist.github.com/629505
* MinGW with GCC-4.5.0 was used for the compilation.
* gtk+-2.22 sees the return of the windows theme! Please test
   this by setting adding the following line to
   C:\GTK\etc\gtk-2.0\gtkrc (for example)

   gtk-theme-name = "MS-Windows"

Happy testing and good luck,

John

[1] Extracted from the well polished gtkmm windows installer
http://live.gnome.org/gtkmm/MSWindows

___
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/



things seems to work quite nicely! Great !

Some comments though: When installing pygobject and pygtk, at the end of the 
installer in the textview there is an error message:
close failed in file object destructor:
Error in sys.excepthook:

Original exception was:

But that doesn't prevent things to work.

Second point : there seems to be a problem with styles:
tree.rc_get_style().bg[gtk.STATE_ACTIVE].to_string() return #, then 
I do
renderer.set_property('cell-background', col2)
and background is black, of course, but bg[gtk.STATE_ACTIVE] should not return 
Black, I don't use a black theme.

Thanks for this installers!!

___
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/


Re: [pygtk] Call For Testing: Updated PyGObject, Pycairo and PyGTK for Windows

2010-10-16 Thread steve_geo

>> * gtk+-2.22 sees the return of the windows theme! Please test
>>this by setting adding the following line to
>>C:\GTK\etc\gtk-2.0\gtkrc (for example)
>>
>>gtk-theme-name = "MS-Windows"
Tried this, .. it seems to work.


> things seems to work quite nicely! Great !
>
> Some comments though: When installing pygobject and pygtk, at the end of the 
> installer in the textview there is an error message:
> close failed in file object destructor:
> Error in sys.excepthook:
>
> Original exception was:
>
> But that doesn't prevent things to work.
>

You mean in the textview of the installer (lastpage?),  I didn't see any such 
error message. I am testing on XP with python 2.6.5.

I didn't have any problems with the limited testing I performed.

Good job

Steve.
___
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/


Re: [pygtk] Call For Testing: Updated PyGObject, Pycairo and PyGTK for Windows

2010-10-16 Thread Yann Leboulanger

On 10/16/2010 09:00 AM, John Stowers wrote:

Hi All,

I spent some time updating the windows installers for PyGObject, PyGTK
and Pycairo.

I would appreciate it if those interested tested these installers before
they go on the official GNOME servers. The installers are

* PyGObject 2.26 (for glib-2.26.0)
http://www.johnstowers.co.nz/files/win32/pygobject-2.26.0.win32-py2.6.exe
* Pycairo 1.8.10
http://www.johnstowers.co.nz/files/win32/pycairo-1.8.10.win32-py2.6.exe
* PyGTK 2.22 (for gtk+-2.22.0)
http://www.johnstowers.co.nz/files/win32/pygtk-2.22.0.win32-py2.6.exe

These require the installation of the appropriate dependencies.
However, to make this step easier, and until Tor updates the gtk+
bundle, Armin Burgmeier provided me with an interim gtk+ bundle [1].
This can be downloaded from the following address,
http://www.johnstowers.co.nz/files/win32/gtk
+-bundle-win32-devel-2.22.zip
Once extracted to C:\GTK (for example), you will need to add C:\GTK\bin
to your path.

The installers and dependencies will be removed from my site
and moved to the GNOME servers once verified that they work.

Some technical details about the installers
* Built against Python 2.6.6
* Source code comes from the 'windows' branch of each project
   (on git.gnome.org)
* They were built using wine-1.2+MinGW on Ubuntu 10.04
   as my laptop with a windows install is on loan. This means they
   have not been tested on a real windows install yet...
* Yes, this actually works.
* The script to generate the installers lives at
   http://gist.github.com/629505
* MinGW with GCC-4.5.0 was used for the compilation.
* gtk+-2.22 sees the return of the windows theme! Please test
   this by setting adding the following line to
   C:\GTK\etc\gtk-2.0\gtkrc (for example)

   gtk-theme-name = "MS-Windows"

Happy testing and good luck,

John

[1] Extracted from the well polished gtkmm windows installer
http://live.gnome.org/gtkmm/MSWindows

___
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/



things seems to work quite nicely! Great !

Some comments though: When installing pygobject and pygtk, at the end of 
the installer in the textview there is an error message:

close failed in file object destructor:
Error in sys.excepthook:

Original exception was:

But that doesn't prevent things to work.

Second point : there seems to be a problem with styles:
tree.rc_get_style().bg[gtk.STATE_ACTIVE].to_string() return 
#, then I do

renderer.set_property('cell-background', col2)
and background is black, of course, but bg[gtk.STATE_ACTIVE] should not 
return Black, I don't use a black theme.


Thanks for this installers!!
--
Yann
___
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/