<div dir="ltr"><span class="Apple-style-span" style="font-family: tahoma, sans-serif;">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" (<a href="http://code.google.com/p/cygwin-easy/wiki/CreateYourCygwinEasyDisk">http://code.google.com/p/cygwin-easy/wiki/CreateYourCygwinEasyDisk</a>). 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.</span><div>
<span class="Apple-style-span" style="font-family: tahoma;"><br></span></div><div><span class="Apple-style-span" style="font-family: tahoma;">Thanks again for all the help.</span></div><div><span class="Apple-style-span" style="font-family: tahoma;"><br>
</span></div><div><span class="Apple-style-span" style="font-family: tahoma;">-Patty</span></div><div><br><div class="gmail_quote">On Tue, Sep 23, 2008 at 9:09 PM, Michiel de Hoon <span dir="ltr"><<a href="mailto:mjldehoon@yahoo.com">mjldehoon@yahoo.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Did you also check that you have each DLL exactly once on your system?<br>
<div class="Ih2E3d"><br>
> By the way, where did you obtain the source packages for<br>
> building pygtk and its dependencies?<br>
> I think I might do that if it does not<br>
> further complicate the situation.<br>
<br>
</div>Unfortunately, this is rather difficult. Definitely more difficult than using the precompiled ones from Cygwin.<br>
<br>
--Michiel.<br>
<br>
<br>
--- On Mon, 9/22/08, <a href="mailto:patty.ackermann@gmail.com">patty.ackermann@gmail.com</a> <<a href="mailto:patty.ackermann@gmail.com">patty.ackermann@gmail.com</a>> wrote:<br>
<br>
> From: <a href="mailto:patty.ackermann@gmail.com">patty.ackermann@gmail.com</a> <<a href="mailto:patty.ackermann@gmail.com">patty.ackermann@gmail.com</a>><br>
> Subject: Re: Re: re: installing pygtk on cygwin<br>
> To: "Michiel de Hoon" <<a href="mailto:mjldehoon@yahoo.com">mjldehoon@yahoo.com</a>>, "Patty Ackermann" <<a href="mailto:patty.ackermann@gmail.com">patty.ackermann@gmail.com</a>>, <a href="mailto:pygtk@daa.com.au">pygtk@daa.com.au</a><br>
> Date: Monday, September 22, 2008, 11:19 AM<br>
<div><div></div><div class="Wj3C7c">> Okay, so after running after a cygcheck, I get the following<br>
> results:<br>
><br>
> cygcheck /usr/lib/python2.5/site-packages/gtk<br>
> -2.0/gobject_gobject .dll<br>
><br>
> C:\cygwin/lib\python2.5/site-packages/gtk-2.0/gobject/_gobject.dll<br>
> C:\cygwin\bin\cygwin1.dll<br>
> C:\WINDOWS\system32\ADVAPI32.DLL<br>
> C:\WINDOWS\system32\KERNEL32.dll<br>
> C:\WINDOWS\system32\ntdll.dll<br>
> C:\WINDOWS\system32\RPCRT4.dll<br>
> C:\WINDOWS\system32\Secur32.dll<br>
> C:\cygwin\bin\cygglib-2.0-0.dll<br>
> C:\cygwin\bin\cygiconv-2.dll<br>
> C:\cygwin\bin\cygintl-3.dll<br>
> C:\cygwin\bin\cyggobject-2.0-0.dll<br>
> C:\cygwin\bin\cyggthread-2.0-0.dll<br>
> C:\cygwin\bin\libpython2.5.dll<br>
><br>
> So it seems that the difference between your structure and<br>
> this one is that<br>
> cyggobject-2.0-0.dll, cyggthread-2.0-0.dll, and<br>
> cygglib-2.0-0.dll are not<br>
> in /usr/local/bin.<br>
><br>
> By the way, where did you obtain the source packages for<br>
> building pygtk and<br>
> its dependencies? I think I might do that if it does not<br>
> further complicate<br>
> the situation.<br>
><br>
> Thanks for everything,<br>
> Patty<br>
><br>
> On Sep 22, 2008 12:49am, Michiel de Hoon<br>
> <<a href="mailto:mjldehoon@yahoo.com">mjldehoon@yahoo.com</a>> wrote:<br>
> > I have seen that error before.... I am not 100% sure<br>
> but I think this was<br>
> due to some DLL confusion. To check it, run cygcheck on<br>
> _gobject.dll:<br>
> ><br>
> ><br>
> ><br>
> > cygcheck<br>
> /usr/lib/python2.5/site-packages/gtk-2.0/gobject/_gobject.dll<br>
> ><br>
> ><br>
> ><br>
> > You will get a list of DLLs that are used by<br>
> _gobject.dll:<br>
> ><br>
> ><br>
> ><br>
> ><br>
> C:\cygwin/lib\python2.5/site-packages/gtk-2.0/gobject/_gobject.dll<br>
> ><br>
> > C:\cygwin\bin\cygwin1.dll<br>
> ><br>
> > C:\WINDOWS\system32\ADVAPI32.DLL<br>
> ><br>
> > C:\WINDOWS\system32\ntdll.dll<br>
> ><br>
> > C:\WINDOWS\system32\KERNEL32.dll<br>
> ><br>
> > C:\WINDOWS\system32\RPCRT4.dll<br>
> ><br>
> > C:\WINDOWS\system32\Secur32.dll<br>
> ><br>
> > C:\cygwin\bin\libpython2.5.dll<br>
> ><br>
> ><br>
> C:\cygwin\usr\local\bin\cygglib-2.0-0.dll<br>
> ><br>
> > C:\cygwin\bin\cygiconv-2.dll<br>
> ><br>
> > C:\cygwin\bin\cygintl-8.dll<br>
> ><br>
> ><br>
> C:\cygwin\usr\local\bin\cyggobject-2.0-0.dll<br>
> ><br>
> ><br>
> C:\cygwin\usr\local\bin\cyggthread-2.0-0.dll<br>
> ><br>
> ><br>
> ><br>
> > Then, check your system to see 1) that each DLL is<br>
> actually at the<br>
> location shown by cygcheck, and 2) that you don't have<br>
> a second copy of any<br>
> of these DLLs. For example, you should have one and only<br>
> one file called<br>
> cygglib-2.0-0.dll on your system.<br>
> ><br>
> ><br>
> ><br>
> > > what is the mirror that you use?<br>
> ><br>
> ><br>
> ><br>
> > I am not using a mirror; I compiled pygtk and its<br>
> dependencies myself.<br>
> ><br>
> ><br>
> ><br>
> > --Michiel.<br>
> ><br>
> ><br>
> ><br>
> ><br>
> ><br>
> > --- On Mon, 9/22/08, Patty Ackermann wrote:<br>
> ><br>
> ><br>
> ><br>
> > > From: Patty Ackermann<br>
> ><br>
> > > Subject: Re: re: installing pygtk on cygwin<br>
> ><br>
> > > To: <a href="mailto:mjldehoon@yahoo.com">mjldehoon@yahoo.com</a><br>
> ><br>
> > > Cc: <a href="mailto:pygtk@daa.com.au">pygtk@daa.com.au</a><br>
> ><br>
> > > Date: Monday, September 22, 2008, 1:33 AM<br>
> ><br>
> > > Michiel,<br>
> ><br>
> > > Again, I appreciate all your help. After ensuring<br>
> my paths<br>
> ><br>
> > > are set correctly<br>
> ><br>
> > > and even performing the import command in the<br>
> same<br>
> ><br>
> > > directory as gobject, I<br>
> ><br>
> > > get the following error:<br>
> ><br>
> > ><br>
> ><br>
> > > >>> import gobject<br>
> ><br>
> > > Traceback (most recent call last):<br>
> ><br>
> > > File "", line 1, in<br>
> ><br>
> > > File "__init__.py", line 30, in<br>
> ><br>
> > > from gobject.constants import *<br>
> ><br>
> > > File "constants.py", line 22, in<br>
> ><br>
> > > from _gobject import type_from_name<br>
> ><br>
> > > ImportError: No such process<br>
> ><br>
> > ><br>
> ><br>
> > > Do you think this might be an installation issue?<br>
> If this<br>
> ><br>
> > > is the issue, what<br>
> ><br>
> > > is the mirror that you use (this question should<br>
> probably<br>
> ><br>
> > > be asked a long<br>
> ><br>
> > > time ago)?<br>
> ><br>
> > ><br>
> ><br>
> > > Again, thanks a million.<br>
> ><br>
> > ><br>
> ><br>
> > > -Patty<br>
> ><br>
> > ><br>
> ><br>
> > > On Sat, Sep 20, 2008 at 7:12 AM, Michiel de Hoon<br>
> ><br>
> > ><br>
> ><br>
> > > wrote:<br>
> ><br>
> > > >> I seem to have everything in the same<br>
> structure<br>
> ><br>
> > > as you mentioned<br>
> ><br>
> > > >> except .dll.a and .a files. Is this my<br>
> issue?<br>
> ><br>
> > > ><br>
> ><br>
> > > > This should not be a problem. The important<br>
> thing are<br>
> ><br>
> > > the .dll files and<br>
> ><br>
> > > the .py files.<br>
> ><br>
> > > ><br>
> ><br>
> > > >> Plus, do I also need to execute this on<br>
> xterm?<br>
> ><br>
> > > ><br>
> ><br>
> > > > I am not sure how Cygwin's pyGTK is<br>
> compiled<br>
> ><br>
> > > (specifically, if it uses X11<br>
> ><br>
> > > or Windows directly). I compiled pyGTK and its<br>
> dependencies<br>
> ><br>
> > > myself on<br>
> ><br>
> > > Cygwin; it uses Windows directly and therefore<br>
> doesn't<br>
> ><br>
> > > need xterm. The easy<br>
> ><br>
> > > thing is for you to try on xterm and see if it<br>
> works there.<br>
> ><br>
> > > ><br>
> ><br>
> > > > Anyway, the error message you're getting<br>
> says that<br>
> ><br>
> > > you cannot import<br>
> ><br>
> > > gobject. My directory containing the gobject<br>
> stuff looks<br>
> ><br>
> > > like this:<br>
> ><br>
> > > ><br>
> ><br>
> > > > $ ls<br>
> /usr/lib/python2.5/site-packages/gtk-2.0/gobject/<br>
> ><br>
> > > > __init__.py _gobject.dll* constants.pyc<br>
> ><br>
> > > option.pyo<br>
> ><br>
> > > > __init__.pyc _gobject.dll.a* constants.pyo<br>
> ><br>
> > > propertyhelper.py<br>
> ><br>
> > > > __init__.pyo _<a href="http://gobject.la" target="_blank">gobject.la</a>* option.py<br>
> ><br>
> > > propertyhelper.pyc<br>
> ><br>
> > > > _gobject.a constants.py option.pyc<br>
> ><br>
> > > propertyhelper.pyo<br>
> ><br>
> > > ><br>
> ><br>
> > > > If you have these files (again, only the<br>
> .dll and the<br>
> ><br>
> > > .py files are<br>
> ><br>
> > > important here) in the same directory, you should<br>
> be able<br>
> ><br>
> > > to do<br>
> ><br>
> > > ><br>
> ><br>
> > > >>>> import gobject<br>
> ><br>
> > > ><br>
> ><br>
> > > > at the python prompt. Does that work?<br>
> ><br>
> > > ><br>
> ><br>
> > > > --Michiel.<br>
> ><br>
> > > ><br>
> ><br>
> > > ><br>
> ><br>
> > > ><br>
> ><br>
> > > ><br>
> ><br>
> > > ><br>
> ><br>
> > > ><br>
> ><br>
> > > > --- On Thu, 9/18/08,<br>
> <a href="mailto:patty.ackermann@gmail.com">patty.ackermann@gmail.com</a><br>
> ><br>
> > ><br>
> ><br>
> > > wrote:<br>
> ><br>
> > > ><br>
> ><br>
> > > >> From: <a href="mailto:patty.ackermann@gmail.com">patty.ackermann@gmail.com</a><br>
> ><br>
> > ><br>
> ><br>
> > > >> Subject: Re: re: installing pygtk on<br>
> cygwin<br>
> ><br>
> > > >> To: "Michiel de Hoon"<br>
> ><br>
> > > , <a href="mailto:pygtk@daa.com.au">pygtk@daa.com.au</a>,<br>
> ><br>
> > > <a href="mailto:patty.ackermann@gmail.com">patty.ackermann@gmail.com</a><br>
> ><br>
> > > >> Date: Thursday, September 18, 2008, 3:48<br>
> PM<br>
> ><br>
> > > >> So I reinstalled cygwin and used a<br>
> different<br>
> ><br>
> > > mirror (cygnome<br>
> ><br>
> > > >> ports), and<br>
> ><br>
> > > >> all the pygtk related objects seemed be<br>
> in the<br>
> ><br>
> > > python2.5<br>
> ><br>
> > > >> directory. I seem<br>
> ><br>
> > > >> to have everything in the same structure<br>
> as you<br>
> ><br>
> > > mentioned<br>
> ><br>
> > > >> except .dll.a<br>
> ><br>
> > > >> and .a files. Is this my issue?<br>
> ><br>
> > > >> Plus, do I also need to execute this on<br>
> xterm?<br>
> ><br>
> > > >><br>
> ><br>
> > > >> Thanks in advance,<br>
> ><br>
> > > >> Patty<br>
> ><br>
> > > >><br>
> ><br>
> > > >> On Sep 8, 2008 11:46pm, Michiel de Hoon<br>
> ><br>
> > > >> wrote:<br>
> ><br>
> > > >> > You need to install pygobject. It<br>
> is separate<br>
> ><br>
> > > from<br>
> ><br>
> > > >> pygtk.<br>
> ><br>
> > > >> ><br>
> ><br>
> > > >> ><br>
> ><br>
> > > >> ><br>
> ><br>
> > > >> > --Michiel.<br>
> ><br>
> > > >> ><br>
> ><br>
> > > >> ><br>
> ><br>
> > > >> ><br>
> ><br>
> > > >> ><br>
> ><br>
> > > >> ><br>
> ><br>
> > > >> > --- On Mon, 9/8/08,<br>
> <a href="mailto:patty.ackermann@gmail.com">patty.ackermann@gmail.com</a><br>
> ><br>
> > > wrote:<br>
> ><br>
> > > >> ><br>
> ><br>
> > > >> ><br>
> ><br>
> > > >> ><br>
> ><br>
> > > >> > > From:<br>
> <a href="mailto:patty.ackermann@gmail.com">patty.ackermann@gmail.com</a><br>
> ><br>
> > > >> ><br>
> ><br>
> > > >> > > Subject: re: installing pygtk<br>
> on cygwin<br>
> ><br>
> > > >> ><br>
> ><br>
> > > >> > > To: <a href="mailto:mjldehoon@yahoo.com">mjldehoon@yahoo.com</a>,<br>
> ><br>
> > > <a href="mailto:pygtk@daa.com.au">pygtk@daa.com.au</a><br>
> ><br>
> > > >> ><br>
> ><br>
> > > >> > > Date: Monday, September 8,<br>
> 2008, 10:59<br>
> ><br>
> > > AM<br>
> ><br>
> > > >> ><br>
> ><br>
> > > >> > > I forgot to mention the error<br>
> message I<br>
> ><br>
> > > am<br>
> ><br>
> > > >> receiving:<br>
> ><br>
> > > >> ><br>
> ><br>
> > > >> > ><br>
> ><br>
> > > >> ><br>
> ><br>
> > > >> > > Traceback (most recent call<br>
> last):<br>
> ><br>
> > > >> ><br>
> ><br>
> > > >> > > File "path_test.py",<br>
> line 13,<br>
> ><br>
> > > in<br>
> ><br>
> > > >> ><br>
> ><br>
> > > >> > > import gtk<br>
> ><br>
> > > >> ><br>
> ><br>
> > > >> > > File<br>
> ><br>
> > > >> ><br>
> ><br>
> > > >> > ><br>
> ><br>
> > > >><br>
> ><br>
> > ><br>
> "/usr/lib/python2.4/site-packages/gtk-2.0/gtk/__init__.py",<br>
> ><br>
> > > >> ><br>
> ><br>
> > > >> > > line 33,<br>
> ><br>
> > > >> ><br>
> ><br>
> > > >> > > in<br>
> ><br>
> > > >> ><br>
> ><br>
> > > >> > > import gobject as _gobject<br>
> ><br>
> > > >> ><br>
> ><br>
> > > >> > > ImportError: No such file or<br>
> directory<br>
> ><br>
> > > >> ><br>
> ><br>
> > > >> > ><br>
> ><br>
> > > >> ><br>
> ><br>
> > > >> > > So it seems that from looking<br>
> at your<br>
> ><br>
> > > listing, I<br>
> ><br>
> > > >> am missing<br>
> ><br>
> > > >> ><br>
> ><br>
> > > >> > > a gobject<br>
> ><br>
> > > >> ><br>
> ><br>
> > > >> > > directory? If this might be<br>
> the case,<br>
> ><br>
> > > how can I<br>
> ><br>
> > > >> obtain the<br>
> ><br>
> > > >> ><br>
> ><br>
> > > >> > > appropriate<br>
> ><br>
> > > >> ><br>
> ><br>
> > > >> > > files in the python2.5<br>
> directory?<br>
> ><br>
> > > >> ><br>
> ><br>
> > > >> ><br>
> ><br>
> > > >> ><br>
> ><br>
> > > >> ><br>
> ><br>
> > > >> ><br>
> ><br>
> > > >> ><br>
> ><br>
> > > >> ><br>
> ><br>
> > > ><br>
> ><br>
> > > ><br>
> ><br>
> > > ><br>
> ><br>
> > > ><br>
> ><br>
> ><br>
> ><br>
> ><br>
> ><br>
> ><br>
> ><br>
<br>
<br>
<br>
</div></div></blockquote></div><br></div></div>