Jallen81

# Nov 28 2011 - 4:11 AM

Michigan

Decided to move to another machine and start things fresh, but i keep running into problems installing the database.
these are the errors I'm receiving.
Traceback (most recent call last):
File "/home/admin/bin/kegbot-admin.py", line 5, in <module>
pkg_resources.run_script('kegbot==0.8.3', 'kegbot-admin.py')
File "/home/admin/lib/python2.6/site-packages/distribute-0.6.12-py2.6.egg/pkg_resources.py", line 466, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/home/admin/lib/python2.6/site-packages/distribute-0.6.12-py2.6.egg/pkg_resources.py", line 1199, in run_script
execfile(script_filename, namespace, namespace)
File "/home/admin/lib/python2.6/site-packages/kegbot-0.8.3-py2.6.egg/EGG-INFO/scripts/kegbot-admin.py", line 30, in <module>
management.execute_from_command_line()
File "/home/admin/lib/python2jallen2281.6/site-packages/Django-1.3.1-py2.6.egg/django/core/management/__init__.py", line 429, in execute_from_command_line
utility.execute()
File "/home/admin/lib/python2.6/site-packages/Django-1.3.1-py2.6.egg/django/core/management/__init__
Traceback (most recent call last):
File "/home/admin/bin/kegbot-admin.py", line 5, in <module>
pkg_resources.run_script('kegbot==0.8.3', 'kegbot-admin.py')
File "/home/admin/lib/python2.6/site-packages/distribute-0.6.12-py2.6.egg/pkg_resources.py", line 466, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/home/admin/lib/python2.6/site-packages/distribute-0.6.12-py2.6.egg/pkg_resources.py", line 1199, in run_script
execfile(script_filename, namespace, namespace)
File "/home/admin/lib/python2.6/site-packages/kegbot-0.8.3-py2.6.egg/EGG-INFO/scripts/kegbot-admin.py", line 30, in <module>
management.execute_from_command_line()
File "/home/admin/lib/python2jallen2281.6/site-packages/Django-1.3.1-py2.6.egg/django/core/management/__init__.py", line 429, in execute_from_command_line
utility.execute()
File "/home/admin/lib/python2.6/site-packages/Django-1.3.1-py2.6.egg/django/core/management/__init__.py", line 379, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/home/admin/lib/python2.6/site-packages/Django-1.3.1-py2.6.egg/django/core/management/__init__.py", line 261, in fetch_command
klass = load_command_class(app_name, subcommand)
File "/home/admin/lib/python2.6/site-packages/Django-1.3.1-py2.6.egg/django/core/management/__init__.py", line 67, in load_command_class
module = import_module('%s.management.commands.%s' % (app_name, name))
File "/home/admin/lib/python2.6/site-packages/Django-1.3.1-py2.6.egg/django/utils/importlib.py", line 35, in import_module
__import__(name)
File "/home/admin/lib/python2.6/site-packages/kegbot-0.8.3-py2.6.egg/pykeg/core/management/commands/kb_setup.py", line 29, in <module>Traceback (most recent call last):
File "/home/admin/bin/kegbot-admin.py", line 5, in <module>
pkg_resources.run_script('kegbot==0.8.3', 'kegbot-admin.py')
File "/home/admin/lib/python2.6/site-packages/distribute-0.6.12-py2.6.egg/pkg_resources.py", line 466, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/home/admin/lib/python2.6/site-packages/distribute-0.6.12-py2.6.egg/pkg_resources.py", line 1199, in run_script
execfile(script_filename, namespace, namespace)
File "/home/admin/lib/python2.6/site-packages/kegbot-0.8.3-py2.6.egg/EGG-INFO/scripts/kegbot-admin.py", line 30, in <module>
management.execute_from_command_line()
File "/home/admin/lib/python2jallen2281.6/site-packages/Django-1.3.1-py2.6.egg/django/core/management/__init__.py", line 429, in execute_from_command_line
utility.execute()
File "/home/admin/lib/python2.6/site-packages/Django-1.3.1-py2.6.egg/django/core/management/__init__
Traceback (most recent call last):
File "/home/admin/bin/kegbot-admin.py", line 5, in <module>
pkg_resources.run_script('kegbot==0.8.3', 'kegbot-admin.py')
File "/home/admin/lib/python2.6/site-packages/distribute-0.6.12-py2.6.egg/pkg_resources.py", line 466, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/home/admin/lib/python2.6/site-packages/distribute-0.6.12-py2.6.egg/pkg_resources.py", line 1199, in run_script
execfile(script_filename, namespace, namespace)
File "/home/admin/lib/python2.6/site-packages/kegbot-0.8.3-py2.6.egg/EGG-INFO/scripts/kegbot-admin.py", line 30, in <module>
management.execute_from_command_line()
File "/home/admin/lib/python2jallen2281.6/site-packages/Django-1.3.1-py2.6.egg/django/core/management/__init__.py", line 429, in execute_from_command_line
utility.execute()
File "/home/admin/lib/python2.6/site-packages/Django-1.3.1-py2.6.egg/django/core/management/__init__.py", line 379, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/home/admin/lib/python2.6/site-packages/Django-1.3.1-py2.6.egg/django/core/management/__init__.py", line 261, in fetch_command
klass = load_command_class(app_name, subcommand)
File "/home/admin/lib/python2.6/site-packages/Django-1.3.1-py2.6.egg/django/core/management/__init__.py", line 67, in load_command_class
module = import_module('%s.management.commands.%s' % (app_name, name))
File "/home/admin/lib/python2.6/site-packages/Django-1.3.1-py2.6.egg/django/utils/importlib.py", line 35, in import_module
__import__(name)
File "/home/admin/lib/python2.6/site-packages/kegbot-0.8.3-py2.6.egg/pykeg/core/management/commands/kb_setup.py", line 29, in <module>
from pykeg.core.management.commands import kb_set_defaults
File "/home/admin/lib/python2.6/site-pacjallen2281kages/kegbot-0.8.3-py2.6.egg/pykeg/core/management/commands/kb_set_defaults.py", line 24, in <module>
from pykeg.core import defaults
File "/home/admin/lib/python2.6/site-packages/kegbot-0.8.3-py2.6.egg/pykeg/core/defaults.py", line 22, in <module>
from pykeg.core import backend
File "/home/admin/lib/python2.6/site-packages/kegbot-0.8.3-py2.6.egg/pykeg/core/backend.py", line 29, in <module>
from pykeg.core import models
File "/home/admin/lib/python2.6/site-packages/kegbot-0.8.3-py2.6.egg/pykeg/core/models.py", line 46, in <module>
from pykeg.beerdb import models as bdb
File "/home/admin/lib/python2.6/site-packages/kegbot-0.8.3-py2.6.egg/pykeg/beerdb/models.py", line 26, in <module>
from imagekit.models import ImageModel
ImportError: cannot import name ImageModel

Thanks ahead of time!
Jared




mike

# Nov 28 2011 - 7:11 PM

This was due to an upstream change, in django-imagekit broke. It is fixed in the tip-of-tree build (or wait for a new kegbot release, ~soonish).

mike




Jallen81

# Nov 30 2011 - 7:11 PM

Michigan

Thanks!




Jallen81

# Dec 05 2011 - 10:12 PM

Michigan

So, i got it reinstalled an running other than the stats module i'm getting:

Template error
In template /home/jared/kegbot/pykeg/src/pykeg/web/templates/kegweb/system-stats.html, error at line 25
Caught VariableDoesNotExist while rendering: Failed lookup for key [average_volume_ml] in u'{}'

none of the graphs are working either. Hadn't even realized I was cloning the tip before. Is this a problem with the tip build also?




Jallen81

# Dec 10 2011 - 10:12 AM

Michigan

Awesome! I really like the new front end! Great work Mike! Only thing I've noticed is the tap admin page is empty.




mike

# Dec 10 2011 - 6:12 PM

Jallen81
Awesome! I really like the new front end! Great work Mike! Only thing I've noticed is the tap admin page is empty.

Thanks! The tap admin is a known issue (sorry, it is mentioned in the commit message but that's a little obscure). I'm re-doing the whole admin site and adding some long-missing features in the process - like a simple button to end a keg; cancel the most recent drink; add and remove taps; etc. I'll be submitting this in the next couple of days, hang tight!

mike




nshontz

# Dec 12 2011 - 10:12 PM

hey,

i'm still having some trouble installing, here's my output: http://hastebin.com/3iSVTo338M.pas

i'm trying to install on Ubuntu 10.04.

nick




nshontz

# Dec 20 2011 - 1:12 PM

I just had to install python-devel. http://alexsleat.co.uk/2011/01/01/fatal-error-python-h-no-such-file-or-directory/ i don't know if that can be added as a dependency.

Edit: i also had to install
MySQL-python and pip-python install pil

Edited by nshontz (Dec. 21, 2011 20:37:47)