Hi, it is the first time that i try to install Kegberry. I already would like to congratulate you for your work. I really want to use the kegbot in my house 
I don’t have any Raspberry Pi yet, i created a virtualbox with Debian 32bit and Raspberry Pi Desktop. (i’m on mac btw)
I’m a noob about coding but i know the basic.
Thanks
i have an issue when i install it what do you think?
INFO : Updating package list …
INFO : Installing required packages …
INFO : Cleaning up …
INFO : Checking if database exists …
INFO : Installing MySQL timezones …
INFO : Checking/installing virtualenv “kegbot-server.venv”…
INFO : Checking/installing virtualenv “kegbot-pycore.venv”…
INFO : Installing python server packages, this may take a while …
INFO : Installing pycore packages, this may take a while …
INFO : Installing Kegbot …
Traceback (most recent call last):
File “/home/kegbot/kegbot-server.venv/bin/kegbot”, line 56, in
django.setup()
File “/home/kegbot/kegbot-server.venv/local/lib/python2.7/site-packages/django/init.py”, line 21, in setup
apps.populate(settings.INSTALLED_APPS)
File “/home/kegbot/kegbot-server.venv/local/lib/python2.7/site-packages/django/apps/registry.py”, line 108, in populate
app_config.import_models(all_models)
File “/home/kegbot/kegbot-server.venv/local/lib/python2.7/site-packages/django/apps/config.py”, line 202, in import_models
self.models_module = import_module(models_module_name)
File “/usr/lib/python2.7/importlib/init.py”, line 37, in import_module
import(name)
File “/home/kegbot/kegbot-server.venv/local/lib/python2.7/site-packages/pykeg/core/models.py”, line 33, in
from django.contrib.auth.models import AbstractBaseUser
File “/home/kegbot/kegbot-server.venv/local/lib/python2.7/site-packages/django/contrib/auth/models.py”, line 40, in
class Permission(models.Model):
File “/home/kegbot/kegbot-server.venv/local/lib/python2.7/site-packages/django/db/models/base.py”, line 122, in new
new_class.add_to_class(’_meta’, Options(meta, **kwargs))
File “/home/kegbot/kegbot-server.venv/local/lib/python2.7/site-packages/django/db/models/base.py”, line 297, in add_to_class
value.contribute_to_class(cls, name)
File “/home/kegbot/kegbot-server.venv/local/lib/python2.7/site-packages/django/db/models/options.py”, line 166, in contribute_to_class
self.db_table = truncate_name(self.db_table, connection.ops.max_name_length())
File “/home/kegbot/kegbot-server.venv/local/lib/python2.7/site-packages/django/db/init.py”, line 40, in getattr
return getattr(connections[DEFAULT_DB_ALIAS], item)
File “/home/kegbot/kegbot-server.venv/local/lib/python2.7/site-packages/django/db/utils.py”, line 242, in getitem
backend = load_backend(db[‘ENGINE’])
File “/home/kegbot/kegbot-server.venv/local/lib/python2.7/site-packages/django/db/utils.py”, line 108, in load_backend
return import_module(’%s.base’ % backend_name)
File “/usr/lib/python2.7/importlib/init.py”, line 37, in import_module
import(name)
File “/home/kegbot/kegbot-server.venv/local/lib/python2.7/site-packages/django/db/backends/mysql/base.py”, line 18, in
raise ImproperlyConfigured(“Error loading MySQLdb module: %s” % e)
django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb module: /home/kegbot/kegbot-server.venv/local/lib/python2.7/site-packages/_mysql.so: wrong ELF class: ELFCLASS64
ERROR: Command returned non-zero exit status (1)
Generated configuration:
CACHES = None
DATABASES = {‘default’: {‘ENGINE’: ‘django.db.backends.mysql’, ‘NAME’: ‘kegbot’, ‘HOST’: ‘’, ‘USER’: ‘root’, ‘PASSWORD’: ‘’, ‘OPTIONS’: {‘init_command’: ‘SET storage_engine=INNODB’}}}
KEGBOT_ROOT = ‘/home/kegbot/kegbot-data’
MEDIA_ROOT = ‘/home/kegbot/kegbot-data/media’
SECRET_KEY = ‘wl&y4ww$j(7#t9k17+8e($8+d6o!h53(_82ukp+6hfb7pygomi’
STATIC_ROOT = ‘/home/kegbot/kegbot-data/static’
Writing settings to /home/kegbot/.kegbot/local_settings.py …
Finishing setup …
Running command: kegbot syncdb --noinput -v 0
ERROR : Command returned error:
ERROR : Command: sudo su -l kegbot -c “. /home/kegbot/kegbot-server.venv/bin/activate && setup-kegbot.py --interactive=false --db_type=mysql --db_database=“kegbot” --data_root=/home/kegbot/kegbot-data”
ERROR : Return code: 1
Traceback (most recent call last):
File “/usr/local/bin/kegberry”, line 7, in
app.run()
File “/usr/local/lib/python2.7/dist-packages/kegberry/app.py”, line 210, in run
command_fn(*args)
File “/usr/local/lib/python2.7/dist-packages/kegberry/app.py”, line 293, in install
run_in_virtualenv(SERVER_VENV, cmd)
File “/usr/local/lib/python2.7/dist-packages/kegberry/app.py”, line 154, in run_in_virtualenv
return run_as_kegberry(cmd, **kwargs)
File “/usr/local/lib/python2.7/dist-packages/kegberry/app.py”, line 148, in run_as_kegberry
return run_command(wrapped, **kwargs)
File “/usr/local/lib/python2.7/dist-packages/kegberry/app.py”, line 142, in run_command
raise e
subprocess.CalledProcessError: Command ‘sudo su -l kegbot -c “. /home/kegbot/kegbot-server.venv/bin/activate && setup-kegbot.py --interactive=false --db_type=mysql --db_database=“kegbot” --data_root=/home/kegbot/kegbot-data”’ returned non-zero exit status 1