Skip to content

problem getting it to work(last programed on a acorn electron) #1

Description

@kev1147

comes up with the errors below in terminal any help would be much appreciated.(using PI 3B+)

pi@raspberrypi:~/Desktop/PiCycle $ ./PiCycle.sh

setterm: terminal xterm-256color does not support --blank
setterm: cannot (un)set powersave mode: Inappropriate ioctl for device

pi@raspberrypi:~/Desktop/PiCycle $ pygame 1.9.6

Hello from the pygame community. https://www.pygame.org/contribute.html
/home/pi/Desktop/PiCycle/./PiCycle.py:256: DeprecationWarning: Seeding based on hashing is deprecated
since Python 3.9 and will be removed in a subsequent version. The only
supported seed types are: None, int, float, str, bytes, and bytearray.
random.seed(time.gmtime())
Traceback (most recent call last):
File "/home/pi/Desktop/PiCycle/./PiCycle.py", line 267, in
ThisDisplay = Display.Display(ThisSurface, MAX_CYCLES)
File "/home/pi/Desktop/PiCycle/Display.py", line 90, in init
self.LargeFont = pygame.font.Font(None, self.LargeFontSize)
TypeError: integer argument expected, got float

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