play-pi icon indicating copy to clipboard operation
play-pi copied to clipboard

Stuck on ./manage.py syncdb

Open wtellez1 opened this issue 12 years ago • 7 comments

Hi, I am VERY beginner trying to setup a Raspberry Pi to play Google music controlled by an Android phone. I copy-pasted your instructions using SSH to myRaspberry but I have got stuck on the instruction ./manage.py syncdb

It returns the following text (I am very aware that the answer could be pretty obvious, but as i said, I am just a beginner :) I will really appreciate your help to continue):

pi@raspberrypi ~/play-pi $ ./manage.py syncdb
Traceback (most recent call last):
  File "./manage.py", line 10, in <module>
    execute_from_command_line(sys.argv)
  File "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", line 399, in execute_from_command_line
    utility.execute()
  File "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", line 392, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", line 261, in fetch_command
    commands = get_commands()
  File "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", line 107, in get_commands
    apps = settings.INSTALLED_APPS
  File "/usr/local/lib/python2.7/dist-packages/django/conf/__init__.py", line 54, in __getattr__
    self._setup(name)
  File "/usr/local/lib/python2.7/dist-packages/django/conf/__init__.py", line 49, in _setup
    self._wrapped = Settings(settings_module)
  File "/usr/local/lib/python2.7/dist-packages/django/conf/__init__.py", line 132, in __init__
    % (self.SETTINGS_MODULE, e)
ImportError: Could not import settings 'play_pi.settings' (Is it on sys.path? Is there an import error in the settings file?): No module named decorator
pi@raspberrypi ~/play-pi $ 

wtellez1 avatar Jan 31 '14 05:01 wtellez1

This is very odd, are you using raspbian? What is the output of which python? What is the output of pip freeze?

fredley avatar Jan 31 '14 09:01 fredley

I know it is odd, your instructions are easy to follow. Regarding the questions: Yes, I am using Raspbian, and for the other two questions I get this:

pi@raspberrypi ~ $ which python /usr/bin/python

pi@raspberrypi ~ $ pip freeze Warning: cannot find svn location for distribute==0.6.24dev-r0 Django==1.6.1 RPi.GPIO==0.5.2a argparse==1.2.1 cups==1.0

FIXME: could not find svn URL in dependency_links for this package:

distribute==0.6.24dev-r0 gmusicapi==3.0.0 numpy==1.6.2 pygame==1.9.1release python-mpd==0.3.0 wsgiref==0.1.2 pi@raspberrypi ~ $ On Jan 31, 2014 3:15 AM, "Tom Medley" [email protected] wrote:

This is very odd, are you using raspbian? What is the output of which python? What is the output of pip freeze?

Reply to this email directly or view it on GitHubhttps://github.com/fredley/play-pi/issues/6#issuecomment-33771199 .

wtellez1 avatar Jan 31 '14 12:01 wtellez1

Hi Tom,

I reinstalled and now I get the screen to control the raspberry pi on my phone. Nevertheless, there is no sound, when I select a song to be played I get this message (it's a lot of text. Any ideas?):

ConnectionError* at /play/track/135/*

Already connectedRequest Method:GETRequest URL: http://192.168.1.116/play/track/135/Django Version:1.6.1Exception Type:ConnectionErrorException Value:Already connectedException Location:/usr/lib/python2.7/dist-packages/mpd.py in connect, line 409Python Executable:/usr/bin/pythonPython Version:2.7.3Python Path:['/home/pi/play-pi', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-linux2', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', '/usr/local/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages', '/usr/lib/pymodules/python2.7']Server time:Mon, 3 Feb 2014 17:45:30 -0600

_Traceback _Switch to copy-and-paste viewhttp://192.168.1.116/play/track/135/#

/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py in get_response

response = wrapped_callback(request, _callback_args, *_callback_kwargs) ...

▶ Local http://192.168.1.116/play/track/135/#varshttp://192.168.1.116/play/track/135/#

/home/pi/play-pi/play_pi/views.py in play_track

mpd_play([url,]) ...

▶ Local http://192.168.1.116/play/track/135/#varshttp://192.168.1.116/play/track/135/#

/home/pi/play-pi/play_pi/views.py in mpd_play

client = get_client() ...

▶ Local http://192.168.1.116/play/track/135/#varshttp://192.168.1.116/play/track/135/#

/home/pi/play-pi/play_pi/views.py in get_client

client.connect("localhost", 6600) ...

/usr/lib/python2.7/dist-packages/mpd.py in connect

raise ConnectionError("Already connected") ...

▶ Local http://192.168.1.116/play/track/135/#varshttp://192.168.1.116/play/track/135/#

Request information

GET

No GET data

POST

No POST data

FILES

No FILES data

COOKIES

VariableValuecsrftoken'56jRNhzVrSa1bxTHV4nHXozoxIfGuwTA'

META

VariableValueRUN_MAIN'true'HTTP_REFERER' http://192.168.1.116/album/64/'SERVER_SOFTWARE'WSGIServer/0.1Python/2.7.3'SCRIPT_NAMEu''REQUEST_METHOD'GET'SERVER_PROTOCOL'HTTP/1.1'HOME'/root'LANG'en_GB.UTF-8'SHELL'/bin/bash'SERVER_PORT'80'USERNAME'root'HTTP_HOST'192.168.1.116'HTTP_ACCEPT'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,/;q=0.8'SUDO_GID'1000'wsgi.version(1, 0)wsgi.run_onceFalsewsgi.errors<open file '', mode 'w' at 0xb6d720d0>wsgi.multiprocessFalseHTTP_ACCEPT_LANGUAGE'en-US,en;q=0.8,es;q=0.6'MAIL'/var/mail/root'LS_COLORS'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:.tar=01;31:.tgz=01;31:.arj=01;31:.taz=01;31:.lzh=01;31:.lzma=01;31:.tlz=01;31:.txz=01;31:.zip=01;31:.z=01;31:.Z=01;31:.dz=01;31:.gz=01;31:.lz=01;31:.xz=01;31:.bz2=01;31:.bz=01;31:.tbz=01;31:.tbz2=01;31:.tz=01;31:.deb=01;31:.rpm=01;31:.jar=01;31:.war=01;31:.ear=01;31:.sar=01;31:.rar=01;31:.ace=01;31:.zoo=01;31:.cpio=01;31:.7z=01;31:.rz=01;31:.jpg=01;35:.jpeg=01;35:.gif=01;35:.bmp=01;35:.pbm=01;35:.pgm=01;35:.ppm=01;35:.tga=01;35:.xbm=01;35:.xpm=01;35:.tif=01;35:.tiff=01;35:.png=01;35:.svg=01;35:.svgz=01;35:.mng=01;35:.pcx=01;35:.mov=01;35:.mpg=01;35:.mpeg=01;35:.m2v=01;35:.mkv=01;35:.webm=01;35:.ogm=01;35:.mp4=01;35:.m4v=01;35:.mp4v=01;35:.vob=01;35:.qt=01;35:.nuv=01;35:.wmv=01;35:.asf=01;35:.rm=01;35:.rmvb=01;35:.flc=01;35:.avi=01;35:.fli=01;35:.flv=01;35:.gl=01;35:.dl=01;35:.xcf=01;35:.xwd=01;35:.yuv=01;35:.cgm=01;35:.emf=01;35:.axv=01;35:.anx=01;35:.ogv=01;35:.ogx=01;35:.aac=00;36:.au=00;36:.flac=00;36:.mid=00;36:.midi=00;36:.mka=00;36:.mp3=00;36:.mpc=00;36:.ogg=00;36:.ra=00;36:.wav=00;36:.axa=00;36:.oga=00;36:.spx=00;36:.xspf=00;36:'PATH_INFOu'/play/track/135/'HTTP_COOKIE'csrftoken=56jRNhzVrSa1bxTHV4nHXozoxIfGuwTA'LOGNAME'root'USER'root'QUERY_STRING''PATH'/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'TERM'screen'HTTP_USER_AGENT'Mozilla/5.0 (Linux; Android 4.2.2; Galaxy Nexus Build/JDQ39) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/32.0.1700.99 Mobile Safari/537.36'HTTP_CONNECTION'keep-alive'SERVER_NAME'raspberrypi.local'REMOTE_ADDR'192.168.1.4'wsgi.url_scheme'http'SUDO_USER'pi'CONTENT_LENGTH''SUDO_UID'1000'wsgi.input<socket._fileobject object at 0x2538130>wsgi.multithreadTrueTZ'America/Chicago'SUDO_COMMAND'./manage.py runserver 192.168.1.116:80 'GATEWAY_INTERFACE'CGI/1.1'CSRF_COOKIEu'56jRNhzVrSa1bxTHV4nHXozoxIfGuwTA'DJANGO_SETTINGS_MODULE'play_pi.settings'CONTENT_TYPE'text/plain'wsgi.file_wrapper''REMOTE_HOST''HTTP_ACCEPT_ENCODING'gzip,deflate,sdch'

Settings

_Using settings module _play_pi.settings

SettingValueUSE_L10NTrueUSE_THOUSAND_SEPARATORFalseCSRF_COOKIE_SECUREFalseLANGUAGE_CODE'en-us'ROOT_URLCONF'play_pi.urls'MANAGERS()SESSION_EXPIRE_AT_BROWSER_CLOSEFalseDEFAULT_CHARSET'utf-8'SESSION_SERIALIZER'django.contrib.sessions.serializers.JSONSerializer'STATIC_ROOT''ALLOWED_HOSTS[]MESSAGE_STORAGE'django.contrib.messages.storage.fallback.FallbackStorage'EMAIL_SUBJECT_PREFIX'[Django] 'FILE_UPLOAD_PERMISSIONSNoneSTATICFILES_FINDERS('django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder')SESSION_CACHE_ALIAS'default'SESSION_COOKIE_DOMAINNoneSESSION_COOKIE_NAME'sessionid'ADMIN_FOR()TIME_INPUT_FORMATS('%H:%M:%S', '%H:%M:%S.%f', '%H:%M')DATABASES{'default': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.db.backends.sqlite3', 'HOST': '', 'NAME': 'play-pi.db', 'OPTIONS': {}, 'PASSWORD': u'', 'PORT': '', 'TEST_CHARSET': None, 'TEST_COLLATION': None, 'TEST_MIRROR': None, 'TEST_NAME': None, 'TIME_ZONE': 'UTC', 'USER': ''}}SERVER_EMAIL'root@localhost'FILE_UPLOAD_HANDLERS('django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler')DEFAULT_CONTENT_TYPE'text/html'APPEND_SLASHTrueLOCALE_PATHS()DATABASE_ROUTERS[]YEAR_MONTH_FORMAT'F Y'STATICFILES_STORAGE'django.contrib.staticfiles.storage.StaticFilesStorage'CACHES{'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}}SESSION_COOKIE_PATH'/'MIDDLEWARE_CLASSES('django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware')USE_I18NTrueTHOUSAND_SEPARATOR','SECRET_KEYu'**'LANGUAGE_COOKIE_NAME'django_language'DEFAULT_INDEX_TABLESPACE''TRANSACTIONS_MANAGEDFalseLOGGING_CONFIG'django.utils.log.dictConfig'SIGNING_BACKEND'django.core.signing.TimestampSigner'SEND_BROKEN_LINK_EMAILSFalseTEMPLATE_LOADERS('django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader')FIRST_DAY_OF_WEEK0WSGI_APPLICATION'play_pi.wsgi.application'TEMPLATE_DEBUGTrueX_FRAME_OPTIONS'SAMEORIGIN'AUTHENTICATION_BACKENDS('django.contrib.auth.backends.ModelBackend',) FORCE_SCRIPT_NAMENoneUSE_X_FORWARDED_HOSTFalseGPLAY_USER'[email protected]'SESSION_COOKIE_SECUREFalseCSRF_COOKIE_DOMAINNoneFILE_CHARSET'utf-8'DEBUGTrueSESSION_FILE_PATHNoneDEFAULT_FILE_STORAGE'django.core.files.storage.FileSystemStorage'INSTALLED_APPS('django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.admin', 'play_pi')LANGUAGES(('af', 'Afrikaans'), ('ar', 'Arabic'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy-nl', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmal'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('os', 'Ossetic'), ('pa', 'Punjabi'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('sw', 'Swahili'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese'))COMMENTS_ALLOW_PROFANITIESFalseSTATICFILES_DIRS('/home/pi/play-pi/play_pi/../static',)PREPEND_WWWFalseSECURE_PROXY_SSL_HEADERNoneSESSION_COOKIE_HTTPONLYTrueDEBUG_PROPAGATE_EXCEPTIONSFalseMONTH_DAY_FORMAT'F j'LOGIN_URL'/accounts/login/'GPLAY_PASSu'**'TIME_FORMAT'P'AUTH_USER_MODEL'auth.User'DATE_INPUT_FORMATS('%Y-%m-%d', '%m/%d/%Y', '%m/%d/%y', '%b %d %Y', '%b %d, %Y', '%d %b %Y', '%d %b, %Y', '%B %d %Y', '%B %d, %Y', '%d %B %Y', '%d %B, %Y')CSRF_COOKIE_NAME'csrftoken'EMAIL_HOST_PASSWORDu'**'PASSWORD_RESET_TIMEOUT_DAYSu'**'CACHE_MIDDLEWARE_ALIAS'default'SESSION_SAVE_EVERY_REQUESTFalseNUMBER_GROUPING0SESSION_ENGINE'django.contrib.sessions.backends.db'CSRF_FAILURE_VIEW'django.views.csrf.csrf_failure'CSRF_COOKIE_PATH'/'LOGIN_REDIRECT_URL'/accounts/profile/'DECIMAL_SEPARATOR'.'IGNORABLE_404_URLS()PROJECT_PATH'/home/pi/play-pi/play_pi/..'TEMPLATE_STRING_IF_INVALID''LOGOUT_URL'/accounts/logout/'EMAIL_USE_TLSFalseFIXTURE_DIRS()EMAIL_HOST'localhost'DATE_FORMAT'N j, Y'MEDIA_ROOT''DEFAULT_EXCEPTION_REPORTER_FILTER'django.views.debug.SafeExceptionReporterFilter'ADMINS()FORMAT_MODULE_PATHNoneDEFAULT_FROM_EMAIL'webmaster@localhost'MEDIA_URL''DATETIME_FORMAT'N j, Y, P'TEMPLATE_DIRS('/home/pi/play-pi/play_pi/../templates',)SITE_ID1DISALLOWED_USER_AGENTS()ALLOWED_INCLUDE_ROOTS()LOGGING{'disable_existing_loggers': False, 'filters': {'require_debug_false': {'()': 'django.utils.log.RequireDebugFalse'}}, 'handlers': {'console': {'class': 'logging.StreamHandler', 'level': 'DEBUG'}, 'mail_admins': {'class': 'django.utils.log.AdminEmailHandler', 'filters': ['require_debug_false'], 'level': 'ERROR'}}, 'loggers': {'django.request': {'handlers': ['mail_admins'], 'level': 'ERROR', 'propagate': True}, 'play_pi': {'handlers': ['console'], 'level': 'DEBUG', 'propagate': True}}, 'version': 1}SHORT_DATE_FORMAT'm/d/Y'TEST_RUNNER'django.test.runner.DiscoverRunner'CACHE_MIDDLEWARE_KEY_PREFIXu'**'TIME_ZONE'America/Chicago'FILE_UPLOAD_MAX_MEMORY_SIZE2621440EMAIL_BACKEND'django.core.mail.backends.smtp.EmailBackend'DEFAULT_TABLESPACE''TEMPLATE_CONTEXT_PROCESSORS('django.contrib.auth.context_processors.auth', 'play_pi.context_processors.mpd_status')SESSION_COOKIE_AGE1209600SETTINGS_MODULE'play_pi.settings'USE_ETAGSFalseSITE_ROOT'http://0.0.0.0:80'LANGUAGES_BIDI('he', 'ar', 'fa', 'ur')FILE_UPLOAD_TEMP_DIRNoneINTERNAL_IPS()STATIC_URL'/static/'EMAIL_PORT25USE_TZTrueSHORT_DATETIME_FORMAT'm/d/Y P'PASSWORD_HASHERSu'***************'ABSOLUTE_URL_OVERRIDES{}CACHE_MIDDLEWARE_SECONDS600CSRF_COOKIE_HTTPONLYFalseDATETIME_INPUT_FORMATS('%Y-%m-%d %H:%M:%S', '%Y-%m-%d %H:%M:%S.%f', '%Y-%m-%d %H:%M', '%Y-%m-%d', '%m/%d/%Y %H:%M:%S', '%m/%d/%Y %H:%M:%S.%f', '%m/%d/%Y %H:%M', '%m/%d/%Y', '%m/%d/%y %H:%M:%S', '%m/%d/%y %H:%M:%S.%f', '%m/%d/%y %H:%M', '%m/%d/%y')EMAIL_HOST_USER''PROFANITIES_LISTu'*******************'

You're seeing this error because you have DEBUG = True in your Django settings file. Change that to False, and Django will display a standard 500 page. On Jan 31, 2014 6:02 AM, "William Tellez" [email protected] wrote:

I know it is odd, your instructions are easy to follow. Regarding the questions: Yes, I am using Raspbian, and for the other two questions I get this:

pi@raspberrypi ~ $ which python /usr/bin/python

pi@raspberrypi ~ $ pip freeze Warning: cannot find svn location for distribute==0.6.24dev-r0 Django==1.6.1 RPi.GPIO==0.5.2a argparse==1.2.1 cups==1.0

FIXME: could not find svn URL in dependency_links for this package:

distribute==0.6.24dev-r0 gmusicapi==3.0.0 numpy==1.6.2 pygame==1.9.1release python-mpd==0.3.0 wsgiref==0.1.2 pi@raspberrypi ~ $ On Jan 31, 2014 3:15 AM, "Tom Medley" [email protected] wrote:

This is very odd, are you using raspbian? What is the output of which python? What is the output of pip freeze?

— Reply to this email directly or view it on GitHubhttps://github.com/fredley/play-pi/issues/6#issuecomment-33771199 .

wtellez1 avatar Feb 04 '14 00:02 wtellez1

Hi i have the same problem: pi@raspberrypi:~/play-pi$ ./manage.py migrateTraceback (most recent call last): File "./manage.py", line 10, in execute_from_command_line(sys.argv) File "/usr/local/lib/python2.7/dist-packages/django/core/management/init.py", line 354, in execute_from_command_line utility.execute() File "/usr/local/lib/python2.7/dist-packages/django/core/management/init.py", line 303, in execute settings.INSTALLED_APPS File "/usr/local/lib/python2.7/dist-packages/django/conf/init.py", line 48, in getattr self._setup(name) File "/usr/local/lib/python2.7/dist-packages/django/conf/init.py", line 44, in _setup self._wrapped = Settings(settings_module) File "/usr/local/lib/python2.7/dist-packages/django/conf/init

And a lot of lines more, please help

eagj avatar Aug 13 '17 23:08 eagj

I actually have up since Google launched Chromecast audio. Sorry for not being helpful.

William

On Aug 13, 2017 6:54 PM, "Enrique Alejandro García Jiménez" < [email protected]> wrote:

Hi i have the same problem: pi@raspberrypi:/play-pi$ ./manage.py migrate������������������������������������Traceback (most recent call last):����������������������������������������������� File "./manage.py", line 10, in ��������������������������������������� execute_from_command_line(sys.argv)������������������������������������������ File "/usr/local/lib/python2.7/dist-packages/django/core/management/init.p�y", line 354, in execute_from_command_line��������������������������������������� utility.execute()������������������������������������������������������������ File "/usr/local/lib/python2.7/dist-packages/django/core/management/init.p�y", line 303, in execute��������������������������������������������������������� settings.INSTALLED_APPS������������������������������������������������������ File "/usr/local/lib/python2.7/dist-packages/django/conf/init.py", line 48�, in __getattr__����������������������������������������������������������������� self._setup(name)������������������������������������������������������������ File "/usr/local/lib/python2.7/dist-packages/django/conf/init.py", line 44�, in _setup���������������������������������������������������������������������� self._wrapped = Settings(settings_module)����� ������������������������������� File "/usr/local/lib/python2.7/ dist-packages/django/conf/init.py", line 92�, in __init__�������������������������������������������������������������������� mod = importlib.import_module(self.SETTINGS_MODULE)���� File "/usr/lib/python2.7/importlib/init.py", line 37, in import_module����� import(name)������������������ ������������������������������������������� File "/home/pi/play-pi/play_pi/settings.py", line 2, in ��������������� from gmusicapi import Webclient���������������������������������������������� File "/usr/local/lib/python2.7/dist-packages/gmusicapi/init.py", line 4, i�n ����������������������������������������������������������������������� from gmusicapi.clients import Webclient, Musicmanager, Mobileclient���������� File "/usr/local/lib/python2.7/ dist-packages/gmusicapi/clients/init.py", l�ine 1, in ��������������������������������������������������������������� from gmusicapi.clients.webclient import Webclient���������������������������� File "/usr/local/lib/python2.7/dist-packages/gmusicapi/clients/webclient.py", �line 7, in �������������������������������������������������������������� from gmusicapi.protocol import webclient������������������������������������� File "/usr/local/lib/python2.7/dist-packages/gmusicapi/protocol/webclient.py",� line 17, in ������������������������������������������������������������ from gmusicapi.protocol.shared import Call, authtypes������������������������ File "/usr/local/lib/python2.7/dist-packages/gmusicapi/protocol/shared.py", li�ne 16, in ��������������������������������������������������������������� import requests�������������������������������������������������������������� File "/usr/local/lib/python2.7/dist-packages/requests/init.py", line 53, i�n ����������������������������������������������������������������������� from .packages.urllib3.contrib import pyopenssl���� File "/usr/local/lib/python2.7/dist-packages/requests/ packages/urllib3/contrib�/pyopenssl.py", line 73, in ��������������������������������������������� ssl.PROTOCOL_SSLv3: OpenSSL.SSL.SSLv3_METHOD,��������������������������������AttributeError: 'module' object has no attribute 'PROTOCOL_SSLv3'�������������� ��pi@raspberrypi:/play-pi$ sudo ./manage.py migrate�������������������������������Traceback (most recent call last):����������������������������������������������� File "./manage.py", line 10, in ��������������������������������������� execute_from_command_line(sys.argv)������������������������������������������ File "/usr/local/lib/python2.7/dist-packages/django/core/management/init.p�y", line 354, in execute_from_command_line��������������������������������������� utility.execute()������������������������������������������������������������ File "/usr/local/lib/python2.7/dist-packages/django/core/management/init.p�y", line 303, in execute��������������������������������������������������������� settings.INSTALLED_APPS������������������������������������������������������ File "/usr/local/lib/python2.7/dist-packages/django/conf/init.py", line 48�, in __getattr__����������������������������������������������������������������� self._setup(name)������������������������������������������������������������ File "/usr/local/lib/python2.7/dist-packages/django/conf/init.py", line 44�, in _setup���������������������������������������������������������������������� self._wrapped = Settings(settings_module)����� ������������������������������� File "/usr/local/lib/python2.7/ dist-packages/django/conf/init.py", line 92�, in __init__�������������������������������������������������������������������� mod = importlib.import_module(self.SETTINGS_MODULE)������

And a lot of lines more... i try ro reinstall and the same all time... please help me

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/fredley/play-pi/issues/6#issuecomment-322075511, or mute the thread https://github.com/notifications/unsubscribe-auth/AGP1rHJRcRoftk9qyq1zc3w5h2rpvuOeks5sX4zLgaJpZM4BeDQg .

wtellez1 avatar Aug 17 '17 00:08 wtellez1

Ty Williams, at last i'm another program. A salute you (i have a chromecast for video)

eagj avatar Aug 17 '17 05:08 eagj

Hi,

I've just signed the following petition "#SalvemosVaradero ¡NO destruyan arrecife de coral colombiano único en el mundo!" and wanted to see if you could help by adding your name.

Our goal is to reach 35,000 signatures and we need more support. You can read more and sign the petition here:

https://chn.ge/2xrXavb

Thanks! William

wtellez1 avatar Sep 20 '18 20:09 wtellez1