subprocess.Popen() and a .msi installer
Hey everyone, I'm working on a script which uses subprocess to launch a bunch of installers, but I'm getting problems with .msi installers although .exe ones work fine. The output I get is this: import subprocess p = subprocess.Popen('python.msi') Traceback (most recent call last): File pyshell#1, line 1, in module p = subprocess.Popen('python.msi') File C:\Python25\lib\subprocess.py, line 593, in __init__ errread, errwrite) File C:\Python25\lib\subprocess.py, line 793, in _execute_child startupinfo) WindowsError: [Error 8] %1 no es una aplicación Win32 válida Has this ever happen to any of you? The idea is to get this running, make it an exe (with py2exe) and use it whenever I need to install my whole development environment in the right order. Thanks in advance to all of you. Alonso Sebastian. -- http://mail.python.org/mailman/listinfo/python-list
Global hoykey on windows
Hey everyone, I've been working on an app that uses global hotkey and it's a very important part of the app, so far I have been using python-keybinder [0] and it's been working great on linux, but now I want to make it work under windows and there was no way to make it work. Any other library I should try out? Any advice/trick you know to achieve this? thanks in advance seba [0] http://kaizer.se/wiki/keybinder/ -- http://mail.python.org/mailman/listinfo/python-list
Running pygtk app under windows.
Hey everyone, I'm trying to be able to run my app, which uses pygtk, under windows, but unfortunately I'm having big problems with it. The main purpose of this is to later on make an .exe file but i havent even been able to run the app at least. I've followed every single step from this faq http://faq.pygtk.org/index.py?file=faq21.001.htpreq=show and when i try to run the example the example they offer I get this: Traceback (most recent call last): File pyshell#0, line 1, in module import gtk File C:\Python26\lib\site-packages\gtk-2.0\gtk\__init__.py, line 30, in module import gobject as _gobject File C:\Python26\lib\site-packages\gtk-2.0\gobject\__init__.py, line 26, in module from glib import spawn_async, idle_add, timeout_add, timeout_add_seconds, \ File C:\Python26\lib\site-packages\gtk-2.0\glib\__init__.py, line 22, in module from glib._glib import * ImportError: DLL load failed: Specified module cannot be found. Do you have any clue on what could be happening ? I've tried most of the things you would expect to make anything work on windows, reboot, unistall everything and re-install everything again, yet it wont work... Thanks in advanced. Seba -- http://mail.python.org/mailman/listinfo/python-list