Re: [PythonCE] wxPython for PythonCE announcement

2006-10-17 Thread Bandung

I still think that the problem is related to hard coded paths in the binary. 
While the actual name of the storage card might not be the problem, what
appears more certain is that the program can't find the necessary files -
either because of the default paths that the author uses or because the
names don't agree with what I have on my pda.

My problems don't relate to how I get my scripts over to the pda since I do
not use ActiveSync, preferring to transfer files either via wifi or
bluetooth.  It seems to me that the only common denominator is that this app
runs better from main memory and not from a storage card.  There is no way
that I can free up enough space to run this baby from main memory.  There
are other apps that I prefer to give this precious memory space to rather
than pythonce and its evil twin sister, wxPythonce.  

For wxpythonce to work from my storage card, methinks that the author will
have to change the paths so that the necessary files can be located.  I vote
for adding \Storage Card\Program Files\Python24\Lib\wxto the mix.

This problem can only get worst, the more python distributions one has. 
Currently, I keep python 2.3.4, python2.4.2 and python 2.5 on my storage
card.  which means that there are actually three python directories, not
one.  So while his paths  might work for python 2.4.x, they won't work with
my python 2.5 or python 2.3.x installs.  Interesting enough for me,  I can't
get the python 2.3 version of wx to run with python 2.3 either.  While I can
at least type import wx using the 2.3 versions of both products and not
have the device blow up or produce an error, I can't run any programs
because, again, certain files can't be found.

Given all of the little show stopping gotchas that I've experienced with (a)
the tk8.4.dll blowing up my combobox control within bwidgets and now (b)
wxPythonce not even being able to run, this is enough to make me want to go
back to using microsoft's various gui builders and simply call things via
ctypes.

Sign... If only we could get Linux loaded on these windows mobile 5.0
designed devices, then my how to compile proper binaries problems would go
away.




jeffbarish wrote:
 
 Jeffrey Barish wrote:
 
 I suspect that the problem actually has something
 to do with ActiveSync.  I seem to have better luck getting software to
 run
 when I manipulate it using Pocket Controller connected by Wifi rather
 than
 ActiveSync connected by USB.
 
 It may be sufficient to remove the PDA from its cradle when you are ready
 to
 run your program.  If you still need a connection to the host, use Wifi
 instead.
 -- 
 Jeffrey Barish
 
 ___
 PythonCE mailing list
 PythonCE@python.org
 http://mail.python.org/mailman/listinfo/pythonce
 
 

-- 
View this message in context: 
http://www.nabble.com/wxPython-for-PythonCE-announcement-tf2024801.html#a6864556
Sent from the Python - pythonce mailing list archive at Nabble.com.

___
PythonCE mailing list
PythonCE@python.org
http://mail.python.org/mailman/listinfo/pythonce


Re: [PythonCE] wxPython for PythonCE announcement

2006-09-27 Thread Jeffrey Barish
Jeffrey Barish wrote:

 I suspect that the problem actually has something
 to do with ActiveSync.  I seem to have better luck getting software to run
 when I manipulate it using Pocket Controller connected by Wifi rather than
 ActiveSync connected by USB.

It may be sufficient to remove the PDA from its cradle when you are ready to
run your program.  If you still need a connection to the host, use Wifi
instead.
-- 
Jeffrey Barish

___
PythonCE mailing list
PythonCE@python.org
http://mail.python.org/mailman/listinfo/pythonce


Re: [PythonCE] wxPython for PythonCE announcement

2006-09-06 Thread jeffbarish


jeffbarish wrote:
 
 Here are descriptions of some problems I have encountered with the recent
 port of wxPython:
 
 6. The spacing of lines in a list control is larger in virtual mode than
 it is in normal mode.
 
 

I don't know whether any current readers are actually interested in my
experience with the new wxPython port, but I figure that I should continue
the thread for the sake of the historical record.

The line spacing was different not because the list control was in virtual
mode but because I was attempting to put a graphic in the header.  Although
the graphic does not appear in the header (or anywhere else), wxPythonCE
increases the spacing of lines.  Note that the graphic I was attempting to
include was sufficiently small that it should not have been necessary to
increase line spacing to display it.  (But also note that I inserted the
graphic only in the header, not in the body of the list control.)  It seems
as if there may be a correlation between this problem with graphics and the
other problem that I described (item 4).  In both cases there is evidence
that wxPythonCE is treating the graphic as something larger than it is.  The
solution to the problem was to disable the code that attempted to put the
graphic in the header.
-- 
View this message in context: 
http://www.nabble.com/wxPython-for-PythonCE-announcement-tf2024801.html#a6170974
Sent from the Python - pythonce forum at Nabble.com.

___
PythonCE mailing list
PythonCE@python.org
http://mail.python.org/mailman/listinfo/pythonce


Re: [PythonCE] wxPython for PythonCE announcement

2006-08-19 Thread jeffbarish

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@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.

___
PythonCE mailing list
PythonCE@python.org
http://mail.python.org/mailman/listinfo/pythonce


Re: [PythonCE] wxPython for PythonCE announcement

2006-08-19 Thread jeffbarish

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.

___
PythonCE mailing list
PythonCE@python.org
http://mail.python.org/mailman/listinfo/pythonce


Re: [PythonCE] wxPython for PythonCE announcement

2006-08-05 Thread Ingmar Steen
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 [EMAIL PROTECTED] 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@python.org
 http://mail.python.org/mailman/listinfo/pythonce

___
PythonCE mailing list
PythonCE@python.org
http://mail.python.org/mailman/listinfo/pythonce


Re: [PythonCE] wxPython for PythonCE announcement

2006-08-05 Thread jeffbarish

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.

___
PythonCE mailing list
PythonCE@python.org
http://mail.python.org/mailman/listinfo/pythonce


Re: [PythonCE] wxPython for PythonCE announcement

2006-08-04 Thread jeffbarish

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@python.org
http://mail.python.org/mailman/listinfo/pythonce


[PythonCE] wxPython for PythonCE announcement

2006-07-30 Thread Ingmar Steen
(I hope this doesn't go around twice, but I got some strange replies
when sending this earlier)

Hi all,

I'd like to announce the release of my initial effort to 'port'
wxPython to PythonCE.

You can find the wiki (with links to the source and binary archives
and building instructions) here: http://wxpyce.wikispaces.com/

The port isn't very mature yet (f.e. somehow the commandbar doesn't
show), but I'm hoping to get help from all of you. The end-goal of the
project is to get things stable and clean enough to include it into
the official wxPython tree.

Let me know how this works out for you and feel free to ask questions
if you have any.

btw. I am by no means a wxWidgets, wxPython, Python(CE) or eVC4 expert.

Ingmar
___
PythonCE mailing list
PythonCE@python.org
http://mail.python.org/mailman/listinfo/pythonce