Re: [Zope] installing PIL on Window Zope

2006-02-17 Thread Chris Withers

Allen Huang wrote:

Hi...
  I assume that you mean to make modification to the path to the python 
interpreter in Zope at the \etc\zope.conf right?


No, you need to make the changes in runzope.bat, zope.conf is too late 
in the startup process...


cheers,

Chris

--
Simplistix - Content Management, Zope  Python Consulting
   - http://www.simplistix.co.uk

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] installing PIL on Window Zope

2006-02-16 Thread Allen Huang
I want to install PIL into zope but I couldn't use the installation package since python that came with zope isn't register on windows. so I installed python 2.3 seperately andI found some artical on the zope website and it said to   - decompress and PIL package and move  - Copy the PIL folder and the pil.pth file from your Python folder into:YourZopeFolder/lib/python   - Copy _imaging.pyd, _imagingtk.pyd, tk83.dll and tcl83.dll into YourZopeFolder/bin/DLLs  - Copy PIL folder in Zope\lib\python\PILI did all that but I'm not sure if PIL now work with zope or not...I started importing External Script using PIL but all I get is -- 'm
 odule'
 object has no attribute 'Image'Can someone tell me how I can check if PIL works?  Does anyone have asimple PILcoding I could use?  
		  
What are the most popular cars? Find out at Yahoo! Autos 
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] installing PIL on Window Zope

2006-02-16 Thread Allen Huang
Hi...  I assume that you mean tomake modification to the path to the python interpreter in Zope at the \etc\zope.conf right?what lines should I add or modify?  Tino Wildenhain [EMAIL PROTECTED] wrote:  Allen Huang schrieb: I want to install PIL into zope but I couldn't use the installation package since python that came with zope isn't register on windows.   so I installed python 2.3 seperately and I found some artical on the zope website and it said to  - decompress and PIL package and move - Copy the PIL folder and the pil.pth file from your Python folder into: YourZopeFolder/lib/python  - Copy _imaging.pyd, _imagingtk.pyd, tk83.dll and tcl83.dll into YourZopeFolder/bin/DLLs - Copy PIL folder in Zope\lib\python\PIL&
 gt;
  I did all that but I'm not sure if PIL now work with zope or not...I dont know why people like it so complicated :-) You simply installwindows python in the same version your zope uses (alsoadd win32 extensions with the nice IDE at will) as well as yourPIL package. Then just change the path to the python interpreter inyour Zope installation to the system python and viola. I started importing External Script using PIL but all I get is -- 'module' object has no attribute 'Image'  Can someone tell me how I can check if PIL works?I'd go to the examples section. On the PIL website. Does anyone have a simple PIL coding I could use?I believe the zope book, section advanced scriptinghas some examples.RegardsTino
		 Yahoo! Autos. Looking for a sweet ride? Get pricing, reviews, & more on new and used cars.___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )