selfdelete pycharm during the update

I had used pycharm 2019.1 community on linuxmint 18.2.

Pycharm had proposed update to 2019.3 and i have agreed.

After downloading pycharm had to began update, then was a mistake with java packets. Then i clicked "Cancel", and Pycharm is gone.

But logs are stayed.

22/01 20:21:49 ERROR Runner.install - revert failed
java.io.IOException: Cannot delete: /opt/pycharm-community-2019.1.3
	at com.intellij.updater.Utils.tryDelete(Utils.java:108)
	at com.intellij.updater.Utils.access$000(Utils.java:12)
	at com.intellij.updater.Utils$1.postVisitDirectory(Utils.java:78)
	at com.intellij.updater.Utils$1.postVisitDirectory(Utils.java:69)
	at java.base/java.nio.file.Files.walkFileTree(Unknown Source)
	at java.base/java.nio.file.Files.walkFileTree(Unknown Source)
	at com.intellij.updater.Utils.delete(Utils.java:69)
	at com.intellij.updater.Runner.install(Runner.java:501)
	at com.intellij.updater.Runner.main(Runner.java:122)

 

 

 

22/01 18:22:45 INFO  Runner.initLogger - --- Updater started ---
22/01 18:22:45 INFO  Runner.main - args: [install, /opt/pycharm-community-2019.1.3]
22/01 18:22:45 INFO  Runner.main - destFolder: /opt/pycharm-community-2019.1.3, case-sensitive: true
22/01 18:22:46 INFO  Utils.getTempFile - created working directory: /home/aj/.PyCharmCE2019.1/system/log/idea.updater.files.5660307875862996964
22/01 18:22:46 INFO  Runner.install - Extracting patch file...
22/01 18:22:46 INFO  Utils.getZipEntry - entryPath: patch-file.zip
22/01 18:22:46 INFO  Utils.getZipEntry - entryPath: .patch-info
22/01 18:22:46 INFO  PatchFileCreator.prepareAndValidate - PyCharm (build 191.7479.30) -> PyCharm (build 191.8026.44)
22/01 18:22:46 INFO  Patch.forEach - Validating installation... [106 actions]
22/01 18:22:50 INFO  Patch.forEach - Backing up files... [106 actions]
22/01 18:22:50 INFO  Utils.copy - File: /opt/pycharm-community-2019.1.3/lib/fst-2.57.jar to /home/aj/.PyCharmCE2019.1/system/log/idea.updater.files.5660307875862996964/backup.tmp.0/lib/fst-2.57.jar
22/01 18:22:50 INFO  Utils.copy - File: /opt/pycharm-community-2019.1.3/product-info.json to /home/aj/.PyCharmCE2019.1/system/log/idea.updater.files.5660307875862996964/backup.tmp.0/product-info.json
22/01 18:22:50 INFO  Utils.copy - File: /opt/pycharm-community-2019.1.3/bin/log.xml to /home/aj/.PyCharmCE2019.1/system/log/idea.updater.files.5660307875862996964/backup.tmp.0/bin/log.xml
22/01 18:22:50 INFO  Utils.copy - File: /opt/pycharm-community-2019.1.3/bin/pycharm.png to /home/aj/.PyCharmCE2019.1/system/log/idea.updater.files.5660307875862996964/backup.tmp.0/bin/pycharm.png
22/01 18:22:50 INFO  Utils.copy - File: /opt/pycharm-community-2019.1.3/bin/pycharm.svg to /home/aj/.PyCharmCE2019.1/system/log/idea.updater.files.5660307875862996964/backup.tmp.0/bin/pycharm.svg
22/01 18:22:50 INFO  Utils.copy - File: /opt/pycharm-community-2019.1.3/bin/restart.py to /home/aj/.PyCharmCE2019.1/system/log/idea.updater.files.5660307875862996964/backup.tmp.0/bin/restart.py
22/01 18:22:50 INFO  Utils.setExecutable - Setting executable permissions for: /home/aj/.PyCharmCE2019.1/system/log/idea.updater.files.5660307875862996964/backup.tmp.0/bin/restart.py
22/01 18:22:50 INFO  Utils.copy - File: /opt/pycharm-community-2019.1.3/bin/pycharm.sh to /home/aj/.PyCharmCE2019.1/system/log/idea.updater.files.5660307875862996964/backup.tmp.0/bin/pycharm.sh
22/01 18:22:50 INFO  Utils.setExecutable - Setting executable permissions for: /home/aj/.PyCharmCE2019.1/system/log/idea.updater.files.5660307875862996964/backup.tmp.0/bin/pycharm.sh
22/01 18:22:50 INFO  Utils.copy - File: /opt/pycharm-community-2019.1.3/bin/libdbm64.so to /home/aj/.PyCharmCE2019.1/system/log/idea.updater.files.5660307875862996964/backup.tmp.0/bin/libdbm64.so
22/01 18:22:50 INFO  Utils.copy - File: /opt/pycharm-community-2019.1.3/bin/idea.properties to /home/aj/.PyCharmCE2019.1/system/log/idea.updater.files.5660307875862996964/backup.tmp.0/bin/idea.properties
22/01 18:22:50 INFO  Utils.copy - File: /opt/pycharm-community-2019.1.3/bin/fsnotifier to /home/aj/.PyCharmCE2019.1/system/log/idea.updater.files.5660307875862996964/backup.tmp.0/bin/fsnotifier
22/01 18:22:50 INFO  Utils.setExecutable - Setting executable permissions for:

 

0
1 comment

Hi, the first thing I'd have to guess is permission issue. Please try reinstalling PyCharm and make sure the user has full read/write permissions on the installation directory. 

0

Please sign in to leave a comment.