Re: Problem when installing archetypes, please help!!!
Geoff Davis <
geoff@...>
2003-09-01 12:30:25 GMT
You need to put the validation, transform, and generator modules in
~zope/lib/python and not in the Products folder.
"Hrant Arakelyan" <hrantjan@...> wrote
in message news:BAY9-F65L2jpWkfb81I00009a97@...
> Hello, I have some experience in Plone already, now I wanted to create new
> content types using archetypes. I've downloaded everything necessary from
> sourceforge.net, then read the documentations regarding the installations
of
> archetypes in plone.org. i think I've done everything right, but when
> creating the external method to register he archetypes, when i click add,
it
> gives me the following error:
> ImportError
>
> Sorry, a site error occurred.
>
> Traceback (innermost last):
>
> Module ZPublisher.Publish, line 150, in publish_module
> Module Products.Localizer, line 58, in new_publish
> Module ZPublisher.Publish, line 114, in publish
> Module Zope.App.startup, line 182, in zpublisher_exception_hook
> Module ZPublisher.Publish, line 98, in publish
> Module ZPublisher.mapply, line 88, in mapply
> Module ZPublisher.Publish, line 39, in call_object
> Module Products.ExternalMethod.ExternalMethod, line 59, in
> manage_addExternalMethod
> Module Products.ExternalMethod.ExternalMethod, line 110, in __init__
> Module Products.ExternalMethod.ExternalMethod, line 133, in manage_edit
> Module Products.ExternalMethod.ExternalMethod, line 140, in getFunction
> Module App.Extensions, line 144, in getObject
> __traceback_info__: ('C:\\Program
>
Files\\Plone\\Zope\\lib\\python\\Products\\Archetypes\\Extensions\\Install.p
y',
> 'Archetypes.Install')
> Module C:\Program
> Files\Plone\Zope\lib\python\Products\Archetypes\Extensions\Install.py,
line
> 2, in ?
> ImportError: cannot import name listTypes (Also, an error occurred while
> attempting to render the standard error message.)
>
> Somebody, please help me, tell me how to solve the problem!!! As far as i
> can see in python scripts, listTypes exists right where the program tries
to
> import it from. I don't understand what's the problem. I'd really be very
> thankful if anybody could help me, I need it very much. I'm running plone
on
> Win2000.
> Thank You!!
>
> _________________________________________________________________
> STOP MORE SPAM with the new MSN 8 and get 2 months FREE*
> http://join.msn.com/?page=features/junkmail
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf