Changes between Initial Version and Version 1 of Ticket #29980


Ignore:
Timestamp:
Nov 23, 2018, 8:15:15 AM (5 years ago)
Author:
Tim Graham
Comment:

I believe it's a regression in Python 3.6.7 and 3.7.1 which should be fixed in the next releases.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #29980

    • Property Resolutionwontfix
    • Property Status newclosed
    • Property Summary Error when running python manage.py collectstaticSuspiciousFileOperation when running collectstatic
  • Ticket #29980 – Description

    initial v1  
    55The strange thing is that I only get this error when my Python version is 3.7.1. I do not get the error if I change the standard interpreter version to 3.6.5 with the exact same dependencies? The method responsible for the exception appears only to be called when using python 3.7.1. Here is the stack (I have added print of the local variables base, base_path, and final_path inside the safe_join method):
    66
    7  
     7{{{
    88(oekonomistyring) P:\python\odk\oekonomistyring>python manage.py collectstatic
    99
     
    8989
    9090django.core.exceptions.SuspiciousFileOperation: The joined path (P:\python\odk\oekonomistyring\collectstatic\assets\css\custom_errors.css) is located outside of the base path component (P:\python\odk\oekonomistyring\collectstatic\)
     91}}}
Back to Top