RabbitVCS shows error emblem emblem-rabbitvcs-error.svg on all elements inside mercurial repository with Cyrillic name
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mercurial (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
rabbitvcs (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Steps to reproduce:
1. Install Ubuntu 16.04 LTS
2. Install `rabbitvcs-
3. Create repository directory with Cyrillic name as follows and open it with Nautilus:
```
mkdir ~/tmp/репозитор
hg init ~/tmp/репозитор
touch ~/tmp/репозитор
mkdir ~/tmp/репозитор
cd ~/tmp/репозитор
hg config --edit # set username
hg addremove .
hg commit -m 'init'
nautilus ~/tmp/репозитор
```
Expected result:
all objects in the repository have green checkmark icon
Actual result:
all objects in the repository have bomb icon indicating error
Note: the log-file located in ~/.config/
```
2019-08-13 23:48:39,374 ERROR rabbitvcs.
File "/usr/lib/
retval = candidate_
File "/usr/lib/
invalidate=
File "/usr/lib/
path_status = self.vcs_
File "/usr/lib/
return client.status(path, summarize, invalidate)
File "/usr/lib/
all_statuses = self.statuses(path, invalidate=
File "/usr/lib/
mercurial_
File "/usr/lib/
listsubrepos)
File "/usr/lib/
listunknown)
File "/usr/lib/
s = self._dirstates
File "/usr/lib/
listclean, listunknown)
File "/usr/lib/
full=
File "/usr/lib/
traverse([d], alreadynormed)
File "/usr/lib/
entries = listdir(join(nd), stat=True, skip=skip)
UnicodeEncodeError: 'ascii' codec can't encode characters in position 42-52: ordinal not in range(128)
None
2019-08-13 23:48:39,448 ERROR rabbitvcs.
File "/usr/lib/
retval = candidate_
...
```
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: mercurial-common 3.7.3-1ubuntu1.2
ProcVersionSign
Uname: Linux 4.4.0-157-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.19
Architecture: amd64
CurrentDesktop: Unity
Date: Tue Aug 13 23:56:05 2019
PackageArchitec
SourcePackage: mercurial
UpgradeStatus: No upgrade log present (probably fresh install)