Getting an error when setting up a new project
See original GitHub issueTraceback (most recent call last):
File "/Users/captain/PycharmProjects/a8/.venv/bin/cookiecutter", line 11, in <module>
sys.exit(main())
File "/Users/captain/PycharmProjects/a8/.venv/lib/python3.5/site-packages/click/core.py", line 722, in __call__
return self.main(*args, **kwargs)
File "/Users/captain/PycharmProjects/a8/.venv/lib/python3.5/site-packages/click/core.py", line 697, in main
rv = self.invoke(ctx)
File "/Users/captain/PycharmProjects/a8/.venv/lib/python3.5/site-packages/click/core.py", line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/Users/captain/PycharmProjects/a8/.venv/lib/python3.5/site-packages/click/core.py", line 535, in invoke
return callback(*args, **kwargs)
File "/Users/captain/PycharmProjects/a8/.venv/lib/python3.5/site-packages/cookiecutter/cli.py", line 123, in main
default_config=default_config,
File "/Users/captain/PycharmProjects/a8/.venv/lib/python3.5/site-packages/cookiecutter/main.py", line 91, in cookiecutter
output_dir=output_dir
File "/Users/captain/PycharmProjects/a8/.venv/lib/python3.5/site-packages/cookiecutter/generate.py", line 349, in generate_files
generate_file(project_dir, infile, context, env)
File "/Users/captain/PycharmProjects/a8/.venv/lib/python3.5/site-packages/cookiecutter/generate.py", line 153, in generate_file
if is_binary(infile):
File "/Users/captain/PycharmProjects/a8/.venv/lib/python3.5/site-packages/binaryornot/check.py", line 25, in is_binary
return is_binary_string(chunk)
File "/Users/captain/PycharmProjects/a8/.venv/lib/python3.5/site-packages/binaryornot/helpers.py", line 96, in is_binary_string
if (detected_encoding['confidence'] > 0.9
TypeError: 'NoneType' object is not subscriptable
OS: OSX Python 3.5.3 (default, Jan 26 2017, 13:12:44) [GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.42.1)] on darwin
Issue Analytics
- State:
- Created 6 years ago
- Comments:23 (8 by maintainers)
Top Results From Across the Web
Getting an error while creating a new project in VS2019
Developer Community · Open a developer command prompt for your VS 2019 install · Type vsregedit read local HKCU NewProjectDialog\ ...
Read more >Microsoft Project 2013 Setup Error
I am trying to install Microsoft Project 2013 on my computer but I keep getting a setup error about 1/3 of the way...
Read more >I get this error when i create a new project in android studio
when I create a new project in android studio I get this error in constraint layout: enter image description here and I can...
Read more >Error when trying to create new project. · Issue #10160 - GitHub
Steps to reproduce the problem. Select "Project">"New Project". Describe the problem in detail. I get the following error:.
Read more >Keep Getting an error when starting a new project - C++
Discovering modules, targets and source code for project… ERROR: Could not find NetFxSDK install dir; this will prevent SwarmInterface from ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@hackebrot No, we don’t generate the PyCharm files in CI. If one of the PyCharm staff wants to submit a PR for it, that would be awesome.
ping @pauleveritt
@plus500s
chardet
released new version yesterday. a very large changes in the code base.: https://github.com/chardet/chardet/compare/2.3.0...3.0.1try install a old version of chardet:
And see if the error occur again …