Re: [Zope] Error packing database

2009-05-27 Thread Jonathan (dev101)
- Original Message - 
From: "Fabian Schoeck" 
To: 
Sent: Wednesday, May 27, 2009 4:08 AM
Subject: [Zope] Error packing database
> 
> I searched the web for help, but did not find anything really helpful.
> Is this due to some timeout of the web browser? The Data.fs is quite
> large (7 GB). Should I rather pack the data base via shell and not using
> the ZMI? What is the command to do so?


Google "manage_pack".


Jonathan
___
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] Error packing database

2009-05-27 Thread Fabian Schoeck
Dear list,

when trying to pack my data base, I get the following error:

---
2009-05-26T18:30:52 ERROR ZODB.DB packing
Traceback (most recent call last):
  File "/var/www/zope/lib/python/ZODB/DB.py", line 605, in pack
self._storage.pack(t, referencesf)
  File "/var/www/zope/lib/python/ZODB/FileStorage/FileStorage.py", line
1377, in pack
self._commit_lock_release()
error: release unlocked lock
--
2009-05-26T18:30:53 ERROR Zope.SiteErrorLog
http://localhost:8080/Control_Panel/Database/main/manage_pack
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 App.ApplicationManager, line 426, in manage_pack
  Module ZODB.DB, line 605, in pack
  Module ZODB.FileStorage.FileStorage, line 1377, in pack
error: release unlocked lock
--


I searched the web for help, but did not find anything really helpful.
Is this due to some timeout of the web browser? The Data.fs is quite
large (7 GB). Should I rather pack the data base via shell and not using
the ZMI? What is the command to do so?

Thanks,
Fabian
___
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] Error packing database 2.1.7 -> 2.1.6

2000-06-21 Thread Shaw, Mark

Duh!  That was all my fault.  The pack was failing because of incorrect
permissions on the Data.fs file.

-Mark


 -Original Message-
From:   Shaw, Mark [mailto:[EMAIL PROTECTED]] 
Sent:   Tuesday, June 20, 2000 4:51 PM
To: [EMAIL PROTECTED]
Subject:[Zope] Error packing database 2.1.7 -> 2.1.6

I have a site that is currently running 2.1.7.  If I install a new instance
of 2.1.6, reload all the products, and copy all the Data* file from the
2.1.7 instance to the 2.1.6 instance, everything appears to work fine.

However, if I try to pack the database, the following error is generated.
The database packs without any problem when using the 2.1.7 instance.  This
copy of Zope is being run on RedHat Linux6.1. 

Thanks in advance for any help provided.


Traceback (innermost last):
  File
/disk_01/OPT/zope/Zope-2.1.6-linux2-x86/lib/python/ZPublisher/Publish.py,
line 214, in publish_module
  File
/disk_01/OPT/zope/Zope-2.1.6-linux2-x86/lib/python/ZPublisher/Publish.py,
line 179, in publish
  File /disk_01/OPT/zope/Zope-2.1.6-linux2-x86/lib/python/Zope/__init__.py,
line 202, in zpublisher_exception_hook
(Object: Fake)
  File
/disk_01/OPT/zope/Zope-2.1.6-linux2-x86/lib/python/ZPublisher/Publish.py,
line 165, in publish
  File
/disk_01/OPT/zope/Zope-2.1.6-linux2-x86/lib/python/ZPublisher/mapply.py,
line 160, in mapply
(Object: manage_pack)
  File
/disk_01/OPT/zope/Zope-2.1.6-linux2-x86/lib/python/ZPublisher/Publish.py,
line 102, in call_object
(Object: manage_pack)
  File
/disk_01/OPT/zope/Zope-2.1.6-linux2-x86/lib/python/App/ApplicationManager.py
, line 338, in manage_pack
(Object: ElementWithAttributes)
  File /disk_01/OPT/zope/Zope-2.1.6-linux2-x86/lib/python/ZODB/DB.py, line
522, in pack
  File
/disk_01/OPT/zope/Zope-2.1.6-linux2-x86/lib/python/ZODB/FileStorage.py, line
883, in pack
(Object: /disk_01/OPT/zope/Zope-2.1.6-linux2-x86/var/Data.fs)
IOError: (see above)



-Mark

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] Error packing database 2.1.7 -> 2.1.6

2000-06-20 Thread Shaw, Mark

I have a site that is currently running 2.1.7.  If I install a new instance
of 2.1.6, reload all the products, and copy all the Data* file from the
2.1.7 instance to the 2.1.6 instance, everything appears to work fine.

However, if I try to pack the database, the following error is generated.
The database packs without any problem when using the 2.1.7 instance.  This
copy of Zope is being run on RedHat Linux6.1. 

Thanks in advance for any help provided.


Traceback (innermost last):
  File
/disk_01/OPT/zope/Zope-2.1.6-linux2-x86/lib/python/ZPublisher/Publish.py,
line 214, in publish_module
  File
/disk_01/OPT/zope/Zope-2.1.6-linux2-x86/lib/python/ZPublisher/Publish.py,
line 179, in publish
  File /disk_01/OPT/zope/Zope-2.1.6-linux2-x86/lib/python/Zope/__init__.py,
line 202, in zpublisher_exception_hook
(Object: Fake)
  File
/disk_01/OPT/zope/Zope-2.1.6-linux2-x86/lib/python/ZPublisher/Publish.py,
line 165, in publish
  File
/disk_01/OPT/zope/Zope-2.1.6-linux2-x86/lib/python/ZPublisher/mapply.py,
line 160, in mapply
(Object: manage_pack)
  File
/disk_01/OPT/zope/Zope-2.1.6-linux2-x86/lib/python/ZPublisher/Publish.py,
line 102, in call_object
(Object: manage_pack)
  File
/disk_01/OPT/zope/Zope-2.1.6-linux2-x86/lib/python/App/ApplicationManager.py
, line 338, in manage_pack
(Object: ElementWithAttributes)
  File /disk_01/OPT/zope/Zope-2.1.6-linux2-x86/lib/python/ZODB/DB.py, line
522, in pack
  File
/disk_01/OPT/zope/Zope-2.1.6-linux2-x86/lib/python/ZODB/FileStorage.py, line
883, in pack
(Object: /disk_01/OPT/zope/Zope-2.1.6-linux2-x86/var/Data.fs)
IOError: (see above)



-Mark

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )