Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting 501 not implemented with translator that is implemented #13

Open
mvolz opened this issue Mar 21, 2015 · 3 comments
Open

Getting 501 not implemented with translator that is implemented #13

mvolz opened this issue Mar 21, 2015 · 3 comments

Comments

@mvolz
Copy link
Contributor

mvolz commented Mar 21, 2015

Not sure if this is a bug with translation-server or the translator (may be both), but the sample urls in this translator https://github.com/zotero/translators/blob/master/zotero.org.js are returning 501 not implemented and just a cursory read of the output looks like translation-server is trying to send a response twice- so something is not quite right!

zotero(3)(+0000001): Translators: Looking for translators for https://www.zotero.org/marksample/items/collectionKey/5RN69IBP/itemKey/58VT7DAA

zotero(3)(+0000003): Loading https://www.zotero.org/marksample/items/collectionKey/5RN69IBP/itemKey/58VT7DAA

zotero(5)(+0000001): CookieSandbox: Managing cookies for www.zotero.org

zotero(5)(+0000000): CookieSandbox: Added cookies for request to www.zotero.org

zotero(5)(+0000717): CookieSandbox: Managing cookies for www.zotero.org

zotero(5)(+0000000): CookieSandbox: Slurped cookies from www.zotero.org

zotero(5)(+0000024): CookieSandbox: Managing cookies for www.zotero.org

zotero(5)(+0000000): CookieSandbox: Added cookies for request to www.zotero.org

zotero(5)(+0000794): CookieSandbox: Managing cookies for www.zotero.org

zotero(5)(+0000000): CookieSandbox: Slurped cookies from www.zotero.org

zotero(3)(+0000010): Translators: Looking for translators for https://www.zotero.org/marksample/items/collectionKey/5RN69IBP/itemKey/58VT7DAA

zotero(4)(+0000008): Translate: Binding sandbox to https://www.zotero.org/marksample/items/collectionKey/5RN69IBP/itemKey/58VT7DAA

zotero(4)(+0000010): Translate: Parsing code for zotero.org

zotero(4)(+0000009): Translate: Parsing code for unAPI

zotero(4)(+0000008): Translate: Parsing code for COinS

zotero(4)(+0000008): Translate: Parsing code for DOI

zotero(4)(+0000006): Translate: Parsing code for Embedded Metadata

zotero(3)(+0000036): Translate: Embedded Metadata: found 4 meta tags.

zotero(3)(+0000018): Translate: All translator detect calls and RPC calls complete

zotero(5)(+0000001): Translate: Running handler 0 for translators

zotero(5)(+0000001): HTTP/1.0 501 Method Not Implemented
Content-Type: text/plain

No translators available


zotero(3)(+0028348): Request already finished; not sending another response



@aurimasv
Copy link

I'm not sure what your server setup is, but the url you're trying to translate is not for a publicly-accessible item, so odds are that the translation server is getting access denied and the zotero.org translator is not recognizing the page.

I haven't looked much closer yet, but it's also possible that zotero.org translator is not compatible with translation server (due to the way zotero.org loads pages). I'll take a look, but you can try a public URL in the mean time.

@kba
Copy link
Contributor

kba commented Jul 22, 2015

@mvolz Have you fixed this with mvolz/translation-server@2c57867 ?

@mvolz
Copy link
Contributor Author

mvolz commented Jul 22, 2015

Nope, that was an unrelated issue (which was fixed in a different change).
On Jul 22, 2015 9:23 AM, "Konstantin Baierer" [email protected]
wrote:

@mvolz https://github.com/mvolz Have you fixed this with mvolz@2c57867
mvolz/translation-server@2c57867
?


Reply to this email directly or view it on GitHub
zotero/translation-server#13 (comment)
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants