Erreur lors de l'importation de metadonnées ou d'images
PermissionError at /rp/article/edit/8123
[Errno 13] Permission denied: '/tmp/.newspaper_scraper/article_resources'
Request Method: GET
Request URL: https://rp.test.lqdn.fr/rp/article/edit/8123?fetch_content
Django Version: 2.2
Exception Type: PermissionError
Exception Value:
[Errno 13] Permission denied: '/tmp/.newspaper_scraper/article_resources'
Exception Location: /opt/rp/rp2/env/lib/python3.9/site-packages/newspaper/article.py in get_resource_path, line 387
Python Executable: /usr/bin/uwsgi-core
Python Version: 3.9.2
Python Path:
['.',
'',
'/usr/lib/python39.zip',
'/usr/lib/python3.9',
'/usr/lib/python3.9/lib-dynload',
'/opt/rp/rp2/env/lib/python3.9/site-packages',
'/opt/rp/rp2/env/src/sorl-thumbnail',
'/opt/rp/rp2/apps']
Server time: Thu, 30 Sep 2021 12:33:16 +0000
Lors de l'installation, il faut donner à rp
les droits sur le dossier /tmp/.newspaper_scraper
en lecture & écriture.