Hi!
Firstly, I cannot untar spe on linux. Anybody had success with this:
It say to me:
$ tar -xzvf SPE-0.5.1.e-wx2.4.2.4.-bl2.31.tar.gz
tar: This does not look like a tar archive
tar: Skipping to next header
tar: Archive contains obsolescent base-64 headers
gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error exit delayed from previous errors
I have already downloaded it several times.
The .exe is working on windows. That auto-completion
is a good feature to me, and I couldn't enable it in
DrPython yet. I'm interested in any editor what has
auto-completion and class-browser. (under linux)
···
************
I wrote a program on linux, and it didn't work on win XP.
Python 2.3.4, latest wxPython
I have problem with this part (easy read version here):
It seems that it didn't reach the thread. Because i cannot
see that "I'm in the thread!\n" text. It's not a network problem,
I mean "telnet atp.mud.hu 3000" surely works.
def mnuSessionConnect(self, event):
if not self.connected:
self.s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
self.s.connect(("atp.mud.hu", 3000))
self.connected=true
self.s.setblocking(1)
self.ConnThread = thread.start_new_thread(self.ConnectionThread, ())
def ConnectionThread(self):
wxCallAfter(self.WriteAnsiStr, "I'm in the thread!\n")
while true:
try:
r, w, e = select.select([self.s],[],[], .1)
if r:
str=r[0].recv(1024)
if len(str)!=0:
wxCallAfter(self.OnSocketInput, str)
else:
self.s.close()
self.connected=false
except:
break
wxCallAfter(self.WriteAnsiStr, "Connection error.\n")
wxCallAfter(self.WriteAnsiStr, "Connection closed.\n")
How to do that in Windows? I hoped that I don't have to change any line and
I can freely walk between at least Linux and Windows Hmm. Maybe its not
as wxPython related, excuse me because of this
Thanks in advance.
Lajos Uti