cygwin python with Tkinter and pexpect module

  • Thread starter =?ISO-8859-15?Q?J=F6rg?= Maier
  • Start date
?

=?ISO-8859-15?Q?J=F6rg?= Maier

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
 
J

Jason Tishler

Jörg,

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&...+remap+same+address+parent&btnG=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/software/rebase/rebase-2.2.README

Jason
 
?

=?ISO-8859-15?Q?J=F6rg?= Maier

Jason,

As said anywhere else as proposal to solve this problem:

works like a charm.

Thank you
Jörg Maier
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&...+remap+same+address+parent&btnG=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/software/rebase/rebase-2.2.README

Jason
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,011
Latest member
AjaUqq1950

Latest Threads

Top