Hi Sujith, > Kindly run : pip install -r bitbake/toaster-requirements.txt
Magic indeed! That worked. Thanks! David From: sujith h [mailto:[email protected]] Sent: Wednesday, September 23, 2015 2:25 AM To: Reyna, David Cc: [email protected] Subject: Re: [Toaster] Toaster: "No module named magic" errors? Hi David, Kindly run : pip install -r bitbake/toaster-requirements.txt The toaster-requirements.txt is updated to install the package which will resolve the error. Thanks, Sujith H On Wed, Sep 23, 2015 at 2:51 PM, Reyna, David <[email protected]<mailto:[email protected]>> wrote: Hi all, I just refreshed my pull of YP and toaster, and all of a sudden I am getting "No module named magic" errors. I searched online, ran “pip install python-magic”, restarted Toaster, and now I get: AttributeError at / 'module' object has no attribute 'MAGIC_MIME_TYPE' Request Method: GET Request URL: http://127.0.0.1:8000/ Django Version: 1.6 Exception Type: AttributeError Exception Value: 'module' object has no attribute 'MAGIC_MIME_TYPE' Exception Location: /opt/dreyna/toaster-1.9b/poky/bitbake/lib/toaster/toastergui/views.py in MimeTypeFinder, line 56 Python Executable: /opt/dreyna/toaster-1.9b/poky/venv/bin/python Python Version: 2.7.6 Python Path: ['./bitbake/bin/../lib', '/opt/dreyna/toaster-1.9b/poky/bitbake/lib', '/opt/dreyna/toaster-1.9b/poky/bitbake/lib/toaster', '/opt/dreyna/toaster-1.9b/poky/venv/lib/python2.7', '/opt/dreyna/toaster-1.9b/poky/venv/lib/python2.7/plat-x86_64-linux-gnu', '/opt/dreyna/toaster-1.9b/poky/venv/lib/python2.7/lib-tk', '/opt/dreyna/toaster-1.9b/poky/venv/lib/python2.7/lib-old', '/opt/dreyna/toaster-1.9b/poky/venv/lib/python2.7/lib-dynload', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-x86_64-linux-gnu', '/usr/lib/python2.7/lib-tk', '/opt/dreyna/toaster-1.9b/poky/venv/local/lib/python2.7/site-packages', '/opt/dreyna/toaster-1.9b/poky/venv/lib/python2.7/site-packages', '/opt/dreyna/toaster-1.9b/poky/bitbake/lib/toaster/contrib/django-aggregate-if-master'] I do not know what to do. - David -- _______________________________________________ toaster mailing list [email protected]<mailto:[email protected]> https://lists.yoctoproject.org/listinfo/toaster -- സുജിത് ഹരിദാസന് Bangalore <Project>Contributor to KDE project http://fci.wikia.com/wiki/Anti-DRM-Campaign <Blog> http://sujithh.info
-- _______________________________________________ toaster mailing list [email protected] https://lists.yoctoproject.org/listinfo/toaster
