-
Notifications
You must be signed in to change notification settings - Fork 110
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
[Bug] on openEuler 22.03 (LTS-SP4) system, cloudberrydb-1.6.0 install with source code ,error occured when gpinitsystem #620
Comments
Hi @Zhangbaowen-Hashdata @edespino could you help take a look? Thanks. |
solution pip3 uninstall pg then |
we can reproduce this by pip3 uninstall pg then then error happened then use the solution can fix this. |
Thanks @yihong0618 . |
@yihong0618 Thank you very much! Using your solution ,I can also initsystem successfully. |
my pleasure |
Thanks @yihong0618 ! |
@tuhaihe @avamingli @Zhangbaowen-Hashdata We need to use |
+1, that's what I suggest. |
@Zhangbaowen-Hashdata, Hi Baowen, could you please try the suggestions above? |
I will conduct a verification locally first, and if there are no issues, I will propose a new PR. |
Cloudberry Database version
cloudberrydb-1.6.0
What happened
20240906:18:23:28:112430 gpinitsystem:cloudberrydb1:gpadmin-[INFO]:-No errors generated from parallel processes
20240906:18:23:28:112430 gpinitsystem:cloudberrydb1:gpadmin-[INFO]:-Restarting the CloudberryDB instance in production mode
Traceback (most recent call last):
File "/usr/local/cloudberrydb/bin/gpstop", line 9, in
from gppylib.mainUtils import *
File "/usr/local/cloudberrydb/lib/python/gppylib/mainUtils.py", line 31, in
from gppylib.commands import gp, unix
File "/usr/local/cloudberrydb/lib/python/gppylib/commands/gp.py", line 22, in
from gppylib.db import dbconn
File "/usr/local/cloudberrydb/lib/python/gppylib/db/dbconn.py", line 15, in
from gppylib.commands.unix import UserId
File "/usr/local/cloudberrydb/lib/python/gppylib/commands/unix.py", line 17, in
from gppylib.commands.base import *
File "/usr/local/cloudberrydb/lib/python/gppylib/commands/base.py", line 32, in
from pg import DB
File "/usr/local/lib/python3.9/site-packages/pg/init.py", line 3
async,
^
SyntaxError: invalid syntax
20240906:18:23:28:112430 gpinitsystem:cloudberrydb1:gpadmin-[FATAL]:-Error from CloudberryDB instance shutdown, check log files Script Exiting!
What you think should happen instead
No response
How to reproduce
The err is the same as 1.5.4 with rpm/source . now 1.6.0rpm is repaired,but 1.6.0 install with source code is still same error
Operating System
openEuler 22.03 (LTS-SP4)
Anything else
No response
Are you willing to submit PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: