[Zope] Re: ImportError: No module named cPersistence when creating new instance

2007-04-04 Thread Laurence Rowe
Sounds like you have missed the "make install" step. You should then be 
able to run $SOFTWARE_HOME/bin/mkzopeinstance.py directly to create a 
new instance using this version of the software.


Laurence


michael nt milne wrote:
yes, the main instance runs fine but not the new one which was created 
using mkzopeinstance.py...I checked the archives but they don't help


On 4/4/07, *Martijn Pieters * 
<[EMAIL PROTECTED] 
> wrote:


On 4/4/07, michael nt milne <
[EMAIL PROTECTED]
> wrote:
 > I'm getting this when running ./zopectl after creating a new
instance. This
 > was simply using the /utilities/mkzopeinstance.py script from
within the
 > main zope directory and running the system python on it. The original
 > instance works fine but not the new one. Any ideas?

Did you compile the Zope C extensions? ./configure; make

--
Martijn Pieters




--
michael




___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce

 http://mail.zope.org/mailman/listinfo/zope-dev )


___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] getting this trying to add a plone site to zope 2.9.4...

2007-04-04 Thread Martijn Pieters

On 4/4/07, michael nt milne <[EMAIL PROTECTED]> wrote:

Well my original sites run fine in the instance created by the unified
installer. I'd like to use the Zope that is running that and not install a
new one. Why would the mkzopeinstance.py utility which is bundled with the
Plone 2.5 unified installer not create a zope instance which would run a
Plone 2.5 site?


No idea, but reporting a traceback on an old Zope version is not much
use unless you can reproduce it on a more recent Zope version. The
problem could a) be already solved (and thus a moot point) or b) be
caused by an incompatible combination of Zope, Five and/or Plone, in
which case you'll need to check the documentation for minimal
requirements.

If the problem is caused by the Plone unified installer, you'd be
better off contacting the Plone lists, as that is a repackaging done
by someone in the Plone project. I, at least, am not familiar (yet)
with what the unified installer does, as I install Python, Zope and
Plone from source.

--
Martijn Pieters
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] ImportError: No module named cPersistence when creating new instance

2007-04-04 Thread michael nt milne

yes, the main instance runs fine but not the new one which was created using
mkzopeinstance.py...I checked the archives but they don't help

On 4/4/07, Martijn Pieters <[EMAIL PROTECTED]> wrote:


On 4/4/07, michael nt milne <[EMAIL PROTECTED]> wrote:
> I'm getting this when running ./zopectl after creating a new instance.
This
> was simply using the /utilities/mkzopeinstance.py script from within the
> main zope directory and running the system python on it. The original
> instance works fine but not the new one. Any ideas?

Did you compile the Zope C extensions? ./configure; make

--
Martijn Pieters





--
michael
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] ImportError: No module named cPersistence when creating new instance

2007-04-04 Thread Maciej Wisniowski

> ImportError: No module named cPersistence
Check zope list archives.

-- 
Maciej Wisniowski
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] getting this trying to add a plone site to zope 2.9.4...

2007-04-04 Thread michael nt milne

Well my original sites run fine in the instance created by the unified
installer. I'd like to use the Zope that is running that and not install a
new one. Why would the mkzopeinstance.py utility which is bundled with the
Plone 2.5 unified installer not create a zope instance which would run a
Plone 2.5 site?

Thanks

On 4/4/07, Martijn Pieters <[EMAIL PROTECTED]> wrote:


On 4/4/07, michael nt milne <[EMAIL PROTECTED]> wrote:
> i have zope 2.9.4 with Five 1.3.6. The instance was created using the
bin
> directory of the plone 2.5.2 unified installer..

I saw you were using Zope 2.9.4; what I meant is that you should try
Zope 2.9.7 (3! bugfix releases newer), which includes a newer version
of Five as well.

We run plenty of Plone 2.5 sites on Zope 2.9 without any problems.

--
Martijn Pieters





--
michael
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] ImportError: No module named cPersistence when creating new instance

2007-04-04 Thread Martijn Pieters

On 4/4/07, michael nt milne <[EMAIL PROTECTED]> wrote:

I'm getting this when running ./zopectl after creating a new instance. This
was simply using the /utilities/mkzopeinstance.py script from within the
main zope directory and running the system python on it. The original
instance works fine but not the new one. Any ideas?


Did you compile the Zope C extensions? ./configure; make

--
Martijn Pieters
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] ImportError: No module named cPersistence when creating new instance

2007-04-04 Thread michael nt milne

Hi

I'm getting this when running ./zopectl after creating a new instance. This
was simply using the /utilities/mkzopeinstance.py script from within the
main zope directory and running the system python on it. The original
instance works fine but not the new one. Any ideas?


 File "/home/zopesinstance/Zope-2.9.3-src/lib/python/Zope2/Startup/zopectl.py",
line 308, in ?
   main()
 File "/home/zopesinstance/Zope-2.9.3-src/lib/python/Zope2/Startup/zopectl.py",
line 274, in main
   options.realize(args)
 File "/home/zopesinstance/Zope-2.9.3-src/lib/python/Zope2/Startup/zopectl.py",
line 91, in realize
   ZDOptions.realize(self, *args, **kw)
 File "/home/zopesinstance/Zope-2.9.3-src/lib/python/zdaemon/zdoptions.py",
line 273, in realize
   self.load_schema()
 File "/home/zopesinstance/Zope-2.9.3-src/lib/python/zdaemon/zdoptions.py",
line 321, in load_schema
   self.schema = ZConfig.loadSchema(self.schemafile)
 File "/home/zopesinstance/Zope-2.9.3-src/lib/python/ZConfig/loader.py",
line 31, in loadSchema
   return SchemaLoader().loadURL(url)
 File "/home/zopesinstance/Zope-2.9.3-src/lib/python/ZConfig/loader.py",
line 65, in loadURL
   return self.loadResource(r)
 File "/home/zopesinstance/Zope-2.9.3-src/lib/python/ZConfig/loader.py",
line 159, in loadResource
   schema = ZConfig.schema.parseResource(resource, self)
 File "/home/zopesinstance/Zope-2.9.3-src/lib/python/ZConfig/schema.py",
line 27, in parseResource
   xml.sax.parse(resource.file, parser)
 File "/usr/local/lib/python2.3/xml/sax/__init__.py", line 33, in parse
   parser.parse(source)
 File "/usr/local/lib/python2.3/xml/sax/expatreader.py", line 107, in parse
   xmlreader.IncrementalParser.parse(self, source)
 File "/usr/local/lib/python2.3/xml/sax/xmlreader.py", line 123, in parse
   self.feed(buffer)
 File "/usr/local/lib/python2.3/xml/sax/expatreader.py", line 207, in feed
   self._parser.Parse(data, isFinal)
 File "/usr/local/lib/python2.3/xml/sax/expatreader.py", line 300, in
start_element
   self._cont_handler.startElement(name, AttributesImpl(attrs))
 File "/home/zopesinstance/Zope-2.9.3-src/lib/python/ZConfig/schema.py",
line 99, in startElement
   getattr(self, "start_" + name)(attrs)
 File "/home/zopesinstance/Zope-2.9.3-src/lib/python/ZConfig/schema.py",
line 475, in start_schema
   keytype, valuetype, datatype = self.get_sect_typeinfo(attrs)
 File "/home/zopesinstance/Zope-2.9.3-src/lib/python/ZConfig/schema.py",
line 201, in get_sect_typeinfo
   datatype = self.get_datatype(attrs, "datatype", "null", base)
 File "/home/zopesinstance/Zope-2.9.3-src/lib/python/ZConfig/schema.py",
line 194, in get_datatype
   return self._registry.get(dtname)
 File "/home/zopesinstance/Zope-2.9.3-src/lib/python/ZConfig/datatypes.py",
line 398, in get
   t = self.search(name)
 File "/home/zopesinstance/Zope-2.9.3-src/lib/python/ZConfig/datatypes.py",
line 423, in search
   package = __import__(n, g, g, component)
 File 
"/home/zopesinstance/Zope-2.9.3-src/lib/python/Zope2/Startup/datatypes.py",
line 20, in ?
   from ZODB.config import ZODBDatabase
 File "/home/zopesinstance/Zope-2.9.3-src/lib/python/ZODB/__init__.py",
line 21, in ?
   from persistent import TimeStamp
 File "/home/zopesinstance/Zope-2.9.3-src/lib/python/persistent/__init__.py",
line 19, in ?
   from cPersistence import Persistent, GHOST, UPTODATE, CHANGED, STICKY
ImportError: No module named cPersistence
--
michael
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] getting this trying to add a plone site to zope 2.9.4...

2007-04-04 Thread Martijn Pieters

On 4/4/07, michael nt milne <[EMAIL PROTECTED]> wrote:

i have zope 2.9.4 with Five 1.3.6. The instance was created using the bin
directory of the plone 2.5.2 unified installer..


I saw you were using Zope 2.9.4; what I meant is that you should try
Zope 2.9.7 (3! bugfix releases newer), which includes a newer version
of Five as well.

We run plenty of Plone 2.5 sites on Zope 2.9 without any problems.

--
Martijn Pieters
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] getting this trying to add a plone site to zope 2.9.4...

2007-04-04 Thread michael nt milne

i have zope 2.9.4 with Five 1.3.6. The instance was created using the bin
directory of the plone 2.5.2 unified installer..

On 4/4/07, Martijn Pieters <[EMAIL PROTECTED]> wrote:


On 4/4/07, michael nt milne <[EMAIL PROTECTED]> wrote:
>  Module Products.Five.traversable, line 115, in __bobo_traverse__
>
> AttributeError: previous

Have you tried a more recent Zope 2.9 release?

--
Martijn Pieters





--
michael
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] getting this trying to add a plone site to zope 2.9.4...

2007-04-04 Thread Martijn Pieters

On 4/4/07, michael nt milne <[EMAIL PROTECTED]> wrote:

 Module Products.Five.traversable, line 115, in __bobo_traverse__

AttributeError: previous


Have you tried a more recent Zope 2.9 release?

--
Martijn Pieters
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] getting this trying to add a plone site to zope 2.9.4...

2007-04-04 Thread michael nt milne

Traceback (innermost last):
 Module ZPublisher.Publish, line 115, in publish
 Module ZPublisher.mapply, line 88, in mapply
 Module ZPublisher.Publish, line 41, in call_object
 Module Products.CMFPlone.factory, line 52, in addPloneSite
 Module Products.GenericSetup.tool, line 251, in runAllImportSteps
  - __traceback_info__: profile-CMFPlone:plone
 Module Products.GenericSetup.tool, line 725, in _doRunImportStep
  - __traceback_info__: plone-final
 Module Products.CMFPlone.setuphandlers, line 212, in importFinalSteps
 Module Products.CMFPlone.setuphandlers, line 109, in setupPortalContent
 Module Products.CMFPlone.utils, line 369, in _createObjectByType
 Module Products.CMFCore.TypesTool, line 357, in _finishConstruction
 Module Products.CMFCore.CMFCatalogAware, line 145, in notifyWorkflowCreated
 Module Products.CMFCore.WorkflowTool, line 354, in notifyCreated
 Module Products.CMFCore.WorkflowTool, line 699, in _reindexWorkflowVariables
 Module Products.Archetypes.CatalogMultiplex, line 66, in reindexObjectSecurity
 Module Products.ZCatalog.CatalogBrains, line 52, in _unrestrictedGetObject
 Module OFS.Traversable, line 187, in unrestrictedTraverse
  - __traceback_info__: ([], 'previous')
 Module Products.Five.traversable, line 115, in __bobo_traverse__
AttributeError: previous



--
michael
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] Re: zope problem

2007-04-04 Thread Josef Meile

Hi kashif


when we run zopectl the following error message occour



[EMAIL PROTECTED] zope]# zopectl
/usr/lib/python2.4/whrandom.py:38: DeprecationWarning:
the whrandom module is deprecated; please use the
random module
  DeprecationWarning)
program: /usr/bin/runzope
daemon manager not running
zopectl>   
Well, actually that's not an error. The message is right; you haven't 
started zope. To start it, you have to run "zopectl start" without 
quotation marks.


Do "zopectl help" without quotation maks to see what you can do with it.

Regards
Josef
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] zope problem

2007-04-04 Thread kashif yaqoob
DEAR SIR,

When installing zope-ERP5 in mandriva 2007  
and run the following command 
= 
[EMAIL PROTECTED] ~]# urpmi.addmedia --update
nexedi http://nexedi.org/static/mandr
ivalinux/2007.0/i586/
[EMAIL PROTECTED] ~]urpmi zope-ERP5
[EMAIL PROTECTED] ~]urpmi zope-ERP5Subversion
===

when we run zopectl the following error message occour



[EMAIL PROTECTED] zope]# zopectl
/usr/lib/python2.4/whrandom.py:38: DeprecationWarning:
the whrandom module is deprecated; please use the
random module
  DeprecationWarning)
program: /usr/bin/runzope
daemon manager not running
zopectl>   
===
ZOPE SERVER (zopectl) NOT RUN and also check in the
browser http://localhost:9080/
not run this

and you can also see the event.log

=event.log


2007-04-04T01:29:11 INFO(0) ZServer HTTP server
started at Wed Apr  4 01:29:11 2007
Hostname: erp.mnd.net
Port: 9080
--
2007-04-04T01:29:11 INFO(0) ZServer FTP server started
at Wed Apr  4 01:29:11 2007
Hostname: erp.mnd.net
Port: 9021
--
2007-04-04T01:29:11 INFO(0) Zope Set effective user to
"zope"
--
2007-04-04T01:29:50 INFO(0) Zope New disk product
detected, determining if we need to fix up any
ZClasses.
--
2007-04-04T01:29:51 INFO(0) Zope Ready to handle
requests
--
2007-04-04T01:37:19 INFO(0) Z2 Caught signal SIGTERM
--
2007-04-04T01:37:19 INFO(0) Z2 Shutting down fast
--
2007-04-04T01:37:19 INFO(0) ZServer closing HTTP to
new connections

===event.log===


and below very helpul guide and follow all steps but
then erp5-zope not run why 

http://en.wikibooks.org/wiki/ERP5_Handbook/Lets_go...


Any advice how to fix this and continue the install
would be apprecialted.

Best Regard;
Mahmood


 

TV dinner still cooling? 
Check out "Tonight's Picks" on Yahoo! TV.
http://tv.yahoo.com/
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] zope problem

2007-04-04 Thread kashif yaqoob
DEAR SIR,

When installing zope-ERP5 in mandriva 2007 
and run the following command 
= 
[EMAIL PROTECTED] ~]# urpmi.addmedia --update
nexedi http://nexedi.org/static/mandr
ivalinux/2007.0/i586/
[EMAIL PROTECTED] ~]urpmi zope-ERP5
[EMAIL PROTECTED] ~]urpmi zope-ERP5Subversion
===

when we run zopectl the following error message occour



[EMAIL PROTECTED] zope]# zopectl
/usr/lib/python2.4/whrandom.py:38: DeprecationWarning:
the whrandom module is deprecated; please use the
random module
  DeprecationWarning)
program: /usr/bin/runzope
daemon manager not running
zopectl>   
===

and you can also see the event.log

=event.log


2007-04-04T01:29:11 INFO(0) ZServer HTTP server
started at Wed Apr  4 01:29:11 2007
Hostname: erp.mnd.net
Port: 9080
--
2007-04-04T01:29:11 INFO(0) ZServer FTP server started
at Wed Apr  4 01:29:11 2007
Hostname: erp.mnd.net
Port: 9021
--
2007-04-04T01:29:11 INFO(0) Zope Set effective user to
"zope"
--
2007-04-04T01:29:50 INFO(0) Zope New disk product
detected, determining if we need to fix up any
ZClasses.
--
2007-04-04T01:29:51 INFO(0) Zope Ready to handle
requests
--
2007-04-04T01:37:19 INFO(0) Z2 Caught signal SIGTERM
--
2007-04-04T01:37:19 INFO(0) Z2 Shutting down fast
--
2007-04-04T01:37:19 INFO(0) ZServer closing HTTP to
new connections

===event.log===


and below very helpul guide and follow all steps but
then erp5-zope not run why 

http://en.wikibooks.org/wiki/ERP5_Handbook/Lets_go...


Any advice how to fix this and continue the install
would be apprecialted.

Best Regard;
Mahmood


 

8:00? 8:25? 8:40? Find a flick in no time 
with the Yahoo! Search movie showtime shortcut.
http://tools.search.yahoo.com/shortcuts/#news
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )