From marc.horst at scarlet.be Sat Aug 4 15:35:08 2007 From: marc.horst at scarlet.be (Marc Horst) Date: Sat, 04 Aug 2007 15:35:08 +0200 Subject: [PythonCE] PyCrypto binaries -- nearly there.. In-Reply-To: <20070726163929.yfncrb93w8wo0swc@webmail.enst-bretagne.fr> References: <20070726163929.yfncrb93w8wo0swc@webmail.enst-bretagne.fr> Message-ID: <46B4808C.6030200@scarlet.be> Hi, I have it almost working, but need some help... Can someone help me please? What I did: 1) made ssh connection with my laptop work: - install pycrypto 2.0.1 - placed paramiko directory in \python25\Lib\site-packets - adapted demo.py so it automatically connects to my laptop => works fine (I do get the following warning, followed by the ssh-prompt on the other PC: *** Unable to open host keys file *** WARNING: Unknown host key! *** Here we go! Line-buffered terminal emulation. Press F6 or ^Z to send EOF. Linux marc-laptop 2.6.15-28-386 #1 PREEMPT Wed Jul 18 22:50:32 UTC 2007 i686 GNU /Linux The programs included with the Ubuntu system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Sat Aug 4 14:43:06 2007 from focus marc at marc-laptop:~/projects/robot$ ) 2) tried to make it work on my PDA - installed paramiko-1.7.1 in \Flash Disk\Program Files\Python25\Lib (directory is called paramiko) - copied the Crypto directory of the zip you sent me to \Flash Disk\Program Files\Python25\Lib - moved paramiko-1.7.1\demos\demo.py and paramiko-1.7.1\demos\interactive.py to \Flash Disk\Program Files\Python25\Lib (this was needed, else when running demo.py the imported interactive.py tries to import interactive (i.e. itself) and this results in an error because Python can't find it, as it is not in the path; moving this resolves the problem). - when I now run demo.py (by double clicking on the file, or on the command line: execfile ('\\Flash Disk\\Program Files\\Python25\\...\\demo.py') ) , I get the same warning as on my PC ("*** WARNING: Unknown host key!"), but then Python quits. My questions: - did someone try connecting (via ssh) to another PC using a PDA with paramiko and PyCrypt ? - should I install something else or call the script in another way, change the script, ...., so it won't quit ? Thank you for your time, Marc alexandre.delattre at enst-bretagne.fr wrote: > Hi Marc, > You're a lucky one, I have built binaries of PyCrypto for PythonCE 2.4 > and 2.5 just a week ago ! A public download will be soon up on > http://www.voidspace.org.uk/ thanks to Fuzzyman that already host > binaries for desktop windows. Since I'm on vacation, I only have my > local release for 2.5 at hand. So wait for the public link or mail me > if you're interested in the 2.5 version. > > @Luke Dunstan > Thank you for adapting the scons build environment to the wince > platform, it makes compiling python extension much easier and more > maintanable than the project oriented view of the embedded tools > (especially for packages that contains many C extensions and would > need as many projects as extensions). > It is also easier to switch python 2.4/2.5 includes and libs for the > whole script. If you don't mind I will write an article on the wiki on > how I build extensions with scons. > > @Everyone > I have also built binaries for numpy 1.0, unfortunately I havn't been > able to compile the random facilities but everything else seems to > work fine (core, fft and linalg), for now no public release but you > can mail me and i'll send you the files. > > Have a nice summer, > Alexandre. > > > _______________________________________________ > PythonCE mailing list > PythonCE at python.org > http://mail.python.org/mailman/listinfo/pythonce > > > -- ======================================== Marc Horst - marc.horst at scarlet.be ======================================== From alexandre.delattre at enst-bretagne.fr Sat Aug 4 18:14:26 2007 From: alexandre.delattre at enst-bretagne.fr (alexandre.delattre at enst-bretagne.fr) Date: Sat, 4 Aug 2007 18:14:26 +0200 Subject: [PythonCE] PyCrypto binaries -- nearly there.. Message-ID: <20070804181426.v9o5a1hxwaoo4sss@webmail.enst-bretagne.fr> I will try to run paramiko+pycrypto myself, i strongly suspect paramiko to call sys.exit on some condition, so in the meantime you can try to insert this in the beginning of your code (before any other import): import sys class ExitError(Exception): pass def dummy_exit(code=0): raise ExitError() sys.exit = dummy_exit and see if it raises an exception instead of quitting, then you can track-down the source to locate the condition ... I'm not sure if it will help, but it may be worth trying. Alexandre. From marc.horst at scarlet.be Sat Aug 4 20:09:22 2007 From: marc.horst at scarlet.be (Marc Horst) Date: Sat, 04 Aug 2007 20:09:22 +0200 Subject: [PythonCE] PyCrypto binaries -- nearly there.. In-Reply-To: <20070804181426.v9o5a1hxwaoo4sss@webmail.enst-bretagne.fr> References: <20070804181426.v9o5a1hxwaoo4sss@webmail.enst-bretagne.fr> Message-ID: <46B4C0D2.2080803@scarlet.be> Hi Alexandre, That is a good hint! I tried it and here is the result: Python 2.5 (release25-maint, Dec 19 2006, 23:22:00) [MSC v.1201 32 bit (ARM)] on win32 >>> execfile('\\Flash Disk\\Programmabestanden\\Python25\\Lib\\demo_pda.py') *** Unable to open host keys file *** WARNING: Unknown host key! *** Caught exception: : No module named mmap Traceback (most recent call last): File "\Flash Disk\Programmabestanden\Python25\Lib\demo_pda.py", line 166, in agent_auth(t, username) File "\Flash Disk\Programmabestanden\Python25\Lib\demo_pda.py", line 53, in agent_auth agent = paramiko.Agent() File "\Flash Disk\Programmabestanden\Python25\lib\paramiko\agent.py", line 68, in __init__ import win_pageant File "\Flash Disk\Programmabestanden\Python25\lib\paramiko\win_pageant.py", line 27, in import mmap ImportError: No module named mmap Traceback (most recent call last): File "\Flash Disk\Programmabestanden\Python25\Lib\demo_pda.py", line 190, in sys.exit(1) File "\Flash Disk\Programmabestanden\Python25\Lib\demo_pda.py", line 41, in dummy_exit raise ExitError() ExitError >>> I looked on my __PC__ (as I guessed that if it worked on my PC, mmap should be called here too) for a file named mmap and for files with as content mmap, but found only test_mmap.py. So I'm not sure what should be concluded from this. Maybe that on my __PDA__ a different execution path is used, in which mmap is/should be imported, which results in the error message above. Maybe you can conclude more from this error message. Regards, Marc alexandre.delattre at enst-bretagne.fr wrote: > I will try to run paramiko+pycrypto myself, i strongly suspect > paramiko to call sys.exit on some condition, so in the meantime you > can try to insert this in the beginning of your code (before any other > import): > > import sys > > class ExitError(Exception): > pass > > def dummy_exit(code=0): > raise ExitError() > > sys.exit = dummy_exit > > and see if it raises an exception instead of quitting, then you can > track-down the source to locate the condition ... > > I'm not sure if it will help, but it may be worth trying. > > Alexandre. > From alexandre.delattre at enst-bretagne.fr Sat Aug 4 20:48:48 2007 From: alexandre.delattre at enst-bretagne.fr (alexandre.delattre at enst-bretagne.fr) Date: Sat, 4 Aug 2007 20:48:48 +0200 Subject: [PythonCE] PyCrypto binaries -- nearly there.. In-Reply-To: <46B4C0D2.2080803@scarlet.be> References: <20070804181426.v9o5a1hxwaoo4sss@webmail.enst-bretagne.fr> <46B4C0D2.2080803@scarlet.be> Message-ID: <20070804204848.3sbq14yosg0kgcco@webmail.enst-bretagne.fr> Marc Horst a ?crit : > Hi Alexandre, > > That is a good hint! I tried it and here is the result: > > Python 2.5 (release25-maint, Dec 19 2006, 23:22:00) [MSC v.1201 32 bit > (ARM)] on win32 >>>> execfile('\\Flash Disk\\Programmabestanden\\Python25\\Lib\\demo_pda.py') > *** Unable to open host keys file > *** WARNING: Unknown host key! > *** Caught exception: : No module named mmap > Traceback (most recent call last): > File "\Flash Disk\Programmabestanden\Python25\Lib\demo_pda.py", line > 166, in > agent_auth(t, username) > File "\Flash Disk\Programmabestanden\Python25\Lib\demo_pda.py", line > 53, in agent_auth > agent = paramiko.Agent() > File "\Flash Disk\Programmabestanden\Python25\lib\paramiko\agent.py", > line 68, in __init__ > import win_pageant > File "\Flash > Disk\Programmabestanden\Python25\lib\paramiko\win_pageant.py", line 27, > in > import mmap > ImportError: No module named mmap > Traceback (most recent call last): > File "\Flash Disk\Programmabestanden\Python25\Lib\demo_pda.py", line > 190, in > sys.exit(1) > File "\Flash Disk\Programmabestanden\Python25\Lib\demo_pda.py", line > 41, in dummy_exit > raise ExitError() > ExitError >>>> > > > I looked on my __PC__ (as I guessed that if it worked on my PC, mmap > should be called here too) for a file named mmap and for files with as > content mmap, but found only test_mmap.py. So I'm not sure what should > be concluded from this. Maybe that on my __PDA__ a different execution > path is used, in which mmap is/should be imported, which results in the > error message above. > > Maybe you can conclude more from this error message. > > > Regards, > > Marc > > > alexandre.delattre at enst-bretagne.fr wrote: >> I will try to run paramiko+pycrypto myself, i strongly suspect >> paramiko to call sys.exit on some condition, so in the meantime you >> can try to insert this in the beginning of your code (before any >> other import): >> >> import sys >> >> class ExitError(Exception): >> pass >> >> def dummy_exit(code=0): >> raise ExitError() >> >> sys.exit = dummy_exit >> >> and see if it raises an exception instead of quitting, then you can >> track-down the source to locate the condition ... >> >> I'm not sure if it will help, but it may be worth trying. >> >> Alexandre. >> The mmap module hasn't been ported yet to PythonCE, this afternoon I have tried to use paramiko on my pda and found the same error. I have managed to bypass it by modifying agent.py, around line 67 make the following modifications : Replace : ... elif sys.platform == 'win32': import win_pageant ... by ... elif sys.platform == 'win32': if os.name == 'ce': return import win_pageant ... this deactivates the Agent features of paramiko but it makes ssh connection possible ! Besides, I suggest you to use the new SSHClient class that basically wraps the whole demo script, I had success with the following script : from paramiko import SSHClient, AutoAddPolicy def main(): client = SSHClient() client.set_missing_host_key_policy(AutoAddPolicy()) client.connect('the server', username='****', password='****') stdin, stdout, stderr = client.exec_command('ls -l') print stdout.read() client.close() if __name__ == '__main__' : main() Good continuation on your project ;) Alexandre. From marc.horst at scarlet.be Sun Aug 5 22:16:45 2007 From: marc.horst at scarlet.be (Marc Horst) Date: Sun, 05 Aug 2007 22:16:45 +0200 Subject: [PythonCE] PyCrypto binaries -- nearly there.. In-Reply-To: <20070804204848.3sbq14yosg0kgcco@webmail.enst-bretagne.fr> References: <20070804181426.v9o5a1hxwaoo4sss@webmail.enst-bretagne.fr> <46B4C0D2.2080803@scarlet.be> <20070804204848.3sbq14yosg0kgcco@webmail.enst-bretagne.fr> Message-ID: <46B6302D.5010701@scarlet.be> Hi Alexandre, Thanks for your help! I made the change to Agent.py and my PDA is now able to connect to the notebook, but then it crashes (see the logging below): >>> execfile('\\Flash Disk\\Programmabestanden\\Python25\\Lib\\demo_pda.py') *** Unable to open host keys file *** WARNING: Unknown host key! *** Here we go! Line-buffered terminal emulation. Press F6 or ^Z to send EOF. Linux marc-laptop 2.6.15-28-386 #1 PREEMPT Wed Jul 18 22:50:32 UTC 2007 i686 GNU/Linux The programs included with the Ubuntu system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Sun Aug 5 20:53:55 2007 from 192.168.0.9 *** Caught exception: : [Errno 0] Error Traceback (most recent call last): File "\Flash Disk\Programmabestanden\Python25\Lib\demo_pda.py", line 179, in interactive.interactive_shell(chan) File "\Flash Disk\Programmabestanden\Python25\lib\interactive.py", line 36, in interactive_shell windows_shell(chan) File "\Flash Disk\Programmabestanden\Python25\lib\interactive.py", line 91, in windows_shell d = sys.stdin.read(1) IOError: [Errno 0] Error *** EOF *** Traceback (most recent call last): File "\Flash Disk\Programmabestanden\Python25\Lib\demo_pda.py", line 190, in sys.exit(1) File "\Flash Disk\Programmabestanden\Python25\Lib\demo_pda.py", line 41, in dummy_exit raise ExitError() ExitError >>> I'm a newbee in Python and with ssh, so I can't make any conclusions from this message; hopefully you can ;-) Furthermore I tried the program you sent me as a replacement for demo.py (I just changed the servername, username and password; that was all I had to change, right?), but this didn't work (I tried it on my PC). When trying it in IDLE, it gives the following message: 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. >>> from paramiko import SSHClient, AutoAddPolicy >>> >>> def main(): ... client = SSHClient() ... client.set_missing_host_key_policy(AutoAddPolicy()) ... client.connect('nyservername', username='myusername', password='mypassword') ... stdin, stdout, stderr = client.exec_command('ls -l') ... print stdout.read() ... client.close() ... >>> if __name__ == '__main__' : main() ... Traceback (most recent call last): File "", line 1, in File "", line 4, in main File "C:\Python25\lib\site-packages\paramiko\client.py", line 266, in connect sock.connect((hostname, port)) File "", line 1, in connect TypeError: an integer is required >>> Could you please give me some help on this one too, as I would like to avoid using the demo.py script ? Thanks a lot, Marc alexandre.delattre at enst-bretagne.fr wrote: > Marc Horst a ?crit : > >> Hi Alexandre, >> >> That is a good hint! I tried it and here is the result: >> >> Python 2.5 (release25-maint, Dec 19 2006, 23:22:00) [MSC v.1201 32 bit >> (ARM)] on win32 >>>>> execfile('\\Flash >>>>> Disk\\Programmabestanden\\Python25\\Lib\\demo_pda.py') >> *** Unable to open host keys file >> *** WARNING: Unknown host key! >> *** Caught exception: : No module >> named mmap >> Traceback (most recent call last): >> File "\Flash Disk\Programmabestanden\Python25\Lib\demo_pda.py", line >> 166, in >> agent_auth(t, username) >> File "\Flash Disk\Programmabestanden\Python25\Lib\demo_pda.py", line >> 53, in agent_auth >> agent = paramiko.Agent() >> File "\Flash Disk\Programmabestanden\Python25\lib\paramiko\agent.py", >> line 68, in __init__ >> import win_pageant >> File "\Flash >> Disk\Programmabestanden\Python25\lib\paramiko\win_pageant.py", line 27, >> in >> import mmap >> ImportError: No module named mmap >> Traceback (most recent call last): >> File "\Flash Disk\Programmabestanden\Python25\Lib\demo_pda.py", line >> 190, in >> sys.exit(1) >> File "\Flash Disk\Programmabestanden\Python25\Lib\demo_pda.py", line >> 41, in dummy_exit >> raise ExitError() >> ExitError >>>>> >> >> >> I looked on my __PC__ (as I guessed that if it worked on my PC, mmap >> should be called here too) for a file named mmap and for files with as >> content mmap, but found only test_mmap.py. So I'm not sure what should >> be concluded from this. Maybe that on my __PDA__ a different execution >> path is used, in which mmap is/should be imported, which results in the >> error message above. >> >> Maybe you can conclude more from this error message. >> >> >> Regards, >> >> Marc >> >> >> alexandre.delattre at enst-bretagne.fr wrote: >>> I will try to run paramiko+pycrypto myself, i strongly suspect >>> paramiko to call sys.exit on some condition, so in the meantime you >>> can try to insert this in the beginning of your code (before any >>> other import): >>> >>> import sys >>> >>> class ExitError(Exception): >>> pass >>> >>> def dummy_exit(code=0): >>> raise ExitError() >>> >>> sys.exit = dummy_exit >>> >>> and see if it raises an exception instead of quitting, then you can >>> track-down the source to locate the condition ... >>> >>> I'm not sure if it will help, but it may be worth trying. >>> >>> Alexandre. >>> > > The mmap module hasn't been ported yet to PythonCE, this afternoon I > have tried to use paramiko on my pda and found the same error. I have > managed to bypass it by modifying agent.py, around line 67 make the > following modifications : > > Replace : > ... > elif sys.platform == 'win32': > import win_pageant > ... > by > ... > elif sys.platform == 'win32': > if os.name == 'ce': > return > import win_pageant > ... > > this deactivates the Agent features of paramiko but it makes ssh > connection possible ! > > Besides, I suggest you to use the new SSHClient class that basically > wraps the whole demo script, I had success with the following script : > > from paramiko import SSHClient, AutoAddPolicy > > def main(): > client = SSHClient() > client.set_missing_host_key_policy(AutoAddPolicy()) > client.connect('the server', username='****', password='****') > stdin, stdout, stderr = client.exec_command('ls -l') > print stdout.read() > client.close() > > if __name__ == '__main__' : main() > > Good continuation on your project ;) > Alexandre. > From petri.wunsch at gmail.com Tue Aug 7 11:14:41 2007 From: petri.wunsch at gmail.com (Petri Wunsch) Date: Tue, 7 Aug 2007 12:14:41 +0300 Subject: [PythonCE] Remotely uninstalling application Message-ID: Hi, I am trying to remotely/programmatically uninstall app from PPC 5.0 device. with python script. know it happens by sending XML file with details. As parameter to some app. So can anyone help me witch app should I call with the xml parameter. To do the uninstalling. thankyou in advance -Petri From alexandre.delattre at enst-bretagne.fr Wed Aug 8 00:30:00 2007 From: alexandre.delattre at enst-bretagne.fr (alexandre.delattre at enst-bretagne.fr) Date: Wed, 8 Aug 2007 00:30:00 +0200 Subject: [PythonCE] Remotely uninstalling application Message-ID: <20070808003000.53j8fwiqogoocwks@webmail.enst-bretagne.fr> Hello Petri, This module should do the trick (assume you have ctypes): uninstall.py : from ctypes import * DMProcessConfigXML = cdll.aygshell.DMProcessConfigXML XML = u'''\ ''' def uninstall(app_name): ''' Removes the program designated by app_name (as appearing in Program->Settings->Remove) ''' xml_out = c_wchar_p() return DMProcessConfigXML(XML %app_name, 1, byref(xml_out)) Just call the uninstall function in any of you script and the job is done. Worked on my Acer n311. Regards, Alexandre From petri.wunsch at gmail.com Wed Aug 8 08:49:06 2007 From: petri.wunsch at gmail.com (Petri Wunsch) Date: Wed, 8 Aug 2007 09:49:06 +0300 Subject: [PythonCE] Remotely uninstalling application In-Reply-To: <20070808003000.53j8fwiqogoocwks@webmail.enst-bretagne.fr> References: <20070808003000.53j8fwiqogoocwks@webmail.enst-bretagne.fr> Message-ID: Hi, one stupid question where can i get ctypes :) - Petri 2007/8/8, alexandre.delattre at enst-bretagne.fr : > Hello Petri, > > This module should do the trick (assume you have ctypes): > > uninstall.py : > > from ctypes import * > > DMProcessConfigXML = cdll.aygshell.DMProcessConfigXML > XML = u'''\ > > > > > > > ''' > > def uninstall(app_name): > ''' > Removes the program designated by app_name > (as appearing in Program->Settings->Remove) > ''' > xml_out = c_wchar_p() > return DMProcessConfigXML(XML %app_name, 1, byref(xml_out)) > > Just call the uninstall function in any of you script and the job is done. > Worked on my Acer n311. > > Regards, > Alexandre > > -- I love deadlines. I love the whooshing sound they make as they go by. - Douglas Adams From coder_infidel at hotmail.com Wed Aug 8 09:56:46 2007 From: coder_infidel at hotmail.com (Luke Dunstan) Date: Wed, 8 Aug 2007 15:56:46 +0800 Subject: [PythonCE] Remotely uninstalling application Message-ID: > Date: Wed, 8 Aug 2007 09:49:06 +0300> From: petri.wunsch at gmail.com> To: pythonce at python.org> Subject: Re: [PythonCE] Remotely uninstalling application> > Hi, one stupid question where can i get ctypes :)> > - Petri ctypes is included with Python 2.5 and later. Luke -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/pythonce/attachments/20070808/bc905cf9/attachment.htm From alexandre.delattre at enst-bretagne.fr Sun Aug 12 22:46:54 2007 From: alexandre.delattre at enst-bretagne.fr (alexandre.delattre at enst-bretagne.fr) Date: Sun, 12 Aug 2007 22:46:54 +0200 Subject: [PythonCE] Spam on the wiki Message-ID: <20070812224654.8mucdemw0kw444c8@webmail.enst-bretagne.fr> Once again the PythonCE Wiki was spammed, fortunately no data seems to be lost, and with the history feature it should be easy to revert back. I'am almost sure the modifications are done by a web bot not a human person. Luke, would it be easy to use a captcha system in the Wiki (when creating an account, or editing a page) ? Could you also close the accounts of the users who posted the spam ? Any ideas suggestions to prevent spamming is welcome. Alexandre. From alexandre.delattre at enst-bretagne.fr Mon Aug 13 20:35:44 2007 From: alexandre.delattre at enst-bretagne.fr (alexandre.delattre at enst-bretagne.fr) Date: Mon, 13 Aug 2007 20:35:44 +0200 Subject: [PythonCE] Spam on the wiki Message-ID: <20070813203544.y6rylgy0k0cgkkgg@webmail.enst-bretagne.fr> @Luke Dunstan: I've seen you have cleaned the wiki, if you have time you can get a look on this page : http://wikkawiki.org/FreeCap, it's about integrating a captcha system with Wikka. Thanks, Alexandre. From pythonce at xhaus.com Mon Aug 13 23:09:31 2007 From: pythonce at xhaus.com (Alan Kennedy) Date: Mon, 13 Aug 2007 22:09:31 +0100 Subject: [PythonCE] Spam on the wiki In-Reply-To: <20070813203544.y6rylgy0k0cgkkgg@webmail.enst-bretagne.fr> References: <20070813203544.y6rylgy0k0cgkkgg@webmail.enst-bretagne.fr> Message-ID: <46C0C88B.7080300@xhaus.com> [alexandre] > I've seen you have cleaned the wiki, if you have time you can get a > look on this page : http://wikkawiki.org/FreeCap, it's about > integrating a captcha system with Wikka. Thanks, A nice captcha system is reCAPTCHA. """ Over 60 million CAPTCHAs are solved every day by people around the world. reCAPTCHA channels this human effort into helping to digitize books from the Internet Archive. When you solve a reCAPTCHA, you help preserve literature by deciphering a word that was not readable by computers. """ http://recaptcha.net/aboutus.html There's a web API, and plugins for all kinds of environments http://recaptcha.net/resources.html Including python http://pypi.python.org/pypi/recaptcha-client And lastly, if you look at the bottom of the "About Us" page, you'll see the words "most of reCAPTCHA is written in Python.". Regards, Alan. From theblindtech at gmail.com Thu Aug 16 14:25:24 2007 From: theblindtech at gmail.com (Gabe Vega) Date: Thu, 16 Aug 2007 05:25:24 -0700 Subject: [PythonCE] installing on pocket pc 2003? Message-ID: hello: I have several questions, please excuse the lack of list norms in the presentation of these question fore I am a newbee atthis. first, I've read several posts of people running python on windows mobile pocket pc 2003. this I would like to do. in reading distributions, the project i work on as a user just doesn't use 2.51 so it has to be 2.4. its agame, cross platform at that and I am running it with windows, ubuntu, and mac osx using pygame and pyobjc. so I would like to try and run it on ppc2003. what do i do to get this installed on this os? I downloaded the source and been through all the dirs but don'tfind any references to windows ce like one article proclaimed. this article was talking about 2.3.9 so I may be missing something. Any ideas please.... thanks Gabe From coder_infidel at hotmail.com Thu Aug 16 15:16:10 2007 From: coder_infidel at hotmail.com (Luke Dunstan) Date: Thu, 16 Aug 2007 21:16:10 +0800 Subject: [PythonCE] installing on pocket pc 2003? Message-ID: > To: pythonce at python.org> From: theblindtech at gmail.com> Date: Thu, 16 Aug 2007 05:25:24 -0700> Subject: [PythonCE] installing on pocket pc 2003?> > hello:> > I have several questions, please excuse the lack of list norms in the > presentation of these question fore I am a newbee atthis.> > first,> > I've read several posts of people running python on windows mobile > pocket pc 2003. this I would like to do.> > in reading distributions, the project i work on as a user just > doesn't use 2.51 so it has to be 2.4.> > its agame, cross platform at that and I am running it with windows, > ubuntu, and mac osx using pygame and pyobjc.> > so I would like to try and run it on ppc2003.> > what do i do to get this installed on this os?> > I downloaded the source and been through all the dirs but don'tfind > any references to windows ce like one article proclaimed. this > article was talking about 2.3.9 so I may be missing something. I'm not sure if you understand it yet but Python does not support Windows CE officially, and the Windows CE port (called PythonCE) is maintained by a separate project at pythonce.sourceforge.net, as set of patches to the main source. The number of users seems quite small and the developers are very few, but you should find a suitable version of Python 2.4 on the downloads page. I would recommend using 2.5 instead though. Luke > > Any ideas please....> > thanks> > Gabe -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/pythonce/attachments/20070816/3f69244b/attachment.html From alexandre.delattre at enst-bretagne.fr Sat Aug 18 17:11:51 2007 From: alexandre.delattre at enst-bretagne.fr (alexandre.delattre at enst-bretagne.fr) Date: Sat, 18 Aug 2007 17:11:51 +0200 Subject: [PythonCE] Spam on the wiki, it happened again :( Message-ID: <20070818171151.f4dy2ca5ckww04os@webmail.enst-bretagne.fr> Hi, Once again the wiki was spammed and it's the 3rd time in less than a week :( I'll clean the mess for now, but I'm beginning to feel it's useless until there is a stronger anti-spam system somehow. Luke, what is your opinion ? I'd like to help but my knowledge of php is really basic and you must first authorize me to do server side modifications. Another possibility would be to move the wiki to the MoinMoin engine, I've read there's an anti-spam plug-in called HoneyPot that don't use captchas (useful for blind people). Don't know if it's efficient, but I've already played with MoinMoin and found it really great. Please, I'd like to hear what you think the best to do. With regards, Alexandre. PS I've came with an (unrelated) idea that would benefit the PythonCE community: it is to have a common repository for PythonCE related stuff (scripts, tools, ports, extension binaries, ...), it could be a simple ftp at first or a website like the official Python CheeseShop. If someone has a bit of bandwidth to share or suggestions, they are all welcome ;) From coder_infidel at hotmail.com Sun Aug 19 07:25:41 2007 From: coder_infidel at hotmail.com (Luke Dunstan) Date: Sun, 19 Aug 2007 13:25:41 +0800 Subject: [PythonCE] Spam on the wiki, it happened again :( Message-ID: > Date: Sat, 18 Aug 2007 17:11:51 +0200> From: alexandre.delattre at enst-bretagne.fr> To: pythonce at python.org> Subject: [PythonCE] Spam on the wiki, it happened again :(> > Hi,> > Once again the wiki was spammed and it's the 3rd time in less than a week :(> I'll clean the mess for now, but I'm beginning to feel it's useless > until there is a stronger anti-spam system somehow.> > Luke, what is your opinion ?> > I'd like to help but my knowledge of php is really basic and you must > first authorize me to do server side modifications. I think the "captcha" plug-in would be the best option, but I don't know any PHP either. What is your SourceForge user name, so I can add you as a developer? > Another possibility would be to move the wiki to the MoinMoin engine, > I've read there's an anti-spam plug-in called HoneyPot that don't use > captchas (useful for blind people). Don't know if it's efficient, but > I've already played with MoinMoin and found it really great. I vaguely remember that I looked at that wiki software when I created the wiki, but the main problem was that it uses files to store data, which is not feasible on SourceForge. Any wiki that we use needs to store data in a MySQL database. > Please, I'd like to hear what you think the best to do.> > With regards,> Alexandre.> > PS> > I've came with an (unrelated) idea that would benefit the PythonCE > community: it is to have a common repository for PythonCE related > stuff (scripts, tools, ports, extension binaries, ...), it could be a > simple ftp at first or a website like the official Python CheeseShop. > If someone has a bit of bandwidth to share or suggestions, they are > all welcome ;) Is it something we could put on pythonce.sourceforge.net ? Luke -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/pythonce/attachments/20070819/8ca78eb7/attachment.htm From alexandre.delattre at enst-bretagne.fr Sun Aug 19 12:21:20 2007 From: alexandre.delattre at enst-bretagne.fr (alexandre.delattre at enst-bretagne.fr) Date: Sun, 19 Aug 2007 12:21:20 +0200 Subject: [PythonCE] Spam on the wiki, it happened again :( In-Reply-To: References: Message-ID: <20070819122120.31mmsorio8g8wg4c@webmail.enst-bretagne.fr> Luke Dunstan a ?crit : > >> Date: Sat, 18 Aug 2007 17:11:51 +0200> From: >> alexandre.delattre at enst-bretagne.fr> To: pythonce at python.org> >> Subject: [PythonCE] Spam on the wiki, it happened again :(> > Hi,> >> > Once again the wiki was spammed and it's the 3rd time in less >> than a week :(> I'll clean the mess for now, but I'm beginning to >> feel it's useless > until there is a stronger anti-spam system >> somehow.> > Luke, what is your opinion ?> > I'd like to help but my >> knowledge of php is really basic and you must > first authorize me >> to do server side modifications. > > I think the "captcha" plug-in would be the best option, but I don't > know any PHP either. What is your SourceForge user name, so I can > add you as a developer? > My SourceForge user name is alexd31. I'll try to follow the instructions at http://wikkawiki.org/FreeCap since it seems the easiest to integrate with wikka. >> Another possibility would be to move the wiki to the MoinMoin >> engine, > I've read there's an anti-spam plug-in called HoneyPot >> that don't use > captchas (useful for blind people). Don't know if >> it's efficient, but > I've already played with MoinMoin and found >> it really great. > I vaguely remember that I looked at that wiki software when I > created the wiki, but the main problem was that it uses files to > store data, which is not feasible on SourceForge. Any wiki that we > use needs to store data in a MySQL database. >> Please, I'd like to hear what you think the best to do.> > With >> regards,> Alexandre.> > PS> > I've came with an (unrelated) idea >> that would benefit the PythonCE > community: it is to have a common >> repository for PythonCE related > stuff (scripts, tools, ports, >> extension binaries, ...), it could be a > simple ftp at first or a >> website like the official Python CheeseShop. > If someone has a bit >> of bandwidth to share or suggestions, they are > all welcome ;) > Is it something we could put on pythonce.sourceforge.net ? > > Luke > It would be the most logical place for it, but I'm afraid we would come with the file limitation very quickly. I think it is more feasible to host it somewhere else and make a link from pythonce.sourceforge.net. I'd love to code the web app in django, but a ftp should suffice. Alexandre. From johnny at debris.demon.nl Sun Aug 19 13:08:33 2007 From: johnny at debris.demon.nl (Johnny deBris) Date: Sun, 19 Aug 2007 13:08:33 +0200 Subject: [PythonCE] Spam on the wiki, it happened again :( In-Reply-To: <20070819122120.31mmsorio8g8wg4c@webmail.enst-bretagne.fr> References: <20070819122120.31mmsorio8g8wg4c@webmail.enst-bretagne.fr> Message-ID: <46C824B1.7070308@debris.demon.nl> alexandre.delattre at enst-bretagne.fr wrote: >>> If someone has a bit >>> of bandwidth to share or suggestions, they are > all welcome ;) > >> Is it something we could put on pythonce.sourceforge.net ? >> >> Luke >> > > It would be the most logical place for it, but I'm afraid we would > come with the file limitation very quickly. I think it is more > feasible to host it somewhere else and make a link from > pythonce.sourceforge.net. I'd love to code the web app in django, but > a ftp should suffice. > It's not much, but I can host it at home (1 Mb upstream)... I assume there wouldn't be much traffic, so even though it would be relatively slow I guess it would be usable (I already use it for a couple of low-traffic websites). And of course it would mean you can use whatever exotic web framework you wish... (Well, as long as it's Python, that is... ;) If you're interested, I'll set up some SSH accounts. Cheers, Guido From coder_infidel at hotmail.com Sun Aug 19 17:44:31 2007 From: coder_infidel at hotmail.com (Luke Dunstan) Date: Sun, 19 Aug 2007 23:44:31 +0800 Subject: [PythonCE] Spam on the wiki, it happened again :( Message-ID: > Date: Sun, 19 Aug 2007 12:21:20 +0200> From: alexandre.delattre at enst-bretagne.fr> To: coder_infidel at hotmail.com> CC: pythonce at python.org> Subject: RE: [PythonCE] Spam on the wiki, it happened again :(> > Luke Dunstan a ?crit :> > >> >> Date: Sat, 18 Aug 2007 17:11:51 +0200> From: > >> alexandre.delattre at enst-bretagne.fr> To: pythonce at python.org> > >> Subject: [PythonCE] Spam on the wiki, it happened again :(> > Hi,> > >> > Once again the wiki was spammed and it's the 3rd time in less > >> than a week :(> I'll clean the mess for now, but I'm beginning to > >> feel it's useless > until there is a stronger anti-spam system > >> somehow.> > Luke, what is your opinion ?> > I'd like to help but my > >> knowledge of php is really basic and you must > first authorize me > >> to do server side modifications. Are my messages appearing as a single line? I thought that had been fixed, sorry. I don't know what to try next... > >> > I think the "captcha" plug-in would be the best option, but I don't > > know any PHP either. What is your SourceForge user name, so I can > > add you as a developer?> >> > My SourceForge user name is alexd31.> I'll try to follow the instructions at http://wikkawiki.org/FreeCap > since it seems the easiest to integrate with wikka. You should now have access to the project web space. Luke > > >> Another possibility would be to move the wiki to the MoinMoin > >> engine, > I've read there's an anti-spam plug-in called HoneyPot > >> that don't use > captchas (useful for blind people). Don't know if > >> it's efficient, but > I've already played with MoinMoin and found > >> it really great.> > I vaguely remember that I looked at that wiki software when I > > created the wiki, but the main problem was that it uses files to > > store data, which is not feasible on SourceForge. Any wiki that we > > use needs to store data in a MySQL database.> > >> Please, I'd like to hear what you think the best to do.> > With > >> regards,> Alexandre.> > PS> > I've came with an (unrelated) idea > >> that would benefit the PythonCE > community: it is to have a common > >> repository for PythonCE related > stuff (scripts, tools, ports, > >> extension binaries, ...), it could be a > simple ftp at first or a > >> website like the official Python CheeseShop. > If someone has a bit > >> of bandwidth to share or suggestions, they are > all welcome ;)> > > Is it something we could put on pythonce.sourceforge.net ?> >> > Luke> >> > It would be the most logical place for it, but I'm afraid we would > come with the file limitation very quickly. I think it is more > feasible to host it somewhere else and make a link from > pythonce.sourceforge.net. I'd love to code the web app in django, but > a ftp should suffice.> > Alexandre.> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/pythonce/attachments/20070819/f691855b/attachment.htm From alexandre.delattre at enst-bretagne.fr Sun Aug 19 18:55:31 2007 From: alexandre.delattre at enst-bretagne.fr (alexandre.delattre at enst-bretagne.fr) Date: Sun, 19 Aug 2007 18:55:31 +0200 Subject: [PythonCE] Spam on the wiki, it happened again :( In-Reply-To: References: Message-ID: <20070819185531.kihlq7xtcs4ss48g@webmail.enst-bretagne.fr> Luke Dunstan a ?crit : > >> Date: Sun, 19 Aug 2007 12:21:20 +0200> From: >> alexandre.delattre at enst-bretagne.fr> To: coder_infidel at hotmail.com> >> CC: pythonce at python.org> Subject: RE: [PythonCE] Spam on the wiki, >> it happened again :(> > Luke Dunstan a >> ?crit :> > >> >> Date: Sat, 18 Aug 2007 17:11:51 +0200> From: > >> >> alexandre.delattre at enst-bretagne.fr> To: pythonce at python.org> > >> >> Subject: [PythonCE] Spam on the wiki, it happened again :(> > Hi,> >> > >> > Once again the wiki was spammed and it's the 3rd time in >> less > >> than a week :(> I'll clean the mess for now, but I'm >> beginning to > >> feel it's useless > until there is a stronger >> anti-spam system > >> somehow.> > Luke, what is your opinion ?> > >> I'd like to help but my > >> knowledge of php is really basic and >> you must > first authorize me > >> to do server side modifications. > > Are my messages appearing as a single line? I thought that had been > fixed, sorry. I don't know what to try next... >> >> > I think the "captcha" plug-in would be the best option, but I >> don't > > know any PHP either. What is your SourceForge user name, >> so I can > > add you as a developer?> >> > My SourceForge user name >> is alexd31.> I'll try to follow the instructions at >> http://wikkawiki.org/FreeCap > since it seems the easiest to >> integrate with wikka. > > You should now have access to the project web space. > > Luke Thanks. Alexandre