Skip to content

polaris login gives UnicodeEncodeError #263

@agitter

Description

@agitter

Polaris version

0.11.6

Python Version

3.11.11

Operating System

Windows

Installation

conda

Description

Running polaris login successfully from the command line gives the error

  File ".conda\envs\asap-admet\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 '\U0001f389' in position 3: character maps to <undefined>

It looks like the 🎉 character can't be displayed with the default Windows sys.stdout encoding.

Steps to reproduce

Run polaris login on Windows

Additional output

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions