473,324 Members | 2,541 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,324 software developers and data experts.

cygwin python with Tkinter and pexpect module

Hey guys,

i have a big problem using Tkinter and pexpect in cygwin. i try to program
an winscp-like rsync Program for all posix Platforms (linux, macosx,
cygwin). i got a class SslConnection with a method listDirectory that gives
back a list of an remote directory using pexpect. this method works in
linux, it works in cygwin-python from command-line, but invoked in an
Tkinter-Program i got the strange Exception:
E:\cygwin\bin\python2.3.exe: *** unable to remap E:\cygwin\bin\tk84.dll to
same address as parent(0x710000) != 0xC20000 28 [main] python 604
sync_with_child: child 1848(0x63C) died before initialization with status
code 0x1
3133 [main] python 604 sync_with_child: *** child state child loading
dlls
E:\cygwin\bin\python2.3.exe: *** unable to remap E:\cygwin\bin\tk84.dll to
same
address as parent(0x710000) != 0xC20000
174653 [main] python 604 sync_with_child: child 1932(0x5F8) died before
initial
ization with status code 0x1
203190 [main] python 604 sync_with_child: *** child state child loading
dlls

dont know what to do , gui-program is running under linux. Any ideas? Is
this a bug in cygwin tcltk?

thanks for every advice,
joerg

--
Hi
I am a signature virus.
Please copy me to your .signature file to help me spread.
Jul 18 '05 #1
2 5767
Jörg,

On Sat, Sep 06, 2003 at 07:16:39PM +0200, Jörg Maier wrote:
it works in cygwin-python from command-line, but invoked in an
Tkinter-Program i got the strange Exception:
E:\cygwin\bin\python2.3.exe: *** unable to remap E:\cygwin\bin\tk84.dll to
same address as parent(0x710000) != 0xC20000 28

[snip]

Is this a bug in cygwin tcltk?


No, you have been bitten by the Cygwin fork() issue:

http://www.google.com/search?hl=en&i...=Google+Search

The solution is to install the rebase package via Cygwin's setup.exe and
rebase your system.

Please read the README:

http://www.tishler.net/jason/softwar...ase-2.2.README

Jason

--
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D 8784 1AFD E4CC ECF4 8EF6

Jul 18 '05 #2
Jason,

As said anywhere else as proposal to solve this problem:

works like a charm.

Thank you
Jörg Maier
On Sat, Sep 06, 2003 at 07:16:39PM +0200, Jörg Maier wrote:
it works in cygwin-python from command-line, but invoked in an
Tkinter-Program i got the strange Exception:
E:\cygwin\bin\python2.3.exe: *** unable to remap E:\cygwin\bin\tk84.dll
to same address as parent(0x710000) != 0xC20000 28

[snip]

Is this a bug in cygwin tcltk?
No, you have been bitten by the Cygwin fork() issue:

http://www.google.com/search?hl=en&i...=Google+Search
The solution is to install the rebase package via Cygwin's setup.exe and
rebase your system.

Please read the README:

http://www.tishler.net/jason/softwar...ase-2.2.README

Jason


--
Hi
I am a signature virus.
Please copy me to your .signature file to help me spread.
Jul 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: walala | last post by:
Dear all, I recently came across a Python program which used "telnetlib" to automate things in the several unix machines in our local networks; I attached the script as follows; I wonder if...
10
by: Andrew Dalke | last post by:
Is there an author index for the new version of the Python cookbook? As a contributor I got my comp version delivered today and my ego wanted some gratification. I couldn't find my entries. ...
2
by: Stewart Midwinter | last post by:
this has me puzzled; I've created a small test app to show the problem I'm having. I want to use subprocess to execute system commands from inside a Tkinter app running under Cygwin. When I...
0
by: Stewart Midwinter | last post by:
I have a Tkinter app running on cygwin. It includes a Test menu item that does nothing more than fetch a directory listing and display it in a Toplevel window (I'd use a tkMessageBox showinfo...
16
by: diffuser78 | last post by:
I want to write a python program and call OS specific commands in it. So basically, instead of typing in on the command line argument I want to have it in a python program and let it do the action....
0
vinoj
by: vinoj | last post by:
Hi All, These are the following things which i want to do:- 1. I will be taking the ipaddress, username and password from the user using cgi ffrom the browser. 2. Now i want...
23
by: Harishankar | last post by:
Hi, Sorry to start off on a negative note in the list, but I feel that the Python subprocess module is sorely deficient because it lacks a mechanism to: 1. Create non-blocking pipes which can...
11
by: Emmanouil Angelakis | last post by:
Hi, I am tryiong to do something obviously trivial such as: I have a c program called "tsys2list" that when it is ran it asks the user to give the value of "tcal" which is a variable. I want to...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.