cloudberry icon indicating copy to clipboard operation
cloudberry copied to clipboard

[Bug] error occured when gpinitsystem on redhat8.9 or openEuler 22.03 (LTS-SP4) or Anolis OS 8.6,after rpm/Compile install successfully.

Open fsmiledream opened this issue 1 year ago • 2 comments

Cloudberry Database version

cloudberrydb-1.5.4

What happened

After rpm/Compile install successfully, when gpinitsystem, error 'Error: unable to import module: No module named 'pg''happened,then after 'pip3 install pg -i https://pypi.tuna.tsinghua.edu.cn/simple/', another error 'File "/usr/local/lib/python3.9/site-packages/pg/init.py", line 3 async SyntaxError: invalid syntax' happened when used python3.9,error'AttributeError: 'NoneType' object has no attribute 'glGetError''happend when used python3.6,but now actually, database is open ,but cannot stop or start ; please see below pictures like my describe . makeinstall successful openruler22 03 initsystem error1 openruler22 03 initsystem error2 redhat8 9+python3 6 initsystem error redhat8 9+python3 9 initsystem error cbdb opened but  error when stop Anolis8 6 initsystem error

What you think should happen instead

No response

How to reproduce

I suggest reduce dependencies. avoid ''No module named 'pg'error.

Operating System

redhat8.9 or openEuler 22.03 (LTS-SP4) or Anolis OS 8.6

Anything else

No response

Are you willing to submit PR?

  • [X] Yes, I am willing to submit a PR!

Code of Conduct

fsmiledream avatar Sep 06 '24 09:09 fsmiledream

Hey, @fsmiledream welcome!🎊 Thanks for taking the time to point this out.🙌

github-actions[bot] avatar Sep 06 '24 09:09 github-actions[bot]

Hi @fsmiledream the 1.5.4.rpm is a little outdated. Please try the latest 1.6.0 version to see if it works. Our 1.6.0 version has a robust RPM package and has been tested many times and solved the dependencies problem.

If 1.6.0 has the same issue, we can continue to look into the cause.

cc @Zhangbaowen-Hashdata @edespino

tuhaihe avatar Sep 06 '24 09:09 tuhaihe

Duplicate of #620

gongxun0928 avatar Oct 08 '24 07:10 gongxun0928