After bulk processing a node, it is giving this error/warning combination for the number of nodes in this case around 700 times,
# Calais processing error: (in Red)
# warning: Invalid argument supplied for foreach() content type (about 700) /rdf/rdf.api.inc on line 139

RDF version is 6.x-1.0-alpha6

After the red section the green part comes in though I haven't been able to visualize any data from the blocks I have enabled with Garland on my side bars. I am loged in as user 1. Status report is also green.

I am also checking the drupal logs and the Calais processing errors are: (0 - php_network_getaddresses: getaddrinfo failed: Name or service not known) pops up with the distribution settings off. I had a look at the issue list and didn't any further information. I am working off-line since I am not authorized to re-distribute the information this log was all over the top of admin/reports/dblog/

CommentFileSizeAuthor
#2 calais-no-triples.patch853 bytesfebbraro

Comments

Yorgg’s picture

It is showing the block and the related extracted meta-data sucessfully.
It was trying to connect because there was another type with allowed distribution and therefore trying to upload the data out.

febbraro’s picture

StatusFileSize
new853 bytes

Calais is not meant to function offline, that is why you are getting the

getaddrinfo failed

errors. Not much I can do about that.

However for the error in rdf.api.inc I have added a check that does not send an empty or null array to store the rdf. See the attached patch, to use until there is a new release. This is also committed to CVS

febbraro’s picture

Title: errors /rdf/rdf.api.inc on line 139 » Errors save empty triples array (rdf.api.inc on line 139)
Assigned: Unassigned » febbraro
Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.