Open RMCampos opened 5 years ago
There are problems with initrepo too!
https://paste.debian.net/1081587/
PS: On Ubuntu 18.04 updated everything works fine.
you are probably using a non-utf8 locale, you can check running
$ locale
or just trying to run it like this:
LC_ALL=en_US.utf8 blohg ...
Didn't work for runserver nor initrepo =/
runserver: https://paste.debian.net/1081609/
initrepo: https://paste.debian.net/1081608/
Look this:
$ file -i blohg/init.py blohg/init.py: text/x-python; charset=us-ascii
And when creating a single vi file containing the text: a: $ file -i ricardo.txt ricardo.txt: text/plain; charset=us-ascii
=/
I will sove this ASAP and check blohg again.
In the end I couldn't figure it out where the problem is. May be Debian Sid, may be mercurial version, or both. My locale settings are correct, pt_BR.utf8
But look this: After adding str() at the two error location, changing:
/usr//lib/python2.7/dist-packages/mercurial/localrepo.py
570c570
< cls = type(name, tuple(bases), {})
---
> cls = type(str(name), tuple(bases), {})
2261c2261
< self.origroot,
---
> str(self.origroot),
Everything works as expected!
Hello!
When trying to run blohg runserver on Debian Sid: https://paste.debian.net/1081557/
Version packages that may help: