Re: [pygtk] PyGTK with py2app

2011-10-21 Thread Shrihari Sankaran
(Py)GTK relies on a number of environment variables for locating resources and also for loading the native libraries. You can find an examples script here: http://winswitch.org/trac/browser/trunk/osx/bundle/Window-Switch.sh Note: this is meant to be used in a bundled app, if you are using it

[pygtk] PyGTK with py2app

2011-10-15 Thread Shrihari Sankaran
Hello, I asked a similar question a few weeks back. Still, my problem is not solved :( So, I have installed PyGTK on my Mac using the all-in-one package: http://www.daa.com.au/pipermail/pygtk/2011-March/019520.html It has been installed at /opt/gtk My app runs perfectly fine with python

Re: [pygtk] PyGTK with py2app

2011-10-15 Thread Shrihari Sankaran
It's not possible to fit the new @executable_path/../ style paths to where the /opt/gtk/ used to be, without relinking all the libraries. i.e. using the ld(1) flag of -headerpad_max_install_names to make sure that all paths are padded to MAXPATHLEN for later install_name_tool use Now, I

Re: [pygtk] PyGTK - py2app - Mac OS X

2011-09-23 Thread Shrihari Sankaran
On Fri, Sep 23, 2011 at 11:46 AM, Anders F Björklund a...@users.sourceforge.net wrote: Shrihari Sankaran wrote: Recently I managed to install PyGTK on my Mac and the app runs pretty decently on it too, but with few glitches. But, when I try to convert it into an 'app', the build

Re: [pygtk] PyGTK - py2app - Mac OS X

2011-09-23 Thread Shrihari Sankaran
://code.google.com/p/tryton/wiki/BuildingMacOSXInstall Cheers Antoine Does this work with PyGTK? Is there a guide available specifically for PyGTK? Thanks, Shrihari On Fri, Sep 23, 2011 at 1:27 PM, Shrihari Sankaran gfxin...@gmail.comwrote: On Fri, Sep 23, 2011 at 11:46 AM, Anders F Björklund

[pygtk] PyGTK - py2app - Mac OS X

2011-09-22 Thread Shrihari Sankaran
Hello, I have a PyGTK app that runs perfectly fine on Windows and Linux (Ubuntu) - http://getmoviemonkey.com/ Recently I managed to install PyGTK on my Mac and the app runs pretty decently on it too, but with few glitches. But, when I try to convert it into an 'app', the build is successful.

[pygtk] PyGTK for Mac OS X - Current Status?

2011-08-14 Thread Shrihari Sankaran
What is the current status of PyGTK for Mac OSX? I was disappointed to see the lack of a binary, like the one available for Windows. As of now, how do I go about to get PyGTK working on Mac? Thanks, Shrihari ___ pygtk mailing list pygtk@daa.com.au

Re: [pygtk] pygtk Digest, Vol 99, Issue 21

2011-05-26 Thread Shrihari Sankaran
MSIMG32.DLL NSI.dll USP10.DLL So, I went ahead and deleted these files. Now, the app worked fine both on XP and 7. But, what are these files and why are they being included on 7? Is there any way to avoid this. Thanks, Shrihari On Thu, May 26, 2011 at 2:41 AM, Shrihari Sankaran gfxin

Re: [pygtk] pygtk Digest, Vol 99, Issue 21

2011-05-26 Thread Shrihari Sankaran
On Thu, May 26, 2011 at 8:07 PM, Neil Muller drnlmuller+...@gmail.comwrote: I've no idea why they're being included (presumably py2exe's dependency tracking needs to be smarter about win7 system dlls) , but you should be able to use py2exe's dll_excludes option to exclude them - see

Re: [pygtk] pygtk Digest, Vol 99, Issue 21

2011-05-26 Thread Shrihari Sankaran
On Thu, May 26, 2011 at 8:21 PM, Shrihari Sankaran gfxin...@gmail.comwrote: On Thu, May 26, 2011 at 8:07 PM, Neil Muller drnlmuller+...@gmail.comwrote: I've no idea why they're being included (presumably py2exe's dependency tracking needs to be smarter about win7 system dlls) , but you

Re: [pygtk] pygtk Digest, Vol 99, Issue 21

2011-05-25 Thread Shrihari Sankaran
...@optionexplicit.be To: pygtk@daa.com.au Date: Tue, 24 May 2011 20:56:43 +0200 Subject: Re: [pygtk] pygtk Digest, Vol 99, Issue 17 On 21/05/2011 20:25, Shrihari Sankaran wrote: I tried using the dependency walker. It showed me a list of missing DLL files (here: http://imageshack.us/photo/my-images/839

Re: [pygtk] pygtk Digest, Vol 99, Issue 21

2011-05-25 Thread Shrihari Sankaran
I tried by copying msvcr90.dll, msvcp90.dll and msvcrt.dll. But that did not work. I kept getting the same error. :( So, I tried building the app on the XP machine. The build went fine. But when I ran the application, its looks like this: http://imageshack.us/photo/my-images/718/capturevkr.png/

Re: [pygtk] pygtk Digest, Vol 99, Issue 21

2011-05-25 Thread Shrihari Sankaran
Oops. My bad. I forgot to include the GTK+ runtime at all. After including it, the app got the native look. So I built it on XP and it worked on both Win7 and WinXP. But my primary dev. machine is 7. How do I get the 7 build working on XP? Thanks a lot, Shrihari On Thu, May 26, 2011 at 1:51

Re: [pygtk] pygtk Digest, Vol 99, Issue 17

2011-05-21 Thread Shrihari Sankaran
Hi, It is hard to see whats going on, but I can suggest to use some debugger like ollydbg (http://www.ollydbg.de/[1]), or Process Monitor (http://technet.microsoft.com/en-us/sysinternals/bb896645[2]), to see what DLL it tries to load. depends.exe (http://dependencywalker.com/) also

Re: [pygtk] pygtk Digest, Vol 99, Issue 17

2011-05-21 Thread Shrihari Sankaran
Shrihari, Try to install on Windows XP: Microsoft Visual C++ 2005, 2008, 2010 Redistributable Packages for x86. Then run your application. If it works, then you can copy missing DLLs (msvcr90.dll, etc) from them in your application directory (but it is not suggested), else there is

[pygtk] Windows binary not running on XP

2011-05-20 Thread Shrihari Sankaran
Hello, I recently built a pygtk application. The app runs completely when i invoke using python app.py. So, I proceeded to build Windows binary with py2exe. The contents of my setup.py are below: from distutils.core import setup import py2exe import glob opts = { py2exe: { includes:

[pygtk] Windows File/Folder Chooser

2011-05-03 Thread Shrihari Sankaran
What is the best way to display the native file/folder chooser dialog on Windows ? I did a google search and found some posts in the archives. But they were about 4 years old. So i thought there might be an easier way now. Is thr ? Thanks, Shrihari ___

Re: [pygtk] pygtk Digest, Vol 99, Issue 1

2011-05-01 Thread Shrihari Sankaran
-- Forwarded message -- From: Timo timomli...@gmail.com To: pygtk@daa.com.au Date: Sat, 30 Apr 2011 11:10:56 +0200 Subject: Re: [pygtk] Grid of Clickable Images On 29-04-11 21:06, Shrihari Sankaran wrote: Hello, I'm fairly new to PyGTK. Just getting started. I've worked

[pygtk] Grid of Clickable Images

2011-04-29 Thread Shrihari Sankaran
Hello, I'm fairly new to PyGTK. Just getting started. I've worked with wxPython in the past. I'm trying to create a grid of clickable images. Like this one: http://getmoviemonkey.com/img/screen1.jpg http://getmoviemonkey.com/img/screen1.jpgI managed to get the image grid using IconView. But, i