From jigisbert.etra-id at grupoetra.com Mon Dec 3 14:38:11 2007 From: jigisbert.etra-id at grupoetra.com (Jose Ignacio Gisbert) Date: Mon, 3 Dec 2007 14:38:11 +0100 Subject: [PythonCE] Tkinter gif problem on PythonCE Message-ID: <000801c835b1$c23759b0$2000a8c0@depid.local> Hi all, I am using PythonCE 2.5 in my PDA, and Python2.5 in my desktop pc. When I see Tkinter buttons with gif images on my desktop, everything is seen normally, but when I try to see the same on my pda, gif images are completely unrecognizable. However, if I try to open any of this gif images on my pda without PythonCE (in my case, with windows 2003SE, it opens them with pocket internet explorer by default), I can see them perfectly!!. I don?t understand why I can not see them well on my Tk application, if anyone could tell me, I will be very pleased. Thanks in advance!! Best Regards, _______________________________ Jos? Ignacio Gisbert Sanus -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/pythonce/attachments/20071203/d1d55a2c/attachment.htm From mdipierro at cs.depaul.edu Mon Dec 3 16:02:10 2007 From: mdipierro at cs.depaul.edu (Massimo Di Pierro) Date: Mon, 3 Dec 2007 09:02:10 -0600 Subject: [PythonCE] Tkinter gif problem on PythonCE In-Reply-To: <000801c835b1$c23759b0$2000a8c0@depid.local> References: <000801c835b1$c23759b0$2000a8c0@depid.local> Message-ID: <8F2F9C47-6931-4DC5-B6E7-1A99CDEF342E@cs.depaul.edu> Hi everybody, where can find downloads and instructions for installing pythonce? does it come with the thread module? if so, do you think I may be able to run Gluon (http:// mdp.cti.depaul.edu) or should I expect any major obstacle? Thank you Massimo From frederic.mantegazza at gbiloba.org Mon Dec 3 17:43:35 2007 From: frederic.mantegazza at gbiloba.org (=?iso-8859-15?q?Fr=E9d=E9ric_Mantegazza?=) Date: Mon, 3 Dec 2007 17:43:35 +0100 Subject: [PythonCE] lxml Message-ID: <200712031743.35979.frederic.mantegazza@gbiloba.org> Hello, Is there a port of lxml (based on libxml2) for PythonCE? Thanks, -- Fr?d?ric http://www.gbiloba.org From alexandre.delattre at enst-bretagne.fr Mon Dec 3 22:24:06 2007 From: alexandre.delattre at enst-bretagne.fr (Alexandre Delattre) Date: Mon, 03 Dec 2007 22:24:06 +0100 Subject: [PythonCE] Tkinter gif problem on PythonCE References: 000801c835b1$c23759b0$2000a8c0@depid.local Message-ID: <475473F6.6060508@enst-bretagne.fr> > Hi everybody, > where can find downloads and instructions for installing pythonce? For PythonCE instructions, the wiki is your friend : http://pythonce.sourceforge.net/Wikka/HomePage > does it come with the thread module? Yes. Limitations and differences of pythonce from regular Python are shown here: http://pythonce.sourceforge.net/Wikka/WindowsCEDifferences > if so, do you think I may be able to run Gluon (http:// > mdp.cti.depaul.edu) or should I expect any major obstacle The django framework works well on pythonce, so I think Gluon should work with no or little effort. Regards, Alexandre From alexandre.delattre at enst-bretagne.fr Mon Dec 3 22:37:50 2007 From: alexandre.delattre at enst-bretagne.fr (Alexandre Delattre) Date: Mon, 03 Dec 2007 22:37:50 +0100 Subject: [PythonCE] lxml Message-ID: <4754772E.9000406@enst-bretagne.fr> Hi, Afaik there's no port of lxml yet. A starting point would be a port of libxml2 itself. Anyway have you tried ElementTree which is shipped with PythonCE 2.5 ? Lxml based it's API on it, so basic XML infoset manipulation is exactly the same in etree, but works out of the box. http://docs.python.org/lib/module-xml.etree.ElementTree.html Maybe you're interested in the standards support of lxml ( XPath, XSLT, schemas validation ...), in which case I advise you a pure python solution (http://4suite.org/index.xhtml) Regards, Alexandre From frederic.mantegazza at gbiloba.org Mon Dec 3 23:13:12 2007 From: frederic.mantegazza at gbiloba.org (=?iso-8859-15?q?Fr=E9d=E9ric_Mantegazza?=) Date: Mon, 3 Dec 2007 23:13:12 +0100 Subject: [PythonCE] lxml In-Reply-To: <4754772E.9000406@enst-bretagne.fr> References: <4754772E.9000406@enst-bretagne.fr> Message-ID: <200712032313.12694.frederic.mantegazza@gbiloba.org> On lundi 03 d?cembre 2007, Alexandre Delattre wrote: > Afaik there's no port of lxml yet. A starting point would be a port of > libxml2 itself. I guessed it would be the problem :o/ > Anyway have you tried ElementTree which is shipped with PythonCE 2.5 ? > Lxml based it's API on it, so basic XML infoset manipulation is exactly > the same in etree, but works out of the box. > > http://docs.python.org/lib/module-xml.etree.ElementTree.html Yes, you're right! I can use ET, as I only need to generate a xml tree. I think I can avoid usage of XPath... > Maybe you're interested in the standards support of lxml ( XPath, XSLT, > schemas validation ...), in which case I advise you a pure python > solution (http://4suite.org/index.xhtml) Interesting, but as I already know lxml, I will focus on ET. Thanks :o) -- Fr?d?ric http://www.gbiloba.org From jigisbert.etra-id at grupoetra.com Tue Dec 4 08:08:38 2007 From: jigisbert.etra-id at grupoetra.com (Jose Ignacio Gisbert) Date: Tue, 4 Dec 2007 08:08:38 +0100 Subject: [PythonCE] RV: Tkinter gif problem on PythonCE Message-ID: <005701c83644$7eab4a10$2000a8c0@depid.local> First of all, Alexandre, next time write a new mail and not answer people question with yours, please. Second, I will write down the original question, if anyone knows why this thing happens, it would be very helpful for me, thanks in advance! Hi all, I am using PythonCE 2.5 in my PDA, and Python2.5 in my desktop pc. When I see Tkinter buttons with gif images on my desktop, everything is seen normally, but when I try to see the same on my pda, gif images are completely unrecognizable. However, if I try to open any of this gif images on my pda without PythonCE (in my case, with windows 2003SE, it opens them with pocket internet explorer by default), I can see them perfectly!!. I don?t understand why I can not see them well on my Tk application, if anyone could tell me, I will be very pleased. Thanks in advance!! Best Regards, _______________________________ Jos? Ignacio Gisbert Sanus From jigisbert.etra-id at grupoetra.com Tue Dec 4 09:13:04 2007 From: jigisbert.etra-id at grupoetra.com (Jose Ignacio Gisbert) Date: Tue, 4 Dec 2007 09:13:04 +0100 Subject: [PythonCE] Explorer button doubt Message-ID: <000001c8364d$7f23bf50$2000a8c0@depid.local> Hi again! Does anybody know how to make a button that let the user explore pocket pc file system for selecting one file?? (I already know how to make a button, so this part can be omitted :-) ). Thanks in advance! Best regards, _______________________________ Naxo -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/pythonce/attachments/20071204/f74c1ab9/attachment-0001.htm From frederic.mantegazza at gbiloba.org Tue Dec 4 10:05:08 2007 From: frederic.mantegazza at gbiloba.org (=?ISO-8859-1?Q?Fr=E9d=E9ric?= Mantegazza) Date: Tue, 4 Dec 2007 10:05:08 +0100 (CET) Subject: [PythonCE] Explorer button doubt In-Reply-To: <000001c8364d$7f23bf50$2000a8c0@depid.local> Message-ID: <46l4mLsl.1196759107.9805660.fma@alezan.org> Le 4/12/2007, "Jose Ignacio Gisbert" a ?crit: >Does anybody know how to make a button that let the user explore pocket pc >file system for selecting one file?? (I already know how to make a button, >so this part can be omitted :-) ). It depends of the toolkit. Which one are you using? -- Fr?d?ric From jigisbert.etra-id at grupoetra.com Tue Dec 4 10:09:45 2007 From: jigisbert.etra-id at grupoetra.com (Jose Ignacio Gisbert) Date: Tue, 4 Dec 2007 10:09:45 +0100 Subject: [PythonCE] Explorer button doubt In-Reply-To: <46l4mLsl.1196759107.9805660.fma@alezan.org> References: <000001c8364d$7f23bf50$2000a8c0@depid.local> <46l4mLsl.1196759107.9805660.fma@alezan.org> Message-ID: <001001c83655$6ba95a40$2000a8c0@depid.local> I am using Python 2.5 with Tkinter Naxo -----Mensaje original----- De: pythonce-bounces at python.org [mailto:pythonce-bounces at python.org] En nombre de Fr?d?ric Mantegazza Enviado el: martes, 04 de diciembre de 2007 10:05 Para: pythonce at python.org Asunto: Re: [PythonCE] Explorer button doubt Le 4/12/2007, "Jose Ignacio Gisbert" a ?crit: >Does anybody know how to make a button that let the user explore pocket pc >file system for selecting one file?? (I already know how to make a button, >so this part can be omitted :-) ). It depends of the toolkit. Which one are you using? -- Fr?d?ric _______________________________________________ PythonCE mailing list PythonCE at python.org http://mail.python.org/mailman/listinfo/pythonce From frederic.mantegazza at gbiloba.org Tue Dec 4 12:43:13 2007 From: frederic.mantegazza at gbiloba.org (=?ISO-8859-1?Q?Fr=E9d=E9ric?= Mantegazza) Date: Tue, 4 Dec 2007 12:43:13 +0100 (CET) Subject: [PythonCE] Explorer button doubt In-Reply-To: <001001c83655$6ba95a40$2000a8c0@depid.local> Message-ID: Le 4/12/2007, "Jose Ignacio Gisbert" a ?crit: >I am using Python 2.5 with Tkinter Ok, have a look here: http://www.astro.washington.edu/owen/TkinterSummary.html#ExtraModules (hope this module exists under PythonCE)... -- Fr?d?ric From jigisbert.etra-id at grupoetra.com Wed Dec 5 08:36:19 2007 From: jigisbert.etra-id at grupoetra.com (Jose Ignacio Gisbert) Date: Wed, 5 Dec 2007 08:36:19 +0100 Subject: [PythonCE] RV: Receiving messages blocks all :-( Message-ID: <001501c83711$88b4a150$2000a8c0@depid.local> First, sorry for sending this mail to this list, I know this is off-topic, but xmpppy-devel mailing list is out of work :-( If someone uses xmpppy, please try to answer me, or at least give me a more adequate mailing list, please. Thank you. ---------------------------------------------------------------------------- ---------------------------------------------------------------------------- --------- Hi all, I am a newby in xmppy, and I want to make a very simple messaging jabber client. As I read from different tutorials, it seems very easy, in fact, I can send messages to other jabber clients from my ?poor? application, but the problem appears when I try to receive messages. I do more or less what Sebastian Moors explains in his ?xmpppy: a practical guide?, i.e (code fragment): def StepOn(conn): try: conn.Process(1) except KeyboardInterrupt: return 0 return 1 def GoOn(conn): while StepOn(conn): pass cl=xmpp.Client(jid.getDomain(),debug=[]) cl.connect() cl.auth(jid.getNode(),jidparams['password']) cl.sendInitPresence() cl.RegisterHandler('message',messageCB) cl.RegisterHandler('presence',presenceCB) GoOn(cl) But when my application enters in GoOn loop, it completely freezes (I have to shut down it by force). Anyone knows why or knows another solution for receiving messages?, I?m using Windows but I don?t think it is the problem. Thanks in advance, best regards, _______________________________ Jos? Ignacio Gisbert Sanus -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/pythonce/attachments/20071205/f9437997/attachment.htm From mdipierro at cs.depaul.edu Sat Dec 8 01:14:19 2007 From: mdipierro at cs.depaul.edu (Massimo Di Pierro) Date: Fri, 7 Dec 2007 18:14:19 -0600 Subject: [PythonCE] Tkinter gif problem on PythonCE In-Reply-To: <475473F6.6060508@enst-bretagne.fr> References: 000801c835b1$c23759b0$2000a8c0@depid.local <475473F6.6060508@enst-bretagne.fr> Message-ID: Hello everybody, I managed to run Gluon on my phone with very minor tweaks (there is file locking on windows ce?). Here is a screenshot. http://mdp.cti.depaul.edu/examples/static/gluonce.jpg but only applications that do not use sqlite3 seem to work even if the module is there. Not sure yet if connect fails or os.path.join does Is there any known problem with sqlite3 or os.path.join in python2.5 for windowsce? Massimo On Dec 3, 2007, at 3:24 PM, Alexandre Delattre wrote: >> Hi everybody, > >> where can find downloads and instructions for installing pythonce? > > For PythonCE instructions, the wiki is your friend : http:// > pythonce.sourceforge.net/Wikka/HomePage > >> does it come with the thread module? > > Yes. Limitations and differences of pythonce from regular Python > are shown here: > http://pythonce.sourceforge.net/Wikka/WindowsCEDifferences > >> if so, do you think I may be able to run Gluon (http:// >> mdp.cti.depaul.edu) or should I expect any major obstacle > > The django framework works well on pythonce, so I think Gluon > should work with no or little effort. > > Regards, > Alexandre > > > _______________________________________________ > PythonCE mailing list > PythonCE at python.org > http://mail.python.org/mailman/listinfo/pythonce From mdipierro at cs.depaul.edu Sat Dec 8 01:28:06 2007 From: mdipierro at cs.depaul.edu (Massimo Di Pierro) Date: Fri, 7 Dec 2007 18:28:06 -0600 Subject: [PythonCE] Tkinter gif problem on PythonCE In-Reply-To: References: 000801c835b1$c23759b0$2000a8c0@depid.local <475473F6.6060508@enst-bretagne.fr> Message-ID: Please ignore. It was a problem with relative paths. sqlite3 works great. Massimo On Dec 7, 2007, at 6:14 PM, Massimo Di Pierro wrote: > Hello everybody, > > I managed to run Gluon on my phone with very minor tweaks (there is > file locking on windows ce?). Here is a screenshot. > > http://mdp.cti.depaul.edu/examples/static/gluonce.jpg > > but only applications that do not use sqlite3 seem to work even if > the module is there. Not sure yet if connect fails or os.path.join > does > > Is there any known problem with sqlite3 or os.path.join in python2.5 > for windowsce? > > Massimo > > On Dec 3, 2007, at 3:24 PM, Alexandre Delattre wrote: > >>> Hi everybody, >> >>> where can find downloads and instructions for installing pythonce? >> >> For PythonCE instructions, the wiki is your friend : http:// >> pythonce.sourceforge.net/Wikka/HomePage >> >>> does it come with the thread module? >> >> Yes. Limitations and differences of pythonce from regular Python >> are shown here: >> http://pythonce.sourceforge.net/Wikka/WindowsCEDifferences >> >>> if so, do you think I may be able to run Gluon (http:// >>> mdp.cti.depaul.edu) or should I expect any major obstacle >> >> The django framework works well on pythonce, so I think Gluon >> should work with no or little effort. >> >> Regards, >> Alexandre >> >> >> _______________________________________________ >> PythonCE mailing list >> PythonCE at python.org >> http://mail.python.org/mailman/listinfo/pythonce > > _______________________________________________ > PythonCE mailing list > PythonCE at python.org > http://mail.python.org/mailman/listinfo/pythonce From jigisbert.etra-id at grupoetra.com Thu Dec 13 13:27:32 2007 From: jigisbert.etra-id at grupoetra.com (Jose Ignacio Gisbert) Date: Thu, 13 Dec 2007 13:27:32 +0100 Subject: [PythonCE] GIF is not correctly displayed ini Tkinter Message-ID: <000001c83d83$8975fbc0$2000a8c0@depid.local> Hi all, >From my pocket PC, if I open a gif image, it opens it with pocket Internet Explorer and it is perfeclty viewed. However, if I use the same gif image as "image" propriety for a tkinter button, it is viewed very badly, like as its graphics were corrupted or something similar. Someone knows if tkinter for pythonCE has any limitation?? Thanks in advance, Best Regards, Naxo -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/pythonce/attachments/20071213/b9cc9f8f/attachment.htm From ronaldoussoren at mac.com Thu Dec 13 14:47:35 2007 From: ronaldoussoren at mac.com (Ronald Oussoren) Date: Thu, 13 Dec 2007 14:47:35 +0100 Subject: [PythonCE] How does one build PythonCE? Message-ID: Hi, I'm working on an PocketPC application that embeds Python. Until recently I used MS embedded VC++ and reused the binary distribution for PythonCE. That worked for the most part (although IIRC I had to patch header files to get my code linked). We recently switched to MS Visual Studio 2005 and now I'm wondering how to build a fresh Python binary using that. I've download the source patches from SF.net and applied those to the head of Python's release25-maint branch. I then build using 'scons.bat' in the PCbuild/ WinCE directory which, after some patching, results in an executable. So far, so good. That doesn't include the sqlite extension though, and when I use 'scons.bat cab' I get an error about not finding the sqlite3 header files. The reason for that is obvious, the solution is less so. The build complains because I have to download the sqlite sources and store them somewhere, but I have no idea where they should be stored. Does anyone here know that? BTW. Is there any documentation on the build process? I've been reverse engenering the build procedure and that's no fun when you're on an unfamiliar platform. Ronald From christopher at christec.co.nz Thu Dec 13 21:48:37 2007 From: christopher at christec.co.nz (Christopher Fairbairn) Date: Thu, 13 Dec 2007 15:48:37 -0500 Subject: [PythonCE] How does one build PythonCE? Message-ID: <20071213205524.C67981E400A@bag.python.org> Hi, On Fri Dec 14 1:47 , Ronald Oussoren sent: >We recently switched to MS Visual Studio 2005 and now I'm wondering >how to build a fresh Python binary using that. I've download the >source patches from SF.net and applied those to the head of Python's >release25-maint branch. I then build using 'scons.bat' in the PCbuild/ >WinCE directory which, after some patching, results in an executable. >So far, so good. I've got some patches to msevc.py so that the build should autodetect the presence of either EVC or Visual Studio 2005 (or 2008) and configure the build process correctly. I just haven't had time to tidy them up and publish them. Maybe I'll get some time over the Christmas break. Would you be keen of giving these patches a "beta test" on your system once I've got them ready? Likewise if you have any patches to allow building against release25-maint I'd be interested in combining them with my current improvements to the port. >That doesn't include the sqlite extension though, and when I use >'scons.bat cab' I get an error about not finding the sqlite3 header >files. The reason for that is obvious, the solution is less so. The >build complains because I have to download the sqlite sources and >store them somewhere, but I have no idea where they should be stored. The download of PythonCE source code would have placed the source in a directory called "Python-2.5". You need to place the sqlite-ce source code in a directory beside this folder (i.e. the main folder has both a Python-2.5 and Sqlite subfolder). The name it should have depends upon the exact version of sqlite your PythonCE source code has been hardcoded for. For my current branch I need to place it into a directory called sqlite-source-3.3.5-wince. The exact path can be determined by opening up the SConstruct file. It should have a line containing a line like the following: sqlite_source = '#../../../sqlite-source-3.3.5-wince' Hope this helps, Christopher Fairbairn From josepharmbruster at gmail.com Thu Dec 13 22:03:04 2007 From: josepharmbruster at gmail.com (Joseph Armbruster) Date: Thu, 13 Dec 2007 16:03:04 -0500 Subject: [PythonCE] How does one build PythonCE? In-Reply-To: <20071213205524.C67981E400A@bag.python.org> References: <20071213205524.C67981E400A@bag.python.org> Message-ID: <938f42d70712131303q7c06336eq802a7ac702badd65@mail.gmail.com> Christopher, I'll help you test it out. Let the list know when it's ready, or you can email me directly Joseph Armbruster On Dec 13, 2007 3:48 PM, Christopher Fairbairn wrote: > Hi, > > On Fri Dec 14 1:47 , Ronald Oussoren sent: > >We recently switched to MS Visual Studio 2005 and now I'm wondering > >how to build a fresh Python binary using that. I've download the > >source patches from SF.net and applied those to the head of Python's > >release25-maint branch. I then build using 'scons.bat' in the PCbuild/ > >WinCE directory which, after some patching, results in an executable. > >So far, so good. > > I've got some patches to msevc.py so that the build should autodetect the > presence > of either EVC or Visual Studio 2005 (or 2008) and configure the build > process > correctly. I just haven't had time to tidy them up and publish them. Maybe > I'll get > some time over the Christmas break. > > Would you be keen of giving these patches a "beta test" on your system > once I've > got them ready? > > Likewise if you have any patches to allow building against release25-maint > I'd be > interested in combining them with my current improvements to the port. > > >That doesn't include the sqlite extension though, and when I use > >'scons.bat cab' I get an error about not finding the sqlite3 header > >files. The reason for that is obvious, the solution is less so. The > >build complains because I have to download the sqlite sources and > >store them somewhere, but I have no idea where they should be stored. > > The download of PythonCE source code would have placed the source in a > directory > called "Python-2.5". You need to place the sqlite-ce source code in a > directory > beside this folder (i.e. the main folder has both a Python-2.5 and Sqlite > subfolder). The name it should have depends upon the exact version of > sqlite your > PythonCE source code has been hardcoded for. For my current branch I need > to place > it into a directory called sqlite-source-3.3.5-wince. > > The exact path can be determined by opening up the SConstruct file. It > should have > a line containing a line like the following: > > sqlite_source = '#../../../sqlite-source-3.3.5-wince' > > Hope this helps, > Christopher Fairbairn > _______________________________________________ > 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/20071213/128bde0e/attachment.htm From coder_infidel at hotmail.com Fri Dec 14 11:10:05 2007 From: coder_infidel at hotmail.com (Luke Dunstan) Date: Fri, 14 Dec 2007 19:10:05 +0900 Subject: [PythonCE] How does one build PythonCE? In-Reply-To: References: Message-ID: -------------------------------------------------- From: "Ronald Oussoren" Sent: Thursday, December 13, 2007 10:47 PM To: Subject: [PythonCE] How does one build PythonCE? > Hi, > > I'm working on an PocketPC application that embeds Python. Until > recently I used MS embedded VC++ and reused the binary distribution > for PythonCE. That worked for the most part (although IIRC I had to > patch header files to get my code linked). > > We recently switched to MS Visual Studio 2005 and now I'm wondering > how to build a fresh Python binary using that. I've download the > source patches from SF.net and applied those to the head of Python's > release25-maint branch. I then build using 'scons.bat' in the PCbuild/ > WinCE directory which, after some patching, results in an executable. > So far, so good. > > That doesn't include the sqlite extension though, and when I use > 'scons.bat cab' I get an error about not finding the sqlite3 header > files. The reason for that is obvious, the solution is less so. The > build complains because I have to download the sqlite sources and > store them somewhere, but I have no idea where they should be stored. > Does anyone here know that? > > BTW. Is there any documentation on the build process? I've been > reverse engenering the build procedure and that's no fun when you're > on an unfamiliar platform. > > Ronald The file README-WinCE.txt should describe how to build it, but it looks like I forgot the part about SQLite, sorry. Luke From ronaldoussoren at mac.com Fri Dec 14 11:35:11 2007 From: ronaldoussoren at mac.com (Ronald Oussoren) Date: Fri, 14 Dec 2007 02:35:11 -0800 Subject: [PythonCE] How does one build PythonCE? In-Reply-To: <20071213205524.C67981E400A@bag.python.org> References: <20071213205524.C67981E400A@bag.python.org> Message-ID: <9F1539B7-0116-1000-FC79-6CC19960EA83-Webmail-10008@mac.com> On Thursday, December 13, 2007, at 09:56PM, "Christopher Fairbairn" wrote: >Hi, > >On Fri Dec 14 1:47 , Ronald Oussoren sent: >>We recently switched to MS Visual Studio 2005 and now I'm wondering >>how to build a fresh Python binary using that. I've download the >>source patches from SF.net and applied those to the head of Python's >>release25-maint branch. I then build using 'scons.bat' in the PCbuild/ >>WinCE directory which, after some patching, results in an executable. >>So far, so good. > >I've got some patches to msevc.py so that the build should autodetect the presence >of either EVC or Visual Studio 2005 (or 2008) and configure the build process >correctly. I just haven't had time to tidy them up and publish them. Maybe I'll get >some time over the Christmas break. > >Would you be keen of giving these patches a "beta test" on your system once I've >got them ready? Sure. > >Likewise if you have any patches to allow building against release25-maint I'd be >interested in combining them with my current improvements to the port. I had to do a number of small patches to get going, I'll clean those up when my project is building. IIRC all patches were locations where new code assumed that all Windows systems are desktop windows. > >>That doesn't include the sqlite extension though, and when I use >>'scons.bat cab' I get an error about not finding the sqlite3 header >>files. The reason for that is obvious, the solution is less so. The >>build complains because I have to download the sqlite sources and >>store them somewhere, but I have no idea where they should be stored. > >The download of PythonCE source code would have placed the source in a directory >called "Python-2.5". You need to place the sqlite-ce source code in a directory >beside this folder (i.e. the main folder has both a Python-2.5 and Sqlite >subfolder). The name it should have depends upon the exact version of sqlite your >PythonCE source code has been hardcoded for. For my current branch I need to place >it into a directory called sqlite-source-3.3.5-wince. > >The exact path can be determined by opening up the SConstruct file. It should have >a line containing a line like the following: > >sqlite_source = '#../../../sqlite-source-3.3.5-wince' Thanks for the tips, that should help me get going with pysqlite support. Am I correct when assuming that I have to use the sqlite version at http://sqlite-wince.sourceforge.net/? That would explain why I got nowhere before, I had downloaded the stock sqlite distribution. Now I just have to find why VSC++2005 wants to link my project with the rtti CRT (which it cannot find), even though I've disabled rtti in my own project and the wxWidgets on. That's not Python specific, so I won't bore you with that. Ronald From coder_infidel at hotmail.com Sat Dec 15 07:41:48 2007 From: coder_infidel at hotmail.com (Luke Dunstan) Date: Sat, 15 Dec 2007 15:41:48 +0900 Subject: [PythonCE] How does one build PythonCE? In-Reply-To: <20071213205524.C67981E400A@bag.python.org> <9F1539B7-0116-1000-FC79-6CC19960EA83-Webmail-10008@mac.com> References: <20071213205524.C67981E400A@bag.python.org> <9F1539B7-0116-1000-FC79-6CC19960EA83-Webmail-10008@mac.com> Message-ID: -------------------------------------------------- From: "Ronald Oussoren" Sent: Friday, December 14, 2007 7:35 PM To: Cc: Subject: Re: [PythonCE] How does one build PythonCE? > > On Thursday, December 13, 2007, at 09:56PM, "Christopher Fairbairn" > wrote: >>The download of PythonCE source code would have placed the source in a >>directory >>called "Python-2.5". You need to place the sqlite-ce source code in a >>directory >>beside this folder (i.e. the main folder has both a Python-2.5 and Sqlite >>subfolder). The name it should have depends upon the exact version of >>sqlite your >>PythonCE source code has been hardcoded for. For my current branch I need >>to place >>it into a directory called sqlite-source-3.3.5-wince. >> >>The exact path can be determined by opening up the SConstruct file. It >>should have >>a line containing a line like the following: >> >>sqlite_source = '#../../../sqlite-source-3.3.5-wince' > > Thanks for the tips, that should help me get going with pysqlite support. > Am I correct when assuming that I have to use the sqlite version at > http://sqlite-wince.sourceforge.net/? That would explain why I got > nowhere before, I had downloaded the stock sqlite distribution. No. Just get the stock SQLite and apply the patch that is included with PythonCE. Luke > > Now I just have to find why VSC++2005 wants to link my project with the > rtti CRT (which it cannot find), even though I've disabled rtti in my own > project and the wxWidgets on. That's not Python specific, so I won't bore > you with that. > > Ronald From ronaldoussoren at mac.com Thu Dec 20 16:53:48 2007 From: ronaldoussoren at mac.com (Ronald Oussoren) Date: Thu, 20 Dec 2007 16:53:48 +0100 Subject: [PythonCE] Python-2.5-20071004 vs Pocket PC 2003 Message-ID: <01DB76B0-CDD4-4096-A902-A9DA54433519@mac.com> Hi, De description for the Python-2.5-20071004 download on SF says that this version will run on "any Windows Mobile 2003 or higher device". I'm trying to run this on device that claims to run "Microsoft Pocket PC 4.20.0 (Build 14053)", and on that device the OS claims it cannot run python (using a generic message about possibly missing components). The 2006 build works fine on that system. Is that expected behaviour? Ronald -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2224 bytes Desc: not available Url : http://mail.python.org/pipermail/pythonce/attachments/20071220/c7f72d3f/attachment.bin From christopher at christec.co.nz Fri Dec 21 00:19:31 2007 From: christopher at christec.co.nz (Christopher Fairbairn) Date: Thu, 20 Dec 2007 18:19:31 -0500 Subject: [PythonCE] Python-2.5-20071004 vs Pocket PC 2003 Message-ID: <20071220231937.6A7371E400E@bag.python.org> Hi, On Fri Dec 21 3:53 , Ronald Oussoren sent: >De description for the Python-2.5-20071004 download on SF says that >this version will run on "any Windows Mobile 2003 or higher device". >I'm trying to run this on device that claims to run "Microsoft Pocket >PC 4.20.0 (Build 14053)", and on that device the OS claims it cannot >run python (using a generic message about possibly missing >components). The 2006 build works fine on that system. Sorry this is possibly true. However I am currently away on holiday without much internet connectivity so can not completely determine this as the case. >From memory one release I made accidentally had the requried OS version set as 4.21 (i.e. Windows Mobile 2003 Second Edition), meaning the executables wouldn't run on plain Windows Mobile 2003 devices. I didn't pick this up until it was released as I don't have any 2003 powered devices, and the emulators for 2003 run Windows Mobile 2003 Second Edition. Perhaps in the new year, once I get back from holiday there may be a new release. I'll fix up this issue at that stage although I may need some help in testing it. Sorry, Christopher Fairbairn From ronaldoussoren at mac.com Fri Dec 21 00:35:14 2007 From: ronaldoussoren at mac.com (Ronald Oussoren) Date: Fri, 21 Dec 2007 00:35:14 +0100 Subject: [PythonCE] Python-2.5-20071004 vs Pocket PC 2003 In-Reply-To: <200712202319.lBKNJXul009422@mac.com> References: <200712202319.lBKNJXul009422@mac.com> Message-ID: <9989F721-7D12-4E74-8C3D-213E166AE87E@mac.com> On 21 Dec, 2007, at 0:19, Christopher Fairbairn wrote: > Hi, > > On Fri Dec 21 3:53 , Ronald Oussoren sent: >> De description for the Python-2.5-20071004 download on SF says that >> this version will run on "any Windows Mobile 2003 or higher device". >> I'm trying to run this on device that claims to run "Microsoft Pocket >> PC 4.20.0 (Build 14053)", and on that device the OS claims it cannot >> run python (using a generic message about possibly missing >> components). The 2006 build works fine on that system. > > Sorry this is possibly true. However I am currently away on holiday > without much > internet connectivity so can not completely determine this as the > case. > > From memory one release I made accidentally had the requried OS > version set as > 4.21 (i.e. Windows Mobile 2003 Second Edition), meaning the > executables wouldn't > run on plain Windows Mobile 2003 devices. > > I didn't pick this up until it was released as I don't have any 2003 > powered > devices, and the emulators for 2003 run Windows Mobile 2003 Second > Edition. > > Perhaps in the new year, once I get back from holiday there may be a > new release. > I'll fix up this issue at that stage although I may need some help > in testing it. > > Sorry, > Christopher Fairbairn No worries :-). If this is unintentional I'll see if I can find the required setting, although just waiting for a new release would be fine too because that version works fine. I'm available for testing, although I cannot promise prompt response because the actual device is located in an office I visit at most once a week. Ronald P.S. Thanks for working on a Python release for Windows CE, having Python there is very convenient. -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2224 bytes Desc: not available Url : http://mail.python.org/pipermail/pythonce/attachments/20071221/14af8dec/attachment.bin From frederic.mantegazza at gbiloba.org Sun Dec 30 12:01:19 2007 From: frederic.mantegazza at gbiloba.org (=?iso-8859-15?q?Fr=E9d=E9ric_Mantegazza?=) Date: Sun, 30 Dec 2007 12:01:19 +0100 Subject: [PythonCE] Help to port an application to PythonCE Message-ID: <200712301201.20617.frederic.mantegazza@gbiloba.org> Hello, I'm looking for someone who could help me to port my python app to PythonCE. I succefully run it under linux and win32. I haven't yet buy a PocketPC, because I don't know which model I need (if you have advices, according to the app I'm developping...). The application is a controller which turns an astronomic head into a panoramic head. The project is here (sorry, in french only for the moment) : http://www.autopano.fr/wiki/action/view/T%C3%AAte_astronomique_Multi-fonctions_Merlin The first beta version can be downloaded here: http://www.autopano.net/forum/p18936-2007-12-28-22-22-08#p18936 The head is driven through a little interface (mainly a serial converter), so the PocketPC needs a serial port. About the software, I need to know several things: 1) Which resolution should I expect from PocketPC? As I would like to buy an old one, what are the lowest resolution? 2) How do I retreive 'home dir' and 'temp dir' paths under windows, and under PocketPC? If you are interested by this project, feel free to contact me ;o) Thanks, PS : the project can be run without visual, but I realised that my test for the pyserial module is not correct. If you don't want to install it, just create a serial.py file in the PYHTONPATH dir... -- Fr?d?ric http://www.gbiloba.org