Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update tryton-server command #7

Open
pierre-malis-coopengo opened this issue Oct 28, 2019 · 0 comments
Open

Update tryton-server command #7

pierre-malis-coopengo opened this issue Oct 28, 2019 · 0 comments

Comments

@pierre-malis-coopengo
Copy link

On ubuntu distribution the command

trytond-admin -c Path/to/trytond.conf -d training -u MODULE_NAME

seems to have no effect ?

However, adding a -v argument seems to fix the problem :

(develop) coopengo@coopengo-ThinkPad-T490:~/Bureau/projects/training$ trytond-admin -c ~/Bureau/projects/training/trytond.conf -d training -u library
(develop) coopengo@coopengo-ThinkPad-T490:~/Bureau/projects/training$ trytond-admin -v -c ~/Bureau/projects/training/trytond.conf -d training -u library
3855 139952998561600 [2019-10-28 14:57:35,735] INFO trytond.backend.postgresql.database connect to "training"
3855 139952998561600 [2019-10-28 14:57:35,833] WARNING py.warnings /home/coopengo/.local/lib/python3.6/site-packages/trytond/wsgi.py:13: DeprecationWarning: The import 'werkzeug.wsgi.SharedDataMiddleware' is deprecated and will be removed in Werkzeug 1.0. Use 'from werkzeug.wsgi.middleware.shared_data import SharedDataMiddleware' instead.
  from werkzeug.wsgi import SharedDataMiddleware

3855 139952998561600 [2019-10-28 14:57:35,851] INFO trytond.modules ir:registering classes
3855 139952998561600 [2019-10-28 14:57:35,851] INFO trytond.modules res:registering classes
3855 139952998561600 [2019-10-28 14:57:35,851] INFO trytond.modules library:registering classes
3855 139952998561600 [2019-10-28 14:57:35,852] INFO trytond.modules tests:registering classes
3855 139952998561600 [2019-10-28 14:57:35,852] INFO trytond.pool init pool for "training"
3855 139952998561600 [2019-10-28 14:57:35,863] INFO trytond.modules ir
3855 139952998561600 [2019-10-28 14:57:35,863] INFO trytond.pool setup pool for "training"
3855 139952998561600 [2019-10-28 14:57:35,921] INFO trytond.modules res
3855 139952998561600 [2019-10-28 14:57:35,921] INFO trytond.pool setup pool for "training"
3855 139952998561600 [2019-10-28 14:57:35,941] INFO trytond.modules library
3855 139952998561600 [2019-10-28 14:57:35,941] INFO trytond.pool setup pool for "training"
3855 139952998561600 [2019-10-28 14:57:35,949] INFO trytond.modules library:register library.genre
3855 139952998561600 [2019-10-28 14:57:35,966] INFO trytond.modules library:register library.editor
3855 139952998561600 [2019-10-28 14:57:35,980] INFO trytond.modules library:register library.editor-library.genre
3855 139952998561600 [2019-10-28 14:57:36,001] INFO trytond.modules library:register library.author
3855 139952998561600 [2019-10-28 14:57:36,015] INFO trytond.modules library:register library.book
3855 139952998561600 [2019-10-28 14:57:36,044] INFO trytond.modules library:register library.book.exemplary
3855 139952998561600 [2019-10-28 14:57:36,061] INFO trytond.modules library:register library.book.create_exemplaries.parameters
3855 139952998561600 [2019-10-28 14:57:36,063] INFO trytond.modules library:register library.book.fuse.select_main
3855 139952998561600 [2019-10-28 14:57:36,065] INFO trytond.modules library:register library.book.fuse.preview
3855 139952998561600 [2019-10-28 14:57:36,067] INFO trytond.modules library:register library.book.create_exemplaries
3855 139952998561600 [2019-10-28 14:57:36,068] INFO trytond.modules library:register library.book.fuse
3855 139952998561600 [2019-10-28 14:57:36,071] INFO trytond.modules library:loading library.xml
3855 139952998561600 [2019-10-28 14:57:36,115] INFO trytond.modules library:loading wizard.xml
3855 139952998561600 [2019-10-28 14:57:36,133] INFO trytond.pool setup mixin for "training"
3855 139952998561600 [2019-10-28 14:57:36,134] INFO trytond.modules all modules loaded
(develop) coopengo@coopengo-ThinkPad-T490:~/Bureau/projects/training$ 

Alternatively the --dev argument might also be useful.

Look for theese pages and add a -v argument to the commands:

https://github.com/coopengo/tryton-training/wiki/5.0-step1

https://github.com/coopengo/tryton-training/wiki/5.0-step10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant