Package: lfm
Version: 2.2-1
Severity: normal
Tags: squeeze

I had this crash which I think it's the same:
Traceback (most recent call last):
  File "/usr/bin/lfm", line 27, in <module>
    lfm_start(sys.argv)
  File "/usr/share/lfm/lfm/lfm.py", line 924, in lfm_start
    path = curses.wrapper(main, prefs, paths1, paths2)
  File "/usr/lib/python2.6/curses/wrapper.py", line 43, in wrapper
    return func(stdscr, *args, **kwds)
  File "/usr/share/lfm/lfm/lfm.py", line 848, in main
    ret = app.run()
  File "/usr/share/lfm/lfm/lfm.py", line 198, in run
    ret = self.act_pane.manage_keys()
  File "/usr/share/lfm/lfm/lfm.py", line 573, in manage_keys
    self.app.display()
  File "/usr/share/lfm/lfm/lfm.py", line 153, in display
    self.lpane.display()
  File "/usr/share/lfm/lfm/lfm.py", line 358, in display
    self.display_files()
  File "/usr/share/lfm/lfm/lfm.py", line 462, in display_files
    buf = tab.get_fileinfo_str_long(res, w)
  File "/usr/share/lfm/lfm/lfm.py", line 770, in get_fileinfo_str_long
    buf = '%(type_chr)c%(perms)9s %(owner)-10s %(group)-10s %(size)7s
%(mtime)16s  %(fname)s' % res
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 44:
ordinal not in range(128)

To reproduce I went to the directory stated below and pressed '.' (to remove
one of the panels)

> Could you supply more info?
> - shell
bash
> - terminal program name linux console
yakuake/konsole
> - name for the directory that made lfm crash
/home/rasasi/temp/regex

and ls there is:
CMakeCache.txt  CMakeFiles  cmake_install.cmake  CMakeLists.txt  Makefile
regex  regex.cpp  test.file

>
> I see in your report that you are using ANSI_X3.4-1968 as your shell
> encoding (is that another name for ASCII?).
> If you are managing filenames with non-ASCII chars (German, Spanish,
> Chinese...) you will get problems and crashes for sure.
> If that's the case, change shell encoding to UTF-8 for example.

  I tried with file named: "aaa~", "aaç", "ááeêìasñ" and
"asdñlasdlkajdsç" on /tmp and I had no crash.

  HTH,



-- System Information:
Debian Release: 6.0.1
  APT prefers stable
  APT policy: (500, 'stable'), (90, 'testing'), (50, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/4 CPU cores)
Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages lfm depends on:
ii  python                  2.6.6-3+squeeze6 interactive high-level object-
orie
ii  python-support          1.0.10           automated rebuilding support for 
P

lfm recommends no packages.

lfm suggests no packages.

-- no debconf information



--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to