arkOScloud / genesis

Graphical server management app for arkOS

Home Page:https://arkos.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Genesis upgrade failed: global name 'shell' is not defined

Jeeppler opened this issue · comments

If I try to upgrade to a new version of Genesis I got the python error global name 'shell' is not defined.
See the stack trace for more details.

Genesis 0.6.0 bug report

System: Linux arkos 3.12.24-1-ARCH #1 PREEMPT Thu Jul 10 23:57:15 MDT 2014 armv6l GNU/Linux

Detected platform: arkos
Detected distro: Linux 3.12.24-1-ARCH armv6l

Python: 2.7.8

Config path: /etc/genesis/users/balduin.conf

Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/genesis/core/application.py", line 166, in dispatcher
self.start_response)
File "/usr/lib/python2.7/site-packages/genesis/api/urlhandler.py", line 89, in url_handler
return handler(req, start_response)
File "/usr/lib/python2.7/site-packages/genesis/plugins/core/root.py", line 282, in handle_generic
result = handler.event(event, params, vars = vars)
File "/usr/lib/python2.7/site-packages/genesis/api/helpers.py", line 115, in event
return handler(event, _params, *_kwparams)
File "/usr/lib/python2.7/site-packages/genesis/plugins/config/main.py", line 115, in on_submit
shell('pacman -S --noconfirm genesis')
NameError: global name 'shell' is not defined

This was reported and solved for 0.6.1 in #469 -- if you are updating to 0.6.1 you must follow the instructions here as workaround: https://bbs.arkos.io/t/genesis-0-6-1-released/1294/2

Thanks!