Problem with DIYPloneStyle on Plone 3.0 (maybe!)

6 messages Options
Embed this post
Permalink
Acrontias () Problem with DIYPloneStyle on Plone 3.0 (maybe!)
Reply Threaded More More options
Print post
Permalink
Hello at all,

I'm trying to generate a new theme using "DIY Plone Style 3.0" .

My Plone version is 3.2.2 (running in Windows XP), and i am using the Python version include in it (python 2.4).

So, i create a blank skeleton with the script "Products/DIYPloneStyle/bin/generator.py"!

If someone would try to reproduce this, i'm  following the Alexander Limi's tutorial
http://plone.org/documentation/tutorial/creating-plone-themes/proper-foundation  :

        1) Download "DIY Plone Style 3.0"
        2) Execute the script to clean slate :
                "D:\Archivos de programa\Plone\python\python.exe" DIYPloneStyle\bin\generator.py --productname MyOwnPloneSkin

And it creates a dir MyOwnPloneSkin (structure with skeleton..).

        "D:\Archivos de programa\Plone\parts\instance\Products\MyOwnPloneSkin"

And then, if i want to start Plone, the server Zope throw me an error :

                2009-07-03T13:23:32 ERROR Application Couldn't install Five
                Traceback (most recent call last):
                  File "d:\archivos de programa\plone\zope2\lib\python\OFS\Application.py", line 786, in install_product
                        initmethod(context)
                  File "d:\archivos de programa\plone\zope2\lib\python\Products\Five\__init__.py", line 28, in initialize
                   
                ....
                ZopeXMLConfigurationError: File "D:\Archivos de programa\Plone\parts\instance\etc\site.zcml", line 15.2-15.23
                        ZopeXMLConfigurationError: File "D:\Archivos de programa\Plone\parts\instance\Products\MyOwnPloneSkin\configure.zcml", line 4.1-4.31
                        ZopeXMLConfigurationError: File "D:\Archivos de programa\Plone\parts\instance\Products\MyOwnPloneSkin\browser\configure.zcml", line 33.4-39.10
                        ConfigurationError: ('Invalid value for', 'class', "ImportError: Couldn't import Products.MyOwnPloneSkin.browser.viewlets, No module named viewlets")

                       
So... : "Couldn't import Products.MyOwnPloneSkin.browser.viewlets"

Someone have the same problem or it's only my problem?! (if its my problem, could someone help me?¿ thank you!)
francoise () Re: Problem with DIYPloneStyle on Plone 3.0 (maybe!)
Reply Threaded More More options
Print post
Permalink
Hello,

I think you have to use paster, it is in /zinstance/bin (I do not remember if I have installed it or if it was installed by the Unified installer)

http://plone.org/documentation/how-to/use-paster/

Generate the squeleton with the following command :

      paster create -t plone3_theme

Place your package, say my.package, in /zinstance/src and add it to  /zinstance/buildout.cfg

[buildout]

egg= ...
         my.package
zcml =
     liris.LirisStuff

develop =
     my.package

Re-run buildout

Acrontias wrote:
Hello at all,

I'm trying to generate a new theme using "DIY Plone Style 3.0" .
Acrontias () Re: Problem with DIYPloneStyle on Plone 3.0 (maybe!)
Reply Threaded More More options
Print post
Permalink
In reply to this post by Acrontias



Acrontias wrote:

>
> Hello at all,
>
> I'm trying to generate a new theme using "DIY Plone Style 3.0" .
>
> My Plone version is 3.2.2 (running in Windows XP), and i am using the
> Python version include in it (python 2.4).
>
> So, i create a blank skeleton with the script
> "Products/DIYPloneStyle/bin/generator.py"!
>
> If someone would try to reproduce this, i'm  following the Alexander
> Limi's tutorial
> http://plone.org/documentation/tutorial/creating-plone-themes/proper-foundation 
> :
>
> 1) Download "DIY Plone Style 3.0"
> 2) Execute the script to clean slate :
> "D:\Archivos de programa\Plone\python\python.exe"
> DIYPloneStyle\bin\generator.py --productname MyOwnPloneSkin
>
> And it creates a dir MyOwnPloneSkin (structure with skeleton..).
>
> "D:\Archivos de programa\Plone\parts\instance\Products\MyOwnPloneSkin"
>
> And then, if i want to start Plone, the server Zope throw me an error :
>
> 2009-07-03T13:23:32 ERROR Application Couldn't install Five
> Traceback (most recent call last):
>  File "d:\archivos de
> programa\plone\zope2\lib\python\OFS\Application.py", line 786, in
> install_product
> initmethod(context)
>  File "d:\archivos de
> programa\plone\zope2\lib\python\Products\Five\__init__.py", line 28, in
> initialize
>  
> ....
> ZopeXMLConfigurationError: File "D:\Archivos de
> programa\Plone\parts\instance\etc\site.zcml", line 15.2-15.23
> ZopeXMLConfigurationError: File "D:\Archivos de
> programa\Plone\parts\instance\Products\MyOwnPloneSkin\configure.zcml",
> line 4.1-4.31
> ZopeXMLConfigurationError: File "D:\Archivos de
> programa\Plone\parts\instance\Products\MyOwnPloneSkin\browser\configure.zcml",
> line 33.4-39.10
> ConfigurationError: ('Invalid value for', 'class', "ImportError:
> Couldn't import Products.MyOwnPloneSkin.browser.viewlets, No module named
> viewlets")
>
>
> So... : "Couldn't import Products.MyOwnPloneSkin.browser.viewlets"
>
> Someone have the same problem or it's only my problem?! (if its my
> problem, could someone help me?¿ thank you!)
>
>

--
View this message in context: http://n2.nabble.com/Problem-with-DIYPloneStyle-on-Plone-3.0-%28maybe%21%29-tp3200939p3254739.html
Sent from the Product Developers mailing list archive at Nabble.com.

_______________________________________________
Product-Developers mailing list
[hidden email]
http://lists.plone.org/mailman/listinfo/product-developers
Acrontias () Re: Problem with DIYPloneStyle on Plone 3.0 (maybe!)
Reply Threaded More More options
Print post
Permalink



Acrontias wrote:

>
>
>
> Acrontias wrote:
>>
>> Hello at all,
>>
>> I'm trying to generate a new theme using "DIY Plone Style 3.0" .
>>
>> My Plone version is 3.2.2 (running in Windows XP), and i am using the
>> Python version include in it (python 2.4).
>>
>> So, i create a blank skeleton with the script
>> "Products/DIYPloneStyle/bin/generator.py"!
>>
>> If someone would try to reproduce this, i'm  following the Alexander
>> Limi's tutorial
>> http://plone.org/documentation/tutorial/creating-plone-themes/proper-foundation 
>> :
>>
>> 1) Download "DIY Plone Style 3.0"
>> 2) Execute the script to clean slate :
>> "D:\Archivos de programa\Plone\python\python.exe"
>> DIYPloneStyle\bin\generator.py --productname MyOwnPloneSkin
>>
>> And it creates a dir MyOwnPloneSkin (structure with skeleton..).
>>
>> "D:\Archivos de programa\Plone\parts\instance\Products\MyOwnPloneSkin"
>>
>> And then, if i want to start Plone, the server Zope throw me an error :
>>
>> 2009-07-03T13:23:32 ERROR Application Couldn't install Five
>> Traceback (most recent call last):
>>  File "d:\archivos de
>> programa\plone\zope2\lib\python\OFS\Application.py", line 786, in
>> install_product
>> initmethod(context)
>>  File "d:\archivos de
>> programa\plone\zope2\lib\python\Products\Five\__init__.py", line 28, in
>> initialize
>>  
>> ....
>> ZopeXMLConfigurationError: File "D:\Archivos de
>> programa\Plone\parts\instance\etc\site.zcml", line 15.2-15.23
>> ZopeXMLConfigurationError: File "D:\Archivos de
>> programa\Plone\parts\instance\Products\MyOwnPloneSkin\configure.zcml",
>> line 4.1-4.31
>> ZopeXMLConfigurationError: File "D:\Archivos de
>> programa\Plone\parts\instance\Products\MyOwnPloneSkin\browser\configure.zcml",
>> line 33.4-39.10
>> ConfigurationError: ('Invalid value for', 'class', "ImportError:
>> Couldn't import Products.MyOwnPloneSkin.browser.viewlets, No module named
>> viewlets")
>>
>>
>> So... : "Couldn't import Products.MyOwnPloneSkin.browser.viewlets"
>>
>> Someone have the same problem or it's only my problem?! (if its my
>> problem, could someone help me?¿ thank you!)
>>
>>
>
>

--
View this message in context: http://n2.nabble.com/Problem-with-DIYPloneStyle-on-Plone-3.0-%28maybe%21%29-tp3200939p3254745.html
Sent from the Product Developers mailing list archive at Nabble.com.

_______________________________________________
Product-Developers mailing list
[hidden email]
http://lists.plone.org/mailman/listinfo/product-developers
Acrontias () Re: Problem with DIYPloneStyle on Plone 3.0 (maybe!)
Reply Threaded More More options
Print post
Permalink
In reply to this post by francoise

First of all, thank you for your help and sorry for my delay (i've got a lot of work last week!)!

Ok, i try to familiarize with python eggs, and it sounds great (the concept is clear).

Nevertheless, when i try to execute :
        paster create -t plone3_theme
       
And entry namespace_package, etc. it fails :
       
...
File "c:\tmp\plone\buildout-cache\eggs\pastescript-1.7.3-py2.4.egg\paste\script\copydir.py", line 68, in copy_dir
WindowsError: [Errno 3] El sistema no puede hallar la ruta especificada: 'c:\\tmp\\plone\\buildout-cache\\eggs\\zopeskel-2.11.1-py2.4.egg\\zopeskel\\templates/plone/*.*'


I though that the problem is becouse i'use windows and mybe the path are erroneous, for this i try to insall Plone in c:\tmp, but i recive
the same problem. And it is logical, becouse this rout don't exist :

        'c:\\...\\zopeskel\\templates/plone/*.*'
               
In this route i only have :
        <DIR>          archetype
        <DIR>          basic_namespace
        <DIR>          basic_zope
        <DIR>          kss_plugin
       
The best think is go to Linux, but for now, do someone know the problem?


francoise wrote:
Hello,

I think you have to use paster, it is in /zinstance/bin (I do not remember if I have installed it or if it was installed by the Unified installer)

http://plone.org/documentation/how-to/use-paster/

Generate the squeleton with the following command :

      paster create -t plone3_theme

Place your package, say my.package, in /zinstance/src and add it to  /zinstance/buildout.cfg

[buildout]

egg= ...
         my.package
zcml =
     liris.LirisStuff

develop =
     my.package

Re-run buildout

Acrontias wrote:
Hello at all,

I'm trying to generate a new theme using "DIY Plone Style 3.0" .
Espen Moe-Nilssen () Re: Problem with DIYPloneStyle on Plone 3.0 (maybe!)
Reply Threaded More More options
Print post
Permalink
Some javascript/style in this post has been disabled (why?)
Just to be sure: Try running it with all answers set to defaul (=press enter all the time).

If that is not working, something is probably wrong with (the installation of ) paster or maybe the python version (?)

You could try to reinstall paster (maybe with easy_install (?)





Den 14. jul. 2009 kl. 11.31 skrev Acrontias:



First of all, thank you for your help and sorry for my delay (i've got a lot
of work last week!)!

Ok, i try to familiarize with python eggs, and it sounds great (the concept
is clear).

Nevertheless, when i try to execute :
paster create -t plone3_theme


And entry namespace_package, etc. it fails :


...
File
"c:\tmp\plone\buildout-cache\eggs\pastescript-1.7.3-py2.4.egg\paste\script\copydir.py",
line 68, in copy_dir
WindowsError: [Errno 3] El sistema no puede hallar la ruta especificada:
'c:\\tmp\\plone\\buildout-cache\\eggs\\zopeskel-2.11.1-py2.4.egg\\zopeskel\\templates/plone/*.*'


I though that the problem is becouse i'use windows and mybe the path are
erroneous, for this i try to insall Plone in c:\tmp, but i recive
the same problem. And it is logical, becouse this rout don't exist : 

'c:\\...\\zopeskel\\templates/plone/*.*'


In this route i only have : 
<DIR>          archetype
<DIR>          basic_namespace
<DIR>          basic_zope
<DIR>          kss_plugin


The best think is go to Linux, but for now, do someone know the problem?



francoise wrote:

Hello,

I think you have to use paster, it is in /zinstance/bin (I do not remember
if I have installed it or if it was installed by the Unified installer)


Generate the squeleton with the following command :

      paster create -t plone3_theme

Place your package, say my.package, in /zinstance/src and add it to 
/zinstance/buildout.cfg

[buildout]

egg= ...
         my.package
zcml =
     liris.LirisStuff

develop =
     my.package

Re-run buildout


Acrontias wrote:

Hello at all,

I'm trying to generate a new theme using "DIY Plone Style 3.0" .





-- 
Sent from the Product Developers mailing list archive at Nabble.com.

_______________________________________________
Product-Developers mailing list


_______________________________________________
Product-Developers mailing list
[hidden email]
http://lists.plone.org/mailman/listinfo/product-developers