Blog

Viewing posts for the category Python

Small script to find duplicate contact_mechanisms for parties in tryton

Just a little script to find duplicate contact_mechanism entries on parties in tryton (how i run tryton stuff using ipython and proteus):

fun little (import) progress display (command line) in python

So I wanted some sort of progress printed while my import into tryton runs .. I just had dots to start with .. not easy to keep track though.

ipython loading .py files to make interactive use of tryton faster

So I was busy testing tryton import scripts .. which means constantly re-setting my DB to clear it (deleting just takes 10 times longer than SQL restore)..

Tryton Proteus adding Notes

So after a bit of experimenting I now know how to add Notes to other objects (like Party) for example:

python virtualenv are awesome ;) [certbot]

So I was having a small issue on a server I cannot easily update where certbot was out of date and gave me this error: "Client with the currently selected authenticator does not support any combination of challenges that will satisfy the CA."
Took me a while due to some dependencies my last updates had skipped certbot and it was still quite old .. Digging around a bit I found out that the error I had might be fixed already. But without a good way to update it I was a bit stuck..
Then I remembered .. who said I had to use the system installed certbot.. so virtualenv to the rescue:

Recent Posts

Archive

2021
2020
2019
2018
2014
2012
2011
2010
2009
2008
2007

Categories

Authors

Feeds

RSS / Atom