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

Error decoding https://en.wiktionary.org/w/api... #2

Open
pyccp opened this issue Jun 1, 2022 · 1 comment
Open

Error decoding https://en.wiktionary.org/w/api... #2

pyccp opened this issue Jun 1, 2022 · 1 comment

Comments

@pyccp
Copy link

pyccp commented Jun 1, 2022

Hello Dima,

I keep getting a reiterating error when I run this code:

go run kindlewick.go -freqlist fi.txt

The error is:

2022/06/01 13:10:19 Getting https://en.wiktionary.org/w/api.php?action=query&cmlimit=500&format=json&list=categorymembers&formatversion=2&cmtitle=Category:Finnish_lemmas&cmprop=title&cmcontinue=
2022/06/01 13:10:19 Error decoding https://en.wiktionary.org/w/api.php?action=query&cmlimit=500&format=json&list=categorymembers&formatversion=2&cmtitle=Category:Finnish_lemmas&cmprop=title&cmcontinue=
2022/06/01 13:10:19 invalid character '<' looking for beginning of value
2022/06/01 13:10:19 invalid character '<' looking for beginning of value
1 Getting https://en.wiktionary.org/w/api.php?action=parse&formatversion=2&format=json&page=mutta&prop=text
2 Getting https://en.wiktionary.org/w/api.php?action=parse&formatversion=2&format=json&page=olla&prop=text
2022/06/01 13:10:21 Trying again.
...

What do you think the problem might be ?

@srichmond123
Copy link

Try my fork at e203d6a (note - it's pretty specific to Finnish for another issue that cropped up)

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

No branches or pull requests

2 participants