Platform Error when deleting a broken album

ppr8

Joined: 2007-02-14
Posts: 4
Posted: Tue, 2007-07-17 14:42

Gallery version 2.3-svn
PHP version 5.2.1 apache2handler
Webserver Apache/2.2.3 (Ubuntu) PHP/5.2.1
Database mysqli 5.0.38-Ubuntu_0ubuntu1-log
Toolkits ImageMagick, Thumbnail, Gd
Operating system Linux pr-linux 2.6.20-16-generic #2 SMP Thu Jun 7 20:19:32 UTC 2007 i686
Browser Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4

I have a few broken albums I am trying to get rid of on this newly restored album and I am getting the following message posted to the browser. I have tried rebuilding all Thumbnails. The rebuild fails for about 128 items out of some 3107 items with an exception stack. I have also tried deleting caches to no avail. Any help would be appreciated.

Thanks

Error message when deleting broken album is:

An error has occurred while interacting with the platform.
The exact nature of the platform error is unknown. A common cause are insufficient file system permissions. This can happen if you or your webhost changed something in the file system, e.g. by restoring data from a backup.

Error Detail -
Error (ERROR_PLATFORM_FAILURE) : /usr/local/g2data/locks/7

* in modules/core/classes/FlockLockSystem.class at line 72 (GalleryCoreApi::error)
* in modules/core/classes/GalleryLockSystem.class at line 95 (FlockLockSystem::_acquireLock)
* in modules/core/classes/helpers/GalleryLockHelper_simple.class at line 135 (GalleryLockSystem::acquireReadLock)
* in modules/core/classes/GalleryCoreApi.class at line 2196 (GalleryLockHelper_simple::acquireReadLockParents)
* in modules/core/classes/helpers/GalleryEntityHelper_medium.class at line 56 (GalleryCoreApi::acquireReadLockParents)
* in modules/core/classes/GalleryCoreApi.class at line 2306 (GalleryEntityHelper_medium::deleteEntityById)
* in modules/core/ItemDeleteSingle.inc at line 68 (GalleryCoreApi::deleteEntityById)
* in main.php at line 256 (ItemDeleteSingleController::handleRequest)
* in main.php at line 111
* in main.php at line 96

Error message rebuilding thumbnails is:

Debug output for failed items:

file_exists(/usr/local/g2data/cache/entity/9/7/9764.inc)

(mysqli): SELECT g_id, g_entityType FROM g2_Entity WHERE g_id IN (9764)

(mysqli): SELECT g2_DerivativeImage.g_width, g2_DerivativeImage.g_height,
g2_Derivative.g_derivativeSourceId, g2_Derivative.g_derivativeOperations,
g2_Derivative.g_derivativeOrder, g2_Derivative.g_derivativeSize,
g2_Derivative.g_derivativeType, g2_Derivative.g_mimeType,
g2_Derivative.g_postFilterOperations, g2_Derivative.g_isBroken,
g2_ChildEntity.g_parentId, g2_Entity.g_id, g2_Entity.g_creationTimestamp,
g2_Entity.g_isLinkable, g2_Entity.g_linkId,
g2_Entity.g_modificationTimestamp, g2_Entity.g_serialNumber,
g2_Entity.g_entityType, g2_Entity.g_onLoadHandlers FROM g2_DerivativeImage,
g2_Derivative, g2_ChildEntity, g2_Entity WHERE g2_DerivativeImage.g_id IN
(9764) AND g2_Derivative.g_id=g2_DerivativeImage.g_id AND
g2_ChildEntity.g_id=g2_DerivativeImage.g_id AND
g2_Entity.g_id=g2_DerivativeImage.g_id