bk1285 / rpi_wordclock

Software to create a Raspberry Pi based wordclock
GNU General Public License v3.0
214 stars 107 forks source link

Development Mode on Debian Linux fails to run #121

Closed coolbikerdad closed 2 years ago

coolbikerdad commented 5 years ago

Hi.

I am trying to understand the code before building my word clock (parts on order), and would like to build and run wordclock.py on Linux with GTK in development mode. Unfortunately, I cannot get the program to run. I have set an appropriate configuration file, fixed up font path issues, but the main error now seems to be that the colour values for GTK appear to be integers rather than tuples. In GTKstrip.py, line 105 I get an exception thrown: AttributeError: 'int' object has no attribute 'r' and the list in self.colors is a list of integers, not Color objects. Is there a Linux/GTK setup I can use to get the program running? I am on latest x86 Debian Stretch. I wonder if the GTK libraries have moved on since the program was written? Hads development mode been tested recently? Love what the software will do!

regards Neil Matthew

bk1285 commented 4 years ago

Dear Neil,

just verified, that it works on my PC, running Ubuntu 18.04.2 LTS. @coolbikerdad: With "development mode", you're referring to the following configuration within rpi_wordclock/wordclock_config/wordclock_config.cfg, right?

[wordclock]
developer_mode = True

@mrksngl: Any idea?

Best, Bernd

andredatele commented 4 years ago

I get this same error on both raspbian and also Ubuntu 18.04.2 LTS:

GTK

bk1285 commented 2 years ago

Reopen, if unresolved.