Download & Extend

Errors using Import by Pubmed ID and Import by search terms

Project:Entrez Database Import
Version:6.x-1.0-beta1
Component:Code
Category:support request
Priority:normal
Assigned:mlncn
Status:active
Issue tags:Science Collaboration

Issue Summary

When using 'Import by Pubmed ID' the following error is encountered:
Fatal error: Call to a member function asXML() on a non-object in /homepages/21/d240079828/htdocs/drupal-6.13/sites/all/modules/entrez/entrez.module on line 468

PMID searched for is 18223323

When using 'Import by search terms' the following message is consistently returned:

An error occurred when requesting data from PubMed. Try again later.

Search terms are: d842v GIST
Date window used for search is Jan1, 2008 to Dec 30, 2008

Comments

#1

Thanks for the bug report. Could you post the related watchdog log messages (if there are any) to help me fix the problem?

#2

Thanks for the bug report. Could you post the related watchdog log messages (if there are any) to help me fix the problem? Filter the recent log entries by type "entrez" to find them.

#3

SQL result

Host: db1437.perfora.net
Database: db240443153
Generation Time: Sep 15, 2009 at 11:31 AM
Generated by: phpMyAdmin 2.6.4-pl3 / MySQL 5.0.81-log
SQL query: SELECT * FROM `watchdog` WHERE `type` LIKE 'entrez' LIMIT 0, 30 ;
Rows: 6
wid uid type message variables severity link location referer hostname timestamp
12971 1 entrez Query http://eutils.ncbi.nlm.nih.gov/entrez/eutils/efetch.fcgi?db=pubmed&retmo... failed. a:0:{} 3 http://lrgscience.org/?q=admin/content/entrez/pubmed_id_import http://lrgscience.org/?q=admin/content/entrez/pubmed_id_import 24.12.187.49 1252980852
12722 1 entrez Query http://eutils.ncbi.nlm.nih.gov/entrez/eutils/efetch.fcgi?db=pubmed&retmo... failed. a:0:{} 3 http://lrgscience.org/?q=admin/content/entrez/pubmed_id_import http://lrgscience.org/?q=admin/content/entrez/pubmed_id_import 24.12.187.49 1252789608
12720 1 entrez Query http://eutils.ncbi.nlm.nih.gov/entrez/eutils/efetch.fcgi?db=pubmed&retmo... failed. a:0:{} 3 http://lrgscience.org/?q=admin/content/entrez/pubmed_id_import http://lrgscience.org/?q=admin/content/entrez/pubmed_id_import 24.12.187.49 1252789492
12912 1 entrez Query http://eutils.ncbi.nlm.nih.gov/entrez/eutils/efetch.fcgi?db=pubmed&retmo... failed. a:0:{} 3 http://lrgscience.org/?q=admin/content/entrez/pubmed_id_import http://lrgscience.org/?q=admin/content/entrez/pubmed_id_import 24.12.187.49 1252908316
12748 1 entrez Query http://eutils.ncbi.nlm.nih.gov/entrez/eutils/efetch.fcgi?db=pubmed&retmo... failed. a:0:{} 3 http://lrgscience.org/?q=admin/content/entrez/pubmed_id_import http://lrgscience.org/?q=admin/content/entrez/pubmed_id_import 24.12.187.49 1252793912
12845 1 entrez Query http://eutils.ncbi.nlm.nih.gov/entrez/eutils/efetch.fcgi?db=pubmed&retmo... failed. a:0:{} 3 http://lrgscience.org/?q=admin/content/entrez/pubmed_id_import http://lrgscience.org/?q=admin/content/entrez/pubmed_id_import 24.12.187.49 1252858720

AttachmentSize
Entrez.jpg 190.09 KB

#4

Thanks a lot. Your server probably does not allow certain php functions to treat url's as files. I am going to fix that problem in code. As an intermediate measure you could ask your system administrator to set "allow_url_fopen = On" in the php.ini.

#5

Stefan,

Our shared host provider is 1and1.com. For now we have a very basic account without php.ini access. However, I created the php.ini file in my Drupal directory and it works. We are now importing citations with both a PMID and with a search term.

Is there any documentation on the "Moderate Biblios" tab? I see the new Biblio nodes under "Awaiting Moderation" and "Approved" tabs but am not seeing anything in the Bulk Operations frame. There is also a drop down menu '[Edit]|[Export]|[Clone]' which takes me to a Views edit page.

Thanks for your work on Entrez. We are excited about using this for our research site.

Jim
www.lrgscience.org

#6

Assigned to:Anonymous» mlncn

#7

Hello Jim,

What do you mean by the "Bulk Operations frame"? The column? There should be checkmarks next to each Biblio node in the view to which mass actions can be applied using the bulk operations dropdown.

Perhaps attaching a screenshot could help us see the issue? Thanks!

The semi-hidden "[Edit]|[Export]|[Clone]" links are a convenience provided by the Views module on every view, and only have to do with changing or duplicating the view configuration rather than using it.

ben, agaric

#8

Ben,

The bulk operations area of the screen does not appear to have any menu items or dropdowns.

Thanks for the info on the Views links. I thought perhaps an option was needed in the view for this page.

Screen shot is attached.

Thanks again,

Jim
www.lrgscience.org

AttachmentSize
Entrez Screen Shot.JPG 219.04 KB

#9

Sorry for the delay in responding. It is indeed a bug and am posting the workaround and an issue for myself to follow up on here:

http://drupal.org/node/598912

nobody click here