jetbrains-research / sosed Goto Github PK
View Code? Open in Web Editor NEWFinding similar repositories on GitHub
License: Apache License 2.0
Finding similar repositories on GitHub
License: Apache License 2.0
I have met the following error when running python3 -m sosed.run -i input_examples/input.txt -o output/output_example
:
(sosed-env) dale@dale:~/sosed$ python3 -m sosed.run -i input_examples/input.txt -o output/output_example
Running tokenizer on repos listed in input_examples/input.txt
Parser successfully initialized.
Enry successfully initialized.
Tokenizing the repositories.
Tokenizing batch 1 out of 1.
0%| | 0/1 [00:00<?, ?it/s]Segmentation fault
0%| | 0/1 [05:51<?, ?it/s]
Traceback (most recent call last):
File "/home/apr/anaconda3/envs/sosed-env/lib/python3.7/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/home/apr/anaconda3/envs/sosed-env/lib/python3.7/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/home/apr/apr_tools/sosed/sosed/run.py", line 198, in <module>
tokenize(args.input, args.output, args.batches, args.local, args.force)
File "/home/apr/apr_tools/sosed/sosed/run.py", line 36, in tokenize
run_tokenizer(tokenizer_args)
File "/home/apr/apr_tools/sosed/tokenizer/identifiers_extractor/run.py", line 19, in main
batch_size=int(args.batches), local=args.local)
File "/home/apr/apr_tools/sosed/tokenizer/identifiers_extractor/parsing.py", line 304, in tokenize_repositories
lang2files = recognize_languages(td)
File "/home/apr/apr_tools/sosed/tokenizer/identifiers_extractor/parsing.py", line 212, in recognize_languages
.format(enry_loc=get_enry(), directory=directory)))
File "/home/apr/anaconda3/envs/sosed-env/lib/python3.7/json/__init__.py", line 348, in loads
return _default_decoder.decode(s)
File "/home/apr/anaconda3/envs/sosed-env/lib/python3.7/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/home/apr/anaconda3/envs/sosed-env/lib/python3.7/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
The content of the input.txt
file is:
https://github.com/google/closure-compiler
Is there any way to deal with such error? It would be much appreciated if any guidance or solution could be provided.
Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.