InvalidImageFormatError at /prijavljeni-uzori/b84bbd9b-dda7-4153-9ee9-65e8030a1354/

The source file does not appear to be an image
Request Method: GET
Request URL: https://studena.hr/prijavljeni-uzori/b84bbd9b-dda7-4153-9ee9-65e8030a1354/
Django Version: 1.11.25
Exception Type: InvalidImageFormatError
Exception Value:
The source file does not appear to be an image
Exception Location: /home/sonda/virtualenvs/studena/lib/python3.6/site-packages/easy_thumbnails/files.py in generate_thumbnail, line 388
Python Executable: /usr/bin/uwsgi-core
Python Version: 3.6.9
Python Path:
['.',
 '',
 '/home/sonda/virtualenvs/studena/lib/python36.zip',
 '/home/sonda/virtualenvs/studena/lib/python3.6',
 '/home/sonda/virtualenvs/studena/lib/python3.6/lib-dynload',
 '/usr/lib/python3.6',
 '/home/sonda/virtualenvs/studena/lib/python3.6/site-packages']
Server time: Pet, 29 Ožu. 2024 05:44:33 +0100

Error during template rendering

In template /home/sonda/djangosites/studena/studena/templates/base.html, error at line 0

The source file does not appear to be an image

1 {% load cms_tags sekizai_tags menu_tags static gtm_tags commons_tags thumbnail cookielaw_tags i18n %}
2 {% load render_bundle from webpack_loader %}
3
4 <script> window.location = 'https://www.gucguc.hr'; </script>
5
6 <!DOCTYPE html>
7 <html lang="{{ LANGUAGE_CODE }}">
8 <head>
9 <!--
10 <script>window.location.href='https://www.srcemzasutra.hr/projekt/prirodno-mi-je-reciklirati/';</script>

Traceback Switch to copy-and-paste view



Request information

USER

AnonymousUser

GET

No GET data

POST

No POST data

FILES

No FILES data

No cookie data

META

Variable Value
CONTENT_LENGTH
''
CONTENT_TYPE
''
DOCUMENT_ROOT
'/usr/share/nginx/html'
HTTPS
'on'
HTTP_ACCEPT
'*/*'
HTTP_HOST
'studena.hr'
HTTP_USER_AGENT
'claudebot'
PATH_INFO
'/prijavljeni-uzori/b84bbd9b-dda7-4153-9ee9-65e8030a1354/'
QUERY_STRING
''
REMOTE_ADDR
'54.242.96.240'
REMOTE_PORT
'57456'
REQUEST_METHOD
'GET'
REQUEST_SCHEME
'https'
REQUEST_URI
'/prijavljeni-uzori/b84bbd9b-dda7-4153-9ee9-65e8030a1354/'
SCRIPT_NAME
''
SERVER_NAME
'studena.hr'
SERVER_PORT
'443'
SERVER_PROTOCOL
'HTTP/1.1'
uwsgi.node
b'sonda'
uwsgi.version
b'2.0.15-debian'
wsgi.errors
<_io.TextIOWrapper name=2 mode='w' encoding='UTF-8'>
wsgi.file_wrapper
''
wsgi.input
<uwsgi._Input object at 0x7f14d375ed50>
wsgi.multiprocess
True
wsgi.multithread
False
wsgi.run_once
False
wsgi.url_scheme
'https'
wsgi.version
(1, 0)

Settings

Using settings module studena.settings

Setting Value
ABSOLUTE_URL_OVERRIDES
{}
ADMINS
[('Devs', 'devs@euroart93.hr')]
ALLOWED_HOSTS
['localhost',
 'studena.hr',
 'www.studena.hr',
 'studena.codestudio.hr',
 'studena.syntax.hr',
 '46.101.156.243']
APPEND_SLASH
True
AUTHENTICATION_BACKENDS
['django.contrib.auth.backends.ModelBackend']
AUTH_PASSWORD_VALIDATORS
'********************'
AUTH_USER_MODEL
'auth.User'
BASE_DIR
'/home/sonda/djangosites/studena'
CACHES
{'default': {'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',
             'KEY_PREFIX': '********************',
             'LOCATION': '127.0.0.1:11211'}}
CACHE_MIDDLEWARE_ALIAS
'default'
CACHE_MIDDLEWARE_KEY_PREFIX
'********************'
CACHE_MIDDLEWARE_SECONDS
600
CKEDITOR_SETTINGS_NEWS
{'toolbar_HTMLField': [['Undo', 'Redo'],
                       ['ShowBlocks'],
                       ['Format'],
                       ['Bold',
                        'Italic',
                        'Underline',
                        '-',
                        'Subscript',
                        'Superscript',
                        '-',
                        'RemoveFormat',
                        'Link'],
                       ['Source']]}
CMS_ENABLE_UPDATE_CHECK
False
CMS_PLACEHOLDER_CONF
{'about-us-content': {'name': 'Sadržaj',
                      'plugins': ['CMSHtmlEditorPlugin', 'CMSImagePlugin']},
 'application-confirmation-text': {'limits': {'global': 1},
                                   'name': 'Application Confirmation Text',
                                   'plugins': ['CMSHtmlEditorPlugin']},
 'application-confirmation-title': {'limits': {'global': 1},
                                    'name': 'Application Confirmation Title',
                                    'plugins': ['CMSHtmlEditorPlugin']},
 'application-ended-header-content': {'limits': {'global': 1},
                                      'name': 'Applications ended Header content',
                                      'plugins': ['CMSHtmlEditorPlugin']},
 'application-ended-header-info': {'limits': {'global': 1},
                                   'name': 'Applications ended Header info',
                                   'plugins': ['CMSHtmlEditorPlugin']},
 'candidate-form-candidate-info-section': {'limits': {'global': 1},
                                           'name': 'Candidate Form - Candidate Form Info Section',
                                           'plugins': ['CMSHtmlEditorPlugin']},
 'candidate-form-candidate-terms-section': {'limits': {'global': 1},
                                            'name': 'Candidate Form - Candidate Form Terms Section',
                                            'plugins': ['CMSHtmlEditorPlugin']},
 'candidate-form-header-content': {'limits': {'global': 1},
                                   'name': 'Candidate Form - Header Content',
                                   'plugins': ['CMSHtmlEditorPlugin']},
 'candidate-form-header-info': {'limits': {'global': 1},
                                'name': 'Candidate Form - Info Content',
                                'plugins': ['CMSHtmlEditorPlugin']},
 'candidate-form-terms-and-conditions-label': {'limits': {'global': 1},
                                               'name': 'Candidate Form - Terms And Conditions Label',
                                               'plugins': ['CMSHtmlEditorPlugin']},
 'candidate-form-terms-and-conditions-title': {'limits': {'global': 1},
                                               'name': 'Candidate Form - Terms And Conditions Title',
                                               'plugins': ['CMSHtmlEditorPlugin']},
 'candidate-form-user-info-section': {'limits': {'global': 1},
                                      'name': 'Candidate Form - User Form Info Section',
                                      'plugins': ['CMSHtmlEditorPlugin']},
 'content-text': {'limits': {'global': 1},
                  'name': 'Sadržaj',
                  'plugins': ['CMSHtmlEditorPlugin']},
 'home-content': {'name': 'Sadržaj',
                  'plugins': ['FeaturedInfluencers',
                              'CMSVideoPlugin',
                              'InstagramGallery',
                              'CMSPromoPlugin',
                              'CMSFacebookPlugin']},
 'home-header': {'limits': {'CMSHomeHeaderLink': 10},
                 'name': 'Home Header',
                 'plugins': ['CMSHomeHeaderImagePlugin',
                             'CMSHomeHeaderLink',
                             'CMSCollagePlugin',
                             'CMSCollageItemPlugin']},
 'home-news': {'limits': {'global': 1},
               'name': 'News',
               'plugins': ['CMSNewsPlugin']},
 'influencers-list-header': {'name': 'Header',
                             'plugins': ['CMSInfluencersPromoPlugin',
                                         'CMSInfluencersPromoHeaderPlugin',
                                         'CMSInfluencersPromoContentPlugin']},
 'interview': {'name': 'Sadržaj',
               'plugins': ['CMSInfluencerInterviewImageWithTextPlugin',
                           'CMSInfluencerInterviewTextPlugin',
                           'CMSInfluencerInterviewImagePlugin',
                           'CMSRoleModelInterviewTextPlugin']},
 'privacy-policy-text': {'limits': {'global': 1},
                         'name': 'Privacy policy',
                         'plugins': ['CMSHtmlEditorPlugin']}}
CMS_TEMPLATES
(('content.html', 'Sadržaj'),
 ('prirodnoJa.html', 'PrirodnoJa'),
 ('home.html', 'Početna'),
 ('about-us.html', 'About us'),
 ('splash.html', 'Splash'),
 ('privacy-policy.html', 'Privacy'),
 ('application-ended.html', 'Application ended'),
 ('test.html', 'Test'))
CSRF_COOKIE_AGE
31449600
CSRF_COOKIE_DOMAIN
None
CSRF_COOKIE_HTTPONLY
False
CSRF_COOKIE_NAME
'csrftoken'
CSRF_COOKIE_PATH
'/'
CSRF_COOKIE_SECURE
False
CSRF_FAILURE_VIEW
'django.views.csrf.csrf_failure'
CSRF_HEADER_NAME
'HTTP_X_CSRFTOKEN'
CSRF_TRUSTED_ORIGINS
[]
CSRF_USE_SESSIONS
False
DATABASES
{'default': {'ATOMIC_REQUESTS': False,
             'AUTOCOMMIT': True,
             'CONN_MAX_AGE': 0,
             'ENGINE': 'django.db.backends.postgresql',
             'HOST': '',
             'NAME': 'studena',
             'OPTIONS': {},
             'PASSWORD': '********************',
             'PORT': '',
             'TEST': {'CHARSET': None,
                      'COLLATION': None,
                      'MIRROR': None,
                      'NAME': None},
             'TIME_ZONE': None,
             'USER': 'sonda'}}
DATABASE_ROUTERS
[]
DATA_UPLOAD_MAX_MEMORY_SIZE
2621440
DATA_UPLOAD_MAX_NUMBER_FIELDS
1000
DATETIME_FORMAT
'N j, Y, P'
DATETIME_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']
DATE_FORMAT
'N j, Y'
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']
DEBUG
True
DEBUG_PROPAGATE_EXCEPTIONS
False
DECIMAL_SEPARATOR
'.'
DEFAULT_CHARSET
'utf-8'
DEFAULT_CONTENT_TYPE
'text/html'
DEFAULT_EXCEPTION_REPORTER_FILTER
'django.views.debug.SafeExceptionReporterFilter'
DEFAULT_FILE_STORAGE
'django.core.files.storage.FileSystemStorage'
DEFAULT_FROM_EMAIL
'no-reply@studena.hr'
DEFAULT_INDEX_TABLESPACE
''
DEFAULT_TABLESPACE
''
DISALLOWED_USER_AGENTS
[]
EMAIL_BACKEND
'mailer.backend.DbBackend'
EMAIL_HOST
'smtp.gmail.com'
EMAIL_HOST_PASSWORD
'********************'
EMAIL_HOST_USER
'no-reply@studena.hr'
EMAIL_PORT
587
EMAIL_SSL_CERTFILE
None
EMAIL_SSL_KEYFILE
'********************'
EMAIL_SUBJECT_PREFIX
'[Django] '
EMAIL_TIMEOUT
None
EMAIL_USE_LOCALTIME
False
EMAIL_USE_SSL
False
EMAIL_USE_TLS
True
FILER_IMAGE_MODEL
'filer.Image'
FILE_CHARSET
'utf-8'
FILE_UPLOAD_DIRECTORY_PERMISSIONS
None
FILE_UPLOAD_HANDLERS
['django.core.files.uploadhandler.MemoryFileUploadHandler',
 'django.core.files.uploadhandler.TemporaryFileUploadHandler']
FILE_UPLOAD_MAX_MEMORY_SIZE
2621440
FILE_UPLOAD_PERMISSIONS
None
FILE_UPLOAD_TEMP_DIR
None
FIRST_DAY_OF_WEEK
0
FIXTURE_DIRS
[]
FORCE_SCRIPT_NAME
None
FORMAT_MODULE_PATH
None
FORM_RENDERER
'django.forms.renderers.DjangoTemplates'
GOOGLE_TAG_ID
None
HONEYPOT_FIELD_NAME
'phone'
IGNORABLE_404_URLS
[]
INSTALLED_APPS
['modeltranslation',
 'django.contrib.admin',
 'django.contrib.auth',
 'django.contrib.contenttypes',
 'django.contrib.sessions',
 'django.contrib.messages',
 'django.contrib.staticfiles',
 'django.contrib.sites',
 'webpack_loader',
 'mailer',
 'gtm',
 'filer',
 'cms',
 'djangocms_text_ckeditor',
 'djangocms_link',
 'embed_video',
 'widget_tweaks',
 'cmsplugin_plain_text',
 'menus',
 'treebeard',
 'sekizai',
 'adminsortable2',
 'el_pagination',
 'easy_thumbnails',
 'commons',
 'rosetta',
 'influencers',
 'news',
 'instagram_gallery',
 'applications',
 'honeypot',
 'cookielaw',
 'rolemodels',
 'rewards',
 'debug_toolbar']
INTERNAL_IPS
['127.0.0.1']
LANGUAGES
(('hr', 'Hrvatski'),)
LANGUAGES_BIDI
['he', 'ar', 'fa', 'ur']
LANGUAGE_CODE
'hr'
LANGUAGE_COOKIE_AGE
None
LANGUAGE_COOKIE_DOMAIN
None
LANGUAGE_COOKIE_NAME
'django_language'
LANGUAGE_COOKIE_PATH
'/'
LOCALE_PATHS
['/home/sonda/djangosites/studena/locale']
LOGGING
{'disable_existing_loggers': False,
 'handlers': {'null': {'class': 'logging.NullHandler'}},
 'loggers': {'django.security.DisallowedHost': {'handlers': ['null'],
                                                'propagate': False}},
 'version': 1}
LOGGING_CONFIG
'logging.config.dictConfig'
LOGIN_REDIRECT_URL
'/accounts/profile/'
LOGIN_URL
'/admin/'
LOGOUT_REDIRECT_URL
None
MANAGERS
[]
MEDIA_ROOT
'/home/sonda/djangosites/studena/media'
MEDIA_URL
'/media/'
MESSAGE_STORAGE
'django.contrib.messages.storage.fallback.FallbackStorage'
MIDDLEWARE
['debug_toolbar.middleware.DebugToolbarMiddleware',
 'django.middleware.security.SecurityMiddleware',
 'django.contrib.sessions.middleware.SessionMiddleware',
 'django.middleware.common.CommonMiddleware',
 'django.middleware.csrf.CsrfViewMiddleware',
 'django.contrib.auth.middleware.AuthenticationMiddleware',
 'django.contrib.messages.middleware.MessageMiddleware',
 'django.middleware.clickjacking.XFrameOptionsMiddleware',
 'django.middleware.locale.LocaleMiddleware',
 'django.contrib.sites.middleware.CurrentSiteMiddleware',
 'cms.middleware.user.CurrentUserMiddleware',
 'cms.middleware.page.CurrentPageMiddleware',
 'cms.middleware.toolbar.ToolbarMiddleware',
 'cms.middleware.language.LanguageCookieMiddleware',
 'cms.middleware.utils.ApphookReloadMiddleware']
MIDDLEWARE_CLASSES
['django.middleware.common.CommonMiddleware',
 'django.middleware.csrf.CsrfViewMiddleware']
MIGRATION_MODULES
{}
MONTH_DAY_FORMAT
'F j'
NUMBER_GROUPING
0
OFFICE_MAIL
'no-reply@studena.hr'
PASSWORD_HASHERS
'********************'
PASSWORD_RESET_TIMEOUT_DAYS
'********************'
PREPEND_WWW
False
REWARDS_ADMIN_EMAILS
['sonda@sonda.hr']
ROOT_URLCONF
'studena.urls'
ROSETTA_SHOW_AT_ADMIN_PANEL
True
ROSETTA_STORAGE_CLASS
'rosetta.storage.CacheRosettaStorage'
ROSETTA_UWSGI_AUTO_RELOAD
True
SECRET_KEY
'********************'
SECURE_BROWSER_XSS_FILTER
False
SECURE_CONTENT_TYPE_NOSNIFF
False
SECURE_HSTS_INCLUDE_SUBDOMAINS
False
SECURE_HSTS_PRELOAD
False
SECURE_HSTS_SECONDS
0
SECURE_PROXY_SSL_HEADER
None
SECURE_REDIRECT_EXEMPT
[]
SECURE_SSL_HOST
None
SECURE_SSL_REDIRECT
False
SERVER_EMAIL
'no-reply@studena.hr'
SESSION_CACHE_ALIAS
'default'
SESSION_COOKIE_AGE
1209600
SESSION_COOKIE_DOMAIN
None
SESSION_COOKIE_HTTPONLY
True
SESSION_COOKIE_NAME
'sessionid'
SESSION_COOKIE_PATH
'/'
SESSION_COOKIE_SECURE
False
SESSION_ENGINE
'django.contrib.sessions.backends.db'
SESSION_EXPIRE_AT_BROWSER_CLOSE
False
SESSION_FILE_PATH
None
SESSION_SAVE_EVERY_REQUEST
False
SESSION_SERIALIZER
'django.contrib.sessions.serializers.JSONSerializer'
SETTINGS_MODULE
'studena.settings'
SHORT_DATETIME_FORMAT
'm/d/Y P'
SHORT_DATE_FORMAT
'm/d/Y'
SIGNING_BACKEND
'django.core.signing.TimestampSigner'
SILENCED_SYSTEM_CHECKS
[]
SITE_ID
1
STATICFILES_DIRS
('/home/sonda/djangosites/studena/studena/static',
 '/home/sonda/djangosites/studena/dist')
STATICFILES_FINDERS
['django.contrib.staticfiles.finders.FileSystemFinder',
 'django.contrib.staticfiles.finders.AppDirectoriesFinder']
STATICFILES_STORAGE
'django.contrib.staticfiles.storage.StaticFilesStorage'
STATIC_ROOT
'/home/sonda/djangosites/studena/static'
STATIC_URL
'/static/'
TEMPLATES
[{'APP_DIRS': True,
  'BACKEND': 'django.template.backends.django.DjangoTemplates',
  'DIRS': ['/home/sonda/djangosites/studena/studena/templates'],
  'OPTIONS': {'context_processors': ['django.template.context_processors.debug',
                                     'django.template.context_processors.request',
                                     'django.contrib.auth.context_processors.auth',
                                     'django.contrib.messages.context_processors.messages',
                                     'cms.context_processors.cms_settings',
                                     'sekizai.context_processors.sekizai',
                                     'commons.context_processors.commons_data',
                                     'news.context_processors.data',
                                     'influencers.context_processor.data']}}]
TEST_NON_SERIALIZED_APPS
[]
TEST_RUNNER
'django.test.runner.DiscoverRunner'
THOUSAND_SEPARATOR
','
THUMBNAIL_ALIASES
{'': {'admin-thumb': {'crop': True, 'size': (100, 100), 'upscale': True},
      'big': {'crop': False, 'size': (900, 900)},
      'header': {'crop': False, 'size': (1920, 0), 'upscale': False},
      'header-mobile': {'crop': False, 'size': (900, 0), 'upscale': False},
      'share': {'crop': False, 'size': (1200, 530), 'upscale': False},
      'small': {'crop': True, 'size': (250, 250), 'upscale': True},
      'standard': {'crop': True, 'size': (600, 600), 'upscale': True}}}
THUMBNAIL_HIGH_RESOLUTION
True
THUMBNAIL_PROCESSORS
('easy_thumbnails.processors.colorspace',
 'easy_thumbnails.processors.autocrop',
 'filer.thumbnail_processors.scale_and_crop_with_subject_location',
 'easy_thumbnails.processors.filters')
TIME_FORMAT
'P'
TIME_INPUT_FORMATS
['%H:%M:%S', '%H:%M:%S.%f', '%H:%M']
TIME_ZONE
'CET'
USE_ETAGS
False
USE_I18N
True
USE_L10N
True
USE_THOUSAND_SEPARATOR
False
USE_TZ
True
USE_X_FORWARDED_HOST
False
USE_X_FORWARDED_PORT
False
WSGI_APPLICATION
'studena.wsgi.application'
X_FRAME_OPTIONS
'SAMEORIGIN'
YEAR_MONTH_FORMAT
'F Y'

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 page generated by the handler for this status code.