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

Errors opening files or help (from GitBash) #30

Open
pwernette opened this issue Nov 6, 2020 · 1 comment
Open

Errors opening files or help (from GitBash) #30

pwernette opened this issue Nov 6, 2020 · 1 comment
Assignees

Comments

@pwernette
Copy link

pwernette commented Nov 6, 2020

When trying to run the help or open a DZT file I keep getting the following error:

$ readgssi -h
Traceback (most recent call last):
  File "c:\programdata\anaconda3\envs\readgssi\lib\runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "c:\programdata\anaconda3\envs\readgssi\lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "C:\ProgramData\Anaconda3\envs\readgssi\Scripts\readgssi.exe\__main__.py", line 7, in <module>
  File "c:\programdata\anaconda3\envs\readgssi\lib\site-packages\readgssi\readgssi.py", line 275, in main
    fx.printmsg(config.help_text)
  File "c:\programdata\anaconda3\envs\readgssi\lib\site-packages\readgssi\functions.py", line 12, in printmsg
    print('%s - %s' % (datetime.now().strftime('%Y-%m-%d %H:%M:%S'), msg))
  File "c:\programdata\anaconda3\envs\readgssi\lib\encodings\cp1252.py", line 19, in encode
    return codecs.charmap_encode(input,self.errors,encoding_table)[0]
UnicodeEncodeError: 'charmap' codec can't encode character '\U0001f12f' in position 134: character maps to <undefined>
@pwernette pwernette changed the title Errors opening files (including DZG) Errors opening files or help (from GitBash) Nov 6, 2020
@iannesbitt
Copy link
Owner

@pwernette instead of GitBash, can you try running readgssi -h in an Anaconda Prompt?

@iannesbitt iannesbitt self-assigned this Nov 10, 2020
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