Closed (fixed)
Project:
RDF Extensions
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
27 Sep 2010 at 20:48 UTC
Updated:
13 May 2011 at 17:47 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
pcwick commentedI tried to import dc and foaf at evoc/import and got the same error.
[edit]
Is there a link to evoc/import in the drupal administration pages?
Comment #2
pcwick commentedI imported owl with URI http://www.w3.org/2002/07/owl/ and got a drupal message "The owl vocabulary has been imported." However, I also got these drupal error messages:
Notice: Undefined property: ARC2_RDFParser::$parser in _rdfx_parse_rdf() (line 59 of /sites/all/modules/rdf/rdfx.import.inc).
Notice: Trying to get property of non-object in _rdfx_parse_rdf() (line 59 of /sites/all/modules/rdf/rdfx.import.inc).
Warning: Invalid argument supplied for foreach() in _rdfx_parse_rdf() (line 59 of /sites/all/modules/rdf/rdfx.import.inc).
When I attempt to import the owl vocabularly again, I get the same error as above "Fatal error: Call to undefined method MergeQuery::update() in /sites/all/modules/rdf/rdfx.terms.inc on line 136" Note that this MergeQuery error appears on an all white page with only the error message. The drupal evoc/import page does not reload.
Comment #3
Anonymous (not verified) commentedThis is strange since I just imported foaf and used it on a D7 site on Friday.
We have a new MSc here, and she installed D7 (I assume the latest alpha). I showed her how to use Evoc by importing foaf and then used RDF UI to map terms. The foaf terms showed up in the autocomplete.
This would be an error happening in the DB abstraction layer, MergeQuery is the object returned by db_merge.
What version of Drupal are you using? Stéph, was anything changed in Evoc when you moved it over to CVS? because I was using the latest version on GitHub on Friday.
Comment #4
Anonymous (not verified) commentedThanks for the update, pcwick, it makes more sense that you can import it once but that the update fails.
Comment #5
scor commentedThere was an API change in core committed a few days ago: #844186: Clarify merge queries. This patch fixes it for me on the latest head.
Comment #6
Anonymous (not verified) commentedGreat, thanks for checking this out.
Comment #7
Anonymous (not verified) commentedI applied this patch to a copy working on HEAD and it worked for me as well.
Comment #8
scor commentedcool. actually this has been committed already http://github.com/scor/rdf/commit/37b34971b564bf1fedf082b8df5850df9cf13151
Comment #10
milesw commented