Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Traceback error #100

Open
matehubert opened this issue Jan 20, 2018 · 2 comments
Open

Traceback error #100

matehubert opened this issue Jan 20, 2018 · 2 comments

Comments

@matehubert
Copy link

matehubert commented Jan 20, 2018

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
Copy link

nickever commented Jan 20, 2018

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
Copy link
Author

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants