- **status**: in-progress --> review
- **Comment**:

Closed #811. `forgehg:ib/7757`

The problem was that we had path to archive directory as unicode, and mercurial 
tried to decode it while concatenating it with file name, which is utf-8 
encoded plain string, not unicode. I've fixed it by encoding path to archive 
directory as utf-8 plain string.

I could not fix the issue with browsing, though 
https://sourceforge.net/p/nhunspell/code/ci/default/tree/NHunspell/UnitTests/de_DE_%C3%B6_frami.aff

The error is:

     ManifestLookupError: NHunspell/UnitTests/de_DE_��_frami.aff@d1baa762529d: 
not found in manifest

I did some digging:

1. String comes from browser and we unquote it and convert to unicode: 
`u'/NHunspell/UnitTests/de_DE_\xf6_frami.aff'`
2. Then we encode it to pass to mercurial and it looks like this: 
`'de_DE_\xc3\xb6_frami.aff'`.
3. But mercurial manifest contains: 
`'NHunspell/UnitTests/de_DE_\xf6_frami.aff'` (looks like (1), but str, not 
unicode)

I've tried several places to fix it, but did't succeed.



---

** [tickets:#7757] UnicodeDecodeError when generating code snapshot on hg repo**

**Status:** review
**Milestone:** unreleased
**Labels:** support sf-current 42cc sf-1 
**Created:** Fri Oct 10, 2014 03:14 PM UTC by Anonymous
**Last Updated:** Thu Jul 02, 2015 11:38 AM UTC
**Owner:** Igor Bondarenko

*Originally created by:* jwb1980

https://sourceforge.net/p/forge/site-support/8700/

----

[forge:site-support:#8700]


----

From IRC #sourceForge
download the source code of this project 
https://sourceforge.net/p/nhunspell/code/ci/default/tree/
3:55 When I try the snapshot Sourceforge says "We're having trouble finding 
that snapshot. Would you like to resubmit?"
3:55 TortoiseSVN gives me error 500 in my fork repository

----




---

Sent from forge-allura.apache.org because [email protected] is subscribed 
to https://forge-allura.apache.org/p/allura/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://forge-allura.apache.org/p/allura/admin/tickets/options.  Or, if this is 
a mailing list, you can unsubscribe from the mailing list.

Reply via email to