Файл не найден при запуске django collectstatic с django pipeline

Вот мои настройки трубопровода:

STATIC_URL = '/static/'

STATIC_ROOT = SETTINGS_DIR + '/static/'

STATICFILES_DIRS = (
    os.path.join(BASE_DIR, "static_files"),
)

STATICFILES_STORAGE = 'pipeline.storage.PipelineManifestStorage'

STATICFILES_FINDERS = (
    'django.contrib.staticfiles.finders.FileSystemFinder',
    'django.contrib.staticfiles.finders.AppDirectoriesFinder',
    'pipeline.finders.PipelineFinder',
    'compressor.finders.CompressorFinder',
    'beautycall.finders.LeftoverPipelineFinder',
)

PIPELINE = {
    'JAVASCRIPT': {
        'main': {
            'source_filenames': (
                'bower/jquery/dist/jquery.min.js',
                'js/script.js',
            ),
            'output_filename': 'compiled/main_script.js',
        },
        'datetimepicker': {
            'source_filenames': (
                'bower/datetimepicker/jquery.datetimepicker.js',
            ),
            'output_filename': 'datetimepicker.js'
        },
        'typeahead': {
            'source_filenames': (
                'bower/typeahead.js/dist/bloodhound.js',
                'bower/typeahead.js/dist/typeahead.jquery.js',
            ),
            'output_filename': 'typeahead.js'
        },
        'remodal': {
            'source_filenames': (
                'bower/remodal/dist/remodal.min.js',
            ),
            'output_filename': 'remodal.js'
        }
    },
    'STYLESHEETS': {
        'main': {
            'source_filenames': (
                'css/style.scss',
                'css/fonts.css',
            ),
            'output_filename': 'compiled/main_stylesheet.css',
        },
        'datetimepicker': {
            'source_filenames': (
                'bower/datetimepicker/jquery.datetimepicker.css',
            ),
            'output_filename': 'compiled/jquery.datetimepicker.css'
        },
        'remodal': {
            'source_filenames': (
                'bower/remodal/dist/remodal.css',
                'bower/remodal/dist/remodal-default-theme.css'
            ),
            'output_filename': 'remodal.css'
        },
        'website': {
            'source_filenames': (
                'css/website/style.scss',
            ),
            'output_filename': 'compiled/website/style.css',
        }
    }
}

Выдает ошибку raise CompilerError(e, command=argument_list, pipeline.exceptions.CompilerError: [WinError 2] The system cannot find the file specified. При использовании пользовательского pipefinder трубопровод, похоже, пропускает все файлы в source_filenames. Я использую Windows и это не проблема, когда я пробую это в Linux OS, если это поможет.

При выполнении этого куска кода на django-pipeline возникает ошибка :

compiling = subprocess.Popen(argument_list, cwd=cwd,stdout=stdout,stderr=subprocess.PIPE, shell=False)

При ближайшем рассмотрении аргумент cwd кажется нормальным, но 3 из 4 аргументов в argument_list не существуют, когда я проверил его с помощью path.exist. Не знаю, должно ли так быть или нет, также я не знаю о subprocess.Popen

Любая помощь будет очень признательна. Спасибо

Вернуться на верх