[Bug 1795278] Re: software-properties-{qt, kde} attempts to use KUrl but it doesn't exist

2024-04-05 Thread ԜаӀtеr Ⅼарсһуnѕkі
Assigned to you, Aaron :)

** Changed in: software-properties (Ubuntu Jammy)
 Assignee: (unassigned) => Aaron Rainbolt (arraybolt3)

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

Title:
  software-properties-{qt,kde} attempts to use KUrl but it doesn't exist

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/1795278/+subscriptions


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

[Bug 1795278] Re: software-properties-{qt, kde} attempts to use KUrl but it doesn't exist

2024-04-03 Thread Aaron Rainbolt
I might try to SRU it into Jammy eventually (perhaps after the release
of Noble), but Focal is now unsupported from the perspective of all
flavors and I don't think Ubuntu Desktop has any use for software-
properties-qt as it has software-properties-gtk (I believe). Marking
Focal as Won't Fix for this reason.

** Changed in: software-properties (Ubuntu Focal)
   Status: Triaged => Won't Fix

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

Title:
  software-properties-{qt,kde} attempts to use KUrl but it doesn't exist

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/1795278/+subscriptions


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

[Bug 1795278] Re: software-properties-{qt, kde} attempts to use KUrl but it doesn't exist

2024-04-03 Thread ԜаӀtеr Ⅼарсһуnѕkі
I'm going to assume there's no plans to SRU this back to Focal or Jammy?
If I'm right, can someone mark those Won't Fix?

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

Title:
  software-properties-{qt,kde} attempts to use KUrl but it doesn't exist

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/1795278/+subscriptions


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

[Bug 1795278] Re: software-properties-{qt, kde} attempts to use KUrl but it doesn't exist

2022-05-20 Thread KGIII
Yup, still occurring in Kinetic.

Ran a quick test on bare metal and in a virtual machine.

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

Title:
  software-properties-{qt,kde} attempts to use KUrl but it doesn't exist

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/1795278/+subscriptions


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

[Bug 1795278] Re: software-properties-{qt, kde} attempts to use KUrl but it doesn't exist

2022-05-19 Thread Leó Kolbeinsson
Confirm this is still occuring in Lubuntu Kinetic - tested daily
19-05-2022

Machine tested Lenovo YG SL7 in live session.
http://iso.qa.ubuntu.com/qatracker/milestones/433/builds/248375/testcases/1303/results

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

Title:
  software-properties-{qt,kde} attempts to use KUrl but it doesn't exist

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/1795278/+subscriptions


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

[Bug 1795278] Re: software-properties-{qt, kde} attempts to use KUrl but it doesn't exist

2022-05-19 Thread Leó Kolbeinsson
** Tags added: kinetic

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

Title:
  software-properties-{qt,kde} attempts to use KUrl but it doesn't exist

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/1795278/+subscriptions


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

[Bug 1795278] Re: software-properties-{qt, kde} attempts to use KUrl but it doesn't exist

2021-08-04 Thread Leó Kolbeinsson
Confirm that this still occuring in Lubuntu Impish - tested daily ISO 2021-08-04
http://cdimage.ubuntu.com/lubuntu/daily-live/20210804/impish-desktop-amd64.iso

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

Title:
  software-properties-{qt,kde} attempts to use KUrl but it doesn't exist

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/1795278/+subscriptions


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

[Bug 1795278] Re: software-properties-{qt, kde} attempts to use KUrl but it doesn't exist

2021-08-03 Thread Norbert
** Tags removed: eoan groovy
** Tags added: impish

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

Title:
  software-properties-{qt,kde} attempts to use KUrl but it doesn't exist

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/1795278/+subscriptions


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

[Bug 1795278] Re: software-properties-{qt, kde} attempts to use KUrl but it doesn't exist

2021-03-26 Thread Leó Kolbeinsson
@wxl

This is still occuring on Lubuntu Hirsute  daily ISO 2021-03-26.

Tested also Ubuntu Mate and Xubuntu same date and no error.

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

Title:
  software-properties-{qt,kde} attempts to use KUrl but it doesn't exist

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/1795278/+subscriptions

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

[Bug 1795278] Re: software-properties-{qt, kde} attempts to use KUrl but it doesn't exist

2021-02-11 Thread Brian Murray
** Tags removed: rls-hh-incoming
** Tags added: rls-hh-notfixing

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

Title:
  software-properties-{qt,kde} attempts to use KUrl but it doesn't exist

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/1795278/+subscriptions

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

[Bug 1795278] Re: software-properties-{qt, kde} attempts to use KUrl but it doesn't exist

2021-02-09 Thread Brian Murray
** Tags added: rls-hh-incoming

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

Title:
  software-properties-{qt,kde} attempts to use KUrl but it doesn't exist

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/1795278/+subscriptions

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

[Bug 1795278] Re: software-properties-{qt, kde} attempts to use KUrl but it doesn't exist

2021-02-03 Thread Ubuntu QA Website
This bug has been reported on the Ubuntu ISO testing tracker.

A list of all reports related to this bug can be found here:
http://iso.qa.ubuntu.com/qatracker/reports/bugs/1795278

** Tags added: iso-testing

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

Title:
  software-properties-{qt,kde} attempts to use KUrl but it doesn't exist

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/1795278/+subscriptions

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

[Bug 1795278] Re: software-properties-{qt, kde} attempts to use KUrl but it doesn't exist

2021-02-03 Thread Walter Lapchynski
P.S. added Hirsute and Groovy tags since the latest dupe shows it
affects Hirsute and thus should affect Groovy.

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

Title:
  software-properties-{qt,kde} attempts to use KUrl but it doesn't exist

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/1795278/+subscriptions

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

[Bug 1795278] Re: software-properties-{qt, kde} attempts to use KUrl but it doesn't exist

2021-02-03 Thread Walter Lapchynski
Michal, that's not how patching works, unfortunately. You can put all
that in a file and use the `patch` command. The easy way is to go to the
folder containing the file and run `sudo patch < /path/to/diff`.

Or you could simply edit the file (/usr/lib/python3/dist-
packages/softwareproperties/qt/SoftwarePropertiesQt.py) according to the
instructions given by the diff:

 1. Starting at line 709, look at it and the following 7 lines for a total of 
eight lines (this is what "-709,8" refers to in the original)
 2. Note, too, that after the change, the same hunk is referenced as "+709,7" 
meaning that the end result is one less line.
 3. Remove the definition of the "url" variable in line 712.
 4. In the next line (which is now 712) which defines the "filename" variable, 
change it from using the KFileDialog.getOpenFileName method to the 
QFileDialog.getOpenFileName method. Note that the arguments and their order are 
different.
 5. Save it and try again.

** Tags added: groovy hirsute

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

Title:
  software-properties-{qt,kde} attempts to use KUrl but it doesn't exist

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/1795278/+subscriptions

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

[Bug 1795278] Re: software-properties-{qt, kde} attempts to use KUrl but it doesn't exist

2020-03-07 Thread Michal Dziczkowski
# diff --git a/softwareproperties/qt/SoftwarePropertiesQt.py 
b/softwareproperties/qt/SoftwarePropertiesQt.p
diff: unrecognized option '--git'
diff: Try 'diff --help' for more information.

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

Title:
  software-properties-{qt,kde} attempts to use KUrl but it doesn't exist

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/1795278/+subscriptions

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

[Bug 1795278] Re: software-properties-{qt, kde} attempts to use KUrl but it doesn't exist

2020-03-04 Thread Hans P . Möller
this should be the diff to be tested:

diff --git a/softwareproperties/qt/SoftwarePropertiesQt.py 
b/softwareproperties/qt/SoftwarePropertiesQt.py
index 8172e25..b210323 100644
--- a/softwareproperties/qt/SoftwarePropertiesQt.py
+++ b/softwareproperties/qt/SoftwarePropertiesQt.py
@@ -709,8 +709,7 @@ class SoftwarePropertiesQt(SoftwareProperties):
 home = QDir.homePath()
 if "SUDO_USER" in os.environ:
 home = os.path.expanduser("~%s" % os.environ["SUDO_USER"])
-url = KUrl.fromPath(home)
-filename = KFileDialog.getOpenFileName(url, 'application/pgp-keys', 
self.userinterface, _("Import key"))
+filename = QFileDialog.getOpenFileName(self.userinterface, _("Import 
key"), home, 'application/pgp-keys')
 if filename:
   if not self.add_key(filename):
 title = _("Error importing selected file")

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

Title:
  software-properties-{qt,kde} attempts to use KUrl but it doesn't exist

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/1795278/+subscriptions

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

[Bug 1795278] Re: software-properties-{qt, kde} attempts to use KUrl but it doesn't exist

2020-03-04 Thread Walter Lapchynski
There are no PyKDE imports anymore, only PyQt. That said, replacing
`KUrl.fromPath` with just `QUrl` should resolve that.

But that's not our only issue:
Traceback (most recent call last):
  File 
"/usr/lib/python3/dist-packages/softwareproperties/qt/SoftwarePropertiesQt.py", 
line 713, in add_key_clicked
filename = KFileDialog.getOpenFileName(url, 'application/pgp-keys', 
self.userinterface, _("Import key"))
NameError: name 'KFileDialog' is not defined

So we replace `KFileDialog` with `QFileDialog` and move some arguments
around:

filename = QFileDialog.getOpenFileName(self.userinterface, _("Import
key"), url, 'application/pgp-keys')

The only other thing missing is that KFileDialog wanted a KUrl while
QFileDialog wants a string. So we should cast our QUrl call:

url = str(QUrl(home))

Maybe there's a prettier/better way to do this, but that's what I got
for 10 minutes which is more progress than I can say this bug has had in
the past XD If people can test those changes, it would be greatly
appreciated.

** Changed in: software-properties (Ubuntu)
   Status: Confirmed => Triaged

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

Title:
  software-properties-{qt,kde} attempts to use KUrl but it doesn't exist

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/1795278/+subscriptions

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

[Bug 1795278] Re: software-properties-{qt, kde} attempts to use KUrl but it doesn't exist

2020-03-04 Thread Walter Lapchynski
According to the dupe, this affects more recent versions, too. And not
just Kubuntu.

** Summary changed:

- software-properties-kde attempts to use KUrl but it doesn't exist
+ software-properties-{qt,kde} attempts to use KUrl but it doesn't exist

** Tags added: eoan focal kubuntu lubuntu

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

Title:
  software-properties-{qt,kde} attempts to use KUrl but it doesn't exist

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/1795278/+subscriptions

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