Revue de Press issueshttps://git.laquadrature.net/la-quadrature-du-net/rpteam/rp/-/issues2023-10-03T10:19:58+02:00https://git.laquadrature.net/la-quadrature-du-net/rpteam/rp/-/issues/74Le filtre markdown génère l'erreur "NoneType found" à cause d'extraits d'arti...2023-10-03T10:19:58+02:00mcorneLe filtre markdown génère l'erreur "NoneType found" à cause d'extraits d'article nulsVoir ligne 187 dans apps/rp/template/rp/article_list_public.html `{{ article.extracts |markdown }}`
```
Environment:
Request Method: GET
Request URL: http://127.0.0.1:8000/rp/
Django Version: 2.2
Python Version: 3.9.2
Installed Appli...Voir ligne 187 dans apps/rp/template/rp/article_list_public.html `{{ article.extracts |markdown }}`
```
Environment:
Request Method: GET
Request URL: http://127.0.0.1:8000/rp/
Django Version: 2.2
Python Version: 3.9.2
Installed Applications:
['django.contrib.admin',
'django.contrib.auth',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'django.contrib.contenttypes',
'django.contrib.sites',
'django_extensions',
'rest_framework',
'rest_framework.authtoken',
'taggit',
'taggit_serializer',
'crispy_forms',
'django_markdown2',
'sorl.thumbnail',
'allauth',
'allauth.account',
'allauth.socialaccount',
'django_fsm',
'debug_toolbar',
'userprofile',
'core',
'rp']
Installed Middleware:
['django.middleware.security.SecurityMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.locale.LocaleMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware',
'debug_toolbar.middleware.DebugToolbarMiddleware']
Template error:
In template /home/michel/rp/templates/base.html, error at line 0
decoding to str: need a bytes-like object, NoneType found
1 : {% load static %}
2 : {% load i18n %}
3 : <!DOCTYPE html>
4 : <!-- Header -->
5 : <html>
6 : <head>
7 : <title>Revue de presse de La Quadrature du Net</title>
8 : <meta charset="utf-8" />
9 : <meta name="author" content="La Quadrature du Net" />
10 : <meta name="viewport" content="width=device-width, initial-scale=1.0" />
Traceback:
File "/home/michel/rp/.env/lib/python3.9/site-packages/django/core/handlers/exception.py" in inner
34. response = get_response(request)
File "/home/michel/rp/.env/lib/python3.9/site-packages/django/core/handlers/base.py" in _get_response
145. response = self.process_exception_by_middleware(e, request)
File "/home/michel/rp/.env/lib/python3.9/site-packages/django/core/handlers/base.py" in _get_response
143. response = response.render()
File "/home/michel/rp/.env/lib/python3.9/site-packages/django/template/response.py" in render
106. self.content = self.rendered_content
File "/home/michel/rp/.env/lib/python3.9/site-packages/django/template/response.py" in rendered_content
83. content = template.render(context, self._request)
File "/home/michel/rp/.env/lib/python3.9/site-packages/django/template/backends/django.py" in render
61. return self.template.render(context)
File "/home/michel/rp/.env/lib/python3.9/site-packages/django/template/base.py" in render
171. return self._render(context)
File "/home/michel/rp/.env/lib/python3.9/site-packages/django/test/utils.py" in instrumented_test_render
96. return self.nodelist.render(context)
File "/home/michel/rp/.env/lib/python3.9/site-packages/django/template/base.py" in render
937. bit = node.render_annotated(context)
File "/home/michel/rp/.env/lib/python3.9/site-packages/django/template/base.py" in render_annotated
904. return self.render(context)
File "/home/michel/rp/.env/lib/python3.9/site-packages/django/template/loader_tags.py" in render
150. return compiled_parent._render(context)
File "/home/michel/rp/.env/lib/python3.9/site-packages/django/test/utils.py" in instrumented_test_render
96. return self.nodelist.render(context)
File "/home/michel/rp/.env/lib/python3.9/site-packages/django/template/base.py" in render
937. bit = node.render_annotated(context)
File "/home/michel/rp/.env/lib/python3.9/site-packages/django/template/base.py" in render_annotated
904. return self.render(context)
File "/home/michel/rp/.env/lib/python3.9/site-packages/django/template/loader_tags.py" in render
62. result = block.nodelist.render(context)
File "/home/michel/rp/.env/lib/python3.9/site-packages/django/template/base.py" in render
937. bit = node.render_annotated(context)
File "/home/michel/rp/.env/lib/python3.9/site-packages/django/template/base.py" in render_annotated
904. return self.render(context)
File "/home/michel/rp/.env/lib/python3.9/site-packages/django/template/defaulttags.py" in render
209. nodelist.append(node.render_annotated(context))
File "/home/michel/rp/.env/lib/python3.9/site-packages/django/template/base.py" in render_annotated
904. return self.render(context)
File "/home/michel/rp/.env/lib/python3.9/site-packages/django/template/base.py" in render
987. output = self.filter_expression.resolve(context)
File "/home/michel/rp/.env/lib/python3.9/site-packages/django/template/base.py" in resolve
698. new_obj = func(obj, *arg_vals)
File "/home/michel/rp/.env/lib/python3.9/site-packages/django_markdown2/templatetags/md2.py" in markdown
62. return mark_safe(markdown2.markdown(force_unicode(value), extras=extras, safe_mode=safe_mode))
File "/home/michel/rp/.env/lib/python3.9/site-packages/markdown2.py" in markdown
179. return Markdown(html4tags=html4tags, tab_width=tab_width,
File "/home/michel/rp/.env/lib/python3.9/site-packages/markdown2.py" in convert
312. text = unicode(text, 'utf-8')
Exception Type: TypeError at /rp/
Exception Value: decoding to str: need a bytes-like object, NoneType found
```https://git.laquadrature.net/la-quadrature-du-net/rpteam/rp/-/issues/72KeyError: 'und_score_up' lors du chargement des fixures loaddata all_articles...2021-09-03T13:27:35+02:00mcorneKeyError: 'und_score_up' lors du chargement des fixures loaddata all_articles.jsonnoter que le fichier `apps/rp/fixtures/all_articles.json` est géré via git-lfs
je n'ai pas trouvé d'autre moyen que de le décharger avant de lancer `python manage.py loaddata all_articles.json` qui retourne KeyError: 'und_score_up'
l...noter que le fichier `apps/rp/fixtures/all_articles.json` est géré via git-lfs
je n'ai pas trouvé d'autre moyen que de le décharger avant de lancer `python manage.py loaddata all_articles.json` qui retourne KeyError: 'und_score_up'
le fichier all_articles.json contient les clés und_score_up et und_score_down qui n'existent pas/plus dans la table rp_article
voir le détail dans [erreur_chargement_fixtures.txt](/uploads/86eee379ce60c6bf33c621e7bf6ad06a/erreur_chargement_fixtures.txt)https://git.laquadrature.net/la-quadrature-du-net/rpteam/rp/-/issues/70Error: Cannot find module 'webpack-cli/package.json'2021-09-30T13:01:48+02:00mcorneError: Cannot find module 'webpack-cli/package.json'Impossible d'installer webpack sur debian 11.0 (WSL).
```bash
sudo apt install nodejs npm
sudo npm install -g yarn webpack
yarn install
webpack
```
```
Error: Cannot find module 'webpack-cli/package.json'
Require stack:
- /usr/local/lib...Impossible d'installer webpack sur debian 11.0 (WSL).
```bash
sudo apt install nodejs npm
sudo npm install -g yarn webpack
yarn install
webpack
```
```
Error: Cannot find module 'webpack-cli/package.json'
Require stack:
- /usr/local/lib/node_modules/webpack/bin/webpack.js
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:815:15)
at Function.resolve (internal/modules/cjs/helpers.js:80:19)
at runCli (/usr/local/lib/node_modules/webpack/bin/webpack.js:65:26)
at /usr/local/lib/node_modules/webpack/bin/webpack.js:154:5
at processTicksAndRejections (internal/process/task_queues.js:97:5) {
code: 'MODULE_NOT_FOUND',
requireStack: [ '/usr/local/lib/node_modules/webpack/bin/webpack.js' ]
}
```
Voir le détail dans [erreur_installation_webpack.txt](/uploads/09d8c2fe96bb95b1a03f5689251cc807/erreur_installation_webpack.txt)https://git.laquadrature.net/la-quadrature-du-net/rpteam/rp/-/issues/69Problème lors de l'installation d'url2021-09-30T13:02:40+02:00AiléProblème lors de l'installation d'urlProblème lors de l'installation d'url avec pip3 install
```C
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-z6wga6gd/url/setup....Problème lors de l'installation d'url avec pip3 install
```C
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-z6wga6gd/url/setup.py'"'"'; __file__='"'"'/tmp/pip-install-z6wga6gd/url/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-bn5zjun4
cwd: /tmp/pip-install-z6wga6gd/url/
Complete output (258 lines):
Building from C++
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.8
creating build/lib.linux-x86_64-3.8/url
copying url/__init__.py -> build/lib.linux-x86_64-3.8/url
creating build/lib.linux-x86_64-3.8/url/psl
copying url/psl/2016-08-16.psl -> build/lib.linux-x86_64-3.8/url/psl
running build_ext
building 'url.url' extension
creating build/temp.linux-x86_64-3.8
creating build/temp.linux-x86_64-3.8/url
creating build/temp.linux-x86_64-3.8/url/url-cpp
creating build/temp.linux-x86_64-3.8/url/url-cpp/src
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Iurl/url-cpp/include -I/usr/include/python3.8 -c url/url-cpp/src/url.cpp -o build/temp.linux-x86_64-3.8/url/url-cpp/src/url.o -std=c++11
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Iurl/url-cpp/include -I/usr/include/python3.8 -c url/url-cpp/src/utf8.cpp -o build/temp.linux-x86_64-3.8/url/url-cpp/src/utf8.o -std=c++11
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Iurl/url-cpp/include -I/usr/include/python3.8 -c url/url-cpp/src/punycode.cpp -o build/temp.linux-x86_64-3.8/url/url-cpp/src/punycode.o -std=c++11
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Iurl/url-cpp/include -I/usr/include/python3.8 -c url/url-cpp/src/psl.cpp -o build/temp.linux-x86_64-3.8/url/url-cpp/src/psl.o -std=c++11
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Iurl/url-cpp/include -I/usr/include/python3.8 -c url/url.cpp -o build/temp.linux-x86_64-3.8/url/url.o -std=c++11
url/url.cpp: In function ‘PyObject* PyInit_url()’:
url/url.cpp:10054:34: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
10054 | __pyx_type_3url_3url_StringURL.tp_print = 0;
| ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
from /usr/include/python3.8/pytime.h:6,
from /usr/include/python3.8/Python.h:85,
from url/url.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
260 | Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
| ^~~~~~~~
url/url.cpp:10054:34: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
10054 | __pyx_type_3url_3url_StringURL.tp_print = 0;
| ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
from /usr/include/python3.8/pytime.h:6,
from /usr/include/python3.8/Python.h:85,
from url/url.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
260 | Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
| ^~~~~~~~
url/url.cpp:10054:34: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
10054 | __pyx_type_3url_3url_StringURL.tp_print = 0;
| ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
from /usr/include/python3.8/pytime.h:6,
from /usr/include/python3.8/Python.h:85,
from url/url.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
260 | Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
| ^~~~~~~~
url/url.cpp:10059:35: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
10059 | __pyx_type_3url_3url_UnicodeURL.tp_print = 0;
| ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
from /usr/include/python3.8/pytime.h:6,
from /usr/include/python3.8/Python.h:85,
from url/url.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
260 | Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
| ^~~~~~~~
url/url.cpp:10059:35: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
10059 | __pyx_type_3url_3url_UnicodeURL.tp_print = 0;
| ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
from /usr/include/python3.8/pytime.h:6,
from /usr/include/python3.8/Python.h:85,
from url/url.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
260 | Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
| ^~~~~~~~
url/url.cpp:10059:35: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
10059 | __pyx_type_3url_3url_UnicodeURL.tp_print = 0;
| ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
from /usr/include/python3.8/pytime.h:6,
from /usr/include/python3.8/Python.h:85,
from url/url.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
260 | Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
| ^~~~~~~~
url/url.cpp:10063:52: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
10063 | __pyx_type_3url_3url___pyx_scope_struct__deparam.tp_print = 0;
| ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
from /usr/include/python3.8/pytime.h:6,
from /usr/include/python3.8/Python.h:85,
from url/url.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
260 | Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
| ^~~~~~~~
url/url.cpp:10063:52: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
10063 | __pyx_type_3url_3url___pyx_scope_struct__deparam.tp_print = 0;
| ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
from /usr/include/python3.8/pytime.h:6,
from /usr/include/python3.8/Python.h:85,
from url/url.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
260 | Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
| ^~~~~~~~
url/url.cpp:10063:52: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
10063 | __pyx_type_3url_3url___pyx_scope_struct__deparam.tp_print = 0;
| ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
from /usr/include/python3.8/pytime.h:6,
from /usr/include/python3.8/Python.h:85,
from url/url.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
260 | Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
| ^~~~~~~~
url/url.cpp:10066:53: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
10066 | __pyx_type_3url_3url___pyx_scope_struct_1_genexpr.tp_print = 0;
| ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
from /usr/include/python3.8/pytime.h:6,
from /usr/include/python3.8/Python.h:85,
from url/url.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
260 | Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
| ^~~~~~~~
url/url.cpp:10066:53: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
10066 | __pyx_type_3url_3url___pyx_scope_struct_1_genexpr.tp_print = 0;
| ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
from /usr/include/python3.8/pytime.h:6,
from /usr/include/python3.8/Python.h:85,
from url/url.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
260 | Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
| ^~~~~~~~
url/url.cpp:10066:53: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
10066 | __pyx_type_3url_3url___pyx_scope_struct_1_genexpr.tp_print = 0;
| ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
from /usr/include/python3.8/pytime.h:6,
from /usr/include/python3.8/Python.h:85,
from url/url.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
260 | Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
| ^~~~~~~~
url/url.cpp:10069:59: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
10069 | __pyx_type_3url_3url___pyx_scope_struct_2_filter_params.tp_print = 0;
| ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
from /usr/include/python3.8/pytime.h:6,
from /usr/include/python3.8/Python.h:85,
from url/url.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
260 | Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
| ^~~~~~~~
url/url.cpp:10069:59: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
10069 | __pyx_type_3url_3url___pyx_scope_struct_2_filter_params.tp_print = 0;
| ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
from /usr/include/python3.8/pytime.h:6,
from /usr/include/python3.8/Python.h:85,
from url/url.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
260 | Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
| ^~~~~~~~
url/url.cpp:10069:59: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
10069 | __pyx_type_3url_3url___pyx_scope_struct_2_filter_params.tp_print = 0;
| ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
from /usr/include/python3.8/pytime.h:6,
from /usr/include/python3.8/Python.h:85,
from url/url.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
260 | Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
| ^~~~~~~~
url/url.cpp:10072:53: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
10072 | __pyx_type_3url_3url___pyx_scope_struct_3_genexpr.tp_print = 0;
| ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
from /usr/include/python3.8/pytime.h:6,
from /usr/include/python3.8/Python.h:85,
from url/url.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
260 | Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
| ^~~~~~~~
url/url.cpp:10072:53: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
10072 | __pyx_type_3url_3url___pyx_scope_struct_3_genexpr.tp_print = 0;
| ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
from /usr/include/python3.8/pytime.h:6,
from /usr/include/python3.8/Python.h:85,
from url/url.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
260 | Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
| ^~~~~~~~
url/url.cpp:10072:53: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
10072 | __pyx_type_3url_3url___pyx_scope_struct_3_genexpr.tp_print = 0;
| ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
from /usr/include/python3.8/pytime.h:6,
from /usr/include/python3.8/Python.h:85,
from url/url.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
260 | Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
| ^~~~~~~~
url/url.cpp:10075:53: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
10075 | __pyx_type_3url_3url___pyx_scope_struct_4_genexpr.tp_print = 0;
| ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
from /usr/include/python3.8/pytime.h:6,
from /usr/include/python3.8/Python.h:85,
from url/url.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
260 | Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
| ^~~~~~~~
url/url.cpp:10075:53: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
10075 | __pyx_type_3url_3url___pyx_scope_struct_4_genexpr.tp_print = 0;
| ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
from /usr/include/python3.8/pytime.h:6,
from /usr/include/python3.8/Python.h:85,
from url/url.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
260 | Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
| ^~~~~~~~
url/url.cpp:10075:53: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
10075 | __pyx_type_3url_3url___pyx_scope_struct_4_genexpr.tp_print = 0;
| ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
from /usr/include/python3.8/pytime.h:6,
from /usr/include/python3.8/Python.h:85,
from url/url.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
260 | Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
| ^~~~~~~~
url/url.cpp: In function ‘void __Pyx__ExceptionSwap(PyThreadState*, PyObject**, PyObject**, PyObject**)’:
url/url.cpp:12497:24: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
12497 | tmp_type = tstate->exc_type;
| ^~~~~~~~
| curexc_type
url/url.cpp:12498:25: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
12498 | tmp_value = tstate->exc_value;
| ^~~~~~~~~
| curexc_value
url/url.cpp:12499:22: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
12499 | tmp_tb = tstate->exc_traceback;
| ^~~~~~~~~~~~~
| curexc_traceback
url/url.cpp:12500:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
12500 | tstate->exc_type = *type;
| ^~~~~~~~
| curexc_type
url/url.cpp:12501:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
12501 | tstate->exc_value = *value;
| ^~~~~~~~~
| curexc_value
url/url.cpp:12502:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
12502 | tstate->exc_traceback = *tb;
| ^~~~~~~~~~~~~
| curexc_traceback
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
----------------------------------------
ERROR: Failed building wheel for url
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-z6wga6gd/url/setup.py'"'"'; __file__='"'"'/tmp/pip-install-z6wga6gd/url/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-7uoqmoxd/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/include/python3.8/url
cwd: /tmp/pip-install-z6wga6gd/url/
Complete output (258 lines):
Building from C++
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.8
creating build/lib.linux-x86_64-3.8/url
copying url/__init__.py -> build/lib.linux-x86_64-3.8/url
creating build/lib.linux-x86_64-3.8/url/psl
copying url/psl/2016-08-16.psl -> build/lib.linux-x86_64-3.8/url/psl
running build_ext
building 'url.url' extension
creating build/temp.linux-x86_64-3.8
creating build/temp.linux-x86_64-3.8/url
creating build/temp.linux-x86_64-3.8/url/url-cpp
creating build/temp.linux-x86_64-3.8/url/url-cpp/src
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Iurl/url-cpp/include -I/usr/include/python3.8 -c url/url-cpp/src/url.cpp -o build/temp.linux-x86_64-3.8/url/url-cpp/src/url.o -std=c++11
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Iurl/url-cpp/include -I/usr/include/python3.8 -c url/url-cpp/src/utf8.cpp -o build/temp.linux-x86_64-3.8/url/url-cpp/src/utf8.o -std=c++11
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Iurl/url-cpp/include -I/usr/include/python3.8 -c url/url-cpp/src/punycode.cpp -o build/temp.linux-x86_64-3.8/url/url-cpp/src/punycode.o -std=c++11
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Iurl/url-cpp/include -I/usr/include/python3.8 -c url/url-cpp/src/psl.cpp -o build/temp.linux-x86_64-3.8/url/url-cpp/src/psl.o -std=c++11
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Iurl/url-cpp/include -I/usr/include/python3.8 -c url/url.cpp -o build/temp.linux-x86_64-3.8/url/url.o -std=c++11
url/url.cpp: In function ‘PyObject* PyInit_url()’:
url/url.cpp:10054:34: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
10054 | __pyx_type_3url_3url_StringURL.tp_print = 0;
| ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
from /usr/include/python3.8/pytime.h:6,
from /usr/include/python3.8/Python.h:85,
from url/url.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
260 | Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
| ^~~~~~~~
url/url.cpp:10054:34: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
10054 | __pyx_type_3url_3url_StringURL.tp_print = 0;
| ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
from /usr/include/python3.8/pytime.h:6,
from /usr/include/python3.8/Python.h:85,
from url/url.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
260 | Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
| ^~~~~~~~
url/url.cpp:10054:34: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
10054 | __pyx_type_3url_3url_StringURL.tp_print = 0;
| ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
from /usr/include/python3.8/pytime.h:6,
from /usr/include/python3.8/Python.h:85,
from url/url.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
260 | Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
| ^~~~~~~~
url/url.cpp:10059:35: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
10059 | __pyx_type_3url_3url_UnicodeURL.tp_print = 0;
| ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
from /usr/include/python3.8/pytime.h:6,
from /usr/include/python3.8/Python.h:85,
from url/url.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
260 | Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
| ^~~~~~~~
url/url.cpp:10059:35: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
10059 | __pyx_type_3url_3url_UnicodeURL.tp_print = 0;
| ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
from /usr/include/python3.8/pytime.h:6,
from /usr/include/python3.8/Python.h:85,
from url/url.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
260 | Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
| ^~~~~~~~
url/url.cpp:10059:35: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
10059 | __pyx_type_3url_3url_UnicodeURL.tp_print = 0;
| ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
from /usr/include/python3.8/pytime.h:6,
from /usr/include/python3.8/Python.h:85,
from url/url.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
260 | Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
| ^~~~~~~~
url/url.cpp:10063:52: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
10063 | __pyx_type_3url_3url___pyx_scope_struct__deparam.tp_print = 0;
| ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
from /usr/include/python3.8/pytime.h:6,
from /usr/include/python3.8/Python.h:85,
from url/url.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
260 | Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
| ^~~~~~~~
url/url.cpp:10063:52: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
10063 | __pyx_type_3url_3url___pyx_scope_struct__deparam.tp_print = 0;
| ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
from /usr/include/python3.8/pytime.h:6,
from /usr/include/python3.8/Python.h:85,
from url/url.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
260 | Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
| ^~~~~~~~
url/url.cpp:10063:52: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
10063 | __pyx_type_3url_3url___pyx_scope_struct__deparam.tp_print = 0;
| ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
from /usr/include/python3.8/pytime.h:6,
from /usr/include/python3.8/Python.h:85,
from url/url.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
260 | Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
| ^~~~~~~~
url/url.cpp:10066:53: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
10066 | __pyx_type_3url_3url___pyx_scope_struct_1_genexpr.tp_print = 0;
| ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
from /usr/include/python3.8/pytime.h:6,
from /usr/include/python3.8/Python.h:85,
from url/url.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
260 | Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
| ^~~~~~~~
url/url.cpp:10066:53: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
10066 | __pyx_type_3url_3url___pyx_scope_struct_1_genexpr.tp_print = 0;
| ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
from /usr/include/python3.8/pytime.h:6,
from /usr/include/python3.8/Python.h:85,
from url/url.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
260 | Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
| ^~~~~~~~
url/url.cpp:10066:53: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
10066 | __pyx_type_3url_3url___pyx_scope_struct_1_genexpr.tp_print = 0;
| ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
from /usr/include/python3.8/pytime.h:6,
from /usr/include/python3.8/Python.h:85,
from url/url.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
260 | Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
| ^~~~~~~~
url/url.cpp:10069:59: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
10069 | __pyx_type_3url_3url___pyx_scope_struct_2_filter_params.tp_print = 0;
| ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
from /usr/include/python3.8/pytime.h:6,
from /usr/include/python3.8/Python.h:85,
from url/url.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
260 | Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
| ^~~~~~~~
url/url.cpp:10069:59: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
10069 | __pyx_type_3url_3url___pyx_scope_struct_2_filter_params.tp_print = 0;
| ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
from /usr/include/python3.8/pytime.h:6,
from /usr/include/python3.8/Python.h:85,
from url/url.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
260 | Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
| ^~~~~~~~
url/url.cpp:10069:59: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
10069 | __pyx_type_3url_3url___pyx_scope_struct_2_filter_params.tp_print = 0;
| ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
from /usr/include/python3.8/pytime.h:6,
from /usr/include/python3.8/Python.h:85,
from url/url.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
260 | Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
| ^~~~~~~~
url/url.cpp:10072:53: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
10072 | __pyx_type_3url_3url___pyx_scope_struct_3_genexpr.tp_print = 0;
| ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
from /usr/include/python3.8/pytime.h:6,
from /usr/include/python3.8/Python.h:85,
from url/url.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
260 | Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
| ^~~~~~~~
url/url.cpp:10072:53: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
10072 | __pyx_type_3url_3url___pyx_scope_struct_3_genexpr.tp_print = 0;
| ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
from /usr/include/python3.8/pytime.h:6,
from /usr/include/python3.8/Python.h:85,
from url/url.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
260 | Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
| ^~~~~~~~
url/url.cpp:10072:53: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
10072 | __pyx_type_3url_3url___pyx_scope_struct_3_genexpr.tp_print = 0;
| ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
from /usr/include/python3.8/pytime.h:6,
from /usr/include/python3.8/Python.h:85,
from url/url.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
260 | Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
| ^~~~~~~~
url/url.cpp:10075:53: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
10075 | __pyx_type_3url_3url___pyx_scope_struct_4_genexpr.tp_print = 0;
| ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
from /usr/include/python3.8/pytime.h:6,
from /usr/include/python3.8/Python.h:85,
from url/url.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
260 | Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
| ^~~~~~~~
url/url.cpp:10075:53: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
10075 | __pyx_type_3url_3url___pyx_scope_struct_4_genexpr.tp_print = 0;
| ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
from /usr/include/python3.8/pytime.h:6,
from /usr/include/python3.8/Python.h:85,
from url/url.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
260 | Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
| ^~~~~~~~
url/url.cpp:10075:53: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
10075 | __pyx_type_3url_3url___pyx_scope_struct_4_genexpr.tp_print = 0;
| ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
from /usr/include/python3.8/pytime.h:6,
from /usr/include/python3.8/Python.h:85,
from url/url.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
260 | Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
| ^~~~~~~~
url/url.cpp: In function ‘void __Pyx__ExceptionSwap(PyThreadState*, PyObject**, PyObject**, PyObject**)’:
url/url.cpp:12497:24: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
12497 | tmp_type = tstate->exc_type;
| ^~~~~~~~
| curexc_type
url/url.cpp:12498:25: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
12498 | tmp_value = tstate->exc_value;
| ^~~~~~~~~
| curexc_value
url/url.cpp:12499:22: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
12499 | tmp_tb = tstate->exc_traceback;
| ^~~~~~~~~~~~~
| curexc_traceback
url/url.cpp:12500:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
12500 | tstate->exc_type = *type;
| ^~~~~~~~
| curexc_type
url/url.cpp:12501:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
12501 | tstate->exc_value = *value;
| ^~~~~~~~~
| curexc_value
url/url.cpp:12502:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
12502 | tstate->exc_traceback = *tb;
| ^~~~~~~~~~~~~
| curexc_traceback
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
----------------------------------------
ERROR: Command errored out with exit status 1: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-z6wga6gd/url/setup.py'"'"'; __file__='"'"'/tmp/pip-install-z6wga6gd/url/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-7uoqmoxd/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/include/python3.8/url Check the logs for full command output.
```https://git.laquadrature.net/la-quadrature-du-net/rpteam/rp/-/issues/68Installation du packet python django_debug_toolbar et url2021-09-30T13:03:09+02:00nonoInstallation du packet python django_debug_toolbar et urlLors de mes tests, je n&#39;ai pas réussit à installer le site en suivant les instructions.
J&#39;ai dû en plus, faire :
- Une installation de `url`
- Cloner de le dépôt git `https://github.com/seomoz/url-py/`
- Cloner les sous mo...Lors de mes tests, je n'ai pas réussit à installer le site en suivant les instructions.
J'ai dû en plus, faire :
- Une installation de `url`
- Cloner de le dépôt git `https://github.com/seomoz/url-py/`
- Cloner les sous modules `git submodule update --init --recursive`
- Installer avec `pip install .`
- Installer webpack avec `npm install` directement dans le dossier racien du projet
- Installer `django_debug_toolbar` avec pip.https://git.laquadrature.net/la-quadrature-du-net/rpteam/rp/-/issues/43erreur à l'installation2019-04-30T16:33:16+02:00piks3lerreur à l'installationyo!
j'ai une erreur à l'installation:
`python manage.py init_groups` me donne :
```
return Database.Cursor.execute(self, query, params)
sqlite3.OperationalError: no such table: auth_group
```
Je sais pas trop comment régler ça, un peu ...yo!
j'ai une erreur à l'installation:
`python manage.py init_groups` me donne :
```
return Database.Cursor.execute(self, query, params)
sqlite3.OperationalError: no such table: auth_group
```
Je sais pas trop comment régler ça, un peu d'aide sera bienvenue :D
merci!https://git.laquadrature.net/la-quadrature-du-net/rpteam/rp/-/issues/25Erreur sur création de profil2019-03-13T13:59:06+01:00MindiellErreur sur création de profilhttps://git.laquadrature.net/la-quadrature-du-net/rpteam/rp/-/issues/3Prendre en compte la liste des TODO2017-04-22T13:42:18+02:00MindiellPrendre en compte la liste des TODOAprès avoir lu une partie du contenu des fichiers de /rp, j'ai rajouté beaucoup de TODO. Il faut maintenant en tenir compte :
* config.php:// TODO: Deux connexions à la base ?
* functions.php: // TODO : probleme lors du RAISE : il l...Après avoir lu une partie du contenu des fichiers de /rp, j'ai rajouté beaucoup de TODO. Il faut maintenant en tenir compte :
* config.php:// TODO: Deux connexions à la base ?
* functions.php: // TODO : probleme lors du RAISE : il lance un "log" donc fait un mysql insert !!!
* functions.php: TODO : ajouter un paramètre class pour les balises html A.
* functions.php:// TODO : surveiller et remonter si besoin.
* importTitrePi.php: // TODO: S'il y en a plusieurs, on ne crée les titres d'article qu'un par un...
* importTitrePi.php: // TODO: pour éviter les blocages, il faudrait avoir un timeout là-dessus
* importTitrePi.php: // TODO: Pourquoi on ne fait pas la même chose lors des erreurs d'ouverture plus bas ?
* importTitrePi.php: // TODO: Cette partie passe la première lettre de chaque mot en majuscule de manière crade...
* importTitrePi.php: // TODO: Ici, on finit avec un titre vide, on va donc bloquer sur cet article indéfiniment...
* importTitrePi.php: // TODO: Pourquoi faire un echo ici ? Ça finit par s'afficher sur la page web...
* index.php://TODO: non utilisé !
* index.php://TODO: non utilisé !
* index.php:// TODO: non utilisé !
* index.php:// TODO: même commande plus bas : inutile ici
* index.php:// TODO: Voir ce que signifient exactement ces champs...
* index.php:// TODO: Globalement, refaire le html au propre, a minima que le code html soit clair
* index.php:<!-- TODO: Commande php ci-dessous effectuée quand même, à nettoyer -->
* index.php:// TODO: Risque d'injection SQL ?
* index.php:// TODO: Pourquoi la requête n'est pas construite plus haut dans le script ? Ça serait plus propre
* index.php:// TODO: published n'est pas vérifié dans les valeurs passées en requête en début de script
* index.php:// TODO: Que signifie une note à 7 ?
* index.php:// TODO: le nombre d'articles forcé n'est pas cohérent avec le nombre par défaut
* index.php:// TODO: offset n'est pas vérifié dans les valeurs passées en requête en début de script
* index.php:// TODO: La variable count n'est pas prise en compte ici...
* index.php:<!-- TODO: Définir à quoi sert ceci -->
* style.css:.TODO-ACODER {