Skip to content

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

@hectorBKL

Description

@hectorBKL

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions