From rumata-estor at nm.ru Wed Aug 2 11:19:01 2006 From: rumata-estor at nm.ru (Belyaev Dmitry) Date: Wed, 02 Aug 2006 13:19:01 +0400 Subject: [PythonCE] SimpleHTTPServer In-Reply-To: <44D03A01.000005.04341@webmail12.yandex.ru> Message-ID: <20060802091901.9522.qmail@flock1.newmail.ru> Sorry, but your server failes with the error I described earlier. Did you try to use Internet Explorer on PDA to connect to your server? My opinion is that Internet Explorer on WinCE doesn't work like SimpleHTTPServer expects. Hello, ?????? ????? ??, 02.08.2006 08:37:05 you wrote: ??> See http://i-quiet.narod.ru/ ??> HTTPserver.zip ??> ??> Anton Orekhov ??> ??> >I tried to write simple http server on my PDA. ??> >------------------------------ ??> >import SimpleHTTPServer as Handler ??> >import BaseHTTPServer as Server ??> > ??> >h = Handler.SimpleHTTPRequestHandler ??> >s = Server.HTTPServer(('localhost', 80), h) ??> >s.serve_forever() ??> >------------------------------ ??> >It works on Desktop, but failes on PDA with the following error: ??> >------------------------------ ??> >Exception happened during processing of request from ('127.0.0.1', 1026) ??> >Traceback (most recent call last): ??> > File "binaries\lib\SocketServer.py", line 222, in handle_request ??> > File "binaries\lib\SocketServer.py", line 241, in process_request ??> > File "binaries\lib\SocketServer.py", line 254, in finish_request ??> > File "binaries\lib\SocketServer.py", line 521, in __init__ ??> > File "binaries\lib\BaseHTTPServer.py", line 316, in handle ??> > File "binaries\lib\BaseHTTPServer.py", line 299, in handle_one_request ??> > File "binaries\lib\socket.py", line 340, in readline ??> >error: (10054, 'Connection reset by peer') ??> >------------------------------ ??> >Is it error in Internet Explorer CE or in PythonCE? ??> >_______________________________________________ ??> >PythonCE mailing list ??> >PythonCE at python.org ??> >http://mail.python.org/mailman/listinfo/pythonce ??> ??> ??> -- ??> ??????? ??????? ????, ????? ??????? ????? ?? ??????? http://mail.yandex.ru ??> __________ ??> http://www.newhost.ru - ?????? ??? ??? ?????? ?????! Belyaev Dmitry __________ www.newmail.ru -- ????? ????? ??? ?????? ?????????. From coder_infidel at hotmail.com Wed Aug 2 16:03:18 2006 From: coder_infidel at hotmail.com (Luke Dunstan) Date: Wed, 2 Aug 2006 22:03:18 +0800 Subject: [PythonCE] SimpleHTTPServer References: <20060731184037.11124.qmail@flock1.newmail.ru> Message-ID: ----- Original Message ----- From: "Belyaev Dmitry" To: Sent: Tuesday, August 01, 2006 2:40 AM Subject: [PythonCE] SimpleHTTPServer >I tried to write simple http server on my PDA. > ------------------------------ > import SimpleHTTPServer as Handler > import BaseHTTPServer as Server > > h = Handler.SimpleHTTPRequestHandler > s = Server.HTTPServer(('localhost', 80), h) > s.serve_forever() The above works fine for me on Pocket PC 2003 with PythonCE 2.4.3. Is your OS or Python version different? I did use Pocket Internet Explorer. Luke > ------------------------------ > It works on Desktop, but failes on PDA with the following error: > ------------------------------ > Exception happened during processing of request from ('127.0.0.1', 1026) > Traceback (most recent call last): > File "binaries\lib\SocketServer.py", line 222, in handle_request > File "binaries\lib\SocketServer.py", line 241, in process_request > File "binaries\lib\SocketServer.py", line 254, in finish_request > File "binaries\lib\SocketServer.py", line 521, in __init__ > File "binaries\lib\BaseHTTPServer.py", line 316, in handle > File "binaries\lib\BaseHTTPServer.py", line 299, in handle_one_request > File "binaries\lib\socket.py", line 340, in readline > error: (10054, 'Connection reset by peer') > ------------------------------ > Is it error in Internet Explorer CE or in PythonCE? From dblanchard at gmail.com Wed Aug 2 17:36:34 2006 From: dblanchard at gmail.com (Duane Blanchard) Date: Wed, 2 Aug 2006 08:36:34 -0700 Subject: [PythonCE] PythonCE Digest, Vol 37, Issue 2 In-Reply-To: References: Message-ID: There are Mozilla and Opera alternatives, but I'm not set up to try them out just now. I hope someone else may have the time to check whether they work as a substitute. D On 8/2/06, pythonce-request at python.org wrote: > Send PythonCE mailing list submissions to > pythonce at python.org > > To subscribe or unsubscribe via the World Wide Web, visit > http://mail.python.org/mailman/listinfo/pythonce > or, via email, send a message with subject or body 'help' to > pythonce-request at python.org > > You can reach the person managing the list at > pythonce-owner at python.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of PythonCE digest..." > > > Today's Topics: > > 1. Re: SimpleHTTPServer (Belyaev Dmitry) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Wed, 02 Aug 2006 13:19:01 +0400 > From: Belyaev Dmitry > Subject: Re: [PythonCE] SimpleHTTPServer > To: , > Message-ID: <20060802091901.9522.qmail at flock1.newmail.ru> > Content-Type: text/plain; charset="windows-1251" > > Sorry, but your server failes with the error I described earlier. Did you try to use Internet Explorer on PDA to connect to your server? > My opinion is that Internet Explorer on WinCE doesn't work like SimpleHTTPServer expects. > > Hello, ?????? ????? > ??, 02.08.2006 08:37:05 you wrote: > > ??> See http://i-quiet.narod.ru/ > ??> HTTPserver.zip > ??> > ??> Anton Orekhov > ??> > ??> >I tried to write simple http server on my PDA. > ??> >------------------------------ > ??> >import SimpleHTTPServer as Handler > ??> >import BaseHTTPServer as Server > ??> > > ??> >h = Handler.SimpleHTTPRequestHandler > ??> >s = Server.HTTPServer(('localhost', 80), h) > ??> >s.serve_forever() > ??> >------------------------------ > ??> >It works on Desktop, but failes on PDA with the following error: > ??> >------------------------------ > ??> >Exception happened during processing of request from ('127.0.0.1', 1026) > ??> >Traceback (most recent call last): > ??> > File "binaries\lib\SocketServer.py", line 222, in handle_request > ??> > File "binaries\lib\SocketServer.py", line 241, in process_request > ??> > File "binaries\lib\SocketServer.py", line 254, in finish_request > ??> > File "binaries\lib\SocketServer.py", line 521, in __init__ > ??> > File "binaries\lib\BaseHTTPServer.py", line 316, in handle > ??> > File "binaries\lib\BaseHTTPServer.py", line 299, in handle_one_request > ??> > File "binaries\lib\socket.py", line 340, in readline > ??> >error: (10054, 'Connection reset by peer') > ??> >------------------------------ > ??> >Is it error in Internet Explorer CE or in PythonCE? > ??> >_______________________________________________ > ??> >PythonCE mailing list > ??> >PythonCE at python.org > ??> >http://mail.python.org/mailman/listinfo/pythonce > ??> > ??> > ??> -- > ??> ??????? ??????? ????, ????? ??????? ????? ?? ??????? http://mail.yandex.ru > ??> __________ > > ??> http://www.newhost.ru - ?????? ??? ??? ?????? ?????! > > > > Belyaev Dmitry > __________ > www.newmail.ru -- ????? ????? ??? ?????? ?????????. > > > ------------------------------ > > _______________________________________________ > PythonCE mailing list > PythonCE at python.org > http://mail.python.org/mailman/listinfo/pythonce > > > End of PythonCE Digest, Vol 37, Issue 2 > *************************************** > -- Duane Blanchard 206.280.1263 There are 10 kinds of people in the world; those who know binary and those who don't. From rumata-estor at nm.ru Wed Aug 2 19:57:42 2006 From: rumata-estor at nm.ru (Belyaev Dmitry) Date: Wed, 02 Aug 2006 21:57:42 +0400 Subject: [PythonCE] SimpleHTTPServer In-Reply-To: Message-ID: <20060802175742.28256.qmail@flock1.newmail.ru> Hello, Luke Dunstan I'm using Python 2.4.3 (#0, Apr 29 2006, 20:58:35)[MSC v.1201 32bit (Unknown)] on Pocket PC on iPAQ hx2110, Windows Mobile 2003 Second Edition, Version 4.21.1088 (Build 14132) When I type "http://localhost/" and tap "Go" request come Python, but a bit later Connectivity window popup, and it says that PDA is not connected to Internet. I'm going to try Opera for PocketPC, maybe it will help. Wed, 02.08.2006 17:03:18 you wrote: LD> LD> ----- Original Message ----- LD> From: "Belyaev Dmitry" LD> To: LD> Sent: Tuesday, August 01, 2006 2:40 AM LD> Subject: [PythonCE] SimpleHTTPServer LD> LD> LD> >I tried to write simple http server on my PDA. LD> > ------------------------------ LD> > import SimpleHTTPServer as Handler LD> > import BaseHTTPServer as Server LD> > LD> > h = Handler.SimpleHTTPRequestHandler LD> > s = Server.HTTPServer(('localhost', 80), h) LD> > s.serve_forever() LD> LD> The above works fine for me on Pocket PC 2003 with PythonCE 2.4.3. Is your LD> OS or Python version different? I did use Pocket Internet Explorer. LD> LD> Luke LD> LD> > ------------------------------ LD> > It works on Desktop, but failes on PDA with the following error: LD> > ------------------------------ LD> > Exception happened during processing of request from ('127.0.0.1', 1026) LD> > Traceback (most recent call last): LD> > File "binaries\lib\SocketServer.py", line 222, in handle_request LD> > File "binaries\lib\SocketServer.py", line 241, in process_request LD> > File "binaries\lib\SocketServer.py", line 254, in finish_request LD> > File "binaries\lib\SocketServer.py", line 521, in __init__ LD> > File "binaries\lib\BaseHTTPServer.py", line 316, in handle LD> > File "binaries\lib\BaseHTTPServer.py", line 299, in handle_one_request LD> > File "binaries\lib\socket.py", line 340, in readline LD> > error: (10054, 'Connection reset by peer') LD> > ------------------------------ LD> > Is it error in Internet Explorer CE or in PythonCE? Belyaev Dmitry From rumata-estor at nm.ru Wed Aug 2 21:17:46 2006 From: rumata-estor at nm.ru (Belyaev Dmitry) Date: Wed, 02 Aug 2006 23:17:46 +0400 Subject: [PythonCE] SimpleHTTPServer In-Reply-To: <20060802175742.28256.qmail@flock1.newmail.ru> Message-ID: <20060802191747.27039.qmail@flock1.newmail.ru> Opera for Pocket PC didn't work. I suppose it tries to check whether PDA has connection to the Internet. But I found Minimo - Mozilla for Windows Mobile at http://www.mozilla.org/projects/minimo/ It did work as expected and web server worked fine. BD> Hello, Luke Dunstan BD> BD> I'm using BD> Python 2.4.3 (#0, Apr 29 2006, 20:58:35)[MSC v.1201 32bit (Unknown)] on Pocket PC BD> on iPAQ hx2110, Windows Mobile 2003 Second Edition, Version 4.21.1088 (Build 14132) BD> BD> When I type "http://localhost/" and tap "Go" request come Python, but a bit later Connectivity window popup, and it says that PDA is not connected to Internet. BD> BD> I'm going to try Opera for PocketPC, maybe it will help. BD> BD> Wed, 02.08.2006 17:03:18 you wrote: BD> LD>> LD>> ----- Original Message ----- LD>> From: "Belyaev Dmitry" LD>> To: LD>> Sent: Tuesday, August 01, 2006 2:40 AM LD>> Subject: [PythonCE] SimpleHTTPServer LD>> LD>> LD>> >I tried to write simple http server on my PDA. LD>> > ------------------------------ LD>> > import SimpleHTTPServer as Handler LD>> > import BaseHTTPServer as Server LD>> > LD>> > h = Handler.SimpleHTTPRequestHandler LD>> > s = Server.HTTPServer(('localhost', 80), h) LD>> > s.serve_forever() LD>> LD>> The above works fine for me on Pocket PC 2003 with PythonCE 2.4.3. Is your LD>> OS or Python version different? I did use Pocket Internet Explorer. LD>> LD>> Luke LD>> LD>> > ------------------------------ LD>> > It works on Desktop, but failes on PDA with the following error: LD>> > ------------------------------ LD>> > Exception happened during processing of request from ('127.0.0.1', 1026) LD>> > Traceback (most recent call last): LD>> > File "binaries\lib\SocketServer.py", line 222, in handle_request LD>> > File "binaries\lib\SocketServer.py", line 241, in process_request LD>> > File "binaries\lib\SocketServer.py", line 254, in finish_request LD>> > File "binaries\lib\SocketServer.py", line 521, in __init__ LD>> > File "binaries\lib\BaseHTTPServer.py", line 316, in handle LD>> > File "binaries\lib\BaseHTTPServer.py", line 299, in handle_one_request LD>> > File "binaries\lib\socket.py", line 340, in readline LD>> > error: (10054, 'Connection reset by peer') LD>> > ------------------------------ LD>> > Is it error in Internet Explorer CE or in PythonCE? BD> BD> Belyaev Dmitry BD> _______________________________________________ BD> PythonCE mailing list BD> PythonCE at python.org BD> http://mail.python.org/mailman/listinfo/pythonce BD> __________ BD> http://www.newhost.ru - ?????? ??? ??? ?????? ?????! Belyaev Dmitry __________ www.newmail.ru -- ????? ????? ??? ?????? ?????????. From coder_infidel at hotmail.com Thu Aug 3 02:10:03 2006 From: coder_infidel at hotmail.com (Luke Dunstan) Date: Thu, 3 Aug 2006 08:10:03 +0800 Subject: [PythonCE] SimpleHTTPServer References: <20060802175742.28256.qmail@flock1.newmail.ru> Message-ID: Does it make a difference if you use http://127.0.0.1/ ? localhost has never worked for me on Windows CE, regardless of whether the server is implemented in Python or C++. Luke ----- Original Message ----- From: "Belyaev Dmitry" To: ; Sent: Thursday, August 03, 2006 1:57 AM Subject: Re[2]: [PythonCE] SimpleHTTPServer > Hello, Luke Dunstan > > I'm using > Python 2.4.3 (#0, Apr 29 2006, 20:58:35)[MSC v.1201 32bit (Unknown)] on > Pocket PC > on iPAQ hx2110, Windows Mobile 2003 Second Edition, Version 4.21.1088 > (Build 14132) > > When I type "http://localhost/" and tap "Go" request come Python, but a > bit later Connectivity window popup, and it says that PDA is not connected > to Internet. > > I'm going to try Opera for PocketPC, maybe it will help. > > Wed, 02.08.2006 17:03:18 you wrote: > > LD> > LD> ----- Original Message ----- > LD> From: "Belyaev Dmitry" > LD> To: > LD> Sent: Tuesday, August 01, 2006 2:40 AM > LD> Subject: [PythonCE] SimpleHTTPServer > LD> > LD> > LD> >I tried to write simple http server on my PDA. > LD> > ------------------------------ > LD> > import SimpleHTTPServer as Handler > LD> > import BaseHTTPServer as Server > LD> > > LD> > h = Handler.SimpleHTTPRequestHandler > LD> > s = Server.HTTPServer(('localhost', 80), h) > LD> > s.serve_forever() > LD> > LD> The above works fine for me on Pocket PC 2003 with PythonCE 2.4.3. Is > your > LD> OS or Python version different? I did use Pocket Internet Explorer. > LD> > LD> Luke > LD> > LD> > ------------------------------ > LD> > It works on Desktop, but failes on PDA with the following error: > LD> > ------------------------------ > LD> > Exception happened during processing of request from ('127.0.0.1', > 1026) > LD> > Traceback (most recent call last): > LD> > File "binaries\lib\SocketServer.py", line 222, in handle_request > LD> > File "binaries\lib\SocketServer.py", line 241, in process_request > LD> > File "binaries\lib\SocketServer.py", line 254, in finish_request > LD> > File "binaries\lib\SocketServer.py", line 521, in __init__ > LD> > File "binaries\lib\BaseHTTPServer.py", line 316, in handle > LD> > File "binaries\lib\BaseHTTPServer.py", line 299, in > handle_one_request > LD> > File "binaries\lib\socket.py", line 340, in readline > LD> > error: (10054, 'Connection reset by peer') > LD> > ------------------------------ > LD> > Is it error in Internet Explorer CE or in PythonCE? > > Belyaev Dmitry > From theller at python.net Fri Aug 4 16:23:27 2006 From: theller at python.net (Thomas Heller) Date: Fri, 04 Aug 2006 16:23:27 +0200 Subject: [PythonCE] Small buglet (?) in Python CE 2.4.3 Message-ID: Python 2.4.3 (#0, Apr 29 2006, 20:58:35) [MSC v.1201 32 bit (Unknown)] on Pocket PC (Remote Console on ('192.168.99.10', 20238)) PocketPC>>> cmp(buffer("abc"), buffer("def")) \Temp\_script20238.py:1: RuntimeWarning: tp_compare didn't return -1, 0 or 1 -1 PocketPC>>> Thanks, Thomas From jeff_barish at earthlink.net Sat Aug 5 02:01:52 2006 From: jeff_barish at earthlink.net (jeffbarish) Date: Fri, 4 Aug 2006 17:01:52 -0700 (PDT) Subject: [PythonCE] wxPython for PythonCE announcement In-Reply-To: References: Message-ID: <5659673.post@talk.nabble.com> Can you provide a little more information about how to install your software? I have \Program Files\Python24 on my PDA. I put wxwince270_evc_custom.dll in this folder. There is already a Lib folder there, so I put the wx folder in the existing Lib folder. import wx produces No module named wx. I strongly suspect that I do not understand how to perform this step in your instructions: Unzip this to the Python folder on your PocketPC. I unzipped the file on my PC, moved the dll and the wx folder over to my PDA, and then moved the dll and the wx folder as I described. -- View this message in context: http://www.nabble.com/wxPython-for-PythonCE-announcement-tf2024801.html#a5659673 Sent from the Python - pythonce forum at Nabble.com. From jeff_barish at earthlink.net Sat Aug 5 05:46:40 2006 From: jeff_barish at earthlink.net (jeffbarish) Date: Fri, 4 Aug 2006 20:46:40 -0700 (PDT) Subject: [PythonCE] wxPython for PythonCE announcement In-Reply-To: <5659673.post@talk.nabble.com> References: <5659673.post@talk.nabble.com> Message-ID: <5661054.post@talk.nabble.com> Never mind. It turns out that the synchronization did not transfer any files, only folders. (Have I mentioned recently that I hate winCE?) OK, my application seems to run. Problem 1: I am still getting the message "Please install a newer version of comctl32.dll (at least version 4.70 is required but you have 0.00) or this program won't operate correctly." I reported of the previous wxwince that this message appears when one uses a list control in virtual mode. I presume that the same correlation exists now. I will report other problems when I understand them better. So far, this port looks like a good start. Thanks for your work on this. -- View this message in context: http://www.nabble.com/wxPython-for-PythonCE-announcement-tf2024801.html#a5661054 Sent from the Python - pythonce forum at Nabble.com. From iksteen at gmail.com Sat Aug 5 11:58:35 2006 From: iksteen at gmail.com (Ingmar Steen) Date: Sat, 5 Aug 2006 11:58:35 +0200 Subject: [PythonCE] wxPython for PythonCE announcement In-Reply-To: <5661054.post@talk.nabble.com> References: <5659673.post@talk.nabble.com> <5661054.post@talk.nabble.com> Message-ID: >From what I remember, list controls are very limited on WinCE and the virtual mode is missing (basically, all owner drawn things are missing in WinCE). That's probably why it doesn't work. It's also the reason checkbox lists aren't working. However, it should be possible to drop in the wxUniversal list control though, that'll probably have all the functions but it won't be a 'native' control anymore. At the moment, I don't have a lot of time in front of a computer that can run eVC (only thing I have atm is my PDA) so development is going rather slowly. My first priority atm is getting the commandbar working properly. Ingmar On 8/5/06, jeffbarish wrote: > > Never mind. It turns out that the synchronization did not transfer any > files, only folders. (Have I mentioned recently that I hate winCE?) > > OK, my application seems to run. Problem 1: I am still getting the message > "Please install a newer version of comctl32.dll (at least version 4.70 is > required but you have 0.00) or this program won't operate correctly." I > reported of the previous wxwince that this message appears when one uses a > list control in virtual mode. I presume that the same correlation exists > now. > > I will report other problems when I understand them better. > > So far, this port looks like a good start. Thanks for your work on this. > -- > View this message in context: http://www.nabble.com/wxPython-for-PythonCE-announcement-tf2024801.html#a5661054 > Sent from the Python - pythonce forum at Nabble.com. > > _______________________________________________ > PythonCE mailing list > PythonCE at python.org > http://mail.python.org/mailman/listinfo/pythonce > From jeff_barish at earthlink.net Sat Aug 5 16:28:02 2006 From: jeff_barish at earthlink.net (jeffbarish) Date: Sat, 5 Aug 2006 07:28:02 -0700 (PDT) Subject: [PythonCE] wxPython for PythonCE announcement In-Reply-To: References: <5659673.post@talk.nabble.com> <5661054.post@talk.nabble.com> Message-ID: <5664562.post@talk.nabble.com> Ah, but it does work -- aside from some minor anomalies that I am still investigating. The only obvious problem is the appearance of the error message. -- View this message in context: http://www.nabble.com/wxPython-for-PythonCE-announcement-tf2024801.html#a5664562 Sent from the Python - pythonce forum at Nabble.com. From fbonnet at gmail.com Tue Aug 8 01:19:14 2006 From: fbonnet at gmail.com (Francois Bonnet) Date: Tue, 8 Aug 2006 01:19:14 +0200 Subject: [PythonCE] Sending files across 2 PDA connected in wifi(ad-hoc mode) Message-ID: <372fcf930608071619y32917eb5ga428667150fdfe53@mail.gmail.com> Hi, I would like to code a soft to send files between 2 PDA (Arm based devices) connected in ad-hoc mode. (using wifi) and I can't file any source code for this. Is it possible with PytonCE ? Have you ever try? Thanks for your help! Regards Francois -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/pythonce/attachments/20060808/09652e09/attachment.htm From coder_infidel at hotmail.com Tue Aug 8 16:32:11 2006 From: coder_infidel at hotmail.com (Luke Dunstan) Date: Tue, 8 Aug 2006 22:32:11 +0800 Subject: [PythonCE] Sending files across 2 PDA connected in wifi(ad-hoc mode) References: <372fcf930608071619y32917eb5ga428667150fdfe53@mail.gmail.com> Message-ID: PythonCE supports sockets so yes, it is possible to transfer data over a wireless LAN just like any other TCP/IP network. No I haven't tried with two PDAs. If you are searching for source code then try looking for Python sockets code in general, and test your code on a Windows PC first with local sockets. Have a look at the "socket" module. Luke ----- Original Message ----- From: Francois Bonnet To: pythonce at python.org Sent: Tuesday, August 08, 2006 7:19 AM Subject: [PythonCE] Sending files across 2 PDA connected in wifi(ad-hoc mode) Hi, I would like to code a soft to send files between 2 PDA (Arm based devices) connected in ad-hoc mode. (using wifi) and I can't file any source code for this. Is it possible with PytonCE ? Have you ever try? Thanks for your help! Regards Francois ------------------------------------------------------------------------------ _______________________________________________ PythonCE mailing list PythonCE at python.org http://mail.python.org/mailman/listinfo/pythonce -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/pythonce/attachments/20060808/4c832e58/attachment.html From bandung at skyesystems.com Mon Aug 14 00:13:03 2006 From: bandung at skyesystems.com (Bandung) Date: Sun, 13 Aug 2006 15:13:03 -0700 (PDT) Subject: [PythonCE] SQLIte and PySQLite binaries Message-ID: <5788963.post@talk.nabble.com> I have banged my head against the wall trying to comile sqlite3 for windows mobile 5.0 and just can't get around the compiler errors such as "unexpected end of file errors" for virtually every code element in the module. So I tried to find binaries that would work on my starcom 6700. No go. I've tried using Giovani's binaries built with compile sqlite 3.2.2 and pysqlite 2.0.5 and python 2.3.4 but I get the error "ddl load fail, the specified module couuld not be found". I have the pysqlite2 directory inside of my DLL directory under Python24 and within this directory are the files dbapi2.pyd and __init__.py and _sqlite.pyd ) His sqlite.dll binary I placed in boh the pysqlite2 directory, the DLL directory and the lib directory underneath python24 - all in a desperate attempt for this error to go away.) Here is the site where his binaries are located and his compiling instructions. http://area51.sns.it/users/giovanni/python/ Giovani's binaries I even tried the sqlite dll version from the ado.net project which seems to say that this binary will work on all platforms, with or without dot net. I replaced Giovani's sqlite.dll with this dll (appropriately renamed to sqlite3.dll). Here is the url reference to this binary http://sqlite.phxsoftware.com/ ado.net I know jack aboout MS compilers (I'm using the free Visual Studio 2005 Standard beta package) so that explains much of my problems. Yet I can't even get sqlite3 to compile for windows using the compiling inastructions on the sqlite site. http://www.sqlite.org/cvstrac/wiki/wiki?p=HowToCompileWithVsNet How to compile with ms visual studio dot net (I get 1 error saying that it can't find sqlite3.h even though that piece of code is in the module and identified in the project.) Does anyone have pysqlite and sqlite binaries that will work on windows mobile 5? If not, does anyone feel up to the task of working through getting the sources to compile for this platform? -- View this message in context: http://www.nabble.com/SQLIte-and-PySQLite-binaries-tf2100511.html#a5788963 Sent from the Python - pythonce forum at Nabble.com. From bandung at skyesystems.com Mon Aug 14 00:13:03 2006 From: bandung at skyesystems.com (Bandung) Date: Sun, 13 Aug 2006 15:13:03 -0700 (PDT) Subject: [PythonCE] SQLIte and PySQLite binaries Message-ID: <5788963.post@talk.nabble.com> I have banged my head against the wall trying to compile sqlite3 for windows mobile 5.0 and just can't get around the compiler errors such as "unexpected end of file errors" for virtually every code element in the module. So I tried to find binaries that would work on my starcom 6700. No go. I've tried using Giovani's binaries built with 1) sqlite 3.2.2 and 2) pysqlite 2.0.5 and 3) python 2.3.4 but I get the error "ddl load fail, the specified module couuld not be found". I have the pysqlite2 directory inside of my DLL directory under Python24 and within this directory are the files dbapi2.pyd and __init__.py and _sqlite.pyd ) His sqlite.dll binary I placed in boh the pysqlite2 directory, the DLL directory and the lib directory underneath python24 - all in a desperate attempt for this error to go away.) Here is the site where his binaries are located and his compiling instructions. http://area51.sns.it/users/giovanni/python/ Giovani's binaries I even tried the sqlite dll version from the ado.net project which seems to say that this binary will work on all platforms, with or without dot net. I replaced Giovani's sqlite.dll with this dll (appropriately renamed to sqlite3.dll). Here is the url reference to this binary http://sqlite.phxsoftware.com/ ado.net I know jack aboout MS compilers (I'm using the free Visual Studio 2005 Standard beta package) so that explains much of my problems. Yet I can't even get sqlite3 to compile for windows using the compiling inastructions on the sqlite site. http://www.sqlite.org/cvstrac/wiki/wiki?p=HowToCompileWithVsNet How to compile with ms visual studio dot net (I get 1 error saying that it can't find sqlite3.h even though that piece of code is in the module and identified in the project.) Does anyone have pysqlite and sqlite binaries that will work on windows mobile 5? If not, does anyone feel up to the task of working through getting the sources to compile for this platform? -- View this message in context: http://www.nabble.com/SQLIte-and-PySQLite-binaries-tf2100511.html#a5788963 Sent from the Python - pythonce forum at Nabble.com. From bandung at skyesystems.com Mon Aug 14 01:41:35 2006 From: bandung at skyesystems.com (Bandung) Date: Sun, 13 Aug 2006 16:41:35 -0700 (PDT) Subject: [PythonCE] Python 2.5? In-Reply-To: References: Message-ID: <5789578.post@talk.nabble.com> Have you had any success in compiling the pysqlite module that is now part of python 2.5? If so, maybe I will wait until python 2.5 is available for mobile devices, rather than hammering my head against the wall trying to compile it for version 2.4 Luke Dunstan wrote: > > Hi, > > Yes I have done some work on porting Python 2.5 but it is not yet complete > enough to be useful, so I will let you know how it goes. > > Luke > > ----- Original Message ----- > From: Yi Ding > To: pythonce at python.org > Sent: Saturday, July 29, 2006 4:15 AM > Subject: [PythonCE] Python 2.5? > > > Hi, > > I was wondering if there was any ongoing work on some patches for Python > 2.5? I know it's still in beta, but I'd be happy to help out coding or > testing if someone is working on it. > > Thanks, > Yi > > > _______________________________________________ > PythonCE mailing list > PythonCE at python.org > http://mail.python.org/mailman/listinfo/pythonce > > -- View this message in context: http://www.nabble.com/Python-2.5--tf2017414.html#a5789578 Sent from the Python - pythonce forum at Nabble.com. From jeff_barish at earthlink.net Sat Aug 19 16:31:56 2006 From: jeff_barish at earthlink.net (jeffbarish) Date: Sat, 19 Aug 2006 07:31:56 -0700 (PDT) Subject: [PythonCE] wxPython for PythonCE announcement In-Reply-To: <20060731124148.29121.qmail@flock1.newmail.ru> References: <20060731115412.23788.qmail@flock1.newmail.ru> <20060731124148.29121.qmail@flock1.newmail.ru> Message-ID: <5884972.post@talk.nabble.com> Did you ever resolve this issue? When I installed wxPython on a first PDA, it worked fine right away. However, I just installed it on a second one of the exact same model (Dell Axim X51v) with the exact same memory complement and have encountered the same problem you reported. I get the error message even when I run the software in an environment with more free memory than I have on the first PDA. I strongly suspect that the problem is not actually insufficient memory despite what the message says, but I have no idea what it might be. (Have I mentioned recently that I hate Windows Mobile?) Dmitry Belyaev wrote: > > My hx2110 has 64 MB onboard, I have installed PythonCE on MMS. I have only > 35 MB free main memory. > I already tryed to free memory up to 45 MB, but it didn't help. > _______________________________________________ > PythonCE mailing list > PythonCE at python.org > http://mail.python.org/mailman/listinfo/pythonce > > -- View this message in context: http://www.nabble.com/wxPython-for-PythonCE-announcement-tf2024801.html#a5884972 Sent from the Python - pythonce forum at Nabble.com. From george at goatadsl.co.uk Sat Aug 19 20:20:24 2006 From: george at goatadsl.co.uk (George) Date: Sat, 19 Aug 2006 19:20:24 +0100 Subject: [PythonCE] wxPython for PythonCE announcement In-Reply-To: <5884972.post@talk.nabble.com> References: <20060731115412.23788.qmail@flock1.newmail.ru> <20060731124148.29121.qmail@flock1.newmail.ru> <5884972.post@talk.nabble.com> Message-ID: <44E75668.102@goatadsl.co.uk> jeffbarish wrote: > Did you ever resolve this issue? When I installed wxPython on a first PDA, > it worked fine right away. However, I just installed it on a second one of > the exact same model (Dell Axim X51v) with the exact same memory complement > and have encountered the same problem you reported. I'm also getting the same problem running on a hw6915 with running Windows Mobile 5 and with about 25 megs free. http://mail.python.org/pipermail/pythonce/2005-July/001100.html is about all I could find on the what's going on. George From jeff_barish at earthlink.net Sun Aug 20 04:50:26 2006 From: jeff_barish at earthlink.net (jeffbarish) Date: Sat, 19 Aug 2006 19:50:26 -0700 (PDT) Subject: [PythonCE] wxPython for PythonCE announcement In-Reply-To: <5664562.post@talk.nabble.com> References: <5659673.post@talk.nabble.com> <5661054.post@talk.nabble.com> <5664562.post@talk.nabble.com> Message-ID: <5890311.post@talk.nabble.com> Here are descriptions of some problems I have encountered with the recent port of wxPython: 1. On startup, I get the error message: Please install a newer version of comctl32.dll (at least version 4.70 is required by you have 0.00) or this program will not operate correctly. 2. wx.NullColour does not work. To be precise, wx.SetBackgroundColour(wx.NullColour) and wx.SetTextColour(wx.NullColour) do not restore the default color. 3. Something is wrong with dc.Blit(). I use a logical function of wx.EQUIV to erase a background that I drew over text. The background gets erased, but the text changes to the color of the background and becomes 1 pixel wider. If I force a redraw, the text takes on the correct color and width and subsequent calls to dc.Blit() erase the background properly without changing the text color or width. 4. StaticBitmaps (type png) have strange sizing behavior. When I draw a 15-pixel circle on a 16-pixel background, the background extends beyond the available space and the circle is too big by a factor of 2. When I draw a 15-pixel circle on a 32-pixel background, the background is the same size (too big by a factor of 2) and the circle is the correct size. When the bitmap is type bmp, nothing appears. 5. There are no borders around controls, but that characteristic may be the native behavior on winCE. -- View this message in context: http://www.nabble.com/wxPython-for-PythonCE-announcement-tf2024801.html#a5890311 Sent from the Python - pythonce forum at Nabble.com. From jeff_barish at earthlink.net Tue Aug 22 02:05:05 2006 From: jeff_barish at earthlink.net (jeffbarish) Date: Mon, 21 Aug 2006 17:05:05 -0700 (PDT) Subject: [PythonCE] Seeking alternative to wxPython Message-ID: <5917335.post@talk.nabble.com> When I embarked on my programming project, I had hoped that my choice of wxPython would make it possible for me to run my program without too much difficulty on Linux, Win XP, Win Mobile, and OSX, but so far I have not been able to get it to run reliably on even one platform, least of all winCE. I had high hopes for the port recently announced by Ingmar Steen, but so far, at least, it suffers from the same problems that the earlier port had (although many other things are working better). Even the version that runs on XP has problems that don't seem to be getting resolved. Unfortunately, I am getting close to crunch time, so I can't wait much longer in the hope that a bug-free port will appear. Accordingly, I am beginning to cast about for a fallback. I have seen references here to Pythonwin, but I am not familiar with it. I gather that it contains the module win32gui and, if I understand correctly, that module provides an interface to the MFC routines for creating a GUI. I understand that wxPython uses native routines to actually draw the GUI elements, so if I am reasoning correctly it follows that wxPython is calling the same routines that I could call directly using win32gui. Thus, I should be able to do with win32gui anything that I am doing with wxPython -- unless win32gui is not complete. What I lose by using win32gui rather than wxPython is portability, but perhaps I would have better luck getting the program to run reliably on winCE. Is this reasoning correct? It looks as if the best documentation for Pythonwin is the book by Mark Hammond and Andy Robinson, but I note that it was published over 6 years ago. Is it still sufficiently current to be useful? Does anyone know whether a new edition is scheduled to appear soon? Is there more current documentation somewhere? Does Python Programming on WIN32 do an adequate job of explaining how to build GUIs using win32gui, or do I need documentation for the relevant portion of MFC as well? I hate the thought of rewriting my code again for a different GUI library. I was happy using Qt on a Sharp Zaurus running Linux, but when Sharp withdrew the Zaurus from the US market I could not find a suitable substitute. The only alternative I can think of in my current dilemma is to try to fix the bugs in the wxPython port myself, but I doubt that I have the skill. Still, I might give it a try (if the author is willing) before embarking on yet another rewrite. I would even consider hiring a consultant to work on the port, though previous efforts along this line have not borne fruit. -- View this message in context: http://www.nabble.com/Seeking-alternative-to-wxPython-tf2143593.html#a5917335 Sent from the Python - pythonce forum at Nabble.com. From mhammond at skippinet.com.au Tue Aug 22 06:02:46 2006 From: mhammond at skippinet.com.au (Mark Hammond) Date: Tue, 22 Aug 2006 14:02:46 +1000 Subject: [PythonCE] Seeking alternative to wxPython In-Reply-To: <5917335.post@talk.nabble.com> Message-ID: <026d01c6c59f$d41b51f0$2f0a0a0a@enfoldsystems.local> > When I embarked on my programming project, I had hoped that > my choice of > wxPython would make it possible for me to run my program > without too much > difficulty on Linux, Win XP, Win Mobile, and OSX, but so far > I have not been > able to get it to run reliably on even one platform, least of > all winCE. I > had high hopes for the port recently announced by Ingmar > Steen, but so far, > at least, it suffers from the same problems that the earlier port had > (although many other things are working better). Even the > version that runs > on XP has problems that don't seem to be getting resolved. If you are having problems with Windows XP, it would be brave to hope that Windows CE would have *less* problems . > I have seen references here to Pythonwin, but I am not > familiar with it. I > gather that it contains the module win32gui and, if I > understand correctly, > that module provides an interface to the MFC routines for > creating a GUI. Pythonwin and the win32ui module are MFC wrappers, and I suspect you will have some problems getting these to work on CE. The win32gui module (poor module names, I know...) wraps the native win32 GUI api and does not rely on MFC at all. As a result, it is fairly low-level, but is also less likely to get in your way too much. > I > understand that wxPython uses native routines to actually draw the GUI > elements, so if I am reasoning correctly it follows that > wxPython is calling > the same routines that I could call directly using win32gui. > Thus, I should > be able to do with win32gui anything that I am doing with > wxPython That is true to some extent - although the effort may be significantly more than you expect. I believe the widget set in wx is larger than Windows itself provides - which would mean wx implements these widgets itself using the 'lower-level' widgets (or even just the low-level drawing routines) as a framework. You theoretically could reimplement all such widgets using win32gui - but depending on the widget, that would be very difficult. In some cases, win32gui may not be complete enough to do everything - it doesn't cover *all* win32 GUI functions (but does cover the majority of the useful ones) > win32gui is not complete. What I lose by using win32gui rather than > wxPython is portability, but perhaps I would have better luck > getting the > program to run reliably on winCE. Is this reasoning correct? It depends on exactly what your program needs to do. Without knowing why wx fails on CE for you, I can't speculate if the same thing would be any easier using win32gui. > It looks as if the best documentation for Pythonwin is the > book by Mark > Hammond and Andy Robinson, but I note that it was published > over 6 years > ago. Is it still sufficiently current to be useful? Does anyone know > whether a new edition is scheduled to appear soon? The book doesn't cover win32gui in any detail at all - it does cover Pythonwin/win32ui in some detail, but that isn't what you want to use. We are starting work on a new edition this year, but that is unlikely to cover win32gui in any detail - the point of win32gui is a thin wrapper around the windows API, and the intent of the book is not to document that API. Similarly, the documentation that does existing for Pythonwin/win32ui doesn't attempt to be a tutorial in MFC programming - Microsoft already has lots of documentation on that. > Is there more current documentation somewhere? As above, given it is a thin wrapper, the only Python relevant documentation covers things like argument and return-value handling. There will be no attempt (by me) to write a tutorial on low-level win32 UI development. > Does Python Programming on WIN32 do > an adequate > job of explaining how to build GUIs using win32gui, or do I need > documentation for the relevant portion of MFC as well? The latter. > I hate the thought of rewriting my code again for a different > GUI library. > I was happy using Qt on a Sharp Zaurus running Linux, but when Sharp > withdrew the Zaurus from the US market I could not find a suitable > substitute. The only alternative I can think of in my > current dilemma is to > try to fix the bugs in the wxPython port myself, but I doubt > that I have the skill. If you can't get a Windows XP version working the way you want, I suspect you have a lot of work ahead of you to get a CE version working the way you want. If your only problem was that the CE port failed in some fundamental way (eg, failed to load), then I expect it would be a much simpler thing to fix. I've no real wx experience though. Sorry I can't offer more concrete advice, but I hope this helps anyway... Mark From george at goatadsl.co.uk Tue Aug 22 09:48:28 2006 From: george at goatadsl.co.uk (George) Date: Tue, 22 Aug 2006 08:48:28 +0100 Subject: [PythonCE] Seeking alternative to wxPython In-Reply-To: <5917335.post@talk.nabble.com> References: <5917335.post@talk.nabble.com> Message-ID: <44EAB6CC.3050400@goatadsl.co.uk> jeffbarish wrote: > When I embarked on my programming project, I had hoped that my choice of > wxPython would make it possible for me to run my program without too much > difficulty on Linux, Win XP, Win Mobile, and OSX, but so far I have not been > able to get it to run reliably on even one platform, least of all winCE. I'm not sure that'll be possible even if you can get everything working - the Window size on Mobile Devices is so small that you would probably need to design a GUI specifically to take account of that so there's perhaps less need for all the versions to be using the same toolkit. I've used the Windows desktop version for a few projects and haven't found any problems. "wxPython in Action" is quite a good introduction to using the toolkit. I also recommend downloading the pack of examples from the wxpython site. As alternatives to WxPython you could try... TKinter - This seems to work well on Windows Mobile although I've never been much of a fan of the toolkit. Microsoft eVC++ - If you're familiar with C++ this is free and comes with a GUI designer. You could possibly produce the GUI you wanted in that then link it and your python code together somehow. HTML - This is what I'm going to try when I come to wanting a GUI, running Python locally on the device as a HTTP server and returning a series of pages to be displayed in Mobile Internet Explorer, using CGI to handle user actions. George From bkc at murkworks.com Tue Aug 22 15:49:59 2006 From: bkc at murkworks.com (Brad Clements) Date: Tue, 22 Aug 2006 09:49:59 -0400 Subject: [PythonCE] Seeking alternative to wxPython In-Reply-To: <5917335.post@talk.nabble.com> Message-ID: <44EAD347.29617.61063106@bkc.murkworks.com> On 21 Aug 2006 at 17:05, jeffbarish wrote: > It looks as if the best documentation for Pythonwin is the book by > Mark Hammond and Andy Robinson, but I note that it was published over > 6 years ago. Is it still sufficiently current to be useful? Yes > Does Python Programming > on WIN32 do an adequate job of explaining how to build GUIs using > win32gui, or do I need documentation for the relevant portion of MFC > as well? I think it does a good job on basic windows and stuff. The nice thing of course is that you can test it on XP or something before trying it on CE. The only issue I recall is that some of the more advanced common controls don't exist on the CE platform. Another suggestion.. I think that ctypes was ported to Windows CE.. There's a package out there called Venster http://venster.sourceforge.net/htdocs/index.html It makes windows gui programming very easy. It doesn't use win32gui at all, but instead uses ctypes directly. You should be able to get venster to work on CE if ctypes works there. You may have to do some tweaking, but venster really makes windows easy. -- Brad Clements, bkc at murkworks.com (315)268-1000 http://www.murkworks.com AOL-IM or SKYPE: BKClements From davidpgil at gmail.com Tue Aug 22 18:04:24 2006 From: davidpgil at gmail.com (David P. Gil) Date: Tue, 22 Aug 2006 12:04:24 -0400 Subject: [PythonCE] IDE for Python on Windows Pocket PC? Message-ID: <17f9723f0608220904w2f0565b9s678b3f5641724b43@mail.gmail.com> Anyone know if any good IDEs for Python on Pocket PC? I installed PythonCE but it seems to only work in interactive mode. Does anyone know how to active script mode? Thanks! David -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/pythonce/attachments/20060822/20cabb30/attachment.htm From vinz83 at libero.it Tue Aug 22 20:33:06 2006 From: vinz83 at libero.it (Vincenzo Manzoni) Date: Tue, 22 Aug 2006 20:33:06 +0200 Subject: [PythonCE] IDE for Python on Windows Pocket PC? References: <17f9723f0608220904w2f0565b9s678b3f5641724b43@mail.gmail.com> Message-ID: <00cf01c6c619$699321d0$715a0557@casa> > Anyone know if any good IDEs for Python on Pocket PC? I develop my script with PyDev (http://pydev.sourceforge.net/), a plugin for Eclipse 3.2, and then I upload to my device. In order to do simply adjustements to my program, i use PocketNotepad; you can download for free at http://tillanosoft.com. >Does anyone know how to active script mode? Write a script and assign it the extension .py. Then, tap on it in Resource Explorer. Bye, Vincenzo -- Vincenzo Manzoni - www.vincenzomanzoni.com e-mail/MSN: ervincio at tiscali.it ICQ: 53662820 From sleepingbull at gmail.com Thu Aug 24 09:05:00 2006 From: sleepingbull at gmail.com (Matt S.) Date: Thu, 24 Aug 2006 00:05:00 -0700 Subject: [PythonCE] IDE for Python on Windows Pocket PC? In-Reply-To: <00cf01c6c619$699321d0$715a0557@casa> References: <17f9723f0608220904w2f0565b9s678b3f5641724b43@mail.gmail.com> <00cf01c6c619$699321d0$715a0557@casa> Message-ID: IdleCE seems to be a very good editor for the PPC. I found it in a bundle here, http://blogs.unixage.com/blojsom/blog/adam.kruszewski/python/ The bundle includes PythonCE 2.3.4 (not the latest) but it has some very interesting libraries (namely wx) and applications (IdleCE). Furthermore the bundle is basically set up to go on one's storage card (non-volatile memory) which seems wise to me. I recently benefited by running my python app from the storage card because upon using a faster memory card my program ran noticeably faster. I'm really happy with the wx port but one must often test their code on CE and not just on XP b/c debugging on CE can be tricky and when the gears get gummed up it is slow! Redirecting stdin/stdout really helps this problem. I second Vincenzo's recommendation for Eclipse and PyDev. I'm also using Subclipse with the two for Subversion control and it's very robust. I have encountered some issues when copying checked out code, editing it, and then overwriting the original checked out code. But I think I've resolved this by updating Eclipse and the plugins. Good luck, Matt On 8/22/06, Vincenzo Manzoni wrote: > > > Anyone know if any good IDEs for Python on Pocket PC? > > I develop my script with PyDev (http://pydev.sourceforge.net/), a plugin > for > Eclipse 3.2, and then I upload to my device. In order to do simply > adjustements to my program, i use PocketNotepad; you can download for free > at http://tillanosoft.com. > > >Does anyone know how to active script mode? > > Write a script and assign it the extension .py. Then, tap on it in > Resource > Explorer. > > Bye, > > Vincenzo > > > -- > Vincenzo Manzoni - www.vincenzomanzoni.com > > e-mail/MSN: ervincio at tiscali.it ICQ: 53662820 > _______________________________________________ > PythonCE mailing list > PythonCE at python.org > http://mail.python.org/mailman/listinfo/pythonce > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/pythonce/attachments/20060824/6f5c5257/attachment.htm From jeff_barish at earthlink.net Tue Aug 29 16:58:39 2006 From: jeff_barish at earthlink.net (jeffbarish) Date: Tue, 29 Aug 2006 07:58:39 -0700 (PDT) Subject: [PythonCE] wxPython for PythonCE announcement In-Reply-To: <5890311.post@talk.nabble.com> References: <5659673.post@talk.nabble.com> <5661054.post@talk.nabble.com> <5664562.post@talk.nabble.com> <5890311.post@talk.nabble.com> Message-ID: <6040700.post@talk.nabble.com> jeffbarish wrote: > > Here are descriptions of some problems I have encountered with the recent > port of wxPython: > 4. It would make some sense if the correct size for the StaticBitmap turned out to be an 8-pixel circle on an 8-pixel background because everything in wxPythonCE seems to be scaled down by a factor of 2 (and the correct size on XP is a 16-pixel circle on a 16-pixel background). However, the 8-pixel circle on an 8-pixel background draws as a dot. 8 in 16 looks about right, except that it is very pixelated -- that is, it is drawing in a size that is probably 2-4x bigger than it should. 6. The spacing of lines in a list control is larger in virtual mode than it is in normal mode. -- View this message in context: http://www.nabble.com/wxPython-for-PythonCE-announcement-tf2024801.html#a6040700 Sent from the Python - pythonce forum at Nabble.com.