Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deal with symlinks #18

Open
lhirlimann opened this issue Jan 12, 2022 · 0 comments
Open

deal with symlinks #18

lhirlimann opened this issue Jan 12, 2022 · 0 comments

Comments

@lhirlimann
Copy link


root@VLIZ253F001:/srv/qgis/plugins# qgis-plugin-manager install cadastre
Installation cadastre latest
Traceback (most recent call last):
  File "/usr/local/bin/qgis-plugin-manager", line 8, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.9/dist-packages/qgis_plugin_manager/__main__.py", line 95, in main
    result = remote.install(*parameter)
  File "/usr/local/lib/python3.9/dist-packages/qgis_plugin_manager/remote.py", line 203, in install
    shutil.rmtree(existing)
  File "/usr/lib/python3.9/shutil.py", line 728, in rmtree
    onerror(os.path.islink, path, sys.exc_info())
  File "/usr/lib/python3.9/shutil.py", line 726, in rmtree
    raise OSError("Cannot call rmtree on a symbolic link")
OSError: Cannot call rmtree on a symbolic link
root@VLIZ253F001:/srv/qgis/plugins# ls -l
total 684
lrwxrwxrwx 1 root root     44 11 janv.  2021 atlasprint -> /srv/qgis-plugins/qgis-atlasprint/atlasprint
lrwxrwxrwx 1 root root     45 11 janv.  2021 cadastre -> /srv/qgis-plugins/QgisCadastrePlugin/cadastre
-rw-r--r-- 1 root root 691390 12 janv. 12:07 cadastre.1.13.5.zip
-rw-r--r-- 1 root root     55 12 janv. 12:05 sources.list
lrwxrwxrwx 1 root root     60 11 janv.  2021 wfsOutputExtension -> /srv/qgis-plugins/qgis-wfsOutputExtension/wfsOutputExtension
root@VLIZ253F001:/srv/qgis/plugins# 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant