unionhack wrote:
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....

Iain,

I've gotten into the habit of telling the Windows Installer to put my Plone at: C:\Plone2\ (Now C:\Plone3\) for this very reason. It also puts it in plain view when I open my C:\ drive in Windows Explorer ;-)

Larry Pitcher


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?





_______________________________________________
Setup mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/setup

Reply via email to