Try a `python manage.py syncdb`. Otherwise, the fastest solution is likely
to be to blow away your existing DB and run the `createdb` again.

k


On Thu, Jan 16, 2014 at 9:09 AM, <[email protected]>wrote:

> Hello Kenneth,
> mezzanine does not install PIP by itself. I installed pillow manually
> and now I get an operational erreor  when I hit the website,presumabley
> because my createdb went wrong.
>
> How can I backout from this situation ?
>
> All the best
>
> Norbert
>
>
> Am Donnerstag, 16. Januar 2014 14:31:40 UTC+1 schrieb Kenneth Bolton:
>
>> Hi Norbert,
>>
>> You will need PIL (or pillow) to run Mezzanine. See
>> https://github.com/stephenmcd/mezzanine/blob/master/setup.py#L37-L45.
>>
>> If you do not have PIL (or pillow) installed, `pip install mezzanine`
>> should install pillow for you (unless you are using Jython).
>>
>> Try `pip install pillow` and get back to us with your outcome.
>>
>> Also, it is always safe – in my experience – to run `pip freeze` to check
>> what packages have been installed to your environment.
>>
>> hth.
>>
>> ken
>>
>>
>> On Thu, Jan 16, 2014 at 8:05 AM, <[email protected]> wrote:
>>
>>>  Hello all,
>>> i play around with mezzanine and fabric and freinds and get the
>>> following problem.
>>>
>>> Following http://mezzanine.jupo.org/docs/overview.html#installation
>>>
>>> I do
>>>
>>> $ python manage.py createdb --noinput
>>>
>>> and get :
>>> Import Error : No Module named Image.
>>>
>>> I ignore this and do :
>>>
>>>
>>> python manage.py runserver
>>>
>>>
>>> Visiting http://127.0.0.1:8000/ with the browser gives  :
>>> ------------------------------------------------
>>> Environment:
>>>
>>>
>>> Request Method: GET
>>> Request URL: http://127.0.0.1:8000/
>>>
>>> Django Version: 1.6.1
>>> Python Version: 2.7.3
>>> Installed Applications:
>>> (u'mezzanine.boot',
>>>  u'django.contrib.auth',
>>>  u'django.contrib.contenttypes',
>>>  u'django.contrib.redirects',
>>>  u'django.contrib.sessions',
>>>  u'django.contrib.sites',
>>>  u'django.contrib.sitemaps',
>>>  u'django.contrib.staticfiles',
>>>  u'mezzanine.conf',
>>>  u'mezzanine.core',
>>>  u'mezzanine.generic',
>>>  u'mezzanine.blog',
>>>  u'mezzanine.forms',
>>>  u'mezzanine.pages',
>>>  u'mezzanine.galleries',
>>>  u'mezzanine.twitter',
>>>  u'filebrowser_safe',
>>>  u'grappelli_safe',
>>>  u'django.contrib.admin',
>>>  u'django.contrib.comments')
>>> Installed Middleware:
>>> (u'django.contrib.sessions.middleware.SessionMiddleware',
>>>  u'django.middleware.locale.LocaleMiddleware',
>>>  u'django.contrib.auth.middleware.AuthenticationMiddleware',
>>>   u'django.middleware.common.CommonMiddleware',
>>>  u'django.middleware.csrf.CsrfViewMiddleware',
>>>  u'django.contrib.messages.middleware.MessageMiddleware',
>>>  u'mezzanine.core.request.CurrentRequestMiddleware',
>>>  u'mezzanine.core.middleware.RedirectFallbackMiddleware',
>>>  u'mezzanine.core.middleware.TemplateForDeviceMiddleware',
>>>  u'mezzanine.core.middleware.TemplateForHostMiddleware',
>>>  u'mezzanine.core.middleware.AdminLoginInterfaceSelectorMiddleware',
>>>  u'mezzanine.core.middleware.SitePermissionMiddleware',
>>>  u'mezzanine.pages.middleware.PageMiddleware')
>>>
>>>
>>> Traceback:
>>> File "/home/norbertk/.virtualenvs/mezz_test/local/lib/python2.7/
>>> site-packages/django/core/handlers/base.py" in get_response
>>>   107.                     response = middleware_method(request,
>>> callback, callback_args, callback_kwargs)
>>> File "/home/norbertk/.virtualenvs/mezz_test/local/lib/python2.7/
>>> site-packages/mezzanine/pages/middleware.py" in process_view
>>>   45.                         for_user=request.user,
>>> include_login_required=True)
>>> File "/home/norbertk/.virtualenvs/mezz_test/local/lib/python2.7/
>>> site-packages/mezzanine/pages/managers.py" in with_ascendants_for_slug
>>>   58.             slugs = [home_slug()]
>>> File "/home/norbertk/.virtualenvs/mezz_test/local/lib/python2.7/
>>> site-packages/mezzanine/utils/urls.py" in home_slug
>>>   42.     slug = reverse("home")
>>> File "/home/norbertk/.virtualenvs/mezz_test/local/lib/python2.7/
>>> site-packages/django/core/urlresolvers.py" in reverse
>>>   509.     return iri_to_uri(resolver._reverse_with_prefix(view,
>>> prefix, *args, **kwargs))
>>> File "/home/norbertk/.virtualenvs/mezz_test/local/lib/python2.7/
>>> site-packages/django/core/urlresolvers.py" in _reverse_with_prefix
>>>   387.         possibilities = self.reverse_dict.getlist(lookup_view)
>>> File "/home/norbertk/.virtualenvs/mezz_test/local/lib/python2.7/
>>> site-packages/django/core/urlresolvers.py" in reverse_dict
>>>   296.             self._populate()
>>> File "/home/norbertk/.virtualenvs/mezz_test/local/lib/python2.7/
>>> site-packages/django/core/urlresolvers.py" in _populate
>>>   273.                     for name in pattern.reverse_dict:
>>> File "/home/norbertk/.virtualenvs/mezz_test/local/lib/python2.7/
>>> site-packages/django/core/urlresolvers.py" in reverse_dict
>>>   296.             self._populate()
>>> File "/home/norbertk/.virtualenvs/mezz_test/local/lib/python2.7/
>>> site-packages/django/core/urlresolvers.py" in _populate
>>>   273.                     for name in pattern.reverse_dict:
>>> File "/home/norbertk/.virtualenvs/mezz_test/local/lib/python2.7/
>>> site-packages/django/core/urlresolvers.py" in reverse_dict
>>>   296.             self._populate()
>>> File "/home/norbertk/.virtualenvs/mezz_test/local/lib/python2.7/
>>> site-packages/django/core/urlresolvers.py" in _populate
>>>   285.                 lookups.appendlist(pattern.callback, (bits,
>>> p_pattern, pattern.default_args))
>>> File "/home/norbertk/.virtualenvs/mezz_test/local/lib/python2.7/
>>> site-packages/django/core/urlresolvers.py" in callback
>>>   229.         self._callback = get_callable(self._callback_str)
>>> File "/home/norbertk/.virtualenvs/mezz_test/local/lib/python2.7/
>>> site-packages/django/utils/functional.py" in wrapper
>>>   32.         result = func(*args)
>>> File "/home/norbertk/.virtualenvs/mezz_test/local/lib/python2.7/
>>> site-packages/django/core/urlresolvers.py" in get_callable
>>>   96.             mod = import_module(mod_name)
>>> File "/home/norbertk/.virtualenvs/mezz_test/local/lib/python2.7/
>>> site-packages/django/utils/importlib.py" in import_module
>>>   40.         __import__(name)
>>> File "/home/norbertk/.virtualenvs/mezz_test/local/lib/python2.7/
>>> site-packages/mezzanine/blog/views.py" in <module>
>>>   10. from mezzanine.blog.feeds import PostsRSS, PostsAtom
>>> File "/home/norbertk/.virtualenvs/mezz_test/local/lib/python2.7/
>>> site-packages/mezzanine/blog/feeds.py" in <module>
>>>   9. from mezzanine.core.templatetags.mezzanine_tags import
>>> richtext_filters
>>> File "/home/norbertk/.virtualenvs/mezz_test/local/lib/python2.7/
>>> site-packages/mezzanine/core/templatetags/mezzanine_tags.py" in <module>
>>>   32.     import Image
>>>
>>> Exception Type: ImportError at /
>>> Exception Value: No module named Image
>>>
>>>
>>> ------------------------------
>>>
>>> What am I missing ?
>>>
>>> I trie pip install --update mezzanine, but mezzanine is up to date
>>>
>>> Do I have to install PIL ?  If yes, how can this be done in a virtual
>>> env ?
>>>
>>> Thanks
>>>
>>>
>>> Norbert
>>>
>>>
>>>
>>>  --
>>> You received this message because you are subscribed to the Google
>>> Groups "Mezzanine Users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>>
>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>
>>
>>  --
> You received this message because you are subscribed to the Google Groups
> "Mezzanine Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to