Missing manifest for dropzone.css

When things don't work as they should.
Post Reply
mheiland
Posts: 7
Joined: Sat Sep 14, 2019 11:22 am

Missing manifest for dropzone.css

Post by mheiland »

Hi,

after upgrading from 3.3.16 the view to upload documents fails to load. I've tried to run mayan-edms.py preparestatic even though it's deprecated now but this did not fix the issue. Other views are fine from what i can tell.

Code: Select all

2020-04-01 10:44:12,566 DEBG 'mayan-gunicorn' stderr output:
mayan.apps.common.middleware.error_logging <14709> [ERROR] "process_exception() line 16 Exception caught by request middleware; <WSGIRequest: GET '/sources/documents/upload/new/interactive/?document_type_id=1&metadata0_id=1&metadata0_value=2020-04-01&cabinets=317'>, Missing staticfiles manifest entry for 'sources/node_modules/dropzone/dist/dropzone.css'"
Traceback (most recent call last):
  File "/opt/mayan-edms/lib/python3.7/site-packages/django/core/handlers/base.py", line 143, in _get_response
    response = response.render()
  File "/opt/mayan-edms/lib/python3.7/site-packages/django/template/response.py", line 106, in render
    self.content = self.rendered_content
  File "/opt/mayan-edms/lib/python3.7/site-packages/django/template/response.py", line 83, in rendered_content
    content = template.render(context, self._request)
  File "/opt/mayan-edms/lib/python3.7/site-packages/django/template/backends/django.py", line 61, in render
    return self.template.render(context)
  File "/opt/mayan-edms/lib/python3.7/site-packages/django/template/base.py", line 171, in render
    return self._render(context)
  File "/opt/mayan-edms/lib/python3.7/site-packages/django/template/base.py", line 163, in _render
    return self.nodelist.render(context)
  File "/opt/mayan-edms/lib/python3.7/site-packages/django/template/base.py", line 937, in render
    bit = node.render_annotated(context)
  File "/opt/mayan-edms/lib/python3.7/site-packages/django/template/base.py", line 904, in render_annotated
    return self.render(context)
  File "/opt/mayan-edms/lib/python3.7/site-packages/django/template/loader_tags.py", line 150, in render
    return compiled_parent._render(context)
  File "/opt/mayan-edms/lib/python3.7/site-packages/django/template/base.py", line 163, in _render
    return self.nodelist.render(context)
  File "/opt/mayan-edms/lib/python3.7/site-packages/django/template/base.py", line 937, in render
    bit = node.render_annotated(context)
  File "/opt/mayan-edms/lib/python3.7/site-packages/django/template/base.py", line 904, in render_annotated
    return self.render(context)
  File "/opt/mayan-edms/lib/python3.7/site-packages/django/template/defaulttags.py", line 309, in render
    return nodelist.render(context)
  File "/opt/mayan-edms/lib/python3.7/site-packages/django/template/base.py", line 937, in render
    bit = node.render_annotated(context)
  File "/opt/mayan-edms/lib/python3.7/site-packages/django/template/base.py", line 904, in render_annotated
    return self.render(context)
  File "/opt/mayan-edms/lib/python3.7/site-packages/django/template/loader_tags.py", line 62, in render
    result = block.nodelist.render(context)
  File "/opt/mayan-edms/lib/python3.7/site-packages/django/template/base.py", line 937, in render
    bit = node.render_annotated(context)
  File "/opt/mayan-edms/lib/python3.7/site-packages/django/template/base.py", line 904, in render_annotated
    return self.render(context)
  File "/opt/mayan-edms/lib/python3.7/site-packages/django/template/defaulttags.py", line 209, in render
    nodelist.append(node.render_annotated(context))
  File "/opt/mayan-edms/lib/python3.7/site-packages/django/template/base.py", line 904, in render_annotated
    return self.render(context)
  File "/opt/mayan-edms/lib/python3.7/site-packages/django/template/library.py", line 192, in render
    output = self.func(*resolved_args, **resolved_kwargs)
  File "/opt/mayan-edms/lib/python3.7/site-packages/mayan/apps/common/templatetags/common_tags.py", line 137, in common_render_subtemplate
    return get_template(template_name).render(new_context.flatten())
  File "/opt/mayan-edms/lib/python3.7/site-packages/django/template/backends/django.py", line 61, in render
    return self.template.render(context)
  File "/opt/mayan-edms/lib/python3.7/site-packages/django/template/base.py", line 171, in render
    return self._render(context)
  File "/opt/mayan-edms/lib/python3.7/site-packages/django/template/base.py", line 163, in _render
    return self.nodelist.render(context)
  File "/opt/mayan-edms/lib/python3.7/site-packages/django/template/base.py", line 937, in render
    bit = node.render_annotated(context)
  File "/opt/mayan-edms/lib/python3.7/site-packages/django/template/base.py", line 904, in render_annotated
    return self.render(context)
  File "/opt/mayan-edms/lib/python3.7/site-packages/django/template/loader_tags.py", line 188, in render
    return template.render(context)
  File "/opt/mayan-edms/lib/python3.7/site-packages/django/template/base.py", line 173, in render
    return self._render(context)
  File "/opt/mayan-edms/lib/python3.7/site-packages/django/template/base.py", line 163, in _render
    return self.nodelist.render(context)
  File "/opt/mayan-edms/lib/python3.7/site-packages/django/template/base.py", line 937, in render
    bit = node.render_annotated(context)
  File "/opt/mayan-edms/lib/python3.7/site-packages/django/template/base.py", line 904, in render_annotated
    return self.render(context)
  File "/opt/mayan-edms/lib/python3.7/site-packages/django/templatetags/static.py", line 106, in render
    url = self.url(context)
  File "/opt/mayan-edms/lib/python3.7/site-packages/django/templatetags/static.py", line 103, in url
    return self.handle_simple(path)
  File "/opt/mayan-edms/lib/python3.7/site-packages/django/templatetags/static.py", line 118, in handle_simple
    return staticfiles_storage.url(path)
  File "/opt/mayan-edms/lib/python3.7/site-packages/django/contrib/staticfiles/storage.py", line 153, in url
    return self._url(self.stored_name, name, force)
  File "/opt/mayan-edms/lib/python3.7/site-packages/django/contrib/staticfiles/storage.py", line 132, in _url
    hashed_name = hashed_name_func(*args)
  File "/opt/mayan-edms/lib/python3.7/site-packages/django/contrib/staticfiles/storage.py", line 420, in stored_name
    raise ValueError("Missing staticfiles manifest entry for '%s'" % clean_name)
ValueError: Missing staticfiles manifest entry for 'sources/node_modules/dropzone/dist/dropzone.css'

mheiland
Posts: 7
Joined: Sat Sep 14, 2019 11:22 am

Re: Missing manifest for dropzone.css

Post by mheiland »

This was caused by browser cache, please make sure to empty your browsers cache after upgrading to 3.4.

User avatar
rosarior
Developer
Developer
Posts: 522
Joined: Tue Aug 21, 2018 3:28 am
Location: Puerto Rico
Contact:

Re: Missing manifest for dropzone.css

Post by rosarior »

Thanks for the update. We will add a note about clearing caches to the upgrade instructions. Thanks!

Post Reply