You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Marvin and CloudStack integration tests aren't fully Python v3.9-3.11 compatible. On my attempt to migrating CI to Github Actions with Python 3.9 I hit this:
2022-12-09 04:16:00,759 - ERROR - __sendCmdToCS: Exception:['Traceback (most recent call last):\n', ' File "/home/runner/.local/lib/python3.9/site-packages/marvin/cloudstackConnection.py", line 217, in __sendCmdToCS\n payload["signature"] = self.__sign(payload)\n', ' File "/home/runner/.local/lib/python3.9/site-packages/marvin/cloudstackConnection.py", line 150, in __sign\n signature = base64.encodestring(\n', "AttributeError: module 'base64' has no attribute 'encodestring'\n"]
Traceback (most recent call last):
File "/home/runner/.local/lib/python3.9/site-packages/marvin/cloudstackConnection.py", line 217, in __sendCmdToCS
payload["signature"] = self.__sign(payload)
File "/home/runner/.local/lib/python3.9/site-packages/marvin/cloudstackConnection.py", line 150, in __sign
signature = base64.encodestring(
AttributeError: module 'base64' has no attribute 'encodestring'
Activity
yadvr commentedon Apr 19, 2023
Related issue: #7443
Smoketests are failing if run on Ubuntu 22.04 and python version (3.10.6)
marvin: replace encodestring for encodebytes (#7027)
yadvr commentedon May 8, 2023
Closing the encodestring issue was fixed in #7027