TypeError: sequence item 0: expected str instance, NoneType found on running python setup.py java on source
See original GitHub issue$ git clone https://github.com/nils-braun/dask-sql.git
$ cd dask-sql
$ pytest tests
ERROR: usage: pytest [options] [file_or_dir] [file_or_dir] [...]
pytest: error: unrecognized arguments: --cov --cov-config=.coveragerc tests
inifile: /mnt/d/Programs/dask/dask-sql/pytest.ini
rootdir: /mnt/d/Programs/dask/dask-sql
$ python setup.py java
running java
Traceback (most recent call last):
File "setup.py", line 93, in <module>
command_options={"build_sphinx": {"source_dir": ("setup.py", "docs"),}},
File "/home/saulo/anaconda3/lib/python3.7/site-packages/setuptools/__init__.py", line 165, in setup
return distutils.core.setup(**attrs)
File "/home/saulo/anaconda3/lib/python3.7/distutils/core.py", line 148, in setup
dist.run_commands()
File "/home/saulo/anaconda3/lib/python3.7/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
File "/home/saulo/anaconda3/lib/python3.7/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "setup.py", line 30, in run
self.announce(f"Running command: {' '.join(command)}", level=distutils.log.INFO)
TypeError: sequence item 0: expected str instance, NoneType found
$ python dask-sql-test.py
Traceback (most recent call last):
File "dask-sql-test.py", line 1, in <module>
from dask_sql import Context
File "/mnt/d/Programs/dask/dask-sql/dask_sql/__init__.py", line 1, in <module>
from .context import Context
File "/mnt/d/Programs/dask/dask-sql/dask_sql/context.py", line 9, in <module>
from dask_sql.java import (
File "/mnt/d/Programs/dask/dask-sql/dask_sql/java.py", line 88, in <module>
DaskTable = com.dask.sql.schema.DaskTable
AttributeError: Java package 'com' has no attribute 'dask'
$ python -V
Python 3.7.6
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.1 LTS
Release: 20.04
Codename: focal
$ java -version
openjdk version "14.0.2" 2020-07-14
OpenJDK Runtime Environment (build 14.0.2+12-Ubuntu-120.04)
OpenJDK 64-Bit Server VM (build 14.0.2+12-Ubuntu-120.04, mixed mode, sharing)
Issue Analytics
- State:
- Created 3 years ago
- Comments:14
Top Results From Across the Web
TypeError: sequence item 0: expected str instance, NoneType ...
The program expects a string against AWS_ACCESS_KEY_ID but because it ... Due to this reason, you are getting an error that NoneType Found....
Read more >Sequence item 0: expected str instance, NoneType found
The Python "TypeError: sequence item 0: expected str instance, NoneType found" occurs when we call the join() method with an iterable that contains...
Read more >sequence item 0: expected str instance, list found Code Example
Answers related to “TypeError: sequence item 0: expected str instance, list found”. TypeError: expected string or bytes-like object · TypeError: expected ...
Read more >Typeerror sequence item 0: expected str instance timestamp ...
Current Behavior Trying to create a new environment using Python 3.8 and a package from the rttools conda channel, sometimes results in a...
Read more >TypeError: sequence item 0: expected string, NoneType found
@Navaneetdatta what command did you used for running this error? and did you activated the environment? ... @Navaneetdatta do you have a custom ......
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
After running
pip install -e ".[dev]"
works perfectlyThe warnings are fine (its deprecations in the pandas <-> dask interface). Thank you so much for testing this all out. I will increase the minimal required pandas version to 1.1.0 (which works, I just tested). Thanks for testing 1.2.1 - I tested some time ago with 1.2.0 and it failed, but I will repeat the tests.