0
Fixed

Ajenti 1.0.3 on Debian 7 wheezy crash

Simone Pescina 11 years ago updated by Eugene Pankov (Project coordinator) 11 years ago 4

Hi guys.


Ajenti does not start.


when running ajenti-panel -v this is the screen



20.09.2013 16:37 ajenti-panel:81               INFO  Ajenti starting in foreground

20.09.2013 16:37 registry.py:247               INFO  registered crypt handler 'sha512_crypt': <class 'passlib.handlers.sha2_crypt.sha512_crypt'>

20.09.2013 16:37 core.py:90                    WARN  Couldn't set default locale

20.09.2013 16:37 core.py:95                    INFO  Ajenti 1.0.3 running on platform: debian

20.09.2013 16:37 __init__.py:260               DEBUG Loading plugin codemirror

20.09.2013 16:37 __init__.py:249               DEBUG Preloading plugin dependency: main

20.09.2013 16:37 __init__.py:260               DEBUG Loading plugin main

20.09.2013 16:37 __init__.py:260               DEBUG Loading plugin codemirror

20.09.2013 16:37 __init__.py:260               DEBUG Loading plugin hddtemp

20.09.2013 16:37 __init__.py:249               DEBUG Preloading plugin dependency: dashboard

20.09.2013 16:37 __init__.py:260               DEBUG Loading plugin dashboard

20.09.2013 16:37 __init__.py:260               DEBUG Loading plugin hddtemp

20.09.2013 16:37 __init__.py:309               WARN   *** [hddtemp] skipping due to BinaryDependency (hddtemp)

20.09.2013 16:37 __init__.py:260               DEBUG Loading plugin megaraid

20.09.2013 16:37 __init__.py:309               WARN   *** [megaraid] skipping due to FileDependency (/opt/MegaRAID/MegaCli/MegaCli)

20.09.2013 16:37 __init__.py:260               DEBUG Loading plugin smartctl

20.09.2013 16:37 __init__.py:309               WARN   *** [smartctl] skipping due to BinaryDependency (smartctl)

20.09.2013 16:37 __init__.py:260               DEBUG Loading plugin services

20.09.2013 16:37 __init__.py:260               DEBUG Loading plugin webserver_common

20.09.2013 16:37 __init__.py:260               DEBUG Loading plugin exports

20.09.2013 16:37 __init__.py:260               DEBUG Loading plugin vh

20.09.2013 16:37 __init__.py:303               WARN   *** [vh] Plugin error: format error

20.09.2013 16:37 __init__.py:260               DEBUG Loading plugin configurator

20.09.2013 16:37 __init__.py:260               DEBUG Loading plugin lm-sensors

20.09.2013 16:37 __init__.py:309               WARN   *** [lm-sensors] skipping due to BinaryDependency (sensors)

20.09.2013 16:37 __init__.py:260               DEBUG Loading plugin nginx

20.09.2013 16:37 __init__.py:309               WARN   *** [nginx] skipping due to BinaryDependency (nginx)

20.09.2013 16:37 __init__.py:260               DEBUG Loading plugin cron

20.09.2013 16:37 __init__.py:260               DEBUG Loading plugin fstab

20.09.2013 16:37 __init__.py:260               DEBUG Loading plugin samba

20.09.2013 16:37 __init__.py:309               WARN   *** [samba] skipping due to BinaryDependency (smbd)

20.09.2013 16:37 __init__.py:260               DEBUG Loading plugin hosts

20.09.2013 16:37 __init__.py:260               DEBUG Loading plugin sensors

20.09.2013 16:37 __init__.py:260               DEBUG Loading plugin db_common

20.09.2013 16:37 __init__.py:260               DEBUG Loading plugin squid

20.09.2013 16:37 __init__.py:309               WARN   *** [squid] skipping due to BinaryDependency (squid3)

20.09.2013 16:37 __init__.py:260               DEBUG Loading plugin taskmgr

20.09.2013 16:37 __init__.py:260               DEBUG Loading plugin packages

20.09.2013 16:37 __init__.py:249               DEBUG Preloading plugin dependency: terminal

20.09.2013 16:37 __init__.py:260               DEBUG Loading plugin terminal

20.09.2013 16:37 __init__.py:260               DEBUG Loading plugin packages

20.09.2013 16:37 __init__.py:260               DEBUG Loading plugin bind9

20.09.2013 16:37 __init__.py:309               WARN   *** [bind9] skipping due to BinaryDependency (named)

20.09.2013 16:37 __init__.py:260               DEBUG Loading plugin network

20.09.2013 16:37 __init__.py:260               DEBUG Loading plugin resources

20.09.2013 16:37 __init__.py:260               DEBUG Loading plugin notepad

20.09.2013 16:37 __init__.py:260               DEBUG Loading plugin supervisor

20.09.2013 16:37 __init__.py:309               WARN   *** [supervisor] skipping due to BinaryDependency (supervisord)

20.09.2013 16:37 __init__.py:260               DEBUG Loading plugin openvpn

20.09.2013 16:37 __init__.py:309               WARN   *** [openvpn] skipping due to BinaryDependency (openvpn)

20.09.2013 16:37 __init__.py:260               DEBUG Loading plugin psql

20.09.2013 16:37 __init__.py:309               WARN   *** [psql] skipping due to BinaryDependency (psql)

20.09.2013 16:37 __init__.py:260               DEBUG Loading plugin memcache

20.09.2013 16:37 __init__.py:309               WARN   *** [memcache] skipping due to BinaryDependency (memcached)

20.09.2013 16:37 __init__.py:260               DEBUG Loading plugin netatalk

20.09.2013 16:37 __init__.py:309               WARN   *** [netatalk] skipping due to BinaryDependency (afpd)

20.09.2013 16:37 __init__.py:260               DEBUG Loading plugin logs

20.09.2013 16:37 __init__.py:260               DEBUG Loading plugin dhcpd

20.09.2013 16:37 __init__.py:309               WARN   *** [dhcpd] skipping due to BinaryDependency (dhcpd)

20.09.2013 16:37 __init__.py:260               DEBUG Loading plugin nsd

20.09.2013 16:37 __init__.py:309               WARN   *** [nsd] skipping due to BinaryDependency (nsd)

20.09.2013 16:37 __init__.py:260               DEBUG Loading plugin scripts

20.09.2013 16:37 __init__.py:260               DEBUG Loading plugin iptables

20.09.2013 16:37 __init__.py:260               DEBUG Loading plugin ajenti_org

20.09.2013 16:37 __init__.py:260               DEBUG Loading plugin mysql

20.09.2013 16:37 __init__.py:260               DEBUG Loading plugin users

20.09.2013 16:37 __init__.py:260               DEBUG Loading plugin elements

20.09.2013 16:37 __init__.py:303               WARN   *** [elements] Plugin error: format error

20.09.2013 16:37 __init__.py:260               DEBUG Loading plugin fm

20.09.2013 16:37 __init__.py:260               DEBUG Loading plugin apache

20.09.2013 16:37 __init__.py:260               DEBUG Loading plugin raid

20.09.2013 16:37 __init__.py:309               WARN   *** [raid] skipping due to BinaryDependency (mdadm)

20.09.2013 16:37 __init__.py:260               DEBUG Loading plugin plugins

20.09.2013 16:37 __init__.py:260               DEBUG Loading plugin power

20.09.2013 16:37 __init__.py:260               DEBUG Loading plugin munin

20.09.2013 16:37 __init__.py:309               WARN   *** [munin] skipping due to BinaryDependency (munin-cron)

20.09.2013 16:37 __init__.py:260               DEBUG Loading plugin resolv

20.09.2013 16:37 __init__.py:260               DEBUG Loading plugin ctdb

20.09.2013 16:37 __init__.py:309               WARN   *** [ctdb] skipping due to BinaryDependency (ctdb)

20.09.2013 16:37 core.py:39                    INFO  Starting SSL tunnel for port 39659

20.09.2013 16:37 core.py:114                   INFO  SSL tunnel running fine

20.09.2013 16:37 core.py:123                   INFO  Starting server on (u'127.0.0.1', 39659)

20.09.2013 16:37 inflater.py:34                DEBUG Precaching layout dashboard:dash

20.09.2013 16:37 inflater.py:34                DEBUG Precaching layout dashboard:welcome

20.09.2013 16:37 inflater.py:34                DEBUG Precaching layout services:main

20.09.2013 16:37 inflater.py:34                DEBUG Precaching layout services:bar

20.09.2013 16:37 inflater.py:34                DEBUG Precaching layout services:widget

20.09.2013 16:37 inflater.py:34                DEBUG Precaching layout webserver_common:main

20.09.2013 16:37 inflater.py:34                DEBUG Precaching layout exports:main

20.09.2013 16:37 inflater.py:34                DEBUG Precaching layout configurator:main

20.09.2013 16:37 inflater.py:34                DEBUG Precaching layout cron:main

Activating emergency console

----------------------------

Caused by:

SyntaxError

Stack frames:

  [  0] /usr/bin/ajenti-panel:86

  [  1] /usr/lib/pymodules/python2.7/ajenti/core.py:160

              Inflater.get(manager.context).precache()

  [  2] /usr/lib/pymodules/python2.7/ajenti/ui/inflater.py:35

                              self.inflate(temp_ui, layout)

  [  3] /usr/lib/pymodules/python2.7/ajenti/ui/inflater.py:70

                      self.cache[layout] = self.inflate_rec(ui, xml)

  [  4] /usr/lib/pymodules/python2.7/ajenti/ui/inflater.py:103

                  children = list(self.inflate_rec(ui, child) for child in node)

  [  5] /usr/lib/pymodules/python2.7/ajenti/ui/inflater.py:103

                  children = list(self.inflate_rec(ui, child) for child in node)

  [  6] /usr/lib/pymodules/python2.7/ajenti/ui/inflater.py:103

                  children = list(self.inflate_rec(ui, child) for child in node)

  [  7] /usr/lib/pymodules/python2.7/ajenti/ui/inflater.py:103

                  children = list(self.inflate_rec(ui, child) for child in node)

  [  8] /usr/lib/pymodules/python2.7/ajenti/ui/inflater.py:103

                  children = list(self.inflate_rec(ui, child) for child in node)

  [  9] /usr/lib/pymodules/python2.7/ajenti/ui/inflater.py:103

                  children = list(self.inflate_rec(ui, child) for child in node)

  [ 10] /usr/lib/pymodules/python2.7/ajenti/ui/inflater.py:103

                  children = list(self.inflate_rec(ui, child) for child in node)

  [ 11] /usr/lib/pymodules/python2.7/ajenti/ui/inflater.py:103

                  children = list(self.inflate_rec(ui, child) for child in node)

  [ 12] /usr/lib/pymodules/python2.7/ajenti/ui/inflater.py:103

                  children = list(self.inflate_rec(ui, child) for child in node)

  [ 13] /usr/lib/pymodules/python2.7/ajenti/ui/inflater.py:103

                  children = list(self.inflate_rec(ui, child) for child in node)

  [ 14] /usr/lib/pymodules/python2.7/ajenti/ui/inflater.py:103

                  children = list(self.inflate_rec(ui, child) for child in node)

  [ 15] /usr/lib/pymodules/python2.7/ajenti/ui/inflater.py:103

                  children = list(self.inflate_rec(ui, child) for child in node)

  [ 16] /usr/lib/pymodules/python2.7/ajenti/ui/inflater.py:103

                  children = list(self.inflate_rec(ui, child) for child in node)

  [ 17] /usr/lib/pymodules/python2.7/ajenti/ui/inflater.py:103

                  children = list(self.inflate_rec(ui, child) for child in node)

  [ 18] /usr/lib/pymodules/python2.7/ajenti/ui/inflater.py:103

                  children = list(self.inflate_rec(ui, child) for child in node)

  [ 19] /usr/lib/pymodules/python2.7/ajenti/ui/inflater.py:103

                  children = list(self.inflate_rec(ui, child) for child in node)

  [ 20] /usr/lib/pymodules/python2.7/ajenti/ui/inflater.py:103

                  children = list(self.inflate_rec(ui, child) for child in node)

  [ 21] /usr/lib/pymodules/python2.7/ajenti/ui/inflater.py:103

                  children = list(self.inflate_rec(ui, child) for child in node)

  [ 22] /usr/lib/pymodules/python2.7/ajenti/ui/inflater.py:103

                  children = list(self.inflate_rec(ui, child) for child in node)

  [ 23] /usr/lib/pymodules/python2.7/ajenti/ui/inflater.py:103

                  children = list(self.inflate_rec(ui, child) for child in node)

  [ 24] /usr/lib/pymodules/python2.7/ajenti/ui/inflater.py:103

                  children = list(self.inflate_rec(ui, child) for child in node)

  [ 25] /usr/lib/pymodules/python2.7/ajenti/ui/inflater.py:103

                  children = list(self.inflate_rec(ui, child) for child in node)

  [ 26] /usr/lib/pymodules/python2.7/ajenti/ui/inflater.py:103

                  children = list(self.inflate_rec(ui, child) for child in node)

  [ 27] /usr/lib/pymodules/python2.7/ajenti/ui/inflater.py:103

                  children = list(self.inflate_rec(ui, child) for child in node)

> [ 28] /usr/lib/pymodules/python2.7/ajenti/ui/inflater.py:95

                                  value = eval(value)

On frame 28

Source:

           def inflate_rec(self, ui, node):

               tag = node.tag.replace('{', '').replace('}', ':')

               if tag == 'include':

                   return self.inflate(ui, node.attrib['layout'])

               cls = self.get_class(tag)

               props = {}

               extra_props = {}

               for key in node.attrib:

                   value = node.attrib[key]

                   if value.startswith('{') and value.endswith('}'):

                       value = _(value[1:-1])

                   for prop in cls._properties.values():

                       if prop.name == key:

                           if prop.type in [eval, list, dict]:

                               value = _(value)

                           if prop.type in [int, float, unicode, eval, dict]:

                               value = prop.type(value)

                           elif prop.type in [list]:

    >>                         value = eval(value)

                           elif prop.type == bool:

                               value = value == 'True'

                           props[key] = value

                           break

                   else:

                       extra_props[key] = value

               children = list(self.inflate_rec(ui, child) for child in node)

               element = self.create_element(ui, tag, children=children, **props)

               for k, v in extra_props.iteritems():

                   element.property_definitions[k] = UIProperty(name=k, public=False)

                   element.properties[k] = v

               return element

Press Ctrl-D to leave console

Type "_help()"" for built-in commands

>>>



Any ideas?

Tnx

Answer

Answer
Fixed

This was a translation error. Fix will be included in the next build.

Please let me know which locale are you using

my system default locale is it_IT.utf8

Answer
Fixed

This was a translation error. Fix will be included in the next build.

Can I ask you when next release will be available?