HackerShackOfficial / Smart-Mirror

Raspberry powered mirror which can display news, weather, calendar events
MIT License
908 stars 384 forks source link

Traceback error #100

Open matehubert opened 6 years ago

matehubert commented 6 years ago

Hi,

I got this message when is start python smartmirror.py:

pi@raspberrypi:~/Smart-Mirror $ python smartmirror.py Traceback (most recent call last): File "smartmirror.py", line 313, in w = FullscreenWindow() File "smartmirror.py", line 290, in init self.clock = Clock(self.topFrame) File "smartmirror.py", line 50, in init self.timeLbl = Label(self, font=('Helvetica', large_text_size), fg="white", bg="black") NameError: global name 'large_text_size' is not defined

How can i define 'large_text_size?

Thanks for any answers!

nickever commented 6 years ago

It's already defined at the top of the smartmirror.py script: line 29: large_text_size = 48

Check that it is defined in the version of the script you are running

matehubert commented 6 years ago

Thanks,

i have python 3.5.3. and 2.7.13. installed! i tried to run : python2 smartmirror.py , but i got the same error!