django-cms / django-filer

File and Image Management Application for django
https://django-filer.readthedocs.io/
Other
1.76k stars 577 forks source link

many errors not appearing to work... #1447

Closed prepstarr closed 6 months ago

prepstarr commented 7 months ago
/usr/home/sixpiece/python/emploiquebec
InvalidImageFormatError at /admin/emplois/employer/
The source file does not appear to be an image: 'filer_public/ac/d6/acd61aca-000e-481f-9dcb-2009414daaac/1599596545907.jpg'
Request Method: GET
Request URL:    https://quebec.ca/emplois
Django Version: 4.2.4
Exception Type: InvalidImageFormatError
Exception Value:    
The source file does not appear to be an image: 'filer_public/ac/d6/acd61aca-000e-481f-9dcb-2009414daaac/1599596545907.jpg'
Exception Location: /usr/home/sixpiece/env/lib/python3.9/site-packages/easy_thumbnails/files.py, line 387, in generate_thumbnail
Raised during:  django.contrib.admin.options.changelist_view
Python Executable:  /usr/home/sixpiece/env/bin/python
Python Version: 3.9.18
Python Path:    
['/usr/home/sixpiece/python/emploiquebec',
 '/usr/local/lib/python39.zip',
 '/usr/local/lib/python3.9',
 '/usr/local/lib/python3.9/lib-dynload',
 '/usr/home/sixpiece/env/lib/python3.9/site-packages',
 '/usr/home/sixpiece/env/lib/python3.9/site-packages/taskio-0.0.5-py3.9.egg',
 '/usr/home/sixpiece/env/lib/python3.9/site-packages/requests-2.31.0-py3.9.egg',
 '/usr/home/sixpiece/env/lib/python3.9/site-packages/peasant-0.6-py3.9.egg',
 '/usr/home/sixpiece/env/lib/python3.9/site-packages/click-8.1.3-py3.9.egg',
 '/usr/home/sixpiece/env/lib/python3.9/site-packages/cartola-0.16-py3.9.egg',
 '/usr/home/sixpiece/env/lib/python3.9/site-packages/urllib3-2.1.0-py3.9.egg',
 '/usr/home/sixpiece/env/lib/python3.9/site-packages/idna-3.6-py3.9.egg',
 '/usr/home/sixpiece/env/lib/python3.9/site-packages/charset_normalizer-3.3.2-py3.9.egg',
 '/usr/home/sixpiece/env/lib/python3.9/site-packages/certifi-2023.11.17-py3.9.egg',
 '/usr/home/sixpiece/env/lib/python3.9/site-packages/automatoes-0.9.12-py3.9.egg',
 '/usr/home/sixpiece/env/lib/python3.9/site-packages/PyYAML-6.0-py3.9-freebsd-13.2-RELEASE-p2-amd64.egg',
 '/usr/home/sixpiece/env/lib/python3.9/site-packages/cffi-1.16.0-py3.9-freebsd-13.2-RELEASE-p2-amd64.egg',
 '/usr/home/sixpiece/env/lib/python3.9/site-packages/pycparser-2.21-py3.9.egg']
Server time:    Thu, 08 Feb 2024 18:48:57 -0500
Error during template rendering
In template /usr/home/sixpiece/env/lib/python3.9/site-packages/django/contrib/admin/templates/admin/change_list.html, error at line 68

The source file does not appear to be an image: 'filer_public/ac/d6/acd61aca-000e-481f-9dcb-2009414daaac/1599596545907.jpg'
58          {% block search %}{% search_form cl %}{% endblock %}
59          {% block date_hierarchy %}{% if cl.date_hierarchy %}{% date_hierarchy cl %}{% endif %}{% endblock %}
60  
61          <form id="changelist-form" method="post"{% if cl.formset and cl.formset.is_multipart %} enctype="multipart/form-data"{% endif %} novalidate>{% csrf_token %}
62          {% if cl.formset %}
63            <div>{{ cl.formset.management_form }}</div>
64          {% endif %}
65  
66          {% block result_list %}
67            {% if action_form and actions_on_top and cl.show_admin_actions %}{% admin_actions %}{% endif %}
68            {% result_list cl %}
69            {% if action_form and actions_on_bottom and cl.show_admin_actions %}{% admin_actions %}{% endif %}
70          {% endblock %}
71          {% block pagination %}{% pagination cl %}{% endblock %}
72          </form>
73        </div>
74        {% block filters %}
75          {% if cl.has_filters %}
76            <div id="changelist-filter">
77              <h2>{% translate 'Filter' %}</h2>
78              {% if cl.has_active_filters %}<h3 id="changelist-filter-clear">
Traceback Switch to copy-and-paste view
/usr/home/sixpiece/env/lib/python3.9/site-packages/django/db/models/options.py, line 681, in get_field
            return self.fields_map[field_name] …
Local vars
During handling of the above exception ('show_image'), another exception occurred:
/usr/home/sixpiece/env/lib/python3.9/site-packages/django/contrib/admin/utils.py, line 272, in lookup_field
        f = _get_non_gfk_field(opts, name) …
Local vars
/usr/home/sixpiece/env/lib/python3.9/site-packages/django/contrib/admin/utils.py, line 303, in _get_non_gfk_field
    field = opts.get_field(name) …
Local vars
/usr/home/sixpiece/env/lib/python3.9/site-packages/django/db/models/options.py, line 683, in get_field
            raise FieldDoesNotExist( …
Local vars
During handling of the above exception (Employer has no field named 'show_image'), another exception occurred:
/usr/home/sixpiece/env/lib/python3.9/site-packages/django/core/handlers/exception.py, line 55, in inner
                response = get_response(request) …
Local vars
/usr/home/sixpiece/env/lib/python3.9/site-packages/django/core/handlers/base.py, line 220, in _get_response
                response = response.render() …
Local vars
/usr/home/sixpiece/env/lib/python3.9/site-packages/django/template/response.py, line 114, in render
            self.content = self.rendered_content …
Local vars
/usr/home/sixpiece/env/lib/python3.9/site-packages/django/template/response.py, line 92, in rendered_content
        return template.render(context, self._request) …
Local vars
/usr/home/sixpiece/env/lib/python3.9/site-packages/django/template/backends/django.py, line 61, in render
            return self.template.render(context) …
Local vars
/usr/home/sixpiece/env/lib/python3.9/site-packages/django/template/base.py, line 175, in render
                    return self._render(context) …
Local vars
/usr/home/sixpiece/env/lib/python3.9/site-packages/django/test/utils.py, line 112, in instrumented_test_render
    return self.nodelist.render(context) …
Local vars
/usr/home/sixpiece/env/lib/python3.9/site-packages/django/template/base.py, line 1005, in render
        return SafeString("".join([node.render_annotated(context) for node in self])) …
Local vars
/usr/home/sixpiece/env/lib/python3.9/site-packages/django/template/base.py, line 1005, in <listcomp>
        return SafeString("".join([node.render_annotated(context) for node in self])) …
Local vars
/usr/home/sixpiece/env/lib/python3.9/site-packages/django/template/base.py, line 966, in render_annotated
            return self.render(context) …
Local vars
/usr/home/sixpiece/env/lib/python3.9/site-packages/django/template/loader_tags.py, line 157, in render
            return compiled_parent._render(context) …
Local vars
/usr/home/sixpiece/env/lib/python3.9/site-packages/django/test/utils.py, line 112, in instrumented_test_render
    return self.nodelist.render(context) …
Local vars
/usr/home/sixpiece/env/lib/python3.9/site-packages/django/template/base.py, line 1005, in render
        return SafeString("".join([node.render_annotated(context) for node in self])) …
Local vars
/usr/home/sixpiece/env/lib/python3.9/site-packages/django/template/base.py, line 1005, in <listcomp>
        return SafeString("".join([node.render_annotated(context) for node in self])) …
Local vars
/usr/home/sixpiece/env/lib/python3.9/site-packages/django/template/base.py, line 966, in render_annotated
            return self.render(context) …
Local vars
/usr/home/sixpiece/env/lib/python3.9/site-packages/django/template/loader_tags.py, line 157, in render
            return compiled_parent._render(context) …
Local vars
/usr/home/sixpiece/env/lib/python3.9/site-packages/django/test/utils.py, line 112, in instrumented_test_render
    return self.nodelist.render(context) …
Local vars
/usr/home/sixpiece/env/lib/python3.9/site-packages/django/template/base.py, line 1005, in render
        return SafeString("".join([node.render_annotated(context) for node in self])) …
Local vars
/usr/home/sixpiece/env/lib/python3.9/site-packages/django/template/base.py, line 1005, in <listcomp>
        return SafeString("".join([node.render_annotated(context) for node in self])) …
Local vars
/usr/home/sixpiece/env/lib/python3.9/site-packages/django/template/base.py, line 966, in render_annotated
            return self.render(context) …
Local vars
/usr/home/sixpiece/env/lib/python3.9/site-packages/django/template/loader_tags.py, line 63, in render
                result = block.nodelist.render(context) …
Local vars
/usr/home/sixpiece/env/lib/python3.9/site-packages/django/template/base.py, line 1005, in render
        return SafeString("".join([node.render_annotated(context) for node in self])) …
Local vars
/usr/home/sixpiece/env/lib/python3.9/site-packages/django/template/base.py, line 1005, in <listcomp>
        return SafeString("".join([node.render_annotated(context) for node in self])) …
Local vars
/usr/home/sixpiece/env/lib/python3.9/site-packages/django/template/base.py, line 966, in render_annotated
            return self.render(context) …
Local vars
/usr/home/sixpiece/env/lib/python3.9/site-packages/django/template/loader_tags.py, line 63, in render
                result = block.nodelist.render(context) …
Local vars
/usr/home/sixpiece/env/lib/python3.9/site-packages/django/template/base.py, line 1005, in render
        return SafeString("".join([node.render_annotated(context) for node in self])) …
Local vars
/usr/home/sixpiece/env/lib/python3.9/site-packages/django/template/base.py, line 1005, in <listcomp>
        return SafeString("".join([node.render_annotated(context) for node in self])) …
Local vars
/usr/home/sixpiece/env/lib/python3.9/site-packages/django/template/base.py, line 966, in render_annotated
            return self.render(context) …
Local vars
/usr/home/sixpiece/env/lib/python3.9/site-packages/django/contrib/admin/templatetags/base.py, line 45, in render
        return super().render(context) …
Local vars
/usr/home/sixpiece/env/lib/python3.9/site-packages/django/template/library.py, line 258, in render
        _dict = self.func(*resolved_args, **resolved_kwargs) …
Local vars
/usr/home/sixpiece/env/lib/python3.9/site-packages/django/contrib/admin/templatetags/admin_list.py, line 336, in result_list
        "results": list(results(cl)), …
Local vars
/usr/home/sixpiece/env/lib/python3.9/site-packages/django/contrib/admin/templatetags/admin_list.py, line 312, in results
            yield ResultList(None, items_for_result(cl, res, None)) …
Local vars
/usr/home/sixpiece/env/lib/python3.9/site-packages/django/contrib/admin/templatetags/admin_list.py, line 303, in __init__
        super().__init__(*items) …
Local vars
/usr/home/sixpiece/env/lib/python3.9/site-packages/django/contrib/admin/templatetags/admin_list.py, line 213, in items_for_result
            f, attr, value = lookup_field(field_name, result, cl.model_admin) …
Local vars
/usr/home/sixpiece/env/lib/python3.9/site-packages/django/contrib/admin/utils.py, line 281, in lookup_field
            value = attr(obj) …
Local vars
/usr/home/sixpiece/python/emploiquebec/emplois/admin.py, line 62, in show_image
         img = get_thumbnailer(obj.image).get_thumbnail({'size': (70,70,), 'crop': True}) …
Local vars
/usr/home/sixpiece/env/lib/python3.9/site-packages/easy_thumbnails/files.py, line 508, in get_thumbnail
                thumbnail = self.generate_thumbnail( …
Local vars
/usr/home/sixpiece/env/lib/python3.9/site-packages/easy_thumbnails/files.py, line 387, in generate_thumbnail
            raise exceptions.InvalidImageFormatError(msg.format(name=self.name)) …
Local vars
Request information
USER
sixpiece

GET
No GET data

POST
No POST data

FILES
No FILES data

COOKIES
Variable    Value
csrftoken   
'********************'
sessionid   
'********************'
META
Variable    Value
CONTEXT_DOCUMENT_ROOT   
'/usr/local/www/apache24/data'
CONTEXT_PREFIX  
''
CSRF_COOKIE 
'oC35JmCBLwNgWQOF2l2GnOmLxcnJp1kz'
CSRF_COOKIE_NEEDS_UPDATE    
True
DOCUMENT_ROOT   
'/usr/local/www/apache24/data'
GATEWAY_INTERFACE   
'CGI/1.1'
HTTP_ACCEPT 
'text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7'
HTTP_ACCEPT_ENCODING    
'gzip, deflate, br'
HTTP_ACCEPT_LANGUAGE    
'en-US,en;q=0.9,fr-FR;q=0.8,fr;q=0.7,en-GB;q=0.6'
HTTP_CONNECTION 
'keep-alive'
HTTP_COOKIE 
'********************'
HTTP_DNT    
'1'
HTTP_HOST   
'quebec.ca'
HTTP_REFERER    
'https://quebec.ca/admin/'
HTTP_SEC_CH_UA  
'"Not A(Brand";v="99", "Microsoft Edge";v="121", "Chromium";v="121"'
HTTP_SEC_CH_UA_MOBILE   
'?0'
HTTP_SEC_CH_UA_PLATFORM 
'"Windows"'
HTTP_SEC_FETCH_DEST 
'document'
HTTP_SEC_FETCH_MODE 
'navigate'
HTTP_SEC_FETCH_SITE 
'same-origin'
HTTP_SEC_FETCH_USER 
'?1'
HTTP_UPGRADE_INSECURE_REQUESTS  
'1'
HTTP_USER_AGENT 
('Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like '
 'Gecko) Chrome/121.0.0.0 Safari/537.36 Edg/121.0.0.0')
LD_LIBRARY_PATH 
'/usr/local/lib:/usr/local/lib'
PATH_INFO   
'/admin/emplois/employer/'
PATH_TRANSLATED 
'/usr/home/sixpiece/python/emploiquebec/emploiquebec/wsgi.py/admin/emplois/employer/'
QUERY_STRING    
''
REMOTE_ADDR 
'222.32.23.122'
REMOTE_PORT 
'64252'
REQUEST_METHOD  
'GET'
REQUEST_SCHEME  
'https'
REQUEST_URI 
'/admin/emplois/employer/'
SCRIPT_FILENAME 
'/usr/home/sixpiece/python/emploiquebec/emploiquebec/wsgi.py'
SCRIPT_NAME 
''
SERVER_ADDR 
'108.138.199.34'
SERVER_ADMIN    
'webmaster@quebec.ca'
SERVER_NAME 
'quebec.ca'
SERVER_PORT 
'443'
SERVER_PROTOCOL 
'HTTP/1.1'
SERVER_SIGNATURE    
'********************'
SERVER_SOFTWARE 
'Apache/2.4.58 (FreeBSD) OpenSSL/3.0.12 mod_wsgi/4.9.2 Python/3.9 PHP/8.0.30'
SSL_CLIENT_CERT 
''
SSL_SERVER_CERT 
('-----BEGIN CERTIFICATE-----\n'
 'sdfsdfsdfdNew Issue · django-cms/django-filer/cdfsidfjsdlf32jllfjdsfdsdf+SzMA0GCSqGSIb3DQEBCwUA\n'
 'MDIxCzAJBgNVdfsfsdfsdf1MZXQncyBFbmNyeXB0MQswCQYDVQQD\n'
 'EwJSMzAeFw0yMzEsdfsdfdsfsdfsdsfsdfsdfsdfsdfsdVBAMT\n'
 'EGVtcGxvaXMua2FdGCSqGSIb3DQEBAQsfsdfssdfsdfsdfUAA4ICDwAwggIKAoIC\n'
 'AQC6wuu/Fics7W8PF4M38oE8iWBMjkauOghLEppEKGu4plvhYdOHq4dnsiibaaBp\n'
 'evEdF7Q43jncoMfdssfdfdsfdssfLMfAFB+82IuNf7U2fwEhD8IfKoq\n'
 'ClOWIB25O+R+eruVC5OVPwKHvGGVNMQA9/6EusdfssdffdsCMbX4WVRLf0n3iyh5kyoeageehkoiFCxK+Fwt1\n'
 '4lhAFesEphnJ+5Rqfdsafdsdafdsfsdfdsfsdfsf==\n'
 '-----END CERTIFICATE-----\n')
SSL_TLS_SNI 
'quebec.ca'
apache.version  
(2, 4, 58)
mod_wsgi.application_group  
'quebec.ca|'
mod_wsgi.callable_object    
'application'
mod_wsgi.daemon_connects    
'1'
mod_wsgi.daemon_restarts    
'0'
mod_wsgi.daemon_start   
'1707436137095944'
mod_wsgi.enable_sendfile    
'0'
mod_wsgi.handler_script 
''
mod_wsgi.ignore_activity    
'0'
mod_wsgi.listener_host  
'108.61.177.246'
mod_wsgi.listener_port  
'443'
mod_wsgi.path_info  
'/admin/emplois/employer/'
mod_wsgi.process_group  
'quebec.ca'
mod_wsgi.queue_start    
'1707436137095862'
mod_wsgi.request_handler    
'wsgi-script'
mod_wsgi.request_id 
'0qFtdEf0+RI'
mod_wsgi.request_start  
'1707436137095634'
mod_wsgi.script_name    
''
mod_wsgi.script_reloading   
'1'
mod_wsgi.script_start   
'17072342342324234325'
mod_wsgi.thread_id  
2
mod_wsgi.thread_requests    
4
mod_wsgi.total_requests 
9
mod_wsgi.version    
(4, 9, 2)
wsgi.errors 
<_io.TextIOWrapper name='<wsgi.errors>' encoding='utf-8'>
wsgi.file_wrapper   
<class 'mod_wsgi.FileWrapper'>
wsgi.input  
<mod_wsgi.Input object at 0x19e115edf7a0>
wsgi.input_terminated   
True
wsgi.multiprocess   
False
wsgi.multithread    
True
wsgi.run_once   
False
wsgi.url_scheme 
'https'
wsgi.version    
(1, 0)
Settings
Using settings module emploiquebec.settings
Setting Value
ABSOLUTE_URL_OVERRIDES  
{}
ADMINS  
[]
ALLOWED_HOSTS   
[''quebec.ca']
APPEND_SLASH    
True
AUTHENTICATION_BACKENDS 
['django.contrib.auth.backends.ModelBackend']
AUTH_PASSWORD_VALIDATORS    
'********************'
AUTH_USER_MODEL 
'auth.User'
BASE_DIR    
PosixPath('/usr/home/sixpiece/python/emploiquebec')
CACHES  
{'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}}
CACHE_MIDDLEWARE_ALIAS  
'default'
CACHE_MIDDLEWARE_KEY_PREFIX 
'********************'
CACHE_MIDDLEWARE_SECONDS    
600
CSRF_COOKIE_AGE 
31449600
CSRF_COOKIE_DOMAIN  
None
CSRF_COOKIE_HTTPONLY    
False
CSRF_COOKIE_MASKED  
False
CSRF_COOKIE_NAME    
'csrftoken'
CSRF_COOKIE_PATH    
'/'
CSRF_COOKIE_SAMESITE    
'Lax'
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_HEALTH_CHECKS': False,
             'CONN_MAX_AGE': 0,
             'ENGINE': 'django.db.backends.sqlite3',
             'HOST': '',
             'NAME': PosixPath('/usr/home/sixpiece/python/emploiquebec/db.sqlite3'),
             'OPTIONS': {},
             'PASSWORD': '********************',
             'PORT': '',
             'TEST': {'CHARSET': None,
                      'COLLATION': None,
                      'MIGRATE': True,
                      'MIRROR': None,
                      'NAME': None},
             'TIME_ZONE': None,
             'USER': ''}}
DATABASE_ROUTERS    
[]
DATA_UPLOAD_MAX_MEMORY_SIZE 
2621440
DATA_UPLOAD_MAX_NUMBER_FIELDS   
1000
DATA_UPLOAD_MAX_NUMBER_FILES    
100
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',
 '%m/%d/%Y %H:%M:%S',
 '%m/%d/%Y %H:%M:%S.%f',
 '%m/%d/%Y %H:%M',
 '%m/%d/%y %H:%M:%S',
 '%m/%d/%y %H:%M:%S.%f',
 '%m/%d/%y %H:%M']
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_AUTO_FIELD  
'django.db.models.BigAutoField'
DEFAULT_CHARSET 
'utf-8'
DEFAULT_EXCEPTION_REPORTER  
'django.views.debug.ExceptionReporter'
DEFAULT_EXCEPTION_REPORTER_FILTER   
'django.views.debug.SafeExceptionReporterFilter'
DEFAULT_FILE_STORAGE    
'django.core.files.storage.FileSystemStorage'
DEFAULT_FROM_EMAIL  
'webmaster@localhost'
DEFAULT_INDEX_TABLESPACE    
''
DEFAULT_TABLESPACE  
''
DISALLOWED_USER_AGENTS  
[]
EMAIL_BACKEND   
'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST  
'localhost'
EMAIL_HOST_PASSWORD 
'********************'
EMAIL_HOST_USER 
''
EMAIL_PORT  
25
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   
False
FILER_CANONICAL_URL 
'canonical/'
FILER_DEBUG 
True
FILER_ENABLE_PERMISSIONS    
True
FILER_IMAGE_MODEL   
'filer.Image'
FILER_SERVERS   
{'private': {'main': {'ENGINE': 'filer.server.backends.xsendfile.ApacheXSendfileServer'},
             'thumbnails': {'ENGINE': 'filer.server.backends.xsendfile.ApacheXSendfileServer'}}}
FILER_STORAGES  
{'private': {'main': {'ENGINE': 'filer.storage.PrivateFileSystemStorage',
                      'OPTIONS': {'base_url': '/smedia/filer/',
                                  'location': '/usr/home/sixpiece/python/emploiquebec/smedia/filer'},
                      'UPLOAD_TO': 'filer.utils.generate_filename.randomized',
                      'UPLOAD_TO_PREFIX': 'filer_public'},
             'thumbnails': {'ENGINE': 'filer.storage.PrivateFileSystemStorage',
                            'OPTIONS': {'base_url': '/smedia/filer_thumbnails/',
                                        'location': '/usr/home/sixpiece/python/emploiquebec/smedia/filer_thumbnails'}}},
 'public': {'main': {'ENGINE': 'filer.storage.PublicFileSystemStorage',
                     'OPTIONS': {'base_url': '/media/filer/',
                                 'location': '/home/sixpiece/python/emploiquebec/media/filer/'},
                     'UPLOAD_TO': 'filer.utils.generate_filename.randomized',
                     'UPLOAD_TO_PREFIX': 'filer_public'},
            'thumbnails': {'ENGINE': 'filer.storage.PublicFileSystemStorage',
                           'OPTIONS': {'base_url': '/media/filer_thumbnails/',
                                       'location': '/home/sixpiece/python/emploiquebec/media/filer_thumbnails/'}}}}
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 
420
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'
IGNORABLE_404_URLS  
[]
INSTALLED_APPS  
['debug_toolbar',
 'filemanager',
 'filer',
 'easy_thumbnails',
 'emplois.apps.EmploisConfig',
 'splashpage',
 'django.contrib.admin',
 'django.contrib.auth',
 'django.contrib.contenttypes',
 'django.contrib.sessions',
 'django.contrib.messages',
 'django.contrib.staticfiles',
 'bootstrap5']
INTERNAL_IPS    
[]
LANGUAGES   
[('af', 'Afrikaans'),
 ('ar', 'Arabic'),
 ('ar-dz', 'Algerian Arabic'),
 ('ast', 'Asturian'),
 ('az', 'Azerbaijani'),
 ('bg', 'Bulgarian'),
 ('be', 'Belarusian'),
 ('bn', 'Bengali'),
 ('br', 'Breton'),
 ('bs', 'Bosnian'),
 ('ca', 'Catalan'),
 ('ckb', 'Central Kurdish (Sorani)'),
 ('cs', 'Czech'),
 ('cy', 'Welsh'),
 ('da', 'Danish'),
 ('de', 'German'),
 ('dsb', 'Lower Sorbian'),
 ('el', 'Greek'),
 ('en', 'English'),
 ('en-au', 'Australian English'),
 ('en-gb', 'British English'),
 ('eo', 'Esperanto'),
 ('es', 'Spanish'),
 ('es-ar', 'Argentinian Spanish'),
 ('es-co', 'Colombian Spanish'),
 ('es-mx', 'Mexican Spanish'),
 ('es-ni', 'Nicaraguan Spanish'),
 ('es-ve', 'Venezuelan Spanish'),
 ('et', 'Estonian'),
 ('eu', 'Basque'),
 ('fa', 'Persian'),
 ('fi', 'Finnish'),
 ('fr', 'French'),
 ('fy', 'Frisian'),
 ('ga', 'Irish'),
 ('gd', 'Scottish Gaelic'),
 ('gl', 'Galician'),
 ('he', 'Hebrew'),
 ('hi', 'Hindi'),
 ('hr', 'Croatian'),
 ('hsb', 'Upper Sorbian'),
 ('hu', 'Hungarian'),
 ('hy', 'Armenian'),
 ('ia', 'Interlingua'),
 ('id', 'Indonesian'),
 ('ig', 'Igbo'),
 ('io', 'Ido'),
 ('is', 'Icelandic'),
 ('it', 'Italian'),
 ('ja', 'Japanese'),
 ('ka', 'Georgian'),
 ('kab', 'Kabyle'),
 ('kk', 'Kazakh'),
 ('km', 'Khmer'),
 ('kn', 'Kannada'),
 ('ko', 'Korean'),
 ('ky', 'Kyrgyz'),
 ('lb', 'Luxembourgish'),
 ('lt', 'Lithuanian'),
 ('lv', 'Latvian'),
 ('mk', 'Macedonian'),
 ('ml', 'Malayalam'),
 ('mn', 'Mongolian'),
 ('mr', 'Marathi'),
 ('ms', 'Malay'),
 ('my', 'Burmese'),
 ('nb', 'Norwegian Bokmål'),
 ('ne', 'Nepali'),
 ('nl', 'Dutch'),
 ('nn', 'Norwegian Nynorsk'),
 ('os', 'Ossetic'),
 ('pa', 'Punjabi'),
 ('pl', 'Polish'),
 ('pt', 'Portuguese'),
 ('pt-br', 'Brazilian Portuguese'),
 ('ro', 'Romanian'),
 ('ru', 'Russian'),
 ('sk', 'Slovak'),
 ('sl', 'Slovenian'),
 ('sq', 'Albanian'),
 ('sr', 'Serbian'),
 ('sr-latn', 'Serbian Latin'),
 ('sv', 'Swedish'),
 ('sw', 'Swahili'),
 ('ta', 'Tamil'),
 ('te', 'Telugu'),
 ('tg', 'Tajik'),
 ('th', 'Thai'),
 ('tk', 'Turkmen'),
 ('tr', 'Turkish'),
 ('tt', 'Tatar'),
 ('udm', 'Udmurt'),
 ('uk', 'Ukrainian'),
 ('ur', 'Urdu'),
 ('uz', 'Uzbek'),
 ('vi', 'Vietnamese'),
 ('zh-hans', 'Simplified Chinese'),
 ('zh-hant', 'Traditional Chinese')]
LANGUAGES_BIDI  
['he', 'ar', 'ar-dz', 'ckb', 'fa', 'ur']
LANGUAGE_CODE   
'fr-ca'
LANGUAGE_COOKIE_AGE 
None
LANGUAGE_COOKIE_DOMAIN  
None
LANGUAGE_COOKIE_HTTPONLY    
False
LANGUAGE_COOKIE_NAME    
'django_language'
LANGUAGE_COOKIE_PATH    
'/'
LANGUAGE_COOKIE_SAMESITE    
None
LANGUAGE_COOKIE_SECURE  
False
LOCALE_PATHS    
[]
LOGGING 
{}
LOGGING_CONFIG  
'logging.config.dictConfig'
LOGIN_REDIRECT_URL  
'/accounts/profile/'
LOGIN_URL   
'/accounts/login/'
LOGOUT_REDIRECT_URL 
None
MANAGERS    
[]
MEDIA_ROOT  
'/usr/home/sixpiece/python/emploiquebec/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']
MIGRATION_MODULES   
{}
MONTH_DAY_FORMAT    
'F j'
NUMBER_GROUPING 
0
PASSWORD_HASHERS    
'********************'
PASSWORD_RESET_TIMEOUT  
'********************'
PREPEND_WWW 
False
ROOT_URLCONF    
'emploiquebec.urls'
SECRET_KEY  
'********************'
SECRET_KEY_FALLBACKS    
'********************'
SECURE_CONTENT_TYPE_NOSNIFF 
True
SECURE_CROSS_ORIGIN_OPENER_POLICY   
'same-origin'
SECURE_HSTS_INCLUDE_SUBDOMAINS  
False
SECURE_HSTS_PRELOAD 
False
SECURE_HSTS_SECONDS 
0
SECURE_PROXY_SSL_HEADER 
None
SECURE_REDIRECT_EXEMPT  
[]
SECURE_REFERRER_POLICY  
'same-origin'
SECURE_SSL_HOST 
None
SECURE_SSL_REDIRECT 
False
SERVER_EMAIL    
'root@localhost'
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_SAMESITE 
'Lax'
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 
'emploiquebec.settings'
SHORT_DATETIME_FORMAT   
'm/d/Y P'
SHORT_DATE_FORMAT   
'm/d/Y'
SIGNING_BACKEND 
'django.core.signing.TimestampSigner'
SILENCED_SYSTEM_CHECKS  
[]
STATICFILES_DIRS    
[]
STATICFILES_FINDERS 
['django.contrib.staticfiles.finders.FileSystemFinder',
 'django.contrib.staticfiles.finders.AppDirectoriesFinder']
STATICFILES_STORAGE 
'django.contrib.staticfiles.storage.StaticFilesStorage'
STATIC_ROOT 
PosixPath('/usr/home/sixpiece/python/emploiquebec/staticfiles')
STATIC_URL  
'/static/'
STORAGES    
{'default': {'BACKEND': 'django.core.files.storage.FileSystemStorage'},
 'staticfiles': {'BACKEND': 'django.contrib.staticfiles.storage.StaticFilesStorage'}}
TEMPLATES   
[{'APP_DIRS': True,
  'BACKEND': 'django.template.backends.django.DjangoTemplates',
  'DIRS': [PosixPath('/usr/home/sixpiece/python/emploiquebec/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']}}]
TEST_NON_SERIALIZED_APPS    
[]
TEST_RUNNER 
'django.test.runner.DiscoverRunner'
THOUSAND_SEPARATOR  
','
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   
'America/Montreal'
USE_DEPRECATED_PYTZ 
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    
'emploiquebec.wsgi.application'
X_FRAME_OPTIONS 
'DENY'
YEAR_MONTH_FORMAT   
'F Y'
fsbraun commented 6 months ago

Try adding a

try:
    img = get_thumbnailer(obj.image).get_thumbnail({'size': (70,70,), 'crop': True})
except InvalidImageFormatError:
    img = <icon for missing image or None>

around line 62 in your emplois/admin.py to catch the issue that a thumbnails is - for whatever reason - not available.

prepstarr commented 6 months ago

it's an interesting idea that I will have to try later, right now I disabled it, but I can still not see the images ... in the Filer dossier... which renders this program ineffective unfortunately...

image

fsbraun commented 6 months ago

Now, this might be a configuration issue. For test purposes: What happens if you remove the FILER_STORAGES setting from your settings.py? (Attn: You can only expect newly uploaded images to work.)

prepstarr commented 6 months ago

no it doesn't seem to be working at all when I comment out the FILER_STORAGES... there is no sign of life really... basically like I tried uploading a file it said it was sucessful but then no upload occurred...

fsbraun commented 6 months ago

Please check your media folder where the file went. You might have to search many subdirectories.

If you're using ./manage.py runserver you will have to serve the media files manually, e.g., by something like this in urls.py:

from django.conf import settings
from django.conf.urls.static import static

if settings.DEBUG:
    urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
prepstarr commented 6 months ago

the files are there but I think it's referencing the wrong directory ...

fsbraun commented 6 months ago

So, can you confirm, they are served by the web server? Can you see them in the browser by typing their URL .../media/.../file.jpg? What does the console say about the images not found? Pick one example and compare URL path and file path.

prepstarr commented 6 months ago

I cannot see them in the browser by doing that because python doesn't seem to work that way... basically it somehow takes a path from the computer and generates it no? I don't exactly understand how python serves websites versus regular apache ... it is a bit confusing where that command is found... that explains having said that I am still using the apache when I tried the run server for some reason it brought it back to my website so it ended up being pointless... it might require a lot of rewriting that would be complicated to go back and forth with... is this really rocket science ? At some point it would beg the question if fortran or something was not a little bit simpler and more direct...

prepstarr commented 6 months ago

it was working before the only thing that changed is somehow when I upgraded to freebsd 14 from 13 something might have been corrupted in the python environment and I had to reinstall it no longer keeping the modification that was made earlier...

prepstarr commented 6 months ago

/usr/home/sixpiece/python/emploiquebec/media the following path contains the following files and directories...

/usr/home/sixpiece/python/emploiquebec/media (env) $ ls 1516218974999.jpg 1559163987903.jpg 1559163987903_OYEHVeZ.jpg 1622854700176.jpg 1639393758139.jpg 1658747787311.jpg 1674926477459.jpg 1686685359122.jpg IMG_3040_3.JPG IMG_E3043_5.JPG admin bibeau.jpg e388b7e2-02f3-11ed-a861-9df9aa4bafc5.jpg filer filer_public_thumbnails filer_thumbnails hicham-media.jpg image.png image1.jpg image_1.png index.html sheldon-lub.png (env) $ pwd /usr/home/sixpiece/python/emploiquebec/media (env) $ (env) $ tree | more . ├── 1516218974999.jpg ├── 1559163987903.jpg ├── 1559163987903_OYEHVeZ.jpg ├── 1622854700176.jpg ├── 1639393758139.jpg ├── 1658747787311.jpg ├── 1674926477459.jpg ├── 1686685359122.jpg ├── IMG_3040_3.JPG ├── IMG_E3043_5.JPG ├── admin ├── bibeau.jpg ├── e388b7e2-02f3-11ed-a861-9df9aa4bafc5.jpg ├── filer │   └── filer_public │   ├── 02 │   │   └── 90 │   │   └── 02904552-d7b4-490d-b95d-f361ebb6470d │   │   └── lettre-presentation-de-ubisoft.pdf │   ├── 04 │   │   └── 29 │   │   └── 0429109e-2d3e-411e-a014-4912d8cb9920 │   │   └── 1641229238832.jpg ale.jpg │   │   │   ├── 1657904662520.jpg70x70_q85_crop_subsampling-2.jpg │   │   │   ├── 1657904662520.jpg70x70_q85_subsampling-2.jpg │   │   │   └── 1657904662520.jpg80x80_q85_crop_subsampling-2.jpg │   │   └── e9 │   │   └── c6e9a7e2-deab-4c28-b49f-0e318b412761 │   │   ├── 1684179450957.jpg160x160_q85_crop_subsampling-2.jpg │   │   ├── 1684179450957.jpg16x16_q85_crop_subsampling-2_upscale.jpg │   │   ├── 1684179450957.jpg180x180_q85_crop_subsampling-2_upscale.jpg │   │   ├── 1684179450957.jpg210x0_q85_subsampling-2_upscale.jpg │   │   ├── 1684179450957.jpg32x32_q85_crop_subsampling-2_upscale.jpg │   │   ├── 1684179450957.jpg48x48_q85_crop_subsampling-2_upscale.jpg │   │   ├── 1684179450957.jpg64x64_q85_crop_subsampling-2_upscale.jpg │   │   ├── 1684179450957.jpg70x70_q85_crop_subsampling-2.jpg │   │   └── 1684179450957.jpg80x80_q85_crop_subsampling-2.jpg │   ├── c8 │   │   └── 65 │   │   └── c8653316-388c-4775-a510-d9b3996650fb │   │   ├── 1686342695151.jpg160x160_q85_crop_subsampling-2.jpg │   │   ├── 1686342695151.jpg16x16_q85_crop_subsampling-2_upscale.jpg │   │   ├── 1686342695151.jpg180x180_q85_crop_subsampling-2_upscale.jpg │   │   ├── 1686342695151.jpg__210x0_q85_subsampling-2_upscale.jpg │   │   ├── 1686342695151.jpg32x32_q85_crop_subsampling-2_upscale.jpg │   │   ├── 1686342695151.jpg48x48_q85_crop_subsampling-2_upscale.jpg │   │   ├── 1686342695151.jpg64x64_q85_crop_subsampling-2_upscale.jpg │   │   ├── 1686342695151.jpg70x70_q85_crop_subsampling-2.jpg │   │   └── 1686342695151.jpg__80x80_q85_crop_subsampling-2.jpg │   ├── ca │   │   └── 7f │   │   └── ca7f0217-b283-4b5f-98d1-9a550bd1f083 │   │   ├── 023.jpg16x16_q85_crop_subsampling-2_upscale.jpg │   │   ├── 023.jpg180x180_q85_crop_subsampling-2_upscale.jpg │   │   ├── 023.jpg210x0_q85_subsampling-2_upscale.jpg │   │   ├── 023.jpg32x32_q85_crop_subsampling-2_upscale.jpg │   │   ├── 023.jpg40x40_q85_crop_subsampling-2.jpg │   │   ├── 023.jpg48x48_q85_crop_subsampling-2_upscale.jpg │   │   ├── 023.jpg64x64_q85_crop_subsampling-2_upscale.jpg │   │   └── 023.jpg80x80_q85_crop_subsampling-2.jpg │   ├── cf │   │   └── 99 │   │   └── cf994eb3-4651-41eb-94fc-366fa16f562f │   │   ├── public_1.jpeg160x160_q85_crop_subsampling-2.jpg │   │   ├── public_1.jpeg16x16_q85_crop_subsampling-2_upscale.jpg │   │   ├── public_1.jpeg__180x180_q85_crop_subsampling-2_upscale.jpg │   │   ├── public_1.jpeg210x0_q85_subsampling-2_upscale.jpg │   │   ├── public_1.jpeg210x118_q85_subsampling-2_upscale.jpg │   │   ├── public_1.jpeg32x32_q85_crop_subsampling-2_upscale.jpg │   │   ├── public_1.jpeg40x40_q85_crop_subsampling-2.jpg │   │   ├── public_1.jpeg420x236_q85_subsampling-2_upscale.jpg │   │   ├── public_1.jpeg48x48_q85_crop_subsampling-2_upscale.jpg │   │   ├── public_1.jpeg__64x64_q85_crop_subsampling-2_upscale.jpg │   │   ├── public_1.jpeg70x70_q85_crop_subsampling-2.jpg │   │   └── public_1.jpeg80x80_q85_crop_subsampling-2.jpg │   ├── d3 │   │   └── 16 │   │   └── d3162ff5-30f8-476f-9064-38d597e8c71a │   │   ├── 1528123921321.jpg__160x160_q85_crop_subsampling-2.jpg │   │   ├── 1528123921321.jpg16x16_q85_crop_subsampling-2_upscale.jpg │   │   ├── 1528123921321.jpg180x180_q85_crop_subsampling-2_upscale.jpg │   │   ├── 1528123921321.jpg210x0_q85_subsampling-2_upscale.jpg │   │   ├── 1528123921321.jpg32x32_q85_crop_subsampling-2_upscale.jpg │   │   ├── 1528123921321.jpg48x48_q85_crop_subsampling-2_upscale.jpg │   │   ├── 1528123921321.jpg64x64_q85_crop_subsampling-2_upscale.jpg │   │   ├── 1528123921321.jpg70x70_q85_crop_subsampling-2.jpg │   │   └── 1528123921321.jpg80x80_q85_crop_subsampling-2.jpg │   ├── d7 │   │   └── fa │   │   └── d7fa256c-0483-4a11-93d6-0a0bc30f5763 │   │   ├── president.jpg16x16_q85_crop_subsampling-2_upscale.jpg │   │   ├── president.jpg180x180_q85_crop_subsampling-2_upscale.jpg │   │   ├── president.jpg__210x0_q85_subsampling-2_upscale.jpg │   │   ├── president.jpg32x32_q85_crop_subsampling-2_upscale.jpg │   │   ├── president.jpg48x48_q85_crop_subsampling-2_upscale.jpg │   │   ├── president.jpg64x64_q85_crop_subsampling-2_upscale.jpg │   │   └── president.jpg70x70_q85_crop_subsampling-2.jpg │   ├── d8 │   │   └── 8a │   │   └── d88a9402-c24b-4ff6-8279-414c2a7a4671 │   │   ├── 1605651986616.jpg16x16_q85_crop_subsampling-2_upscale.jpg │   │   ├── 1605651986616.jpg180x180_q85_crop_subsampling-2_upscale.jpg │   │   ├── 1605651986616.jpg__210x0_q85_subsampling-2_upscale.jpg │   │   ├── 1605651986616.jpg32x32_q85_crop_subsampling-2_upscale.jpg │   │   ├── 1605651986616.jpg48x48_q85_crop_subsampling-2_upscale.jpg │   │   ├── 1605651986616.jpg64x64_q85_crop_subsampling-2_upscale.jpg │   │   └── 1605651986616.jpg70x70_q85_crop_subsampling-2.jpg │   ├── dd │   │   └── 64 │   │   └── dd64a1d4-a425-490e-b23f-90675f948759 │   │   ├── presentation-eclair.png__160x160_q85_crop_subsampling-2.jpg │   │   ├── presentation-eclair.png16x16_q85_crop_subsampling-2_upscale.jpg │   │   ├── presentation-eclair.png180x180_q85_crop_subsampling-2_upscale.jpg │   │   ├── presentation-eclair.png210x0_q85_subsampling-2_upscale.jpg │   │   ├── presentation-eclair.png32x32_q85_crop_subsampling-2_upscale.jpg │   │   ├── presentation-eclair.png40x40_q85_crop_subsampling-2.jpg │   │   ├── presentation-eclair.png48x48_q85_crop_subsampling-2_upscale.jpg │   │   ├── presentation-eclair.png64x64_q85_crop_subsampling-2_upscale.jpg │   │   └── presentation-eclair.png80x80_q85_crop_subsampling-2.jpg │   ├── e4 │   │   └── df │   │   └── e4df2881-ebbf-4225-961f-c3c6d0da39b2 │   │   ├── 1649257805574.jpg__160x160_q85_crop_subsampling-2.jpg │   │   ├── 1649257805574.jpg16x16_q85_crop_subsampling-2_upscale.jpg │   │   ├── 1649257805574.jpg180x180_q85_crop_subsampling-2_upscale.jpg │   │   ├── 1649257805574.jpg210x0_q85_subsampling-2_upscale.jpg │   │   ├── 1649257805574.jpg32x32_q85_crop_subsampling-2_upscale.jpg │   │   ├── 1649257805574.jpg40x40_q85_crop_subsampling-2.jpg │   │   ├── 1649257805574.jpg48x48_q85_crop_subsampling-2_upscale.jpg │   │   ├── 1649257805574.jpg64x64_q85_crop_subsampling-2_upscale.jpg │   │   ├── 1649257805574.jpg70x70_q85_crop_subsampling-2.jpg │   │   └── 1649257805574.jpg__80x80_q85_crop_subsampling-2.jpg │   ├── e6 │   │   └── 19 │   │   └── e619b5bb-2cf4-471c-9017-eb444bd66e95 │   │   ├── e5dbd575de656bf010b8511c425e7835.png16x16_crop_subsampling-2_upscale.png │   │   ├── e5dbd575de656bf010b8511c425e7835.png180x180_crop_subsampling-2_upscale.png │   │   ├── e5dbd575de656bf010b8511c425e7835.png210x0_subsampling-2_upscale.png │   │   ├── e5dbd575de656bf010b8511c425e7835.png32x32_crop_subsampling-2_upscale.png │   │   ├── e5dbd575de656bf010b8511c425e7835.png48x48_crop_subsampling-2_upscale.png │   │   ├── e5dbd575de656bf010b8511c425e7835.png64x64_crop_subsampling-2_upscale.png │   │   └── e5dbd575de656bf010b8511c425e7835.png70x70_crop_subsampling-2.png │   ├── ea │   │   └── d6 │   │   └── ead6b7fb-2f82-4962-b11f-7e40f18963a1 │   │   ├── 1658747787311.jpg160x160_q85_crop_subsampling-2.jpg │   │   ├── 1658747787311.jpg16x16_q85_crop_subsampling-2_upscale.jpg │   │   ├── 1658747787311.jpg180x180_q85_crop_subsampling-2_upscale.jpg │   │   ├── 1658747787311.jpg210x0_q85_subsampling-2_upscale.jpg │   │   ├── 1658747787311.jpg32x32_q85_crop_subsampling-2_upscale.jpg │   │   ├── 1658747787311.jpg40x40_q85_crop_subsampling-2.jpg │   │   ├── 1658747787311.jpg48x48_q85_crop_subsampling-2_upscale.jpg │   │   ├── 1658747787311.jpg64x64_q85_crop_subsampling-2_upscale.jpg │   │   ├── 1658747787311.jpg70x70_q85_crop_subsampling-2.jpg │   │   ├── 1658747787311.jpg70x70_q85_subsampling-2.jpg │   │   └── 1658747787311.jpg80x80_q85_crop_subsampling-2.jpg │   ├── f3 │   │   └── 60 │   │   └── f360855c-3ebd-49dd-9403-0afa07ed7310 │   │   ├── 025.jpg16x16_q85_crop_subsampling-2_upscale.jpg │   │   ├── 025.jpg180x180_q85_crop_subsampling-2_upscale.jpg │   │   ├── 025.jpg210x0_q85_subsampling-2_upscale.jpg │   │   ├── 025.jpg32x32_q85_crop_subsampling-2_upscale.jpg │   │   ├── 025.jpg40x40_q85_crop_subsampling-2.jpg │   │   ├── 025.jpg48x48_q85_crop_subsampling-2_upscale.jpg │   │   └── 025.jpg64x64_q85_crop_subsampling-2_upscale.jpg │   ├── f9 │   │   ├── 11 │   │   │   └── f91196e0-404b-439b-bfca-149d50f71dc6 │   │   │   ├── 1559163987903.jpg16x16_q85_crop_subsampling-2_upscale.jpg │   │   │   ├── 1559163987903.jpg180x180_q85_crop_subsampling-2_upscale.jpg │   │   │   ├── 1559163987903.jpg210x0_q85_subsampling-2_upscale.jpg │   │   │   ├── 1559163987903.jpg32x32_q85_crop_subsampling-2_upscale.jpg │   │   │   ├── 1559163987903.jpg40x40_q85_crop_subsampling-2.jpg │   │   │   ├── 1559163987903.jpg48x48_q85_crop_subsampling-2_upscale.jpg │   │   │   ├── 1559163987903.jpg64x64_q85_crop_subsampling-2_upscale.jpg │   │   │   ├── 1559163987903.jpg70x70_q85_crop_subsampling-2.jpg │   │   │   └── 1559163987903.jpg70x70_q85_subsampling-2.jpg │   │   ├── 16 │   │   │   └── f916028c-8a37-4102-9368-159217ae6fa4 │   │   │   ├── 1605290439609.jpg16x16_q85_crop_subsampling-2_upscale.jpg │   │   │   ├── 1605290439609.jpg180x180_q85_crop_subsampling-2_upscale.jpg │   │   │   ├── 1605290439609.jpg210x0_q85_subsampling-2_upscale.jpg │   │   │   ├── 1605290439609.jpg32x32_q85_crop_subsampling-2_upscale.jpg │   │   │   ├── 1605290439609.jpg40x40_q85_crop_subsampling-2.jpg │   │   │   ├── 1605290439609.jpg48x48_q85_crop_subsampling-2_upscale.jpg │   │   │   ├── 1605290439609.jpg64x64_q85_crop_subsampling-2_upscale.jpg │   │   │   └── 1605290439609.jpg70x70_q85_crop_subsampling-2.jpg │   │   └── c4 │   │   └── f9c4bd27-f8a2-4e38-9da1-24f2051a4ce7 │   ├── fb │   │   └── 5b │   │   └── fb5bdd6d-9a78-4a7c-ab42-39c41d3b510b │   │   ├── sheldon-lub.png__160x160_q85_crop_subsampling-2.jpg │   │   ├── sheldon-lub.png16x16_q85_crop_subsampling-2_upscale.jpg │   │   ├── sheldon-lub.png180x180_q85_crop_subsampling-2_upscale.jpg │   │   ├── sheldon-lub.png210x0_q85_subsampling-2_upscale.jpg │   │   ├── sheldon-lub.png32x32_q85_crop_subsampling-2_upscale.jpg │   │   ├── sheldon-lub.png40x40_q85_crop_subsampling-2.jpg │   │   ├── sheldon-lub.png48x48_q85_crop_subsampling-2_upscale.jpg │   │   ├── sheldon-lub.png64x64_q85_crop_subsampling-2_upscale.jpg │   │   ├── sheldon-lub.png70x70_q85_crop_subsampling-2.jpg │   │   ├── sheldon-lub.png70x70_q85_subsampling-2.jpg │   │   └── sheldon-lub.png80x80_q85_crop_subsampling-2.jpg │   └── fe │   └── 69 │   └── fe694225-2872-4cc7-9ca2-0dc6ccb9e782 │   ├── luc_filiatreault_profil.jpg160x160_q85_crop_subsampling-2.jpg │   ├── luc_filiatreault_profil.jpg16x16_q85_crop_subsampling-2_upscale.jpg │   ├── luc_filiatreault_profil.jpg180x180_q85_crop_subsampling-2_upscale.jpg │   ├── luc_filiatreault_profil.jpg210x0_q85_subsampling-2_upscale.jpg │   ├── luc_filiatreault_profil.jpg32x32_q85_crop_subsampling-2_upscale.jpg │   ├── luc_filiatreault_profil.jpg40x40_q85_crop_subsampling-2.jpg │   ├── luc_filiatreault_profil.jpg48x48_q85_crop_subsampling-2_upscale.jpg │   ├── luc_filiatreault_profil.jpg64x64_q85_crop_subsampling-2_upscale.jpg │   ├── luc_filiatreault_profil.jpg70x70_q85_crop_subsampling-2.jpg │   ├── luc_filiatreault_profil.jpg70x70_q85_subsampling-2.jpg │   └── luc_filiatreault_profil.jpg80x80_q85_crop_subsampling-2.jpg ├── hicham-media.jpg ├── image.png ├── image1.jpg ├── image_1.png ├── index.html └── sheldon-lub.png

421 directories, 539 files

something like this if you require the full tree I will add it...

prepstarr commented 6 months ago

how do I trace where the program is calling for the sites?

fsbraun commented 6 months ago

Not sure what you mean...

Coming back to my previous question: Can you try to get the bibeau.jpg file displayed in the browser, something like https://quebec.ca/media/bibeau.jpg.

Then do the same with a filer image: https://quebec.ca/media/filer/filer_public/04/29/0429109e-2d3e-411e-a014-4912d8cb9920/1641229238832.jpg

prepstarr commented 6 months ago

it's working again thank you very much... the issue was somehow the permissions on the folder media must have been changed somehow... so I changed it from 707 to 755..

image

fsbraun commented 6 months ago

@prepstarr What did solve it?