Комментарии

Комментариев: 11

Андрей Баранов
Андрей Баранов

25.11.2017 2:12 #

папка есть, но она пуста я Так и должно быт ь На сайте с проектом я такой папки вообще не нашел

Андрей Баранов
Андрей Баранов

23.11.2017 12:43 #

снова ошибк а name 'ROOT_DIR' is not defined

Андрей Баранов
Андрей Баранов

23.11.2017 1:34 #

Дописал нужную строчк у Создал суперюзер а Запустил серве р Но при входе на сайт : На сайте ошибка 50 0 А в командной строк е

[2017-11-23 07:31:17,914 base] WARNING: Not Found: /
[2017-11-23 07:31:18,108 base] ERROR: Internal Server Error: /
Traceback (most recent call last):
  File "/home/user/magazin/shoptutorial/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 92, in get_exception_response
    response = callback(request, **dict(param_dict, exception=exception))
  File "/home/user/magazin/shoptutorial/local/lib/python2.7/site-packages/django/utils/decorators.py", line 149, in _wrapped_view
    response = view_func(request, *args, **kwargs)
  File "/home/user/magazin/shoptutorial/local/lib/python2.7/site-packages/django/views/defaults.py", line 40, in page_not_found
    body = template.render(context, request)
  File "/home/user/magazin/shoptutorial/local/lib/python2.7/site-packages/django/template/backends/django.py", line 95, in render
    return self.template.render(context)
  File "/home/user/magazin/shoptutorial/local/lib/python2.7/site-packages/django/template/base.py", line 206, in render
    return self._render(context)
  File "/home/user/magazin/shoptutorial/local/lib/python2.7/site-packages/django/template/base.py", line 197, in _render
    return self.nodelist.render(context)
  File "/home/user/magazin/shoptutorial/local/lib/python2.7/site-packages/django/template/base.py", line 992, in render
    bit = node.render_annotated(context)
  File "/home/user/magazin/shoptutorial/local/lib/python2.7/site-packages/django/template/base.py", line 959, in render_annotated
    return self.render(context)
  File "/home/user/magazin/shoptutorial/local/lib/python2.7/site-packages/django/template/loader_tags.py", line 173, in render
    return compiled_parent._render(context)
  File "/home/user/magazin/shoptutorial/local/lib/python2.7/site-packages/django/template/base.py", line 197, in _render
    return self.nodelist.render(context)
  File "/home/user/magazin/shoptutorial/local/lib/python2.7/site-packages/django/template/base.py", line 992, in render
    bit = node.render_annotated(context)
  File "/home/user/magazin/shoptutorial/local/lib/python2.7/site-packages/django/template/base.py", line 959, in render_annotated
    return self.render(context)
  File "/home/user/magazin/shoptutorial/local/lib/python2.7/site-packages/django/template/loader_tags.py", line 173, in render
    return compiled_parent._render(context)
  File "/home/user/magazin/shoptutorial/local/lib/python2.7/site-packages/django/template/base.py", line 197, in _render
    return self.nodelist.render(context)
  File "/home/user/magazin/shoptutorial/local/lib/python2.7/site-packages/django/template/base.py", line 992, in render
    bit = node.render_annotated(context)
  File "/home/user/magazin/shoptutorial/local/lib/python2.7/site-packages/django/template/base.py", line 959, in render_annotated
    return self.render(context)
  File "/home/user/magazin/shoptutorial/local/lib/python2.7/site-packages/django/template/loader_tags.py", line 173, in render
    return compiled_parent._render(context)
  File "/home/user/magazin/shoptutorial/local/lib/python2.7/site-packages/django/template/base.py", line 197, in _render
    return self.nodelist.render(context)
  File "/home/user/magazin/shoptutorial/local/lib/python2.7/site-packages/django/template/base.py", line 992, in render
    bit = node.render_annotated(context)
  File "/home/user/magazin/shoptutorial/local/lib/python2.7/site-packages/django/template/base.py", line 959, in render_annotated
    return self.render(context)
  File "/home/user/magazin/shoptutorial/local/lib/python2.7/site-packages/classytags/core.py", line 153, in render
    return self.render_tag(context, **kwargs)
  File "/home/user/magazin/shoptutorial/local/lib/python2.7/site-packages/sekizai/templatetags/sekizai_tags.py", line 93, in render_tag
    rendered_contents = nodelist.render(context)
  File "/home/user/magazin/shoptutorial/local/lib/python2.7/site-packages/django/template/base.py", line 992, in render
    bit = node.render_annotated(context)
  File "/home/user/magazin/shoptutorial/local/lib/python2.7/site-packages/django/template/base.py", line 959, in render_annotated
    return self.render(context)
  File "/home/user/magazin/shoptutorial/local/lib/python2.7/site-packages/classytags/core.py", line 153, in render
    return self.render_tag(context, **kwargs)
  File "/home/user/magazin/shoptutorial/local/lib/python2.7/site-packages/cms/templatetags/cms_tags.py", line 499, in render_tag
    rendered_contents = nodelist.render(context)
  File "/home/user/magazin/shoptutorial/local/lib/python2.7/site-packages/django/template/base.py", line 992, in render
    bit = node.render_annotated(context)
  File "/home/user/magazin/shoptutorial/local/lib/python2.7/site-packages/django/template/base.py", line 959, in render_annotated
    return self.render(context)
  File "/home/user/magazin/shoptutorial/local/lib/python2.7/site-packages/classytags/core.py", line 153, in render
    return self.render_tag(context, **kwargs)
  File "/home/user/magazin/shoptutorial/local/lib/python2.7/site-packages/sekizai/templatetags/sekizai_tags.py", line 98, in render_tag
    data = func(context, data, name)
  File "/home/user/magazin/Tutorial/django-shop/shop/sekizai_processors.py", line 61, in compress
    compressable_node.render(context=context),
  File "/home/user/magazin/shoptutorial/local/lib/python2.7/site-packages/compressor/templatetags/compress.py", line 131, in render
    return self.render_compressed(context, self.kind, self.mode, forced=forced)
  File "/home/user/magazin/shoptutorial/local/lib/python2.7/site-packages/compressor/templatetags/compress.py", line 103, in render_compressed
    cache_key, cache_content = self.render_cached(compressor, kind, mode)
  File "/home/user/magazin/shoptutorial/local/lib/python2.7/site-packages/compressor/templatetags/compress.py", line 82, in render_cached
    cache_key = get_templatetag_cachekey(compressor, mode, kind)
  File "/home/user/magazin/shoptutorial/local/lib/python2.7/site-packages/compressor/cache.py", line 97, in get_templatetag_cachekey
    "templatetag.%s.%s.%s" % (compressor.cachekey, mode, kind))
  File "/home/user/magazin/shoptutorial/local/lib/python2.7/site-packages/django/utils/functional.py", line 33, in __get__
    res = instance.__dict__[self.name] = self.func(instance)
  File "/home/user/magazin/shoptutorial/local/lib/python2.7/site-packages/compressor/base.py", line 177, in cachekey
    [self.content] + self.mtimes).encode(self.charset), 12)
  File "/home/user/magazin/shoptutorial/local/lib/python2.7/site-packages/django/utils/functional.py", line 33, in __get__
    res = instance.__dict__[self.name] = self.func(instance)
  File "/home/user/magazin/shoptutorial/local/lib/python2.7/site-packages/compressor/base.py", line 171, in mtimes
    for kind, value, basename, elem in self.split_contents()
  File "/home/user/magazin/shoptutorial/local/lib/python2.7/site-packages/compressor/js.py", line 19, in split_contents
    filename = self.get_filename(basename)
  File "/home/user/magazin/shoptutorial/local/lib/python2.7/site-packages/compressor/base.py", line 139, in get_filename
    self.finders and " or with staticfiles." or "."))
UncompressableFileError: 'node_modules/picturefill/dist/picturefill.min.js' could not be found in the COMPRESS_ROOT '/home/user/magazin/Tutorial/django-shop/workdir/static' or with staticfiles.
Андрей Баранов
Андрей Баранов

22.11.2017 8:50 #

Данной строчки там не т Что дописать?

Андрей Баранов
Андрей Баранов

20.11.2017 2:39 #

в requirements/common.txt его не т Вы это имели ввиду?

Андрей Баранов
Андрей Баранов

19.11.2017 6:37 #

Ошибку с email_auth я исправи л но появилась новая ошибк а

Traceback (most recent call last):
  File "./manage.py", line 10, in 
    execute_from_command_line(sys.argv)
  File "/home/user/magazin/shoptutorial/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 353, in execute_from_command_line
    utility.execute()
  File "/home/user/magazin/shoptutorial/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 327, in execute
    django.setup()
  File "/home/user/magazin/shoptutorial/local/lib/python2.7/site-packages/django/__init__.py", line 18, in setup
    apps.populate(settings.INSTALLED_APPS)
  File "/home/user/magazin/shoptutorial/local/lib/python2.7/site-packages/django/apps/registry.py", line 85, in populate
    app_config = AppConfig.create(entry)
  File "/home/user/magazin/shoptutorial/local/lib/python2.7/site-packages/django/apps/config.py", line 90, in create
    module = import_module(entry)
  File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
    __import__(name)
ImportError: No module named shop_stripe
Андрей Баранов
Андрей Баранов

18.11.2017 5:05 #

В английской версии тоже самое

Андрей Баранов
Андрей Баранов

18.11.2017 4:54 #

Делал все по инструкции

Андрей Баранов
Андрей Баранов

18.11.2017 4:14 #

Оно установлено в Tutorial/django-shop

Андрей Баранов
Андрей Баранов

18.11.2017 2:48 #

Traceback (most recent call last):
  File "./manage.py", line 10, in 
    execute_from_command_line(sys.argv)
  File "/home/user/magazin/shoptutorial/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 353, in execute_from_command_line
    utility.execute()
  File "/home/user/magazin/shoptutorial/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 327, in execute
    django.setup()
  File "/home/user/magazin/shoptutorial/local/lib/python2.7/site-packages/django/__init__.py", line 18, in setup
    apps.populate(settings.INSTALLED_APPS)
  File "/home/user/magazin/shoptutorial/local/lib/python2.7/site-packages/django/apps/registry.py", line 85, in populate
    app_config = AppConfig.create(entry)
  File "/home/user/magazin/shoptutorial/local/lib/python2.7/site-packages/django/apps/config.py", line 90, in create
    module = import_module(entry)
  File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
    __import__(name)
ImportError: No module named email_auth
Андрей Баранов
Андрей Баранов

17.11.2017 14:36 #

У меня произошла ImportError при запуске manage.py с любыми параметрами . Не подскажите, сто делать?

На данный момент нет специального поиска, поэтому я предлагаю воспользоваться обычной поисковой системой, например, Google, добавив "vivazzi" после своего запроса.

Попробуйте