Issue 2638

Allow updating `modules list` without updating modules
Nosy list
ced, coogor, jesteve, pokoli, reviewbot, roundup-bot, sharoon, vbastos, xcodinas
Assigned to

Created on 2012-06-02.13:22:07 by sharoon, last changed 60 months ago by roundup-bot.


New changeset 2ec548fc4fbb by Xavier Codinas in branch 'default':
Add option to update modules list
Author: [hidden] (xcodinas)
Date: 2016-06-29.11:25:32
Add issue26431002 that implements it
Author: [hidden] (coogor)
Date: 2013-07-12.13:49:23
ah, sorry, this issue is now over a year old...
It probably makes sense to open a new issue for my question

Sorry for this
Author: [hidden] (ced) Tryton committer Tryton translator
Date: 2013-07-12.13:47:18
@axxite Please don't change the assignation of issue!
Author: [hidden] (coogor)
Date: 2013-07-12.13:41:26
looks i stepped into this as well. when running 
trytond -d db_name -u all
I get the error message
linux-qpe9:/home/test # trytond -d test -u all
[Fri Jul 12 13:40:07 2013] INFO:server:using /etc/trytond.conf as configuration file
[Fri Jul 12 13:40:07 2013] INFO:server:initialising distributed objects services
[Fri Jul 12 13:40:07 2013] INFO:database:connect to "test"
Traceback (most recent call last):
  File "/usr/bin/trytond", line 109, in <module>
  File "/usr/lib/python2.7/site-packages/trytond/", line 102, in run
    database = Database(db_name).connect()
"/usr/lib/python2.7/site-packages/trytond/backend/postgresql/", line
61, in connect
    self._connpool = ThreadedConnectionPool(minconn, maxconn, dsn)
  File "/usr/lib/python2.7/site-packages/psycopg2/", line 156, in __init__
    self, minconn, maxconn, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/psycopg2/", line 58, in __init__
  File "/usr/lib/python2.7/site-packages/psycopg2/", line 62, in _connect
    conn = psycopg2.connect(*self._args, **self._kwargs)
  File "/usr/lib/python2.7/site-packages/psycopg2/", line 164, in connect
    conn = _connect(dsn, connection_factory=connection_factory, async=async)
psycopg2.OperationalError: FATAL:  Rolle »root« existiert nicht

-> it assumes that the server runs under user 'root'?
Of course ist does not, but user 'tryton', under which the server runs, is
no-login by default
Author: [hidden] (sharoon)
Date: 2012-06-28.08:53:58
A patch has been uploaded for review:
Author: [hidden] (sharoon)
Date: 2012-06-02.13:22:06
At the moment it is not possible to update the modules list in a database without 
upgrading at-least one module using `-u` / `--update` on the command line.

This is a proposal to have one more command line option `-m` / `--update-modules-
list` which updates the module graph without upgrading/installing any modules.
Date User Action Args
2016-07-07 09:44:35roundup-botsetstatus: in-progress -> resolved
nosy: + roundup-bot
messages: + msg26873
2016-07-05 11:00:19reviewbotsetmessages: + msg26749
2016-07-01 09:31:43reviewbotsetmessages: + msg26671
2016-06-29 18:02:36xcodinassetassignedto: sharoon -> xcodinas
2016-06-29 17:00:30reviewbotsetmessages: + msg26617
2016-06-29 11:30:17reviewbotsetnosy: + reviewbot
messages: + msg26602
2016-06-29 11:30:13reviewbotsetreviews: 26431002
keyword: + review
2016-06-29 11:25:32xcodinassetnosy: + xcodinas
messages: + msg26601
2016-01-18 12:07:50vbastossetnosy: + vbastos
2015-01-08 11:34:35pokolisetnosy: + pokoli

Showing 10 items. Show all history (warning: this could be VERY long)