[Bug] on openEuler 22.03 (LTS-SP4) system, cloudberrydb-1.6.0 install with source code ,error occured when gpinitsystem
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
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?
- [X] Yes, I am willing to submit a PR!
Code of Conduct
- [X] I agree to follow this project's Code of Conduct.
Hi @Zhangbaowen-Hashdata @edespino could you help take a look? Thanks.
solution
pip3 uninstall pg pip3 uninstall PyGreSQL
then pip3 install -U PyGreSQL
solution
pip3 uninstall pg pip3 uninstall PyGreSQL
then pip3 install -U PyGreSQL
we can reproduce this by
pip3 uninstall pg pip3 uninstall PyGreSQL
then pip3 install -U PyGreSQL pip3 install pg
then error happened
then use the solution can fix this.
solution
pip3 uninstall pg pip3 uninstall PyGreSQL
then pip3 install -U PyGreSQL
Thanks @yihong0618 . Generally, I think we need to update XXX.dependency if XXX is officially supported to avoid such issue. @tuhaihe @Zhangbaowen-Hashdata Could anyone of you help to track this, thanks.
@yihong0618 Thank you very much! Using your solution ,I can also initsystem successfully. I also hope source code can be fixed and updated .
@yihong0618 Thank you very much! Using your solution ,I can also initsystem successfully. I also hope source code can be fixed and updated .
my pleasure
Thanks @yihong0618 ! Hi @avamingli I think we should update the doc on building from source code. Let me talk with our devops team.
@tuhaihe @avamingli @Zhangbaowen-Hashdata We need to use pip3 install -r ../../python-dependencies.txt like Readme.CentOS.bash. In this way, Python dependencies will use a fixed version instead of relying on the version in the apt source.
@tuhaihe @avamingli @Zhangbaowen-Hashdata We need to use
pip3 install -r ../../python-dependencies.txtlike Readme.CentOS.bash. In this way, Python dependencies will use a fixed version instead of relying on the version in the apt source.
+1, that's what I suggest. We should be clear which OS is officially supported(probably Release team knows well about it) , update xxx_dependencies.txt by the way,
@Zhangbaowen-Hashdata, Hi Baowen, could you please try the suggestions above?
@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.
@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.
any progress ?
I've raised the PR need to wait for the merger. https://github.com/apache/cloudberry/pull/664