List Info

Thread: DIY Plone Styles & Limi's tutorial Part 4




DIY Plone Styles & Limi's tutorial Part 4
country flaguser name
United States
2007-08-10 05:48:59
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 "bingenerator.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.nabbl
e.com/DIY-Plone-Styles---Limi%27s-tutorial-Part-4-tf4247935s
15482.html#a12089054
Sent from the Installation, Setup, Upgrades mailing list
archive at Nabble.com.


_______________________________________________
Setup mailing list
Setuplists.plone.org
http://
lists.plone.org/mailman/listinfo/setup

Re: DIY Plone Styles & Limi's tutorial Part 4
country flaguser name
United States
2007-08-21 22:02:23
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 FilesPlone 3Python
python C:DIYPloneStylesbingenerator.py
--productname=MyTheme

A folder named MyTheme will now show up in C:Program
FilesPlone 3Python.
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 "bingenerator.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.nabbl
e.com/DIY-Plone-Styles---Limi%27s-tutorial-Part-4-tf4247935s
15482.html#a12267275
Sent from the Installation, Setup, Upgrades mailing list
archive at Nabble.com.


_______________________________________________
Setup mailing list
Setuplists.plone.org
http://
lists.plone.org/mailman/listinfo/setup

Re: DIY Plone Styles & Limi's tutorial Part 4
country flaguser name
United States
2007-08-21 22:23:43
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 FilesPlone 3Python
> python C:DIYPloneStylesbingenerator.py
--productname=MyTheme
> 
> A folder named MyTheme will now show up in C:Program
FilesPlone 3Python.
> 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 "bingenerator.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
Setuplists.plone.org
http://
lists.plone.org/mailman/listinfo/setup

Re: DIY Plone Styles & Limi's tutorial Part 4
country flaguser name
United States
2007-08-21 22:59:49
Thanks for the help. There was another solution by
experimentation I hit upon
this which worked.

I had to move to the ..Plone 3Python folder and then
execute
python "c:...DIYPloneStylebingenerate.py"
--productname MyTheme

Note the " marks but this created the directory and sub
contents in the
Python directory not the Products directory. So I just moved
it over.
-- 
View this message in context: http://www.nabbl
e.com/DIY-Plone-Styles---Limi%27s-tutorial-Part-4-tf4247935s
15482.html#a12267744
Sent from the Installation, Setup, Upgrades mailing list
archive at Nabble.com.


_______________________________________________
Setup mailing list
Setuplists.plone.org
http://
lists.plone.org/mailman/listinfo/setup

Re: DIY Plone Styles & Limi's tutorial Part 4
country flaguser name
United States
2007-08-25 10:30:17
+1
Spaces are horrible in windows.
rawbobb

----- Original Message ----- 
From: "Larry Pitcher" <unclelarrycolumbiainet.com>
To: "unionhack" <iainmartelweb.org>
Cc: <setuplists.plone.org>
Sent: Tuesday, August 21, 2007 11:23 PM
Subject: Re: [Setup] DIY Plone Styles & Limi's tutorial
Part 4


> 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 FilesPlone 3Python
>> python C:DIYPloneStylesbingenerator.py
--productname=MyTheme
>>
>> A folder named MyTheme will now show up in
C:Program FilesPlone 
>> 3Python.
>> 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 "bingenerator.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
> Setuplists.plone.org
> http://
lists.plone.org/mailman/listinfo/setup 


_______________________________________________
Setup mailing list
Setuplists.plone.org
http://
lists.plone.org/mailman/listinfo/setup

[1-5]

about | contact  Other archives ( Real Estate discussion Medical topics )