Closed (fixed)
Project:
Generic Process API
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
10 Jan 2011 at 08:28 UTC
Updated:
4 Mar 2011 at 14:31 UTC
Jump to comment: Most recent file
Comments
Comment #1
quazardous commentedComment #2
quazardous commentedI can't reproduce
Comment #3
deltab commentedI have this in my Status Report - don't know if it means anything. I still get the error on a clean install with just Text Mining API, Random Terms and dependencies.
HTTP_Request2 is installed on the server, so I am not sure what this warning means.
Comment #4
quazardous commentedfor the status report i try to run :
so HTTP/Request2.php must be in the include path. and it's only if drupal needs a proxy for Internet access.
I'll double check for the form warnings...
ty
Comment #5
quazardous commentedI've had no errors on a clean install with lastest dev modules.
PS : I m on a drupal dev core install
I'll check on the official release ASAP
Comment #6
deltab commentedHi, I tried tests http://pear.php.net/manual/en/package.http.http-request2.intro.php and HTTP_Request2 is okay, and the latest, 0.5.2-alpha
I am on Drupal 7.0 latest, with the latest Entity API. No luck with Calais (silently dies instead of getting terms) and Random Terms still gets me
Recoverable fatal error: Argument 2 passed to ProcessApiServer::configurationFormValidate() must be an array, null given, called in /var/www/html/d7/sites/all/modules/process_api/process_api.admin.inc on line 401 and defined in ProcessApiServer->configurationFormValidate() (line 412 of /var/www/html/d7/sites/all/modules/process_api/includes/entity.inc).
Comment #7
deltab commentedI am attaching my configuration settings for Calais, for each node saved, I see the text mining api module stores the node url (node/nid) and main body text > text format.
However, no Calais processing is done. I tested for HTTP/Request2.php in many ways, and it is installed correctly and found by PhP.
Not sure why Title, Main body text and fulltext are not processed, though. Is there something I should be checking for? All error logs are silent on Calais issues.
Comment #8
quazardous commented- for the line 401 error I ve done some modification
- for calais : is your drupal behind a proxy ?
Comment #9
deltab commentedNo, Drupal is not behind any proxy - the server is setup using the Drupal's multisite feature, though, so the site is not in /var/www/html/sites/default but sites/www.mysite.com with the HTMLDIR leading to the site is /var/www/html as required by Drupal.
Comment #10
deltab commentedRandom Terms now can be installed, but on run I get this: "Message Cannot determinate field to populate for thread test"
Settings are:
Status
enabled (disable)
Machine name
test
Entity type
Node
Server
test
Standard thread options
Cron limit
50 items per cron run.
Try process live: yes
Processed fields
Item language, Fulltext, URI, The main body text » Text
Configuration status
Custom
Comment #11
quazardous commentedOk,
I ve tested only the http query through proxy... I ll manage to work on a drupal no behind a proxy...
Comment #12
quazardous commentedCannot determinate field to populate for thread :
that happens when there is no vocabulary field !
see line 71 of textmining_api/includes/service.inc
Comment #13
deltab commentedI have a term reference field, I don't see vocabulary field anywhere - how is a vocabulary field added to the content type?
Comment #14
quazardous commentedsorry i said vocabulary field but it s term ref oc :p
so it seams that the term ref field is not well saved....
Comment #15
deltab commentedwhat is oc: p? I am clearly missing something here so perhaps a detailed documentation can get me started? I only have one term_reference field in the database, in field_config table as follows:
3 field_tags taxonomy_term_reference taxonomy 1 field_sql_storage field_sql_storage 1 0 a:6:{s:8:"settings";a:1:{s:14:"allowed_values";a:1:{i:0;a:2:{s:10:"vocabulary";s:4:"tags";s:6:"parent";i:0;}}}s:12:"entity_types";a:0:{}s:12:"translatable";b:0;s:7:"storage";a:4:{s:4:"type";s:17:"field_sql_storage";s:8:"settings";a:0:{}s:6:"module";s:17:"field_sql_storage";s:6:"active";i:1;}s:12:"foreign keys";a:1:{s:3:"tid";a:2:{s:5:"table";s:18:"taxonomy_term_data";s:7:"columns";a:1:{s:3:"tid";s:3:"tid";}}}s:7:"indexes";a:1:{s:3:"tid";a:1:{i:0;s:3:"tid";}}} -1 0 0
Comment #16
quazardous commentedoc = of course
u have to choose the field_tag in the conf form of the text mining thread.
if it don't appear it s a bug
Comment #17
deltab commentedHere is the conf, the Open Calais tags or Random Tags do not appear.
------------------------------------
Comment #18
quazardous commentedfound something !
there was a bug in the add thread form.... was ok in the edit thread...
can u re try ?
Comment #19
deltab commentedNow I really don't know what I am doing wrong - setup a new Drupal 7.x-1.0 instance, with just the latest versions of text mining and generic process API and dependencies, Devel 7.x-1.0 Entity 7.x-1.0, Entity API 7.x-1.0-beta6,
Enabled Random Terms and configured as below. Still, no terms in Taxonomy Tags vocabulary
Comment #20
quazardous commentedplz try with the last dev snapshot of D7 and each module...
Comment #21
deltab commentedRandom terms are generated with the latest dev snapshot - no luck with Calais terms however.
Comment #22
quazardous commentedhi,
I m about to correct another bug #1060276 that may be connected.
I ve found some weird issue about locale support : if tags are not in the same language as the node, they won't show.
and by default node are undefined language but default language is english (unless u install module locale)
so i ve something like that to add :
Comment #23
quazardous commented