You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
J'ai tenté une installation du module mais j'ai rencontré une erreur :
test@testdebian9:~/geonature$ source backend/venv/bin/activate
(venv) test@testdebian9:~/geonature$ geonature install_gn_module /home/test/gn_module_suivi_chiro-master/ suivi_chiro
/home/test/geonature/backend/venv/lib/python3.5/site-packages/psycopg2/__init__.py:144: UserWarning: The psycopg2 wheel pa ckage will be renamed from release 2.8; in order to keep installing from binary please use "pip install psycopg2-binary" i nstead. For details see: <http://initd.org/psycopg/docs/install.html#binary-install-from-pypi>.
""")
checking file
...ok
checking manifest
...ok
Checking file conformity
install_gn_module OK
backend/blueprint/blueprint.py OK
Config directory ...ok
...ok
No specific config file
import_requirements
...ok
run install_env.sh
run install_gn_module.py
Traceback (most recent call last):
File "/home/test/geonature/backend/geonature/core/command/create_gn_module.py", line 98, in install_gn_module
TModules.module_name == module_name
File "/home/test/geonature/backend/venv/lib/python3.5/site-packages/sqlalchemy/orm/query.py", line 2820, in one
raise orm_exc.NoResultFound("No row was found for one()")
sqlalchemy.orm.exc.NoResultFound: No row was found for one()
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/test/geonature/backend/venv/bin/geonature", line 3, in <module>
geonature.core.command.main()
File "/home/test/geonature/backend/venv/lib/python3.5/site-packages/click/core.py", line 722, in __call__
return self.main(*args, **kwargs)
File "/home/test/geonature/backend/venv/lib/python3.5/site-packages/click/core.py", line 697, in main
rv = self.invoke(ctx)
File "/home/test/geonature/backend/venv/lib/python3.5/site-packages/click/core.py", line 1066, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/test/geonature/backend/venv/lib/python3.5/site-packages/click/core.py", line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/test/geonature/backend/venv/lib/python3.5/site-packages/click/core.py", line 535, in invoke
return callback(*args, **kwargs)
File "/home/test/geonature/backend/geonature/core/command/create_gn_module.py", line 112, in install_gn_module
run_install_gn_module(app, module_path, module_name, url)
File "/home/test/geonature/backend/geonature/core/command/create_gn_module.py", line 208, in run_install_gn_module
gnmodule_install_app(DB, app)
File "/home/test/gn_module_suivi_chiro-master/install_gn_module.py", line 24, in gnmodule_install_app
cwd=gn_app.config['BASE_DIR']
File "/usr/lib/python3.5/subprocess.py", line 247, in call
with Popen(*popenargs, **kwargs) as p:
File "/usr/lib/python3.5/subprocess.py", line 676, in __init__
restore_signals, start_new_session)
File "/usr/lib/python3.5/subprocess.py", line 1205, in _execute_child
executable = os.fsencode(executable)
File "/home/test/geonature/backend/venv/lib/python3.5/os.py", line 862, in fsencode
raise TypeError("expect bytes or str, not %s" % type(filename).__name__)
TypeError: expect bytes or str, not PosixPath
The text was updated successfully, but these errors were encountered:
J'ai tenté une installation du module mais j'ai rencontré une erreur :
The text was updated successfully, but these errors were encountered: