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

byzer-yaml-visualization绘制pie图报错 #98

Open
raykudryavka123 opened this issue Mar 2, 2023 · 0 comments
Open

byzer-yaml-visualization绘制pie图报错 #98

raykudryavka123 opened this issue Mar 2, 2023 · 0 comments

Comments

@raykudryavka123
Copy link

使用example项目(https://github.com/allwefantasy/byzer-visualization-example)中的gapminder数据集,或者自己的数据集都会报如下错误TypeError: sort_values() missing 1 required positional argument: 'by'

byzer-lang版本: byzer-lang-all-in-one-linux-amd64-3.1.1-2.3.3
插件版本: byzer-yaml-visualization-3.3_2.12-0.1.0-SNAPSHOT.jar
OS: ubuntu18.04
pip pakcage list:
Package Version


aiohttp 3.8.1
aiohttp-cors 0.7.0
aiosignal 1.2.0
analytics-python 1.4.0
anyio 3.6.1
appnope 0.1.3
asgiref 3.5.2
asttokens 2.0.5
async-timeout 4.0.2
attrs 21.4.0
backcall 0.2.0
backoff 1.10.0
backports.functools-lru-cache 1.6.4
bcrypt 3.2.2
blessed 1.19.1
cachetools 5.0.0
certifi 2021.10.8
cffi 1.15.0
charset-normalizer 2.0.12
click 8.1.2
cloudpickle 2.1.0
colorful 0.5.4
convertdate 2.4.0
cryptography 37.0.3
cycler 0.11.0
dask 2022.2.0
debugpy 1.6.0
decorator 5.1.1
dill 0.3.4
distlib 0.3.4
entrypoints 0.4
executing 0.8.3
fastapi 0.78.0
fastjsonschema 2.15.3
ffmpy 0.3.0
filelock 3.6.0
fonttools 4.33.2
frozenlist 1.3.0
fsspec 2022.5.0
geojson 2.5.0
google-api-core 2.7.2
google-auth 2.6.5
googleapis-common-protos 1.56.0
gpustat 1.0.0b1
gradio 3.0.20
grpcio 1.43.0
h11 0.13.0
idna 3.3
ipykernel 6.13.0
ipython 8.2.0
jedi 0.18.1
Jinja2 3.1.2
joblib 1.1.0
jsonschema 4.4.0
jupyter-client 7.2.2
jupyter-core 4.9.2
kaleido 0.2.1
kiwisolver 1.4.2
linkify-it-py 1.0.3
locket 1.0.0
lunardate 0.2.0
markdown-it-py 2.1.0
MarkupSafe 2.1.1
matplotlib 3.5.1
matplotlib-inline 0.1.3
mdit-py-plugins 0.3.0
mdurl 0.1.1
monotonic 1.6
msgpack 1.0.3
multidict 6.0.2
nbformat 5.4.0
nest-asyncio 1.5.5
numpy 1.22.3
nvidia-ml-py3 7.352.0
opencensus 0.9.0
opencensus-context 0.1.2
orjson 3.7.2
packaging 21.3
pandarallel 1.6.1
pandas 1.4.2
paramiko 2.11.0
parso 0.8.3
partd 1.2.0
pexpect 4.8.0
pickleshare 0.7.5
Pillow 9.1.0
pip 22.0.4
platformdirs 2.5.2
plotly 5.9.0
prometheus-client 0.13.1
prompt-toolkit 3.0.29
protobuf 3.20.0
psutil 5.9.0
ptyprocess 0.7.0
pure-eval 0.2.2
py-spy 0.3.11
pyarrow 7.0.0
pyasn1 0.4.8
pyasn1-modules 0.2.8
pycparser 2.21
pycryptodome 3.14.1
pydantic 1.9.1
pydub 0.25.1
Pygments 2.11.2
pyjava 0.3.5
pyluach 1.4.1
PyMeeus 0.5.11
PyNaCl 1.5.0
pyparsing 3.0.8
pyrsistent 0.18.1
python-dateutil 2.8.2
python-multipart 0.0.5
pytz 2022.1
PyYAML 6.0
pyzmq 22.3.0
ray 1.12.0
requests 2.27.1
rsa 4.8
scikit-learn 1.1.1
scipy 1.9.0
setuptools 62.1.0
six 1.16.0
sklearn 0.0
smart-open 5.2.1
sniffio 1.2.0
stack-data 0.2.0
starlette 0.19.1
tenacity 8.0.1
threadpoolctl 3.1.0
toolz 0.12.0
tornado 6.1
tqdm 4.64.0
traitlets 5.1.1
typing_extensions 4.2.0
uc-micro-py 1.0.1
urllib3 1.26.9
uvicorn 0.17.6
vega-datasets 0.9.0
virtualenv 20.14.1
wcwidth 0.2.5
wheel 0.37.1
workalendar 16.3.0
yarl 1.7.2

error message:
Job aborted due to stage failure: Task 0 in stage 38.0 failed 1 times, most recent failure: Lost task 0.0 in stage 38.0 (TID 400) (marp-gpu-svr-001.china.huawei.com executor driver): org.apache.spark.SparkException: Traceback (most recent call last):
Job aborted due to stage failure: Task 0 in stage 38.0 failed 1 times, most recent failure: Lost task 0.0 in stage 38.0 (TID 400) (marp-gpu-svr-001.china.huawei.com executor driver): org.apache.spark.SparkException: Traceback (most recent call last):
File "/usr/local/anaconda3/envs/ray-1.12.0/lib/python3.9/site-packages/pyjava/worker.py", line 155, in main
process()
File "/usr/local/anaconda3/envs/ray-1.12.0/lib/python3.9/site-packages/pyjava/worker.py", line 132, in process
exec(code, n_local, n_local)
File "", line 15, in
File "/usr/local/anaconda3/envs/ray-1.12.0/lib/python3.9/site-packages/pandas/util/_decorators.py", line 311, in wrapper
return func(*args, **kwargs)
TypeError: sort_values() missing 1 required positional argument: 'by'
at tech.mlsql.arrow.python.runner.BasePythonRunner$ReaderIterator.handlePythonException(PythonRunner.scala:324)
at tech.mlsql.arrow.python.runner.ArrowPythonRunner$$anon$2.read(ArrowPythonRunner.scala:154)
at tech.mlsql.arrow.python.runner.ArrowPythonRunner$$anon$2.read(ArrowPythonRunner.scala:151)
at tech.mlsql.arrow.python.runner.ArrowPythonRunner$$anon$2.read(ArrowPythonRunner.scala:102)
at tech.mlsql.arrow.python.runner.BasePythonRunner$ReaderIterator.hasNext(PythonRunner.scala:293)
at tech.mlsql.arrow.python.runner.InterruptibleIterator.hasNext(PythonRunner.scala:415)
at scala.collection.Iterator$$anon$11.hasNext(Iterator.scala:489)

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

1 participant