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

Fails on a mac machine #22

Open
rgksugan opened this issue Dec 22, 2017 · 2 comments
Open

Fails on a mac machine #22

rgksugan opened this issue Dec 22, 2017 · 2 comments
Labels

Comments

@rgksugan
Copy link

Traceback (most recent call last):
  File "sheetmaker/sheetmaker.py", line 14, in <module>
    import sheet_wizard
  File "/Users/gsuga/Play/cheatsheet-maker/sheetmaker/sheet_wizard.py", line 68
SyntaxError: Non-ASCII character '\xc3' in file /Users/gsuga/Play/cheatsheet-maker/sheetmaker/sheet_wizard.py on line 68, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details

This happens in MAC machine.

@cosme12
Copy link
Owner

cosme12 commented Dec 22, 2017

Hey, that error is due to the "Ñ" character used in spanish. To fix it:

  • go to line 68 of sheetwizard.py and remove that character
  • I think using python 3+ fix it automatically
  • add this to the top of the file if you are using python 2.7
#!/usr/bin/env python
# -*- coding: utf-8 -*-

Try those and see if any of them work.

@cosme12 cosme12 added the bug label Dec 22, 2017
@rgksugan
Copy link
Author

Hi @cosme12,

It fixed it. Thanks for responding.

Facing a different issue now. On selecting an option from the menu it still keep on going in a loop.

Choose your language:
1. English
2. Español
1
Choose your language:
1. English
2. Español
1
Choose your language:
1. English
2. Español
2
Choose your language:
1. English
2. Español
1

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

No branches or pull requests

2 participants