Hi guys, 

I made a disaster with pip install when I treid to install a new module...

I was stupid and I did not take backup, taking it for granted that I have 
the backup from last night. So I went ahead, and did pip install 
<modulename>. I did not realize I have to be careful and specify the 
version when installing a package. As soon as it was running, I realized 
that hell got loose  – without asking for confirmation pip upgraded the 
whole thing to 3.8 and started uninstalling the whole system:

 Found existing installation: trytond-sale 3.0.0
    Uninstalling trytond-sale:
      Successfully uninstalled trytond-sale
  Running setup.py install for trytond-sale
    
  Found existing installation: trytond-currency 3.0.0
    Uninstalling trytond-currency:
      Successfully uninstalled trytond-currency
  Running setup.py install for trytond-currency
  

As soon as I realized, I tried downgraded it back by doing "sudo pip 
install trytond==3.0.0" 
But after downgrading back to 3.0, I can't get trytond started. I think it 
completely f*ed up my installation. So now when I try to start tryrond I'm 
getting: 

Traceback (most recent call last): 
  File "/usr/local/bin/trytond", line 13, in <module> 
    import trytond 
ImportError: No module named trytond 

So then went to my backup disk, to realize that last backup had run couple 
of months back, due to error in script.
Anyhow, I hope the DB is intact, and I have all the files backed up since 
there was the last change few months back.

So this piece is here just for me to vent out my shock & frustration, and 
for all you as a yet another reminder to ensure you have the backups before 
messing up with anything.

-- 
You received this message because you are subscribed to the Google Groups 
"tryton" group.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tryton/8bf7e26c-3de6-452e-b342-7f9108a12d08%40googlegroups.com.

Reply via email to