Public bug reported:

Hi,

when tring to use unity-scope-click to remove a preinstalled package 
(dropping-letters) I get a pkcon error in the scope; there's a click crash file 
with a traceback:
PythonArgs: ['/usr/bin/click', 'unregister', '--user=phablet', 'com.ubuntu.dropp
ing-letters', '0.1.2.2']
Traceback:
 Traceback (most recent call last):
   File "/usr/bin/click", line 84, in <module>
     sys.exit(main())
   File "/usr/bin/click", line 79, in main
     mod.run(args)
   File "/usr/lib/python3/dist-packages/click/commands/unregister.py", line 57,
in run
     registry.remove(package)
   File "/usr/lib/python3/dist-packages/click/user.py", line 295, in remove
     osextras.symlink_force(HIDDEN_VERSION, path)
   File "/usr/lib/python3/dist-packages/click/osextras.py", line 77, in symlink_
force
     os.symlink(source, link_name)
 FileNotFoundError: [Errno 2] No such file or directory: '/opt/click.ubuntu.com/
.click/users/phablet/com.ubuntu.dropping-letters'

Indeed, /opt/click.u.c is empty and .click doesn't exist there.

Cheers,

** Affects: click (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1232066

Title:
  click unregister on preinstalled app causes exception

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/click/+bug/1232066/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to