Modify

Opened 5 years ago

Closed 15 months ago

#8944 closed defect (wontfix)

Problem with cyrillic file name. (UnicodeDecodeError: 'utf8' codec can't decode)

Reported by: Charger Owned by: hvr
Priority: normal Component: GitPlugin
Severity: critical Keywords:
Cc: Trac Release: 0.12

Description (last modified by rjollos)

After commit in GIT repositiories file with cyrillic characters in filename and cached_repository = true, Trac fails sync. When cached_repository = false trac show error only on page, when he must show cyrillic filename.

trac-admin 0.12.2

Python 2.6.6

git version 1.7.5.3

TracGit 0.12.0.5dev

Attachments (2)

diagramm1.dia (3.5 KB) - added by Charger 5 years ago.
File with cyrillic filename
dia.zip (3.6 KB) - added by Charger 5 years ago.
Ops. This is file with cyrillic in zip

Download all attachments as: .zip

Change History (5)

Changed 5 years ago by Charger

File with cyrillic filename

comment:1 Changed 5 years ago by rjollos

  • Description modified (diff)

Changed 5 years ago by Charger

Ops. This is file with cyrillic in zip

comment:2 Changed 5 years ago by tojo

Have you tried setting git_fs_encoding = latin1 ?

[git]
git_fs_encoding = latin1

That did it for me with Swedish ÅÄÖåäö on our Ubuntu server

comment:3 Changed 15 months ago by rjollos

  • Resolution set to wontfix
  • Status changed from new to closed

GitPlugin is deprecated. Please upgrade to Trac 1.0 and use TracGit.

Add Comment

Modify Ticket

Action
as closed The owner will remain hvr.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.