[Grok-dev] installing other apps
Sebastian Ware
sebastian at urbantalk.se
Mon Jan 5 09:36:50 EST 2009
Try starting a new thread on the subject "Anyone using Cheetah?", I
don't use it myself so I only searched the archives briefly.
Mvh Sebastian
5 jan 2009 kl. 15.18 skrev Brian Wolf:
> Thanks for writing back.
> I added the file="meta.zcml" attribute. Now it tries to find
> meta.zcml, but it too does not exist. I don't know whether that
> means there was a problem with the installation by buildout, or
> something else. Grok and Zope are new to me.
>
> ZopeXMLConfigurationError: File "/home/bwolf/projects/grok/Msan/
> src/msan/configure.zcml", line 4.2-4.48
> IOError: [Errno 2] No such file or directory: '/home/
> bwolf/.buildout/eggs/Cheetah-2.0.1-py2.4-linux-i686.egg/Cheetah/
> meta.zcml'
>
> The email mentions adding an includeDependencies directive to
> alleviate the problem. This line is in configure.zcml:
> <includeDependencies package="." />
>
> I'm not sure how to proceed from here.
>
> Brian
>
> Brian Wolf
> brian at activustech.com
> Activus Technologies
> http://www.activustech.com
> 410.367-2958
>
>
> Sebastian Ware wrote:
>>
>> This might help:
>>
>> 31 dec 2008 kl. 00.10 skrev Uli Fouquet:
>>
>>> simelbaz wrote:
>>>
>>>> I am trying to use megrok.menu. After modifying setup.py,
>>> [snip]
>>>> and configure.zcml
>>>> <include package="megrok.menu" />
>>>>
>>>> grok starts with this error:
>>>>
>>>>
>>>> IOError: [Errno 2] No such file or directory:
>>>> '/home/simon/.buildout/eggs/megrok.menu-0.1-py2.4.egg/megrok/menu/
>>>> configure.zcml'
>>>>
>>>> Indeed, there is no file configure.zcml but meta.zcml.
>>>> Should I rename meta.zcml into configure.zcml ?
>>>
>>> Just change the include directive and name the file to include::
>>>
>>> <include package="megrok.menu" file="meta.zcml" />
>>>
>>> If you don't name a filename explicitly, ``configure.zcml`` is
>>> taken as
>>> default.
>>>
>>> Oh, and if you use a ``includeDependencies`` directive in your
>>> ``configure.zcml``, chances are that you can skip the whole thing at
>>> all, because ``includeDependencies`` should do it for you
>>> automatically.
>>>
>>> Hope that helps,
>>>
>>> --
>>> Uli
>>
>>
>> Mvh Sebastian
>>
>>
>>
>> 4 jan 2009 kl. 22.37 skrev Brian Wolf:
>>
>>> Thanks for writing back.
>>> I've use both Cheetah with ReportLab, and like both.
>>>
>>> I started with the online doc you referenced. But, when I start
>>> grok, I get a series of errors ending with:
>>>
>>> zope.configuration.xmlconfig.ZopeXMLConfigurationError: File "/
>>> home/bwolf/projects/grok/Msan/parts/app/site.zcml", line 4.0-4.26
>>> ZopeXMLConfigurationError: File "/home/bwolf/projects/grok/Msan/
>>> src/msan/configure.zcml", line 5.2-5.31
>>> IOError: [Errno 2] No such file or directory: '/home/
>>> bwolf/.buildout/eggs/Cheetah-2.0.1-py2.4-linux-i686.egg/Cheetah/
>>> configure.zcml'
>>>
>>> Looks like something is not configured correctly. It seems that
>>> grok is looking for configure.zcml in a subdirectory of ./
>>> buildout, but there's a file of that name in /home/bwolf/projects/
>>> grok/Msan/src/msan. What do you recommend?
>>>
>>> Thanks.
>>> Brian
>>>
>>>
>>>
>>> Sebastian Ware wrote:
>>>>
>>>> You install Reportlab in your python installation. It isn't
>>>> available
>>>> as an egg (as far as I know) so you have to install it manually.
>>>> Once
>>>> you have installed Reportlab, it is available from within your Grok
>>>> application. I am using ReportLab in a Grok-app and it works great.
>>>>
>>>> Regarding Cheetah, take a look at this howto:
>>>>
>>>> http://grok.zope.org/documentation/how-to/plugging-in-new-template-languages
>>>>
>>>> Mvh Sebastian
>>>>
>>>>
>>>> 4 jan 2009 kl. 18.08 skrev Brian Wolf:
>>>>
>>>>
>>>>> I'm new to Grok.
>>>>> How do I install other (3rd party) applications such as Cheetah or
>>>>> ReportLab? In (or from) which directory?
>>>>> Or is it accomplished by running buildout? If so, can you provide
>>>>> some
>>>>> instructions?
>>>>>
>>>>> Thanks.
>>>>> Brian
>>>>>
>>>>> _______________________________________________
>>>>> Grok-dev mailing list
>>>>> Grok-dev at zope.org
>>>>> http://mail.zope.org/mailman/listinfo/grok-dev
>>>>>
>>>> _______________________________________________
>>>> Grok-dev mailing list
>>>> Grok-dev at zope.org
>>>> http://mail.zope.org/mailman/listinfo/grok-dev
>>>>
>>
More information about the Grok-dev
mailing list