JLPete

# Aug 29 2010 - 8:08 AM

Milwaukee

So I I have worked my way through a number of errors. I had issues with MySQL-Python and the Python Imaging Library. It was even difficult to get PIP working. But now I am stuck. The pip install kegbot command returns the following error. I tried installing Distribute manually but this error persists. Thoughts?

Downloading/unpacking protobuf>=2.3.0-1 (from kegbot)
Downloading protobuf-2.3.0-1.tgz (54Kb): 54Kb downloaded
Running setup.py egg_info for package protobuf
Downloading/unpacking pylcdui>=0.5.5 (from kegbot)
Running setup.py egg_info for package pylcdui
Traceback (most recent call last):
File "<string>", line 14, in <module>
File "/kegbot/build/pylcdui/setup.py", line 3, in <module>
from distribute_setup import use_setuptools
ImportError: No module named distribute_setup
Complete output from command python setup.py egg_info:
Traceback (most recent call last):

File "<string>", line 14, in <module>

File "/kegbot/build/pylcdui/setup.py", line 3, in <module>

from distribute_setup import use_setuptools

ImportError: No module named distribute_setup





JLPete

# Aug 31 2010 - 9:08 AM

Milwaukee

Okay fixed all this and started the kegbot, kegboard and keg web. First Kegweb had a facebook issues so I went out and got a facebook API Key. That got me to where I am now.

Traceback:
File "/usr/lib/python2.5/site-packages/Django-1.2.1-py2.5.egg/django/core/handlers/base.py" in get_response
80. response = middleware_method(request)
File "/usr/lib/python2.5/site-packages/django_socialregistration-0.4.2-py2.5.egg/socialregistration/middleware.py" in process_request
23. fb_user = facebook.get_user_from_cookie(request.COOKIES,
Exception Value: 'module' object has no attribute 'get_user_from_cookie'
Exception Type: AttributeError at /

Can I just disable the Facebook tools? I don't need them.




bender

# Aug 31 2010 - 12:08 PM

Hi JL, I am having the facebook issue as well, how did you get the facebook API key?




JLPete

# Aug 31 2010 - 1:08 PM

Milwaukee

www.facebook.com/developers

You have to have a Facebook account. click on setup a new application and give it a name. Facebook will provide all the rest of the info. Still stuck on the get_user_from_cookie which is the error I immediately got following the Facebook setup in the common_setting.py file.