Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > cygwin python with Tkinter and pexpect module

Reply
Thread Tools

cygwin python with Tkinter and pexpect module

 
 
=?ISO-8859-15?Q?J=F6rg?= Maier
Guest
Posts: n/a
 
      09-06-2003
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(0x5F 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.
 
Reply With Quote
 
 
 
 
Jason Tishler
Guest
Posts: n/a
 
      09-06-2003
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

 
Reply With Quote
 
 
 
 
=?ISO-8859-15?Q?J=F6rg?= Maier
Guest
Posts: n/a
 
      09-07-2003
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.
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing the system clock with pexpect confuses pexpect! Saqib Ali Python 1 12-26-2011 01:51 PM
Re: PExpect on Windows System Using Cygwin Dave Angel Python 2 09-25-2009 10:09 AM
WELCOME to cygwin@cygwin.com cygwin-help@cygwin.com Python 1 09-05-2003 07:46 AM
confirm unsubscribe from cygwin-announce@cygwin.com cygwin-announce-help@cygwin.com Python 0 09-05-2003 01:29 AM
confirm unsubscribe from cygwin@cygwin.com cygwin-help@cygwin.com Python 0 09-04-2003 06:34 PM



Advertisments