Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Zotero import plugin: fatal error (redirect from Omeka forum)
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  9 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
afr  
View profile  
 More options Dec 5 2011, 12:47 pm
From: afr <eq...@red-shield.com>
Date: Mon, 05 Dec 2011 09:47:35 -0800
Local: Mon, Dec 5 2011 12:47 pm
Subject: Zotero import plugin: fatal error (redirect from Omeka forum)
We are not able to use the Zotero import plugin v. 1.2 following upgrade to Omeka v 1.4.2.  Execution of the import function generates  Fatal Error message:

Class 'Zend_Service_Abstract' not found in /omeka/application/libraries/Zend/Rest/Client.php on line 40.

The error is not logged to the Omeka application/error.log or
/processes.log files and does not appear in the cPanel error log. 

Any thoughts as to the source of error and possible solution?

Thanks.




 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jim Safley  
View profile  
 More options Dec 5 2011, 1:39 pm
From: Jim Safley <jimsaf...@gmail.com>
Date: Mon, 5 Dec 2011 13:39:03 -0500
Local: Mon, Dec 5 2011 1:39 pm
Subject: Re: [omeka-dev] Zotero import plugin: fatal error (redirect from Omeka forum)
Do you have error and process logging turned on? Check
/application/config/config.ini for log.errors and log.processes and
mark them true. Make sure the log files in /application/logs/ have
write permission. Run the import again and see if anything is logged.

This is an odd error. The Zend/Service/Abstract.php file obviously
exists, because it would've failed while requiring a non-existent
file, but the Zend_Service_Abstract class is somehow not in that file.

You mentioned that you upgraded to Omeka 1.4.2. From what version of
Omeka did you upgrade?

Jim


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jim Safley  
View profile  
 More options Dec 5 2011, 3:44 pm
From: Jim Safley <jimsaf...@gmail.com>
Date: Mon, 5 Dec 2011 12:44:08 -0800 (PST)
Local: Mon, Dec 5 2011 3:44 pm
Subject: Re: Zotero import plugin: fatal error (redirect from Omeka forum)
Omeka definitely should not be deleting content from files. I'd
reinstall Zend 1.11.6 and try again.

Jim

On Dec 5, 1:39 pm, Jim Safley <jimsaf...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
ubu  
View profile  
 More options Dec 5 2011, 3:51 pm
From: ubu <eq...@red-shield.com>
Date: Mon, 5 Dec 2011 12:51:59 -0800 (PST)
Local: Mon, Dec 5 2011 3:51 pm
Subject: Re: Zotero import plugin: fatal error (redirect from Omeka forum)
Jim,

The Zotero import plugin is functional following replacement of the
erased Abstract.php file.  Curiously, the Collections admin page in
Omeka now shows the original Zotero import that generated the fatal
error message as a partially completed Collection with the correct
name and date of import.  Apparently, the Abstract.php was somehow
deleted of contents during the import process, though nothing was
logged to indicate the source of error.

Regarding the issue with "unzip" of the Zotero archives, the import
plugin functions correctly in decoding the Base64 files.  The problem
we encountered is a subsequent failure to unpack and remap the files
from the zip archive to the Omeka directory.  Any ideas as to possible
corrections?

Thanks,

--Frank

On Dec 5, 10:39 am, Jim Safley <jimsaf...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jim Safley  
View profile  
 More options Dec 5 2011, 4:12 pm
From: Jim Safley <jimsaf...@gmail.com>
Date: Mon, 5 Dec 2011 16:12:32 -0500
Local: Mon, Dec 5 2011 4:12 pm
Subject: Re: [omeka-dev] Re: Zotero import plugin: fatal error (redirect from Omeka forum)
Check to see if Zend/Service/Abstract.php contains the
Zend_Service_Abstract class. If so, redo the import. If the contents
are subsequently deleted then we can assume something very wrong is
going on. Though I find it hard to believe it has anything to do with
Omeka, given that web servers usually don't have permissions to delete
files.

Are you saying that the ZIP archive is not being saved to the item as
a file (as expected)? Or do you expect the plugin to unpack the ZIP
and save each file to the item separately?

Jim


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
ubu  
View profile  
 More options Dec 5 2011, 5:42 pm
From: ubu <eq...@red-shield.com>
Date: Mon, 5 Dec 2011 14:42:14 -0800 (PST)
Local: Mon, Dec 5 2011 5:42 pm
Subject: Re: Zotero import plugin: fatal error (redirect from Omeka forum)
After import the Abstract.php is modified by a secondary function, as
shown below (abridged).  Are the code changes a normal routine?

/**
 * Zend_Server_Abstract
 *
 * @category   Zend
 * @package    Zend_Server
 * @copyright  Copyright (c) 2005-2011 Zend Technologies USA Inc.
(http://www.zend.com)
 * @license    http://framework.zend.com/license/new-bsd     New BSD
License
 * @version    $Id: Abstract.php 23775 2011-03-01 17:25:24Z ralph $
 */
abstract class Zend_Server_Abstract implements Zend_Server_Interface
{

[. . .]

Re: the zip archive, the below process and error logs were generated
during test import of Zotero biblio data with standard PDF
attachments.  The listed exceptions and errors have not occurred
before. Previous to now, PDFs were imported and saved to the Omeka
Item as files in the original PDF format, not as Base64-encoded zip
archives.  The problem I was referring to earlier is the unpacking of
the ZIP and save function, as you described in the last sentence of
your most recent reply.  At the moment, imported files do seem to be
saved correctly in either case (?)

Processing.log:

ZoteroImport_ImportProcess (130) 2011-12-05T15:14:31-05:00 ERR (3):
exception 'Exception' with message 'Cannot get the local path for a
stored file.' in /public_html/omeka/application/models/File.php:110
Stack trace:
#0 /home/equus/public_html/omeka/plugins/ZoteroImport/models/
ZoteroImport/ImportProcess.php(209): File->getPath('archive')
#1 /home/equus/public_html/omeka/plugins/ZoteroImport/models/
ZoteroImport/ImportProcess.php(180): ZoteroImport_ImportProcess-

>_base64DecodeZip(Object(Item))

#2 /home/equus/public_html/omeka/plugins/ZoteroImport/models/
ZoteroImport/ImportProcess.php(57): ZoteroImport_ImportProcess-
>_import()

#3 /home/equus/public_html/omeka/application/core/background.php(75):
ZoteroImport_ImportProcess->run(Array)
#4 {main}

Error.log

2011-12-05T15:14:18-05:00 INFO (6): getID3: Unable to determine file
format
2011-12-05T15:14:18-05:00 INFO (6): getID3: Unable to determine file
format

On Dec 5, 1:12 pm, Jim Safley <jimsaf...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jim Safley  
View profile  
 More options Dec 5 2011, 6:28 pm
From: Jim Safley <jimsaf...@gmail.com>
Date: Mon, 5 Dec 2011 18:28:31 -0500
Local: Mon, Dec 5 2011 6:28 pm
Subject: Re: [omeka-dev] Re: Zotero import plugin: fatal error (redirect from Omeka forum)

> After import the Abstract.php is modified by a secondary function, as> shown below (abridged).  Are the code changes a normal routine?

No. Nothing should be changing the Zend library. I don't see any thing
unusual with the code snippet. What exactly has changed?

> Re: the zip archive, the below process and error logs were generated
> during test import of Zotero biblio data with standard PDF

The errors in the error log should have no effect on the import. I've
reproduced the error in the process log. Long story short, the current
version of the plugin is incompatible with Omeka 1.4.2. I should've
picked up on this earlier, so I apologize. We plan to release  an
updated version soon, near the release of Omeka 1.5. The master branch
of the plugin has been updated to work with Omeka 1.4.2+, so, if you
must, you can download the repository here:

https://github.com/omeka/plugin-ZoteroImport

I don't recommend it though, since it is still unreleased and liable
to be changed without warning. But test away if you're willing.

Jim


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
ubu  
View profile  
 More options Dec 6 2011, 3:09 am
From: ubu <eq...@red-shield.com>
Date: Tue, 6 Dec 2011 00:09:04 -0800 (PST)
Local: Tues, Dec 6 2011 3:09 am
Subject: Re: Zotero import plugin: fatal error (redirect from Omeka forum)
In reviewing the dates/times of modifications to the Zend library
files I noticed a concurrence of the content deletion to Service/
Abstract.php and online payment to Zotero for storage of library data
via "Google Checkout,'  the only method accepted by Zotero.  The
timing of the two events might be random but a report of a possible
conflict may be useful to other Omeka users who encounter this
particular error when using the Zotero import plugin.

Thanks, Jim.

On Dec 5, 3:28 pm, Jim Safley <jimsaf...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
John Flatness  
View profile  
 More options Dec 8 2011, 6:05 pm
From: John Flatness <j...@zerocrates.org>
Date: Thu, 08 Dec 2011 18:05:23 -0500
Local: Thurs, Dec 8 2011 6:05 pm
Subject: Re: [omeka-dev] Re: Zotero import plugin: fatal error (redirect from Omeka forum)
So, just to be clear, is your Zend/Service/Abstract.php file still
getting periodically blanked, or has the problem gone away?

I'd say it's _very_ unlikely that Google Checkout or payments to Zotero
have anything to do with this. I'd chalk it up to coincidence. A file
continuously disappearing or getting corrupted could be a sign of
hardware failure or some local code (or local users) gone awry, but
probably not a web service, whether it's Google or Zotero.

-John

On 12/06/2011 03:09 AM, ubu wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »