crash in crontab @special

Bug #1205491 reported by neopegasus
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ajenti
Incomplete
Undecided
Eugene Pankov

Bug Description

Ajenti 0.99.28 bug report
--------------------
Detected platform: debian / ubuntu / Ubuntu 12.04.2 LTS

Architecture: i686 i686

Python: 2.7.3
Installation: 28923161
Debug: False
Loaded plugins:
main dashboard sensors power codemirror notepad services webserver_common apache nginx db_common samba terminal taskmgr fstab supervisor mysql configurator network users hosts scripts raid logs hddtemp packages resolv fm resources ajenti_org cron iptables plugins

Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/ajenti/plugins/main/main.py", line 101, in on_message
    self.ui.dispatch_event(update['uid'], update['event'], update['params'])
  File "/usr/lib/pymodules/python2.7/ajenti/ui/__init__.py", line 64, in dispatch_event
    self.root.dispatch_event(uid, event, params)
  File "/usr/lib/pymodules/python2.7/ajenti/ui/element.py", line 315, in dispatch_event
    if child.dispatch_event(uid, event, params):
  File "/usr/lib/pymodules/python2.7/ajenti/ui/element.py", line 311, in dispatch_event
    self.event(event, params)
  File "/usr/lib/pymodules/python2.7/ajenti/ui/element.py", line 330, in event
    getattr(self, 'on_%s' % self_event)(**(params or {}))
  File "/usr/lib/pymodules/python2.7/ajenti/plugins/main/main.py", line 269, in on_switch
    child.broadcast('on_page_load')
  File "/usr/lib/pymodules/python2.7/ajenti/ui/element.py", line 301, in broadcast
    getattr(self, method)(*args, **kwargs)
  File "/usr/lib/pymodules/python2.7/ajenti/plugins/cron/main.py", line 28, in on_page_load
    self.refresh()
  File "/usr/lib/pymodules/python2.7/ajenti/plugins/cron/main.py", line 52, in refresh
    self.load_tab(self.current_user)
  File "/usr/lib/pymodules/python2.7/ajenti/plugins/cron/main.py", line 44, in load_tab
    self.config.load()
  File "/usr/lib/pymodules/python2.7/reconfigure/configs/base.py", line 34, in load
    self.nodetree = self.parser.parse(self.content)
  File "/usr/lib/pymodules/python2.7/reconfigure/parsers/crontab.py", line 19, in parse
    special, command = line.split(' ', 1)
ValueError: need more than 1 value to unpack

Log content:
2013-07-26 23:06:07,994 DEBUG registry.register_crypt_handler(): registered 'sha512_crypt' handler: <class 'passlib.handlers.sha2_crypt.sha512_crypt'>
2013-07-26 23:06:08,281 INFO core.run(): Ajenti 0.99.28 running on platform: debian
2013-07-26 23:06:08,284 DEBUG __init__.load(): Loading plugin sensors
2013-07-26 23:06:08,286 DEBUG __init__.load_recursive(): Preloading plugin dependency: main
2013-07-26 23:06:08,287 DEBUG __init__.load(): Loading plugin main
2013-07-26 23:06:08,411 DEBUG __init__.load(): Loading plugin sensors
2013-07-26 23:06:08,413 DEBUG __init__.load_recursive(): Preloading plugin dependency: dashboard
2013-07-26 23:06:08,414 DEBUG __init__.load(): Loading plugin dashboard
2013-07-26 23:06:08,421 DEBUG __init__.load(): Loading plugin sensors
2013-07-26 23:06:08,556 DEBUG __init__.load(): Loading plugin power
2013-07-26 23:06:08,560 DEBUG __init__.load(): Loading plugin notepad
2013-07-26 23:06:08,562 DEBUG __init__.load_recursive(): Preloading plugin dependency: codemirror
2013-07-26 23:06:08,563 DEBUG __init__.load(): Loading plugin codemirror
2013-07-26 23:06:08,567 DEBUG __init__.load(): Loading plugin notepad
2013-07-26 23:06:08,572 DEBUG __init__.load(): Loading plugin apache
2013-07-26 23:06:08,574 DEBUG __init__.load_recursive(): Preloading plugin dependency: webserver_common
2013-07-26 23:06:08,575 DEBUG __init__.load(): Loading plugin webserver_common
2013-07-26 23:06:08,578 DEBUG __init__.load_recursive(): Preloading plugin dependency: services
2013-07-26 23:06:08,579 DEBUG __init__.load(): Loading plugin services
2013-07-26 23:06:08,637 DEBUG __init__.load(): Loading plugin webserver_common
2013-07-26 23:06:08,642 DEBUG __init__.load(): Loading plugin apache
2013-07-26 23:06:08,671 DEBUG __init__.load(): Loading plugin nginx
2013-07-26 23:06:08,700 DEBUG __init__.load(): Loading plugin psql
2013-07-26 23:06:08,702 DEBUG __init__.load_recursive(): Preloading plugin dependency: db_common
2013-07-26 23:06:08,703 DEBUG __init__.load(): Loading plugin db_common
2013-07-26 23:06:08,708 DEBUG __init__.load(): Loading plugin psql
2013-07-26 23:06:08,734 WARNING __init__.load(): *** [psql] skipping due to BinaryDependency (psql)
2013-07-26 23:06:08,736 DEBUG __init__.load(): Loading plugin samba
2013-07-26 23:06:08,768 DEBUG __init__.load(): Loading plugin terminal
2013-07-26 23:06:08,835 DEBUG __init__.load(): Loading plugin taskmgr
2013-07-26 23:06:08,839 DEBUG __init__.load(): Loading plugin fstab
2013-07-26 23:06:08,850 DEBUG __init__.load(): Loading plugin ctdb
2013-07-26 23:06:08,877 WARNING __init__.load(): *** [ctdb] skipping due to BinaryDependency (ctdb)
2013-07-26 23:06:08,878 DEBUG __init__.load(): Loading plugin bind9
2013-07-26 23:06:08,907 WARNING __init__.load(): *** [bind9] skipping due to BinaryDependency (named)
2013-07-26 23:06:08,909 DEBUG __init__.load(): Loading plugin supervisor
2013-07-26 23:06:08,939 DEBUG __init__.load(): Loading plugin squid
2013-07-26 23:06:08,967 WARNING __init__.load(): *** [squid] skipping due to BinaryDependency (squid3)
2013-07-26 23:06:08,969 DEBUG __init__.load(): Loading plugin mysql
2013-07-26 23:06:08,999 DEBUG __init__.load(): Loading plugin configurator
2013-07-26 23:06:09,021 DEBUG __init__.load(): Loading plugin dhcpd
2013-07-26 23:06:09,047 WARNING __init__.load(): *** [dhcpd] skipping due to BinaryDependency (dhcpd)
2013-07-26 23:06:09,049 DEBUG __init__.load(): Loading plugin network
2013-07-26 23:06:09,072 DEBUG __init__.load(): Loading plugin users
2013-07-26 23:06:09,080 DEBUG __init__.load(): Loading plugin hosts
2013-07-26 23:06:09,084 DEBUG __init__.load(): Loading plugin memcache
2013-07-26 23:06:09,111 WARNING __init__.load(): *** [memcache] skipping due to BinaryDependency (memcached)
2013-07-26 23:06:09,113 DEBUG __init__.load(): Loading plugin scripts
2013-07-26 23:06:09,117 DEBUG __init__.load(): Loading plugin elements
2013-07-26 23:06:09,119 WARNING __init__.load(): *** [elements] Plugin error: format error
2013-07-26 23:06:09,121 DEBUG __init__.load(): Loading plugin megaraid
2013-07-26 23:06:09,124 WARNING __init__.load(): *** [megaraid] skipping due to FileDependency (/opt/MegaRAID/MegaCli/MegaCli)
2013-07-26 23:06:09,125 DEBUG __init__.load(): Loading plugin raid
2013-07-26 23:06:09,155 DEBUG __init__.load(): Loading plugin logs
2013-07-26 23:06:09,161 DEBUG __init__.load(): Loading plugin hddtemp
2013-07-26 23:06:09,191 DEBUG __init__.load(): Loading plugin packages
2013-07-26 23:06:09,206 DEBUG __init__.load(): Loading plugin resolv
2013-07-26 23:06:09,210 DEBUG __init__.load(): Loading plugin netatalk
2013-07-26 23:06:09,237 WARNING __init__.load(): *** [netatalk] skipping due to BinaryDependency (afpd)
2013-07-26 23:06:09,239 DEBUG __init__.load(): Loading plugin fm
2013-07-26 23:06:09,253 DEBUG __init__.load(): Loading plugin munin
2013-07-26 23:06:09,280 WARNING __init__.load(): *** [munin] skipping due to BinaryDependency (munin-cron)
2013-07-26 23:06:09,282 DEBUG __init__.load(): Loading plugin resources
2013-07-26 23:06:09,291 DEBUG __init__.load(): Loading plugin exports
2013-07-26 23:06:09,319 WARNING __init__.load(): *** [exports] skipping due to BinaryDependency (nfsstat)
2013-07-26 23:06:09,321 DEBUG __init__.load(): Loading plugin ajenti_org
2013-07-26 23:06:09,327 DEBUG __init__.load(): Loading plugin lm-sensors
2013-07-26 23:06:09,354 WARNING __init__.load(): *** [lm-sensors] skipping due to BinaryDependency (sensors)
2013-07-26 23:06:09,356 DEBUG __init__.load(): Loading plugin cron
2013-07-26 23:06:09,386 DEBUG __init__.load(): Loading plugin iptables
2013-07-26 23:06:09,392 DEBUG __init__.load(): Loading plugin plugins
2013-07-26 23:06:09,396 DEBUG __init__.load(): Loading plugin smartctl
2013-07-26 23:06:09,423 WARNING __init__.load(): *** [smartctl] skipping due to BinaryDependency (smartctl)
2013-07-26 23:06:09,425 DEBUG __init__.load(): Loading plugin sysload
2013-07-26 23:06:09,427 WARNING __init__.load(): *** [sysload] Plugin error: format error
2013-07-26 23:06:09,429 DEBUG __init__.load(): Loading plugin pkgman
2013-07-26 23:06:09,431 WARNING __init__.load(): *** [pkgman] Plugin error: format error
2013-07-26 23:06:09,433 DEBUG __init__.load(): Loading plugin filesystems
2013-07-26 23:06:09,434 WARNING __init__.load(): *** [filesystems] Plugin error: format error
2013-07-26 23:06:09,436 DEBUG __init__.load(): Loading plugin cpu
2013-07-26 23:06:09,438 WARNING __init__.load(): *** [cpu] Plugin error: format error
2013-07-26 23:06:09,440 DEBUG __init__.load(): Loading plugin loadcores
2013-07-26 23:06:09,442 WARNING __init__.load(): *** [loadcores] Plugin error: format error
2013-07-26 23:06:09,443 DEBUG __init__.load(): Loading plugin hddstat
2013-07-26 23:06:09,445 WARNING __init__.load(): *** [hddstat] Plugin error: format error
2013-07-26 23:06:09,478 INFO core.start(): Starting SSL tunnel for port 39788
2013-07-26 23:06:10,235 INFO core.run(): SSL tunnel running fine
2013-07-26 23:06:10,237 INFO core.run(): Starting server on (u'127.0.0.1', 39788)
2013-07-26 23:06:10,246 DEBUG feedback.send(): Feedback >> ping ({'id': 2164})
2013-07-26 23:06:10,499 DEBUG feedback.send(): Feedback << {"status": "ok"}

Revision history for this message
Eugene Pankov (john-pankov) wrote :

Please attach files from /var/spool/cron/crontabs

Revision history for this message
neopegasus (s-martes3) wrote :

# DO NOT EDIT THIS FILE - edit the master and reinstall.
# (- installed on Thu Jul 25 20:31:55 2013)
# (Cron version -- $Id: crontab.c,v 2.13 1994/01/17 03:20:37 vixie Exp $)
@hourly /usr/local/bin/flexget

Revision history for this message
neopegasus (s-martes3) wrote :

# DO NOT EDIT THIS FILE - edit the master and reinstall.
# (- installed on Mon Feb 11 14:32:41 2013)
# (Cron version -- $Id: crontab.c,v 2.13 1994/01/17 03:20:37 vixie Exp $)

Changed in ajenti:
assignee: nobody → DuoV (bvv-mag)
Revision history for this message
Eugene Pankov (john-pankov) wrote :

Could you please grab the file and upload it as-is somewhere (as opposed to copying the text contents)?
My question is whether this is a space or tab after @hourly

Changed in ajenti:
assignee: DuoV (bvv-mag) → Eugene Pankov (john-pankov)
status: New → Incomplete
summary: - crash just after chossing the app
+ crash in crontab @special
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.