get-grass icon indicating copy to clipboard operation
get-grass copied to clipboard

ERROR - An unexpected error occurred during login: Random.random() takes no arguments (2 given)

Open hectorBKL opened this issue 5 months ago • 0 comments

Hello,

I am running the latest image on a Raspberry Pi 4B (arm64) using Docker Compose. The container starts correctly but fails during the login process with a TypeError.

Environment:

  • Device: Raspberry Pi 4B
  • OS: DietPi (or Raspbian, etc.)
  • Docker Image: mrcolorrain/grass:latest
  • Architecture: arm64

Logs:

2025-06-24 10:25:11,231 - INFO - Launching Grass node application... 2025-06-24 10:25:21,200 - INFO - Waiting for the login page https://app.getgrass.io/ to load... 2025-06-24 10:25:21,326 - INFO - Login page loaded successfully! 2025-06-24 10:25:21,402 - INFO - Cookie banner found. Accepting cookies... 2025-06-24 10:25:25,080 - INFO - Cookies accepted. 2025-06-24 10:25:25,081 - INFO - Entering credentials... 2025-06-24 10:25:26,877 - INFO - Entered username 2025-06-24 10:25:29,526 - INFO - Clicked on Use Password Instead...... 2025-06-24 10:25:29,529 - ERROR - An unexpected error occurred during login: Random.random() takes no arguments (2 given) 2025-06-24 10:25:29,530 - INFO - Retrying login... (1/3)

It seems there is a small bug in the Python code related to a call to random.random().

Thank you for your great work on this project!

hectorBKL avatar Jun 24 '25 10:06 hectorBKL