On Friday 01 of July 2005 01:26, you wrote:
> I just wanted to let you know that I have written a web interface for
> darcs, inspired heavily in gitweb.
>
> If you try it, or have any question/suggestion/comment, please let me
> know. I hope you find it useful =)

Hello,

I've tried it and have the following problem. If I want to look at something 
else than "tree", I get this error:

AttributeError: 'unicode' object has no attribute 'decode'
      args = ("'unicode' object has no attribute 'decode'",)

It occurs at line 76 of darcsweb.cgi:

 /var/www/localhost/htdocs/darcs/darcsweb.cgi in fixu8
(s=u'20050714170919-f2ef6-4a726324666839d75840810d3e3984e4580a89bb.gz')
   74                 # small optimization to avoid the conversion to utf8 and
   75                 # entering the loop
   76                 return s.decode(config.repoencoding).encode('utf8')
   77 
   78         s = s.encode(config.repoencoding).decode('raw_unicode_escape')
s = u'20050714170919-f2ef6-4a726324666839d75840810d3e3984e4580a89bb.gz', 
s.decode undefined, global config = <class __main__.config>, 
config.repoencoding = 'latin1', ).encode = <built-in method encode of str 
object>

I'm not much familiar with python. Is this a bug or I have something not 
properly configured?

Regards
-- 
Michal Sojka, PhD student
Department of Control Engineering, Faculty of Electrical Engineering
Czech Technical University in Prague
http://rtlab.felk.cvut.cz/

_______________________________________________
darcs-users mailing list
[email protected]
http://www.abridgegame.org/mailman/listinfo/darcs-users

Reply via email to