[Setup] DIY Plone Styles & Limi's tutorial Part 4

unionhack iain at martelweb.org
Wed Aug 22 03:02:23 UTC 2007


I just got this to work after multiple attempts. The problem seemed to be
that windows still hasn't got used to spaces in file names. and so thought
that C:\Program was supposed to be a program....

Here's what I did (Windows XP 32):
move DIYPloneStyles folder to C:\
run cmd
cd C:\Program Files\Plone 3\Python
python C:\DIYPloneStyles\bin\generator.py --productname=MyTheme

A folder named MyTheme will now show up in C:\Program Files\Plone 3\Python.
Note: no extension used on "python", and "=" after "productname".

Hope this helps,
Iain


Chris Chambers wrote:
> 
> Installed OK in Plone 3 on Windows XP x64. But Uninstalled as per tutorial
> and then tried the command line 
> 
> On Limi's tutorial A Real-World Example Part4: A proper foundation at the
> part:
> 
> cd Products/DIYPloneStyle
> 
>    python bin/generator.py --productname MyTheme
> 
> 
> In a command window I need to use python.exe (tried no extension and full
> path neither work) and then I get error:
> C:\....\python.exe is not a valid Win32 application
> 
> If I substitute the python.exe from the Plone 3 install then it runs and
> says pyhton24.dll is missing. Add this and I get an error:
> 'import site' failed; use -v for traceback
> Traceback (most recent call last):
> File "bin\generator.py", line 4, in ?
> import os, sys, optparse
> ImportError: No module named os
> 
> Did I unzip with WinZip (against recommendation)? - Yes guilty is this
> what has cause the problem?
> 
> 

-- 
View this message in context: http://www.nabble.com/DIY-Plone-Styles---Limi%27s-tutorial-Part-4-tf4247935s15482.html#a12267275
Sent from the Installation, Setup, Upgrades mailing list archive at Nabble.com.




More information about the Setup mailing list