-
Notifications
You must be signed in to change notification settings - Fork 9
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: json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) #4
Comments
Hi! Could you specify your system details (mainly OS)? I've tried to reinstall Sosed from scratch and run your example, and it worked fine:
I will look deeper into your stacktrace and try to understand the reason but information about your system will definitely be helpful. |
Based on the stacktrace, something went wrong during the language recognition step.
|
Thank you so much for the detailed guidance! My OS is Ubuntu 14.04. I ran this command you provided and it reported Segmentation fault:
I have no idea why this occurs... Thank you again for your help! |
Thanks a lot! What I suspect is:
A workaround for now would be to build the enry from scratch and check whether it will work. We will think about the proper way to add the build step in case the prebuilt one fails. On this, refer to an issue in Buckwheat I've just opened. |
Thank you so much for providing this workaround! There is no such error since I downloaded the relased version of However, when it comes to the data downloading, the speed is extremely slow, especially at downloading https://s3-eu-west-1.amazonaws.com/resources.ml.labs.aws.intellij.net/sosed/data_stars_100.tar.xz. I also tried different network and downloaded it via web browser but all failed. It there any other way to have this tar.xz? Thank you! |
Or could you please send me a copy of data_stars_100.tar.xz, data_stars_50.tar.xz and data_stars_10.tar.xz via email? (My email is dehengyang@qq.com) It would be sincerely appreciated if any help could be offered. Thank you again for your great help and patience! |
I've sent you two emails. The archives are too large to send directly, so the emails contain links to Google Drive / OneDrive. If neither works for you, let's try some other file sharing service :) |
Thank you so much for the great and timely help which really helps me a lot! I now haved all the data_stars_{}.tar.xz files. I have decompressed them into the folder like below: However, a new error occurs as follows when I run
It would be much appreciated if further guidance could be provided. Thank you again for your great kindness and help! |
Well, as the error states, you are missing a pickle file :) |
Thank you very much for pointing out this! I am sorry that I unintentionally deleted this file at the very beginning when I was trying to solve the error reported above by myself. Now every thing work well! And I obtained the same ouptut as yours:
Sorry for my delayed reply. And thank you again for your continuous help and great kindness. This issue is well solved now. Wish you a nice day! |
I have met the following error when running
python3 -m sosed.run -i input_examples/input.txt -o output/output_example
:The content of the
input.txt
file is:Is there any way to deal with such error? It would be much appreciated if any guidance or solution could be provided.
Thanks!
The text was updated successfully, but these errors were encountered: