You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey! Love your project so far, just got it all up and running.
The thing is, though, when running it the first time I encountered an annoying error.
Full traceback:
Traceback (most recent call last):
File "C:\Users\orel-\AppData\Local\Programs\Python\Python35\Scripts\statuspage-script.py", line 11, in<module>
load_entry_point('statuspage==0.8.1', 'console_scripts', 'statuspage')()
File "c:\users\orel-\appdata\local\programs\python\python35\lib\site-packages\click\core.py", line 722, in __call__
return self.main(*args, **kwargs)
File "c:\users\orel-\appdata\local\programs\python\python35\lib\site-packages\click\core.py", line 697, in main
rv = self.invoke(ctx)
File "c:\users\orel-\appdata\local\programs\python\python35\lib\site-packages\click\core.py", line 1066, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "c:\users\orel-\appdata\local\programs\python\python35\lib\site-packages\click\core.py", line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "c:\users\orel-\appdata\local\programs\python\python35\lib\site-packages\click\core.py", line 535, in invoke
return callback(*args, **kwargs)
File "c:\users\orel-\appdata\local\programs\python\python35\lib\site-packages\statuspage\statuspage.py", line 65, in create
run_create(name=name, token=token, systems=systems, org=org, private=private)
File "c:\users\orel-\appdata\local\programs\python\python35\lib\site-packages\statuspage\statuspage.py", line 276, in run_create
content=f.read(),
File "c:\users\orel-\appdata\local\programs\python\python35\lib\encodings\cp1252.py", line 23, in decode
return codecs.charmap_decode(input,self.errors,decoding_table)[0]
UnicodeDecodeError: 'charmap' codec can't decode byte 0x81 in position 56487: character maps to <undefined>
Hey! Love your project so far, just got it all up and running.
The thing is, though, when running it the first time I encountered an annoying error.
Full traceback:
I googled a bit, and found this topic on stackoverflow
And it helped!
Basically I modified this line to also include
encoding="utf-8"
and it worked like a charm!So now this code block looks like this
Hope that helps!
Encountered on Windows 10 with Anniversary update in both ConEmu and Powershell. I use english locale in the system
The text was updated successfully, but these errors were encountered: