file manager crash while opening folders

Bug #1266225 reported by Tino Müller
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ajenti
Fix Released
Undecided
Eugene Pankov

Bug Description

I was opening some folders on USB-harddrives which I mounted in the datasystem tool.

Ajenti 1.2.13.2 bug report
--------------------
Detected platform: debian / ubuntu / Ubuntu 12.04.3 LTS

Architecture: i686 i686

Python: 2.7.3
Installation: 3797149
Debug: False
Locale: (None, None)
Loaded plugins:
main dashboard network services terminal packages power exports hosts sensors resolv db_common resources codemirror fm webserver_common scripts taskmgr users cron logs samba fstab plugins iptables notepad configurator ajenti_org tasks

Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/ajenti/plugins/main/main.py", line 107, in handle_message
    self.ui.dispatch_event(update['uid'], update['event'], update['params'])
  File "/usr/lib/pymodules/python2.7/ajenti/ui/__init__.py", line 73, in dispatch_event
    self.root.dispatch_event(uid, event, params)
  File "/usr/lib/pymodules/python2.7/ajenti/ui/element.py", line 363, in dispatch_event
    if child.dispatch_event(uid, event, params):
  File "/usr/lib/pymodules/python2.7/ajenti/ui/element.py", line 359, in dispatch_event
    self.event(event, params)
  File "/usr/lib/pymodules/python2.7/ajenti/ui/element.py", line 383, in event
    getattr(self, 'on_%s' % self_event)(**(params or {}))
  File "/usr/lib/pymodules/python2.7/ajenti/plugins/main/main.py", line 294, in on_switch
    child.broadcast('on_page_load')
  File "/usr/lib/pymodules/python2.7/ajenti/ui/element.py", line 340, in broadcast
    getattr(self, method)(*args, **kwargs)
  File "/usr/lib/pymodules/python2.7/ajenti/plugins/fm/fm.py", line 56, in on_page_load
    self.refresh()
  File "/usr/lib/pymodules/python2.7/ajenti/plugins/fm/fm.py", line 216, in refresh
    tab.refresh()
  File "/usr/lib/pymodules/python2.7/ajenti/plugins/fm/fm.py", line 251, in refresh
    self.navigate(self.path)
  File "/usr/lib/pymodules/python2.7/ajenti/plugins/fm/fm.py", line 261, in navigate
    if os.path.exists(itempath):
  File "/usr/lib/python2.7/genericpath.py", line 18, in exists
    os.stat(path)
UnicodeEncodeError: 'ascii' codec can't encode character u'\xfc' in position 50: ordinal not in range(128)

http://ajenti.org/catcher/view/479

Log content:
2014-01-05 14:59:32,893 INFO ajenti-panel.<module>(): Using config file /etc/ajenti/config.json
2014-01-05 14:59:35,415 INFO registry.register_crypt_handler(): registered crypt handler 'sha512_crypt': <class 'passlib.handlers.sha2_crypt.sha512_crypt'>
2014-01-05 14:59:36,877 INFO core.run(): Ajenti 1.2.13.2 running on platform: debian
2014-01-05 14:59:36,927 DEBUG __init__.load(): Loading plugin network
2014-01-05 14:59:36,938 DEBUG __init__.load_recursive(): Preloading plugin dependency: main
2014-01-05 14:59:36,938 DEBUG __init__.load(): Loading plugin main
2014-01-05 14:59:37,024 DEBUG __init__.load(): Loading plugin network
2014-01-05 14:59:37,024 DEBUG __init__.load_recursive(): Preloading plugin dependency: dashboard
2014-01-05 14:59:37,025 DEBUG __init__.load(): Loading plugin dashboard
2014-01-05 14:59:37,067 DEBUG __init__.load(): Loading plugin network
2014-01-05 14:59:37,393 DEBUG __init__.load(): Loading plugin squid
2014-01-05 14:59:37,410 DEBUG __init__.load_recursive(): Preloading plugin dependency: services
2014-01-05 14:59:37,411 DEBUG __init__.load(): Loading plugin services
2014-01-05 14:59:38,199 DEBUG __init__.load(): Loading plugin squid
2014-01-05 14:59:38,207 WARNING __init__.load(): *** [squid] skipping due to BinaryDependency (squid3)
2014-01-05 14:59:38,290 DEBUG __init__.load(): Loading plugin packages
2014-01-05 14:59:38,332 DEBUG __init__.load_recursive(): Preloading plugin dependency: terminal
2014-01-05 14:59:38,332 DEBUG __init__.load(): Loading plugin terminal
2014-01-05 14:59:39,274 DEBUG __init__.load(): Loading plugin packages
2014-01-05 14:59:39,360 DEBUG __init__.load(): Loading plugin power
2014-01-05 14:59:39,407 DEBUG __init__.load(): Loading plugin ctdb
2014-01-05 14:59:39,444 WARNING __init__.load(): *** [ctdb] skipping due to BinaryDependency (ctdb)
2014-01-05 14:59:39,481 DEBUG __init__.load(): Loading plugin exports
2014-01-05 14:59:39,545 DEBUG __init__.load(): Loading plugin hosts
2014-01-05 14:59:39,563 DEBUG __init__.load(): Loading plugin smartctl
2014-01-05 14:59:39,583 WARNING __init__.load(): *** [smartctl] skipping due to BinaryDependency (smartctl)
2014-01-05 14:59:39,599 DEBUG __init__.load(): Loading plugin megaraid
2014-01-05 14:59:39,612 WARNING __init__.load(): *** [megaraid] skipping due to FileDependency (/opt/MegaRAID/MegaCli/MegaCli)
2014-01-05 14:59:39,678 DEBUG __init__.load(): Loading plugin sensors
2014-01-05 14:59:39,755 DEBUG __init__.load(): Loading plugin raid
2014-01-05 14:59:39,769 WARNING __init__.load(): *** [raid] skipping due to BinaryDependency (mdadm)
2014-01-05 14:59:39,781 DEBUG __init__.load(): Loading plugin openvpn
2014-01-05 14:59:39,799 WARNING __init__.load(): *** [openvpn] skipping due to BinaryDependency (openvpn)
2014-01-05 14:59:39,827 DEBUG __init__.load(): Loading plugin supervisor
2014-01-05 14:59:39,855 WARNING __init__.load(): *** [supervisor] skipping due to BinaryDependency (supervisord)
2014-01-05 14:59:39,897 DEBUG __init__.load(): Loading plugin resolv
2014-01-05 14:59:39,957 DEBUG __init__.load(): Loading plugin apcups
2014-01-05 14:59:39,990 WARNING __init__.load(): *** [apcups] skipping due to BinaryDependency (apcaccess)
2014-01-05 14:59:40,037 DEBUG __init__.load(): Loading plugin mysql
2014-01-05 14:59:40,059 DEBUG __init__.load_recursive(): Preloading plugin dependency: db_common
2014-01-05 14:59:40,059 DEBUG __init__.load(): Loading plugin db_common
2014-01-05 14:59:40,129 DEBUG __init__.load(): Loading plugin mysql
2014-01-05 14:59:40,137 WARNING __init__.load(): *** [mysql] skipping due to BinaryDependency (mysql)
2014-01-05 14:59:40,177 DEBUG __init__.load(): Loading plugin resources
2014-01-05 14:59:40,249 DEBUG __init__.load(): Loading plugin psql
2014-01-05 14:59:40,258 WARNING __init__.load(): *** [psql] skipping due to BinaryDependency (psql)
2014-01-05 14:59:40,276 DEBUG __init__.load(): Loading plugin elements
2014-01-05 14:59:40,305 WARNING __init__.load(): *** [elements] Plugin error: format error
2014-01-05 14:59:40,336 DEBUG __init__.load(): Loading plugin hddtemp
2014-01-05 14:59:40,367 WARNING __init__.load(): *** [hddtemp] skipping due to BinaryDependency (hddtemp)
2014-01-05 14:59:40,381 DEBUG __init__.load(): Loading plugin codemirror
2014-01-05 14:59:40,462 DEBUG __init__.load(): Loading plugin fm
2014-01-05 14:59:40,577 DEBUG __init__.load(): Loading plugin apache
2014-01-05 14:59:40,588 DEBUG __init__.load_recursive(): Preloading plugin dependency: webserver_common
2014-01-05 14:59:40,588 DEBUG __init__.load(): Loading plugin webserver_common
2014-01-05 14:59:40,657 DEBUG __init__.load(): Loading plugin apache
2014-01-05 14:59:40,665 WARNING __init__.load(): *** [apache] skipping due to BinaryDependency (apache2)
2014-01-05 14:59:40,690 DEBUG __init__.load(): Loading plugin bind9
2014-01-05 14:59:40,707 WARNING __init__.load(): *** [bind9] skipping due to BinaryDependency (named)
2014-01-05 14:59:40,716 DEBUG __init__.load(): Loading plugin lm_sensors
2014-01-05 14:59:40,745 WARNING __init__.load(): *** [lm_sensors] skipping due to BinaryDependency (sensors)
2014-01-05 14:59:40,769 DEBUG __init__.load(): Loading plugin scripts
2014-01-05 14:59:40,854 DEBUG __init__.load(): Loading plugin ipmi
2014-01-05 14:59:40,891 WARNING __init__.load(): *** [ipmi] skipping due to BinaryDependency (ipmitool)
2014-01-05 14:59:40,952 DEBUG __init__.load(): Loading plugin dhcpd
2014-01-05 14:59:40,969 WARNING __init__.load(): *** [dhcpd] skipping due to BinaryDependency (dhcpd)
2014-01-05 14:59:41,003 DEBUG __init__.load(): Loading plugin taskmgr
2014-01-05 14:59:41,052 DEBUG __init__.load(): Loading plugin nsd
2014-01-05 14:59:41,087 WARNING __init__.load(): *** [nsd] skipping due to BinaryDependency (nsd)
2014-01-05 14:59:41,112 DEBUG __init__.load(): Loading plugin users
2014-01-05 14:59:41,194 DEBUG __init__.load(): Loading plugin cron
2014-01-05 14:59:41,282 DEBUG __init__.load(): Loading plugin netatalk
2014-01-05 14:59:41,318 WARNING __init__.load(): *** [netatalk] skipping due to BinaryDependency (afpd)
2014-01-05 14:59:41,362 DEBUG __init__.load(): Loading plugin logs
2014-01-05 14:59:41,429 DEBUG __init__.load(): Loading plugin samba
2014-01-05 14:59:41,517 DEBUG __init__.load(): Loading plugin fstab
2014-01-05 14:59:41,644 DEBUG __init__.load(): Loading plugin plugins
2014-01-05 14:59:41,734 DEBUG __init__.load(): Loading plugin iptables
2014-01-05 14:59:41,843 DEBUG __init__.load(): Loading plugin notepad
2014-01-05 14:59:41,919 DEBUG __init__.load(): Loading plugin memcache
2014-01-05 14:59:41,959 WARNING __init__.load(): *** [memcache] skipping due to BinaryDependency (memcached)
2014-01-05 14:59:41,988 DEBUG __init__.load(): Loading plugin munin
2014-01-05 14:59:42,033 WARNING __init__.load(): *** [munin] skipping due to BinaryDependency (munin-cron)
2014-01-05 14:59:42,034 DEBUG __init__.load(): Loading plugin configurator
2014-01-05 14:59:42,103 DEBUG __init__.load(): Loading plugin ajenti_org
2014-01-05 14:59:42,183 DEBUG __init__.load(): Loading plugin nginx
2014-01-05 14:59:42,209 WARNING __init__.load(): *** [nginx] skipping due to BinaryDependency (nginx)
2014-01-05 14:59:42,253 DEBUG __init__.load(): Loading plugin tasks
2014-01-05 14:59:42,326 INFO core.run(): Starting server on (u'0.0.0.0', 8000)
2014-01-05 14:59:42,788 DEBUG inflater.precache(): Precaching layout dashboard:text
2014-01-05 14:59:42,850 DEBUG inflater.precache(): Precaching layout dashboard:welcome
2014-01-05 14:59:42,892 DEBUG inflater.precache(): Precaching layout dashboard:dash
2014-01-05 14:59:42,923 DEBUG inflater.precache(): Precaching layout network:bit-linux-ipv4
2014-01-05 14:59:42,971 DEBUG inflater.precache(): Precaching layout network:bit-linux-dhcp
2014-01-05 14:59:42,995 DEBUG inflater.precache(): Precaching layout network:bit-linux-basic
2014-01-05 14:59:43,018 DEBUG inflater.precache(): Precaching layout network:main
2014-01-05 14:59:43,042 DEBUG inflater.precache(): Precaching layout network:bit-linux-ifupdown
2014-01-05 14:59:43,069 DEBUG inflater.precache(): Precaching layout network:widget
2014-01-05 14:59:43,116 DEBUG inflater.precache(): Precaching layout services:main
2014-01-05 14:59:43,170 DEBUG inflater.precache(): Precaching layout services:bar
2014-01-05 14:59:43,179 DEBUG inflater.precache(): Precaching layout services:widget
2014-01-05 14:59:43,252 DEBUG inflater.precache(): Precaching layout terminal:config
2014-01-05 14:59:43,301 DEBUG inflater.precache(): Precaching layout terminal:main
2014-01-05 14:59:43,332 DEBUG inflater.precache(): Precaching layout packages:row
2014-01-05 14:59:43,374 DEBUG inflater.precache(): Precaching layout packages:installer
2014-01-05 14:59:43,405 DEBUG inflater.precache(): Precaching layout packages:headers
2014-01-05 14:59:43,415 DEBUG inflater.precache(): Precaching layout packages:main
2014-01-05 14:59:43,457 DEBUG inflater.precache(): Precaching layout power:widget
2014-01-05 14:59:43,531 DEBUG inflater.precache(): Precaching layout exports:main
2014-01-05 14:59:43,665 DEBUG inflater.precache(): Precaching layout hosts:main
2014-01-05 14:59:43,742 DEBUG inflater.precache(): Precaching layout sensors:cpu-line
2014-01-05 14:59:43,813 DEBUG inflater.precache(): Precaching layout sensors:cpu-widget
2014-01-05 14:59:43,826 DEBUG inflater.precache(): Precaching layout sensors:value-widget
2014-01-05 14:59:43,848 DEBUG inflater.precache(): Precaching layout sensors:progressbar-widget
2014-01-05 14:59:43,890 DEBUG inflater.precache(): Precaching layout resolv:main
2014-01-05 14:59:43,963 DEBUG inflater.precache(): Precaching layout db_common:main
2014-01-05 14:59:44,031 DEBUG inflater.precache(): Precaching layout fm:config
2014-01-05 14:59:44,064 DEBUG inflater.precache(): Precaching layout fm:main
2014-01-05 14:59:44,118 DEBUG inflater.precache(): Precaching layout webserver_common:main
2014-01-05 14:59:44,224 DEBUG inflater.precache(): Precaching layout scripts:widget
2014-01-05 14:59:44,291 DEBUG inflater.precache(): Precaching layout taskmgr:main
2014-01-05 14:59:44,367 DEBUG inflater.precache(): Precaching layout users:main
2014-01-05 14:59:44,441 DEBUG inflater.precache(): Precaching layout users:user-list
2014-01-05 14:59:44,465 DEBUG inflater.precache(): Precaching layout cron:main
2014-01-05 14:59:44,547 DEBUG inflater.precache(): Precaching layout logs:main
2014-01-05 14:59:44,623 DEBUG inflater.precache(): Precaching layout samba:main
2014-01-05 14:59:44,738 DEBUG inflater.precache(): Precaching layout fstab:free-widget
2014-01-05 14:59:44,807 DEBUG inflater.precache(): Precaching layout fstab:iio-widget
2014-01-05 14:59:44,840 DEBUG inflater.precache(): Precaching layout fstab:main
2014-01-05 14:59:44,880 DEBUG inflater.precache(): Precaching layout fstab:widget
2014-01-05 14:59:44,905 DEBUG inflater.precache(): Precaching layout plugins:main
2014-01-05 14:59:45,012 DEBUG inflater.precache(): Precaching layout iptables:option
2014-01-05 14:59:45,076 DEBUG inflater.precache(): Precaching layout iptables:option-address
2014-01-05 14:59:45,107 DEBUG inflater.precache(): Precaching layout iptables:option-protocol
2014-01-05 14:59:45,141 DEBUG inflater.precache(): Precaching layout iptables:option-port
2014-01-05 14:59:45,171 DEBUG inflater.precache(): Precaching layout iptables:option-interface
2014-01-05 14:59:45,186 DEBUG inflater.precache(): Precaching layout iptables:option-match
2014-01-05 14:59:45,200 DEBUG inflater.precache(): Precaching layout iptables:option-state
2014-01-05 14:59:45,225 DEBUG inflater.precache(): Precaching layout iptables:option-custom
2014-01-05 14:59:45,291 DEBUG inflater.precache(): Precaching layout iptables:main
2014-01-05 14:59:45,309 DEBUG inflater.precache(): Precaching layout iptables:option-reject-with
2014-01-05 14:59:45,363 DEBUG inflater.precache(): Precaching layout iptables:option-ports
2014-01-05 14:59:45,386 DEBUG inflater.precache(): Precaching layout notepad:config
2014-01-05 14:59:45,435 DEBUG inflater.precache(): Precaching layout notepad:main
2014-01-05 14:59:45,458 DEBUG inflater.precache(): Precaching layout notepad:listitem
2014-01-05 14:59:45,480 DEBUG inflater.precache(): Precaching layout configurator:ldap-sync-config
2014-01-05 14:59:45,511 DEBUG inflater.precache(): Precaching layout configurator:ad-sync-config
2014-01-05 14:59:45,521 DEBUG inflater.precache(): Precaching layout configurator:main
2014-01-05 14:59:45,568 DEBUG inflater.precache(): Precaching layout ajenti_org:config
2014-01-05 14:59:45,614 DEBUG inflater.precache(): Precaching layout ajenti_org:main
2014-01-05 14:59:45,672 DEBUG inflater.precache(): Precaching layout tasks:params-execute
2014-01-05 14:59:45,724 DEBUG inflater.precache(): Precaching layout tasks:params-rsync
2014-01-05 14:59:45,750 DEBUG inflater.precache(): Precaching layout tasks:main
2014-01-05 14:59:45,804 DEBUG inflater.precache(): Precaching layout tasks:params-copydir

Changed in ajenti:
status: New → Fix Committed
assignee: nobody → Eugene Pankov (john-pankov)
Changed in ajenti:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.