unsubscribe 2008/9/28 <[EMAIL PROTECTED]>
> Send pygtk mailing list submissions to > [email protected] > > To subscribe or unsubscribe via the World Wide Web, visit > http://www.daa.com.au/mailman/listinfo/pygtk > or, via email, send a message with subject or body 'help' to > [EMAIL PROTECTED] > > You can reach the person managing the list at > [EMAIL PROTECTED] > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of pygtk digest..." > > Today's Topics: > > 1. Re: installing pygtk on cygwin (Patty Ackermann) > > > ---------- Forwarded message ---------- > From: "Patty Ackermann" <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Date: Sun, 28 Sep 2008 08:19:15 -0700 > Subject: Re: [pygtk] installing pygtk on cygwin > Yeah, each DLL appears once in my system. You know I discovered something > called cygwin-easy, where you can run cygwin from a CD with no installations > necessary. The best part is that anyone can create their own cygwin "live > CD" (http://code.google.com/p/cygwin-easy/wiki/CreateYourCygwinEasyDisk). > Do you think it's possible to create an live CD of your own installation and > you could distribute it to me. I would sincerely appreciate the effort. > Thanks again for all the help. > > -Patty > > On Tue, Sep 23, 2008 at 9:09 PM, Michiel de Hoon <[EMAIL PROTECTED]>wrote: > >> Did you also check that you have each DLL exactly once on your system? >> >> > By the way, where did you obtain the source packages for >> > building pygtk and its dependencies? >> > I think I might do that if it does not >> > further complicate the situation. >> >> Unfortunately, this is rather difficult. Definitely more difficult than >> using the precompiled ones from Cygwin. >> >> --Michiel. >> >> >> --- On Mon, 9/22/08, [EMAIL PROTECTED] <[EMAIL PROTECTED]> >> wrote: >> >> > From: [EMAIL PROTECTED] <[EMAIL PROTECTED]> >> > Subject: Re: Re: re: installing pygtk on cygwin >> > To: "Michiel de Hoon" <[EMAIL PROTECTED]>, "Patty Ackermann" < >> [EMAIL PROTECTED]>, [email protected] >> > Date: Monday, September 22, 2008, 11:19 AM >> > Okay, so after running after a cygcheck, I get the following >> > results: >> > >> > cygcheck /usr/lib/python2.5/site-packages/gtk >> > -2.0/gobject_gobject .dll >> > >> > C:\cygwin/lib\python2.5/site-packages/gtk-2.0/gobject/_gobject.dll >> > C:\cygwin\bin\cygwin1.dll >> > C:\WINDOWS\system32\ADVAPI32.DLL >> > C:\WINDOWS\system32\KERNEL32.dll >> > C:\WINDOWS\system32\ntdll.dll >> > C:\WINDOWS\system32\RPCRT4.dll >> > C:\WINDOWS\system32\Secur32.dll >> > C:\cygwin\bin\cygglib-2.0-0.dll >> > C:\cygwin\bin\cygiconv-2.dll >> > C:\cygwin\bin\cygintl-3.dll >> > C:\cygwin\bin\cyggobject-2.0-0.dll >> > C:\cygwin\bin\cyggthread-2.0-0.dll >> > C:\cygwin\bin\libpython2.5.dll >> > >> > So it seems that the difference between your structure and >> > this one is that >> > cyggobject-2.0-0.dll, cyggthread-2.0-0.dll, and >> > cygglib-2.0-0.dll are not >> > in /usr/local/bin. >> > >> > By the way, where did you obtain the source packages for >> > building pygtk and >> > its dependencies? I think I might do that if it does not >> > further complicate >> > the situation. >> > >> > Thanks for everything, >> > Patty >> > >> > On Sep 22, 2008 12:49am, Michiel de Hoon >> > <[EMAIL PROTECTED]> wrote: >> > > I have seen that error before.... I am not 100% sure >> > but I think this was >> > due to some DLL confusion. To check it, run cygcheck on >> > _gobject.dll: >> > > >> > > >> > > >> > > cygcheck >> > /usr/lib/python2.5/site-packages/gtk-2.0/gobject/_gobject.dll >> > > >> > > >> > > >> > > You will get a list of DLLs that are used by >> > _gobject.dll: >> > > >> > > >> > > >> > > >> > C:\cygwin/lib\python2.5/site-packages/gtk-2.0/gobject/_gobject.dll >> > > >> > > C:\cygwin\bin\cygwin1.dll >> > > >> > > C:\WINDOWS\system32\ADVAPI32.DLL >> > > >> > > C:\WINDOWS\system32\ntdll.dll >> > > >> > > C:\WINDOWS\system32\KERNEL32.dll >> > > >> > > C:\WINDOWS\system32\RPCRT4.dll >> > > >> > > C:\WINDOWS\system32\Secur32.dll >> > > >> > > C:\cygwin\bin\libpython2.5.dll >> > > >> > > >> > C:\cygwin\usr\local\bin\cygglib-2.0-0.dll >> > > >> > > C:\cygwin\bin\cygiconv-2.dll >> > > >> > > C:\cygwin\bin\cygintl-8.dll >> > > >> > > >> > C:\cygwin\usr\local\bin\cyggobject-2.0-0.dll >> > > >> > > >> > C:\cygwin\usr\local\bin\cyggthread-2.0-0.dll >> > > >> > > >> > > >> > > Then, check your system to see 1) that each DLL is >> > actually at the >> > location shown by cygcheck, and 2) that you don't have >> > a second copy of any >> > of these DLLs. For example, you should have one and only >> > one file called >> > cygglib-2.0-0.dll on your system. >> > > >> > > >> > > >> > > > what is the mirror that you use? >> > > >> > > >> > > >> > > I am not using a mirror; I compiled pygtk and its >> > dependencies myself. >> > > >> > > >> > > >> > > --Michiel. >> > > >> > > >> > > >> > > >> > > >> > > --- On Mon, 9/22/08, Patty Ackermann wrote: >> > > >> > > >> > > >> > > > From: Patty Ackermann >> > > >> > > > Subject: Re: re: installing pygtk on cygwin >> > > >> > > > To: [EMAIL PROTECTED] >> > > >> > > > Cc: [email protected] >> > > >> > > > Date: Monday, September 22, 2008, 1:33 AM >> > > >> > > > Michiel, >> > > >> > > > Again, I appreciate all your help. After ensuring >> > my paths >> > > >> > > > are set correctly >> > > >> > > > and even performing the import command in the >> > same >> > > >> > > > directory as gobject, I >> > > >> > > > get the following error: >> > > >> > > > >> > > >> > > > >>> import gobject >> > > >> > > > Traceback (most recent call last): >> > > >> > > > File "", line 1, in >> > > >> > > > File "__init__.py", line 30, in >> > > >> > > > from gobject.constants import * >> > > >> > > > File "constants.py", line 22, in >> > > >> > > > from _gobject import type_from_name >> > > >> > > > ImportError: No such process >> > > >> > > > >> > > >> > > > Do you think this might be an installation issue? >> > If this >> > > >> > > > is the issue, what >> > > >> > > > is the mirror that you use (this question should >> > probably >> > > >> > > > be asked a long >> > > >> > > > time ago)? >> > > >> > > > >> > > >> > > > Again, thanks a million. >> > > >> > > > >> > > >> > > > -Patty >> > > >> > > > >> > > >> > > > On Sat, Sep 20, 2008 at 7:12 AM, Michiel de Hoon >> > > >> > > > >> > > >> > > > wrote: >> > > >> > > > >> I seem to have everything in the same >> > structure >> > > >> > > > as you mentioned >> > > >> > > > >> except .dll.a and .a files. Is this my >> > issue? >> > > >> > > > > >> > > >> > > > > This should not be a problem. The important >> > thing are >> > > >> > > > the .dll files and >> > > >> > > > the .py files. >> > > >> > > > > >> > > >> > > > >> Plus, do I also need to execute this on >> > xterm? >> > > >> > > > > >> > > >> > > > > I am not sure how Cygwin's pyGTK is >> > compiled >> > > >> > > > (specifically, if it uses X11 >> > > >> > > > or Windows directly). I compiled pyGTK and its >> > dependencies >> > > >> > > > myself on >> > > >> > > > Cygwin; it uses Windows directly and therefore >> > doesn't >> > > >> > > > need xterm. The easy >> > > >> > > > thing is for you to try on xterm and see if it >> > works there. >> > > >> > > > > >> > > >> > > > > Anyway, the error message you're getting >> > says that >> > > >> > > > you cannot import >> > > >> > > > gobject. My directory containing the gobject >> > stuff looks >> > > >> > > > like this: >> > > >> > > > > >> > > >> > > > > $ ls >> > /usr/lib/python2.5/site-packages/gtk-2.0/gobject/ >> > > >> > > > > __init__.py _gobject.dll* constants.pyc >> > > >> > > > option.pyo >> > > >> > > > > __init__.pyc _gobject.dll.a* constants.pyo >> > > >> > > > propertyhelper.py >> > > >> > > > > __init__.pyo _gobject.la* option.py >> > > >> > > > propertyhelper.pyc >> > > >> > > > > _gobject.a constants.py option.pyc >> > > >> > > > propertyhelper.pyo >> > > >> > > > > >> > > >> > > > > If you have these files (again, only the >> > .dll and the >> > > >> > > > .py files are >> > > >> > > > important here) in the same directory, you should >> > be able >> > > >> > > > to do >> > > >> > > > > >> > > >> > > > >>>> import gobject >> > > >> > > > > >> > > >> > > > > at the python prompt. Does that work? >> > > >> > > > > >> > > >> > > > > --Michiel. >> > > >> > > > > >> > > >> > > > > >> > > >> > > > > >> > > >> > > > > >> > > >> > > > > >> > > >> > > > > >> > > >> > > > > --- On Thu, 9/18/08, >> > [EMAIL PROTECTED] >> > > >> > > > >> > > >> > > > wrote: >> > > >> > > > > >> > > >> > > > >> From: [EMAIL PROTECTED] >> > > >> > > > >> > > >> > > > >> Subject: Re: re: installing pygtk on >> > cygwin >> > > >> > > > >> To: "Michiel de Hoon" >> > > >> > > > , [email protected], >> > > >> > > > [EMAIL PROTECTED] >> > > >> > > > >> Date: Thursday, September 18, 2008, 3:48 >> > PM >> > > >> > > > >> So I reinstalled cygwin and used a >> > different >> > > >> > > > mirror (cygnome >> > > >> > > > >> ports), and >> > > >> > > > >> all the pygtk related objects seemed be >> > in the >> > > >> > > > python2.5 >> > > >> > > > >> directory. I seem >> > > >> > > > >> to have everything in the same structure >> > as you >> > > >> > > > mentioned >> > > >> > > > >> except .dll.a >> > > >> > > > >> and .a files. Is this my issue? >> > > >> > > > >> Plus, do I also need to execute this on >> > xterm? >> > > >> > > > >> >> > > >> > > > >> Thanks in advance, >> > > >> > > > >> Patty >> > > >> > > > >> >> > > >> > > > >> On Sep 8, 2008 11:46pm, Michiel de Hoon >> > > >> > > > >> wrote: >> > > >> > > > >> > You need to install pygobject. It >> > is separate >> > > >> > > > from >> > > >> > > > >> pygtk. >> > > >> > > > >> > >> > > >> > > > >> > >> > > >> > > > >> > >> > > >> > > > >> > --Michiel. >> > > >> > > > >> > >> > > >> > > > >> > >> > > >> > > > >> > >> > > >> > > > >> > >> > > >> > > > >> > >> > > >> > > > >> > --- On Mon, 9/8/08, >> > [EMAIL PROTECTED] >> > > >> > > > wrote: >> > > >> > > > >> > >> > > >> > > > >> > >> > > >> > > > >> > >> > > >> > > > >> > > From: >> > [EMAIL PROTECTED] >> > > >> > > > >> > >> > > >> > > > >> > > Subject: re: installing pygtk >> > on cygwin >> > > >> > > > >> > >> > > >> > > > >> > > To: [EMAIL PROTECTED], >> > > >> > > > [email protected] >> > > >> > > > >> > >> > > >> > > > >> > > Date: Monday, September 8, >> > 2008, 10:59 >> > > >> > > > AM >> > > >> > > > >> > >> > > >> > > > >> > > I forgot to mention the error >> > message I >> > > >> > > > am >> > > >> > > > >> receiving: >> > > >> > > > >> > >> > > >> > > > >> > > >> > > >> > > > >> > >> > > >> > > > >> > > Traceback (most recent call >> > last): >> > > >> > > > >> > >> > > >> > > > >> > > File "path_test.py", >> > line 13, >> > > >> > > > in >> > > >> > > > >> > >> > > >> > > > >> > > import gtk >> > > >> > > > >> > >> > > >> > > > >> > > File >> > > >> > > > >> > >> > > >> > > > >> > > >> > > >> > > > >> >> > > >> > > > >> > "/usr/lib/python2.4/site-packages/gtk-2.0/gtk/__init__.py", >> > > >> > > > >> > >> > > >> > > > >> > > line 33, >> > > >> > > > >> > >> > > >> > > > >> > > in >> > > >> > > > >> > >> > > >> > > > >> > > import gobject as _gobject >> > > >> > > > >> > >> > > >> > > > >> > > ImportError: No such file or >> > directory >> > > >> > > > >> > >> > > >> > > > >> > > >> > > >> > > > >> > >> > > >> > > > >> > > So it seems that from looking >> > at your >> > > >> > > > listing, I >> > > >> > > > >> am missing >> > > >> > > > >> > >> > > >> > > > >> > > a gobject >> > > >> > > > >> > >> > > >> > > > >> > > directory? If this might be >> > the case, >> > > >> > > > how can I >> > > >> > > > >> obtain the >> > > >> > > > >> > >> > > >> > > > >> > > appropriate >> > > >> > > > >> > >> > > >> > > > >> > > files in the python2.5 >> > directory? >> > > >> > > > >> > >> > > >> > > > >> > >> > > >> > > > >> > >> > > >> > > > >> > >> > > >> > > > >> > >> > > >> > > > >> > >> > > >> > > > >> > >> > > >> > > > > >> > > >> > > > > >> > > >> > > > > >> > > >> > > > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> >> >> >> > > _______________________________________________ > pygtk mailing list [email protected] > http://www.daa.com.au/mailman/listinfo/pygtk > Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/ > > -- Anirudh Sanjeev Third Year Undergraduate Student, Indian Institute of Technology, Kharagpur http://anirudhsanjeev.org Mail: [EMAIL PROTECTED] Phone: +91-97335-04828 jabber/googletalk: [EMAIL PROTECTED] If this message is signed with PGP, you can verify with my public key at http://anirudhsanjeev.org/pubkey.txt
_______________________________________________ pygtk mailing list [email protected] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
