prettytoml.tokens.errors.BadEscapeCharacter on Pipfile #2737
Labels
Comments
As you may have noticed in the syntax highlighted block, the |
It didn't solve the root cause which is that the Pipfile is automatically generated from my |
pipenv as it is doesn't currently support non-unicode paths, we have another issue open on the topic, but that is absolutely the problem here. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Issue description
There is a
prettytoml.tokens.errors.BadEscapeCharacter
when I did apipenv install -r requirements.txt
on this project https://github.com/cs01/gdbgui.Expected result
Working stuff
Actual result
This :
Steps to replicate
Do a
pipenv install -r requirements.txt
on a dir with non ascii characters (I think it might be the source)$ pipenv --support
Pipenv version:
'2018.7.1'
Pipenv location:
'/usr/lib/python3.7/site-packages/pipenv'
Python location:
'/usr/bin/python'
Other Python installations in
PATH
:2.7
:/usr/bin/python2.7
2.7
:/usr/bin/python2.7
3.7
:/usr/bin/python3.7m
3.7
:/usr/bin/python3.7
3.7.0
:/usr/bin/python
2.7.15
:/usr/bin/python2
3.7.0
:/usr/bin/python3
PEP 508 Information:
System environment variables:
LANG
DISPLAY
SHLVL
LOGNAME
XDG_VTNR
PWD
MOZ_PLUGIN_PATH
ANT_HOME
XDG_SESSION_ID
GNOME_TERMINAL_SCREEN
DESKTOP_SESSION
XDG_SESSION_DESKTOP
GDMSESSION
GNOME_DESKTOP_SESSION_ID
USERNAME
WAYLAND_DISPLAY
DBUS_SESSION_BUS_ADDRESS
VTE_VERSION
MAIL
GNOME_TERMINAL_SERVICE
GJS_DEBUG_TOPICS
COLORTERM
XDG_MENU_PREFIX
OLDPWD
GDM_LANG
XDG_SESSION_TYPE
GRADLE_HOME
GJS_DEBUG_OUTPUT
TERM
SESSION_MANAGER
XDG_CURRENT_DESKTOP
SSH_AUTH_SOCK
PATH
QT_IM_MODULE
HOME
XDG_SEAT
XMODIFIERS
SHELL
XDG_RUNTIME_DIR
USER
_
PYTHONDONTWRITEBYTECODE
PIP_PYTHON_PATH
Pipenv–specific environment variables:
Debug–specific environment variables:
PATH
:/usr/local/bin:/usr/local/sbin:/usr/bin:/opt/cuda/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
SHELL
:/usr/bin/zsh
LANG
:fr_FR.UTF-8
PWD
:/home/nicoxxl/Projets/Mèche/gdbgui
Contents of
Pipfile
('/home/nicoxxl/Projets/Mèche/gdbgui/Pipfile'):The text was updated successfully, but these errors were encountered: