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

Possible breakage of project shortcut method? #100

Closed
proycon opened this issue Nov 10, 2020 · 1 comment
Closed

Possible breakage of project shortcut method? #100

proycon opened this issue Nov 10, 2020 · 1 comment
Assignees

Comments

@proycon
Copy link
Owner

proycon commented Nov 10, 2020

Reported by @dietervu when invoking a webservice like ucto from the switchboard:

https://webservices.cls.ru.nl/ucto/?project=new&untokinput_url=https%253A%252F%252Fbeta-switchboard.clarin.eu%252Fapi%252Fstorage%252F09e1d219-2d04-41ec-8531-9ca9a41118f3&untokinput_language=nld

@proycon
Copy link
Owner Author

proycon commented Nov 10, 2020

Ok, it looks like the shortcut method itself is not broken, but it fails to retrieve the remote file, and the resulting error is rather ambiguous:

[10/Nov/2020 13:38:34 DEBUG] Setting parameter 'language' to: 'nld' (from postdata)
[10/Nov/2020 13:38:34 DEBUG] Determined input filename: 1-00bbdbc3e1de0238f6fea6ceeaa4953418.txt
[10/Nov/2020 13:38:34 DEBUG] (Start file transfer: /data2/dev/ucto.clam/projects/anonymous/P00536bfa634f3a41051f78474ad75306db/input/1-00bbdbc3e1de0238f6fea6ceeaa4953418.txt )
[10/Nov/2020 13:38:34 DEBUG] (Receiving data via url)
127.0.0.1 - - [10/Nov/2020 13:38:34] "GET /?project=new&untokinput_url=https%253A%252F%252Fbeta-switchboard.clarin.eu%252Fapi%252Fstorage%252F09e1d219-2d04-41ec-8531-9ca9a41118f3&untokinput_language=nld HTTP/1.1" 404 -

I'll implement a cleaner error message.

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

No branches or pull requests

1 participant