Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hey there, I'm using the SemanticProxy on a test site and it workds pretty well!!
I still get this error once in a while :
"SemanticProxy processing error: Internal Exception when trying to use Calais WS (RemoteException)) - Text length has exceeded the allowed size ."
Any ideas?
thanks,
Patchak
Comment | File | Size | Author |
---|---|---|---|
#13 | opencalais.patch | 11.06 KB | mikeytown2 |
#11 | calais-446084.patch | 10.94 KB | mikeytown2 |
#8 | calais-446084.1.patch | 12.67 KB | mikeytown2 |
#6 | calais-446084.patch | 11.13 KB | mikeytown2 |
Comments
Comment #1
febbraro CreditAttribution: febbraro commentedHello @patchak thanks for the report.
That is an internal SemanticProxy error, not sure specifically what it means (besides the text was too long) :p
We can try submitting this to the SemanticProxy team at http://www.opencalais.com/forum/213 to see what they say. Are you able to reliably reproduce the error with a specific URL? Or will sometimes the same URL submit fine and other times fail?
Thanks again.
Comment #2
patchak CreditAttribution: patchak commentedIt seems this has been fixed... http://www.opencalais.com/forums/semanticproxy/text-too-long-error
Thanks for the tip!
Comment #3
febbraro CreditAttribution: febbraro commentedGreat news.
Cleaning up.
Comment #5
mikeytown2 CreditAttribution: mikeytown2 commentedI'm trying to do it with a document that has almost a megabyte worth of text; at a minimum can this submit up to the max & truncate the extra, and store the truncated nid's in a table, so I know which ones it failed on.
Comment #6
mikeytown2 CreditAttribution: mikeytown2 commentedBetter yet, this splits up the doc and merges the objects... at least I think that's what it's doing. As a bonus?, my editor is removing CRLF's and making them into LF's
Comment #7
mikeytown2 CreditAttribution: mikeytown2 commentedComment #8
mikeytown2 CreditAttribution: mikeytown2 commentedAbove patch only gets the last one; had to go ghetto... here's a patch that works, but is much slower. Oh and it's removing extra whitespace.
Comment #9
mikeytown2 CreditAttribution: mikeytown2 commentednope, this doesn't work either...
Comment #10
mikeytown2 CreditAttribution: mikeytown2 commentedModifying the first patch so it works would be ideal, but I don't know the $keywords object structure, or if that is the right way to do this. Also one would have to get the average of the relevance to do it correctly. If Calais didn't overwrite the data, then my second way might work.
Comment #11
mikeytown2 CreditAttribution: mikeytown2 commentedThis is what I'm going to use for the time being.
Comment #12
febbraro CreditAttribution: febbraro commented@miketown2
Thanks for this. I like the idea, however your last patch does not have all of the code though, it has something for the breakup, but not the individual submits. Can you try rerolling it so that I can see if it will apply cleanly?
Comment #13
mikeytown2 CreditAttribution: mikeytown2 commentedI only submit the first part since merging the data was a pain, due to it being stored in an object.
Comment #14
ElusiveMind CreditAttribution: ElusiveMind commentedSemantic proxy is no longer offered and has been removed from Open Calais.
Comment #15
ElusiveMind CreditAttribution: ElusiveMind commented