Hi all, I need to get my Zope on win32 to be able to use the win32com module, but unfortunately have almost no understanding whatsoever of the windows platform. I've tried installing ActiveState python 2.1 and getting it to work with zope - no joy. I've tried installing the win32all package for python 1.5, but the stupid installer just says "you don't have python 1.5 installed on your computer". Arrgghhh!! Can anyone RTFM me in the right direction? I don't have a clue what I'm doing :-) thanks, seb
seb bacon wrote:
I need to get my Zope on win32 to be able to use the win32com module, but unfortunately have almost no understanding whatsoever of the windows platform.
What Zope version? This is hard, you will probably get gnarly wierd semi-reprodicible com erros when you do succeed in getting it installed :-S Good luck, let me know if you manage to fix the later. There's some good stuff in the searchable mailing list archives. cheers, Chris
Chris, This is simple, what problems do you have? Basically you just need to install a full version of py152, and use that instead of the Zope builtin Python. See a mail from me yesterday on the subject. Phil ----- Original Message ----- From: "Chris Withers" <chrisw@nipltd.com> To: "seb bacon" <seb@jamkit.com> Cc: <zope@zope.org> Sent: Wednesday, July 18, 2001 10:14 PM Subject: Re: [Zope] how to install win32com?
seb bacon wrote:
I need to get my Zope on win32 to be able to use the win32com module, but unfortunately have almost no understanding whatsoever of the windows platform.
What Zope version?
This is hard, you will probably get gnarly wierd semi-reprodicible com erros when you do succeed in getting it installed :-S
Good luck, let me know if you manage to fix the later. There's some good stuff in the searchable mailing list archives.
cheers,
Chris
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
thanks to everyone for tips on this. it *was* simple, and i *did* get com working. I just couldn't find a python 1.52 anywhere (for some reason it didn't occur to me to look anywhere but ActiveState), and I was worried about pythonpaths and what have you. I just got an acute case of Windows Fear :-) seb * Phil Harris <phil.harris@zope.co.uk> [010719 09:40]:
Chris,
This is simple, what problems do you have?
Basically you just need to install a full version of py152, and use that instead of the Zope builtin Python.
See a mail from me yesterday on the subject.
Phil ----- Original Message ----- From: "Chris Withers" <chrisw@nipltd.com> To: "seb bacon" <seb@jamkit.com> Cc: <zope@zope.org> Sent: Wednesday, July 18, 2001 10:14 PM Subject: Re: [Zope] how to install win32com?
seb bacon wrote:
I need to get my Zope on win32 to be able to use the win32com module, but unfortunately have almost no understanding whatsoever of the windows platform.
What Zope version?
This is hard, you will probably get gnarly wierd semi-reprodicible com erros when you do succeed in getting it installed :-S
Good luck, let me know if you manage to fix the later. There's some good stuff in the searchable mailing list archives.
cheers,
Chris
Phil Harris wrote:
Chris,
This is simple, what problems do you have?
I thought they were of the nasty CoInitialize variety, then Andy pointed out to me that the ZEO client in question is single threaded so this should be a problem. Turns out I was doing: f.close instead on f.close() somewhere, so a COM object was barfing as it was always getting an empty file. D'oh. The remaining problems revolve around unicode errors, if anyone is good with dealing with these please shout :-) cheers, Chris
Seb, The easiest way is to install a full version of Python 1.5.2, then install win32all. Then change your start script/service parameters to use the newly installed Python instead of the built-in Zope one. The beauty of this is that any of the self-installing libs, e.g. PIL are so much easier to get working with Zope. It also means that you have one standard install of Python. hth Phil phil.harris@zope.co.uk ----- Original Message ----- From: "seb bacon" <seb@jamkit.com> To: <zope@zope.org> Sent: Wednesday, July 18, 2001 6:03 PM Subject: [Zope] how to install win32com?
Hi all,
I need to get my Zope on win32 to be able to use the win32com module, but unfortunately have almost no understanding whatsoever of the windows platform.
I've tried installing ActiveState python 2.1 and getting it to work with zope - no joy. I've tried installing the win32all package for python 1.5, but the stupid installer just says "you don't have python 1.5 installed on your computer". Arrgghhh!!
Can anyone RTFM me in the right direction? I don't have a clue what I'm doing :-)
thanks,
seb
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
participants (3)
-
Chris Withers -
Phil Harris -
seb bacon