RE: [Zope] Zope startup error: Archetypes: IndexError: list index out of range

2005-09-06 Thread Paul Sue
Chris Withers wrote:

| OK ... But surely, there must be some way to get Zope/Plone working on 
Solaris!
| 
| I think we have Windows Server 2003 box I can try :)
|
|I'd suggest that is a better option than Solaris, there are more people doing 
it in the real world, and so you're more |likely to get help if something DOES 
go wrong...

Fair enough, but surely there must be SOMEONE on this list that is running 
Zope/Plone on Solaris???

|Your best bet though, if to get a commodity linux box, which that
|Win2003 box could easily be turned into ;-)

I agree and am scavenging for one ;-)

Paul
___
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] Zope startup error: Archetypes: IndexError: list index out of range

2005-09-02 Thread Paul Sue
OK ... But surely, there must be some way to get Zope/Plone working on Solaris!

I think we have Windows Server 2003 box I can try :) 

-Original Message-
From: Chris Withers [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 02, 2005 12:17 AM
To: Paul Sue
Cc: zope@zope.org
Subject: Re: [Zope] Zope startup error: Archetypes: IndexError: list index out 
of range

Paul Sue wrote:
 Hi,
 
 OK, I rebuilt Zope because I think last time, I didn't have a clean directory.

Simple advise: don't use Solaris unless you really really have to. 
Especially not for an app server, but even running a storage server will cause 
you unnecessary pain...

Chris

--
Simplistix - Content Management, Zope  Python Consulting
- http://www.simplistix.co.uk

___
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] HELP!! Data.fs corrupted

2005-09-01 Thread Paul Sue
Sorry, I should have posted an update to the list .. I figured out the problem 
.. Had to install LDAPUserFolder and CMFLDAP.

All is working now!

Thx,

Paul 

-Original Message-
From: Dieter Maurer [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 01, 2005 12:51 PM
To: Paul Sue
Cc: zope@zope.org
Subject: RE: [Zope] HELP!! Data.fs corrupted

Paul Sue wrote at 2005-8-31 14:36 -0700:
 ...
* Module AccessControl.User, line 641, in validate
* Module Products.GroupUserFolder.GroupUserFolder, line 980, in 
 authenticate

There were a few more lines after this traceback -- essential ones.

Look at them and then look at line 980 in the module identified above.

--
Dieter
___
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 startup problem: AttributeError: 'module' object has no attribute 'loadSchema'

2005-09-01 Thread Paul Sue
Hi,

Found a spare Solaris 8 server, so I thought I'd tried building Zope/Plone on 
it.

Built python 2.3.4, Zope 2.7.4 OK.  When I start up zope, I get:

Traceback (most recent call last):
  File /space/users/zope/Zope274/lib/python/Zope/Startup/run.py, line 50, in ?
run()
  File /space/users/zope/Zope274/lib/python/Zope/Startup/run.py, line 18, in 
run
opts = _setconfig()
  File /space/users/zope/Zope274/lib/python/Zope/Startup/run.py, line 42, in 
_setconfig
opts.realize(doc=Sorry, no option docs yet.)
  File /space/users/zope/Zope274/lib/python/zdaemon/zdoptions.py, line 271, 
in realize
self.load_schema()
  File /space/users/zope/Zope274/lib/python/zdaemon/zdoptions.py, line 312, 
in load_schema
self.schema = ZConfig.loadSchema(self.schemafile)
AttributeError: 'module' object has no attribute 'loadSchema' 

Any pointers would be greatly appreciated.

Thanks,

Paul
___
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 startup error: Archetypes: IndexError: list index out of range

2005-09-01 Thread Paul Sue
Hi,

OK, I rebuilt Zope because I think last time, I didn't have a clean directory.

This time, when I startup Zope, I get:

--
2005-09-01T17:09:48 ERROR(200) Archetypes None Traceback (most recent call 
last):
  File /home/zope/zopehome/Products/Archetypes/content_driver/__init__.py, 
line 15, in ?
  File /home/zope/zopehome/Products/Archetypes/content_driver/MSWord.py, line 
20, in ?
  File /home/zope/zopehome/Products/Archetypes/debug.py, line 155, in log
  File /home/zope/zopehome/Products/Archetypes/debug.py, line 122, in 
munge_message
  File /home/zope/zopehome/Products/Archetypes/debug.py, line 112, in 
generateFrames
  File /usr/local/lib/python2.3/inspect.py, line 795, in stack
return getouterframes(sys._getframe(1), context)
  File /usr/local/lib/python2.3/inspect.py, line 776, in getouterframes
framelist.append((frame,) + getframeinfo(frame, context))
  File /usr/local/lib/python2.3/inspect.py, line 751, in getframeinfo
lines, lnum = findsource(frame)
  File /usr/local/lib/python2.3/inspect.py, line 435, in findsource
if pat.match(lines[lnum]): break
IndexError: list index out of range
--
2005-09-01T17:09:48 ERROR(200) Zope Couldn't install Archetypes Traceback (most 
recent call last):
  File /space/users/zope/Zope274/lib/python/OFS/Application.py, line 751, in 
install_product
initmethod(context)
  File /home/zope/zopehome/Products/Archetypes/__init__.py, line 72, in 
initialize
  File /home/zope/zopehome/Products/Archetypes/examples/__init__.py, line 1, 
in ?
from config import validation
  File /home/zope/zopehome/Products/Archetypes/examples/DDocument.py, line 1, 
in ?
  File /home/zope/zopehome/Products/Archetypes/public.py, line 4, in ?
  File /home/zope/zopehome/Products/Archetypes/BaseContent.py, line 8, in ?
  File /home/zope/zopehome/Products/Archetypes/BaseObject.py, line 18, in ?
  File /home/zope/zopehome/Products/Archetypes/Schema.py, line 12, in ?
  File /home/zope/zopehome/Products/Archetypes/BaseUnit.py, line 11, in ?
  File /home/zope/zopehome/Products/Archetypes/content_driver/__init__.py, 
line 25, in ?
  File /home/zope/zopehome/Products/Archetypes/debug.py, line 155, in log
  File /home/zope/zopehome/Products/Archetypes/debug.py, line 122, in 
munge_message
  File /home/zope/zopehome/Products/Archetypes/debug.py, line 112, in 
generateFrames
  File /usr/local/lib/python2.3/inspect.py, line 795, in stack
return getouterframes(sys._getframe(1), context)
  File /usr/local/lib/python2.3/inspect.py, line 776, in getouterframes
framelist.append((frame,) + getframeinfo(frame, context))
  File /usr/local/lib/python2.3/inspect.py, line 751, in getframeinfo
lines, lnum = findsource(frame)
  File /usr/local/lib/python2.3/inspect.py, line 435, in findsource
if pat.match(lines[lnum]): break
IndexError: list index out of range
Traceback (most recent call last):
  File /space/users/zope/Zope274/lib/python/Zope/Startup/run.py, line 50, in ?
run()
  File /space/users/zope/Zope274/lib/python/Zope/Startup/run.py, line 19, in 
run
start_zope(opts.configroot)
  File /space/users/zope/Zope274/lib/python/Zope/Startup/__init__.py, line 
51, in start_zope
starter.startZope()
  File /space/users/zope/Zope274/lib/python/Zope/Startup/__init__.py, line 
230, in startZope
Zope.startup()
  File /space/users/zope/Zope274/lib/python/Zope/__init__.py, line 47, in 
startup
_startup()
  File /space/users/zope/Zope274/lib/python/Zope/App/startup.py, line 96, in 
startup
OFS.Application.initialize(application)
  File /space/users/zope/Zope274/lib/python/OFS/Application.py, line 278, in 
initialize
initializer.initialize()
  File /space/users/zope/Zope274/lib/python/OFS/Application.py, line 305, in 
initialize
self.install_products()
  File /space/users/zope/Zope274/lib/python/OFS/Application.py, line 573, in 
install_products
return install_products(app)
  File /space/users/zope/Zope274/lib/python/OFS/Application.py, line 604, in 
install_products
folder_permissions, raise_exc=debug_mode)
  File /space/users/zope/Zope274/lib/python/OFS/Application.py, line 751, in 
install_product
initmethod(context)
  File 
/space/users/zope/zopehome/Products/validation/validators/../__init__.py, 
line 72, in initialize

  File 
/space/users/zope/zopehome/Products/validation/validators/../__init__.py, 
line 1, in ?
from config import validation
  File /home/zope/zopehome/Products/Archetypes/examples/DDocument.py, line 1, 
in ?
  File /home/zope/zopehome/Products/Archetypes/public.py, line 4, in ?
  File /home/zope/zopehome/Products/Archetypes/BaseContent.py, line 8, in ?
  File /home/zope/zopehome/Products/Archetypes/BaseObject.py, line 18, in ?
  File /home/zope/zopehome/Products/Archetypes/Schema.py, line 12, in ?
  File /home/zope/zopehome/Products/Archetypes/BaseUnit.py, line 11, in ?
  File 
/space/users/zope/zopehome/Products/validation/validators/../__init__.py, 
line 25, in ?

  File 

[Zope] HELP!! Data.fs corrupted

2005-08-31 Thread Paul Sue
Hi,
 
Our server crashed and wouldn't boot up.  Fortunately, we had backups of of 
Data.fs on another server .. so I installed Zope 2./7.4/Plone 2.0.5 on another 
server and used repozo to try to restore Data.fs:
 
./repozo.py -Rv -r /temp/recover -o Data.fs

However, when I start up Zope, I get:
 
2005-08-31T01:20:21 PANIC(300) ZODB FS FS21 ERROR: /home/zope/ssoi/var/Data.fs 
data record exceeds transaction record at 54956706


ZODB.FileStorage.CorruptedTransactionError: /home/zope/ssoi/var/Data.fs data 
record exceeds transaction record at 54956706

I've tried restoring from a few days ago using the -D option, but I get the 
same problem.

Am I totally hooped or is there some way to recover???

Please, please help!!

Thanks in advance,

Paul
___
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] HELP!! Data.fs corrupted

2005-08-31 Thread Paul Sue
Sorry, I didn't make myself clear .. I have the full backup of the original 
Data.fs and then the incremental deltafs  files, from which I tried to 
recover Data.fs:

2004-11-19-07-32-58.fs
2005-01-04-07-00-53.deltafs
2005-01-01-07-00-57.deltafs
...
2005-08-26-06-01-25.deltafs
2005-08-27-06-01-29.deltafs
2005-08-30-06-01-28.deltafs


-Original Message-
From: Tino Wildenhain [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, August 31, 2005 2:18 AM
To: Paul Sue
Cc: zope@zope.org
Subject: Re: [Zope] HELP!! Data.fs corrupted

Paul Sue schrieb:
 Hi,
  
 Our server crashed and wouldn't boot up.  Fortunately, we had backups of of 
 Data.fs on another server .. so I installed Zope 2./7.4/Plone 2.0.5 on 
 another server and used repozo to try to restore Data.fs:
  
 ./repozo.py -Rv -r /temp/recover -o Data.fs
 
 However, when I start up Zope, I get:
  
 2005-08-31T01:20:21 PANIC(300) ZODB FS FS21 ERROR: 
 /home/zope/ssoi/var/Data.fs data record exceeds transaction record at 
 54956706 
 
 ZODB.FileStorage.CorruptedTransactionError: 
 /home/zope/ssoi/var/Data.fs data record exceeds transaction record at 
 54956706
 
 I've tried restoring from a few days ago using the -D option, but I get the 
 same problem.
 
 Am I totally hooped or is there some way to recover???

Err. I dont think you need repozo to use your backup Data.fs.
You should just be able to put (a regular file copy) of your backed up Data.fs 
in place.
___
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 )