Closed (fixed)
Project:
Tagging
Version:
6.x-2.5
Component:
Backend
Priority:
Major
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
1 Nov 2010 at 09:50 UTC
Updated:
27 Jan 2011 at 08:00 UTC
Fatal error: Uncaught exception 'Exception' with message 'Error making API call.' in .../sites/all/modules/tagging/modules/tagging_alchemy_suggest/AlchemyAPI.php:509 Stack trace: #0 .../sites/all/modules/tagging/modules/tagging_alchemy_suggest/AlchemyAPI.php(478): AlchemyAPI->DoRequest('http://access.a...', Resource id #195, 'xml') #1 .../sites/all/modules/tagging/modules/tagging_alchemy_suggest/AlchemyAPI.php(72): AlchemyAPI->POST('HTMLGetRankedNa...', 'html', Object(AlchemyAPI_NamedEntityParams)) #2 .../sites/all/modules/tagging/modules/tagging_alchemy_suggest/tagging_alchemy_suggest.module(24): AlchemyAPI->HTMLGetRankedNamedEntities('<p>One of the m...', 'http://www.alch...') #3 [internal function]: tagging_alchemy_suggest_tagging_suggestions(1, Object(stdClass)) #4 .../mysite.com/html in .../sites/all/modules/tagging/modules/tagging_alchemy_suggest/AlchemyAPI.php on line 509
Some pieces of content throw this exception, making it impossible to edit them. Not sure what the cause is, though. It would be nice if it would load the page and just give a drupal message, rather than WSODing.
Comments
Comment #1
eugenmayer commentedAs its affecting the submodule, i mark it as a task.
Seems like its a timeout or anything, lets say whats the author says.
Comment #2
unnikrishnan commentedI am also facing the same problem . Following are the PHP back trace message that I got.
Fatal error: Uncaught exception 'Exception' with message 'Error making API call.
Array
(
[0] => Array
(
[file] =>
modules/alchemy/AlchemyAPI/module/AlchemyAPI.php
[line] => 530
[function] => DoRequest
[class] => AlchemyAPI
[object] => AlchemyAPI Object
(
[_apiKey:private] =>
[_hostPrefix:private] => access
)
[type] => ->
[args] => Array
(
[0] => http://access.alchemyapi.com/calls/text/TextGetRankedConcepts
[1] => Resource id #200
[2] => xml
)
)
Comment #3
eugenmayer commentedWell iam not familiar with the Submodule, so i want work on this. If the author wont react during 1 further week i will remove the module with the new release.
In the meantime you can use the OpenCalais submodule, which does a very good job also.
Comment #4
toddwshaffer commentedI'm having a similar issue and I'm hoping it's as simple as I think it is.
The only time this error is thrown is when Alchemy attempts to analyze a piece of content without a BODY.
Cheers guys.
Comment #5
eugenmayer commentedthe sub-module will be removed in the next release completly. Please use the opencalais alternative which is at least as good.
Beside the bugs you mention here there is also a GPL violation which actually forces me to remove it.