Re: [ANN] Python 2.5.6 Release Candidate 1

2011-04-18 Thread Werner F. Bruhin
On 04/17/2011 11:57 PM, Martin v. Löwis wrote: http://www.python.org/2.5.6 Just FYI, getting a 404 error on the above. I can see a 2.5.6c1 listes on http://www.python.org/download/releases/2.5/highlights/; which goes to http://www.python.org/download/releases/2.5.6/; Werner --

Re: Upgrade Python 2.6.4 to 2.6.5

2010-05-12 Thread Werner F. Bruhin
On 11/05/2010 23:13, Martin v. Loewis wrote: When will it install into system32? When you install for all users. Did the upgrade inform you that it was an upgrade, or did it warn you that you would overwrite the previous installation? It warned me that there is a previous

Re: Upgrade Python 2.6.4 to 2.6.5

2010-05-11 Thread Werner F. Bruhin
Martin, Thanks for the quick reply. On 10/05/2010 22:25, Martin v. Loewis wrote: Werner F. Bruhin wrote: Just upgraded on my Windows 7 machine my copy of 2.6.4 to 2.6.5. However doing sys.version still shows 2.6.4 even so python.exe is dated 19. March 2010 with a size of 26.624 bytes

Upgrade Python 2.6.4 to 2.6.5

2010-05-10 Thread Werner F. Bruhin
Just upgraded on my Windows 7 machine my copy of 2.6.4 to 2.6.5. However doing sys.version still shows 2.6.4 even so python.exe is dated 19. March 2010 with a size of 26.624 bytes. Is this a known issue? Or did I do something wrong? If I install to a new folder all is well, but I would have

Re: installer for py2exe files?

2009-04-22 Thread Werner F. Bruhin
Hi Gabriel, Gabriel Rossetti wrote: Hello everyone, I am wanting to create an installer for my project. I first use py2exe to create win32 executables and then would like to have an easy to use (for the end user) installer. I use InnoSetup - link already given by David. I would need the

Re: logging - string formating problems

2009-04-06 Thread Werner F. Bruhin
Werner F. Bruhin wrote: I see the following exception with a string formating problem. TypeError: not all arguments converted during string formatting Traceback (most recent call last): File /usr/lib/python2.5/logging/__init__.py, line 744, in emit msg = self.format(record) File /usr/lib

Re: logging - string formating problems

2009-04-06 Thread Werner F. Bruhin
I am fully aware that the problem is in my code, however as getMessage in logging.__init__.py does not catch the exception it is pretty difficult to find the problem without manually inspecting any logging.something statements. My hack of logging.py is really a hack and I know that this can

logging - string formating problems

2009-04-05 Thread Werner F. Bruhin
I see the following exception with a string formating problem. TypeError: not all arguments converted during string formatting Traceback (most recent call last): File /usr/lib/python2.5/logging/__init__.py, line 744, in emit msg = self.format(record) File

Re: Packaging Survey

2009-03-09 Thread Werner F. Bruhin
Tarek Ziadé wrote: The Python Langage Summit is coming up. To prepare this event, I have put online a survey you can take to tell us a bit more about you and how you package your Python applications. * Who should take the survey : any Python developer that packages and distributes his code,

setuptools for 2.6 and windows?

2008-11-13 Thread Werner F. Bruhin
I would like to start looking into Python 2.6 and do some testing. First hurdle I run into is that I can not find a 2.6 installer for Windows for setuptools-0.6.9c, only Py2.4 and Py2.5 seem to be available on pypi. Is there such a thing yet? If yes can someone provide me a link to it.

logging module

2008-10-23 Thread Werner F. Bruhin
I am starting to use the logging module. Simple log to file and/or console work very nicely. Even managed to get TimedRotatingFileHandler to work. The problem I am trying to solve. 1. I would like to have a log viewer a wxPython based app to be able to look at a log generated by another

Re: subprocess.Popen on Windows

2008-10-21 Thread Werner F. Bruhin
Werner F. Bruhin wrote: I am trying to use subprocess - it basically works but. command = 'ping ' + '-n '+ str(count) + ' -l ' + str(size) + ' ' + str(node) print command p = subprocess.Popen(command, stdin=subprocess.PIPE

subprocess.Popen on Windows

2008-10-20 Thread Werner F. Bruhin
I am trying to use subprocess - it basically works but. command = 'ping ' + '-n '+ str(count) + ' -l ' + str(size) + ' ' + str(node) print command p = subprocess.Popen(command, stdin=subprocess.PIPE,

Re: help with parsing email

2008-08-18 Thread Werner F. Bruhin
Ahmed, Shakir wrote: Thanks everyone who tried to help me to parse incoming email from an exchange server: Now, I am getting following error; I am not sure where I am doing wrong. I appreciate any help how to resolve this error and extract emails from an exchange server. First I tried:

Re: py2exe bug with email.MIMEText

2008-08-01 Thread Werner F. Bruhin
Hi Marcus, Marcus.CM wrote: There is a bug with py2exe when (at least under windows) when importing email # example testmime.py import email msg = email.MIMEText.MIMEText(dsafdafdasfA) print ok 1. Save the text above and setup as testmime.py 2. Run it and u can see ok 3. Create setup.py and