2014/1/17 Albert Cervera i Areny <[email protected]>: > 2014/1/17 Cédric Krier <[email protected]>: >> On 17 Jan 00:49, Albert Cervera i Areny wrote: >>> 2014/1/16 Cédric Krier <[email protected]>: >>> > On 16 Jan 21:17, Axel Braun wrote: >>> >> Am Donnerstag, 16. Januar 2014, 21:11:17 schrieb Cédric Krier: >>> >> > On 16 Jan 20:28, Axel Braun wrote: >>> >> > But a simple script fecthing email addresses from the database and >>> >> > sending email is thousand times better than anything that can be >>> >> > developped withing Tryton because Tryton is not the right tool. >>> >> > A similar script already exists in [1]. >>> >> >>> >> Is there a functional description to this script? I can hardly judge >>> >> what it >>> >> should do.... >>> > >>> > Yes the docstring on top. But it is not what you are looking for, it is >>> > just an example how to write a script to send email with data from >>> > Tryton. And especially how it is short and easy. >>> > >>> >> > > I will write a functional design in Wiki, feel free to add to it >>> >> > >>> >> > I hardly doubt it will ever be included in Tryton, because it is just a >>> >> > duplication of existing proved technology. Many people tried to replace >>> >> > email and no one ever succeeded (even Google). >>> >> >>> >> Once again, the purpose is not to replace EMail. Email is in fact the >>> >> wrong >>> >> medium to inform a user. >>> > >>> > Whoa ! First time I hear that. You should inform everybody in the IT >>> > world because you know, they all use email to inform users. >>> >>> I only understand this is useful if stopping of the server could not >>> be planned hours or days in advance. I think the point is to try to >>> avoid users from loosing their work due to a need for shutting down >>> the server. So, you announce all of those that are working right now >>> that they have 5 minutes to save their work before the server is >>> restarted. >> >> Anyone doing such thing should be banned from adminstrating any service. >> >>> In this case e-mail does not solve the issue, but the popup does not >>> ensure everyone will save their changes because they may have left the >>> client opened for a few minutes. Maybe educating the user not to close >>> the application if they receive a network error or simply improving >>> the network error message would do the job in this case. >>> >>> Currently the message is: >>> >>> Network Error! >>> (111, 'Connection refused') >>> >>> The description is very ugly, not very helpful, and we show the error >>> number and "Connection refused" message. We could improve it by >>> telling the user something like: >>> >>> "There's been a network error trying to contact the Tryton Server. >>> Please, contact the system administrator to solve the issue and do not >>> close the application in order to avoid losing changes." >> >> Useless, it should never happens. > > Well, network connection can be lost. Maybe the user is in a laptop or > the network went down. Being somewhat more smart in such cases I don't > think it does any harm.
+1 A - Server trytond is reboot and down or never restart B - router lost connection to exterior C- Internal network is down D- A hourse has eaten your router (why not?)
