[Bug 1612948] Re: axi-cache conversion to python3 broke the script

2020-10-31 Thread Carlo Vanini
This bug has been fixed in version 0.50 of apt-xapian-index.
If you need a fix for the bug in previous versions of Ubuntu, please follow the 
instructions for "Requesting a Backport" at 
https://wiki.ubuntu.com/UbuntuBackports#Requesting_a_Backport.

The `configparser` import has been fixed in commit 
https://salsa.debian.org/debian/apt-xapian-index/-/commit/bcefb8ae63aed7926b60a85d540a095517e821f7
The output encoding has been fixed in commit 
https://salsa.debian.org/debian/apt-xapian-index/-/commit/9458bb5226d1ae0deb90587458cfb60d13f38fa4

** Changed in: apt-xapian-index (Ubuntu)
   Status: Confirmed => Fix Released

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

Title:
  axi-cache conversion to python3 broke the script

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt-xapian-index/+bug/1612948/+subscriptions

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

[Bug 1804887] Re: software-properties-qt should not run as root

2019-01-28 Thread Carlo Vanini
** Branch linked: lp:~silhusk/software-properties/lp1804887-qt-dbus

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

Title:
  software-properties-qt should not run as root

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

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

[Bug 1656100] Re: Unable to remove signing keys using gnome-software-properties

2018-12-18 Thread Carlo Vanini
** Branch linked: lp:~silhusk/software-properties/lp1656100-remove-
signing-keys

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

Title:
  Unable to remove signing keys using gnome-software-properties

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-gnome/+bug/1656100/+subscriptions

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

[Bug 1804887] [NEW] software-properties-qt should not run as root

2018-11-23 Thread Carlo Vanini
Public bug reported:

s-p-qt should not be run as root (with sudo or pkexec), instead it
should use the DBus backend like s-p-gtk does. This way the UI runs as
unprivileged user, and the user is asked for credentials when making
changes.

Motivation:
* Running the UI with sudo is bad.
* It doesn't work in Wayland. (https://bugs.kde.org/show_bug.cgi?id=391965)
* The DBus backend already exists and is used by s-p-gtk.

RFC:
The attached patch changes s-p-qt to use the DBus service for the settings in 
the first tab (enable/disable components, change server).
Any comment on how it works or should work?

Known issues with the patch:
* When a change fails to be applied the UI doesn't notice and is out of sync 
with system state. That's because the DBus service never returns a value 
(except for DBus error). Solution is to reload the config after every change 
attempt.

** Affects: software-properties (Ubuntu)
 Importance: Undecided
 Status: New

** Patch added: "partial implementation"
   
https://bugs.launchpad.net/bugs/1804887/+attachment/5215765/+files/0001-Use-DBus-backend-to-make-changes.patch

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

Title:
  software-properties-qt should not run as root

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

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

[Bug 1652641] Re: crash in indexer.py, AttributeError: 'NoneType' object has no attribute 'unlink'

2018-03-06 Thread Carlo Vanini
Hi Jorma,
now that the verification is done it will be moved to xenial-updates and it 
will be part of the regular updates (and then the status will become "Fix 
Released").

If, instead, you want to have the fix before that, or you want to
confirm that the problem is indeed fixed for you too (that's the goal of
verification) you can download and install the new version by hand.

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

Title:
  crash in indexer.py, AttributeError: 'NoneType' object has no
  attribute 'unlink'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt-xapian-index/+bug/1652641/+subscriptions

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

[Bug 1652641] Re: crash in indexer.py, AttributeError: 'NoneType' object has no attribute 'unlink'

2018-03-04 Thread Carlo Vanini
Works for me on Xenial with apt-xapian-index version 0.47ubuntu8.4

** Tags removed: verification-needed-xenial
** Tags added: verification-done-xenial

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

Title:
  crash in indexer.py, AttributeError: 'NoneType' object has no
  attribute 'unlink'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt-xapian-index/+bug/1652641/+subscriptions

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

[Bug 1741767] Re: Muon rebuilds search index very often and inefficient

2018-02-19 Thread Carlo Vanini
Muon checks the modification time of `/var/lib/apt-xapian-index/update-
timestamp`, `/var/lib/dpkg/status` and `/var/cache/apt/pkgcache.bin`.
Only if the timestamp of the index is older than any of the other two,
then the index is rebuilt.

Something is updating/touching files more often than expected. Maybe
unattended upgrades?

Could you please run in a shell
sudo update-apt-xapian-index --force
just to see if the index is built correctly or it fails somewhere.

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

Title:
  Muon rebuilds search index very often and inefficient

To manage notifications about this bug go to:
https://bugs.launchpad.net/muon/+bug/1741767/+subscriptions

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

[Bug 1652641] Re: crash in indexer.py, AttributeError: 'NoneType' object has no attribute 'unlink'

2018-02-01 Thread Carlo Vanini
** Description changed:

  [Impact]
  
  When the apt-xapian-index is already up to date, and under certain
  conditions, update-apt-xapian-index throws an exception.
  
  The index /var/lib/apt-xapian-index is up to date
  Exception ignored in: >
  Traceback (most recent call last):
-   File "/usr/lib/python3/dist-packages/axi/indexer.py", line 306, in __del__
+   File "/usr/lib/python3/dist-packages/axi/indexer.py", line 306, in __del__
  AttributeError: 'NoneType' object has no attribute 'unlink'
  
  This happens more frequently when it is run with nice and ionice, which
  is the case in the cron.weekly/apt-xapian-index cron job.
  
  This is not severe, since the exception is thrown on exit, and depends
  on the way python3 cleans up the environment. Anyway, this leaves a
  socket file behind, and creates noise in cron logs (see comment #2).
  
- The patch keeps a reference to the os.unlink function in the
- ServerProgress instance, such that it has the same lifespan.
+ The patch uses a weakref finalizer in order to remove the socket file.
  
  [Test Case]
  
  * `sudo nice -n 19 ionice -c 3 update-apt-xapian-index --quiet`
  * may need to run 4 times or more
  * no exception is thrown
  
  [Regression Potential]
  
- * If the os module is unloaded anyway and self.os_unlink becomes
- unreachable, we get the same exception again.
+ * If the os module is unloaded anyway and os.unlink becomes unreachable, we 
get the same exception again.
+ * We import the `weakref` module, which was not used before.
  
  [Other Info]
  
- * There is probably a more "pythonic" way to fix this. For instance,
- avoiding __del__. That requires a larger change.
+ * This description was updated to reflect the changes in the behavior of
+ the patch that was released in Zesty. It still needs sponsoring for
+ Xenial.

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

Title:
  crash in indexer.py, AttributeError: 'NoneType' object has no
  attribute 'unlink'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt-xapian-index/+bug/1652641/+subscriptions

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

[Bug 1612948] Re: axi-cache conversion to python3 broke the script

2018-01-09 Thread Carlo Vanini
Hello Norbert,

this bug report is about `axi-cache` not being fully ported. `axi-cache`
is a front-end for querying the xapian index and finding packages,
therefore I was suggesting a working alternative for the same task and
asking whether any feature was missing.

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

Title:
  axi-cache conversion to python3 broke the script

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt-xapian-index/+bug/1612948/+subscriptions

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

[Bug 1612948] Re: axi-cache conversion to python3 broke the script

2018-01-09 Thread Carlo Vanini
The package from Debian works (as mentioned in comment #5) because it is
the "original" Python2.7 version. The package in Ubuntu includes a
(incomplete) port to Python3. Now, going back to Python2 would probably
"fix" these problems, but Python2 is being phased out in the upcoming
Ubuntu releases. Therefore, moving to Python3 does actually make sense,
but there is no effort upstream being put into axi. It should probably
disappear.

I suggest you use `apt search` and `apt show` instead of `axi-cache`.

Is there anything that `axi-cache` can do and cannot be done with `apt`?

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

Title:
  axi-cache conversion to python3 broke the script

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt-xapian-index/+bug/1612948/+subscriptions

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

[Bug 1652641] Re: crash in indexer.py, AttributeError: 'NoneType' object has no attribute 'unlink'

2017-12-03 Thread Carlo Vanini
It works for me on zesty with apt-xapian-index version 0.47ubuntu13.1
(python3 3.5.3-1)

** Tags removed: verification-needed-zesty
** Tags added: verification-done-zesty

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

Title:
  crash in indexer.py, AttributeError: 'NoneType' object has no
  attribute 'unlink'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt-xapian-index/+bug/1652641/+subscriptions

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

[Bug 1652641] Re: crash in indexer.py, AttributeError: 'NoneType' object has no attribute 'unlink'

2017-11-26 Thread Carlo Vanini
This is the patch for Xenial. Tested in a 16.04.2 VM.

** Patch added: "patch for Xenial"
   
https://bugs.launchpad.net/ubuntu/+source/apt-xapian-index/+bug/1652641/+attachment/5014886/+files/apt-xapian-index_0.47ubuntu8.4.debdiff

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

Title:
  crash in indexer.py, AttributeError: 'NoneType' object has no
  attribute 'unlink'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt-xapian-index/+bug/1652641/+subscriptions

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

[Bug 1714820] Re: Muon refuses to elevate to superuser for package install

2017-09-04 Thread Carlo Vanini
Sorry, but I have no idea. A similar bug was reported some time ago by
Rick Mills https://bugs.kde.org/show_bug.cgi?id=382611 in Neon and
Artful, but I cannot reproduce it.

The authentication is handled by PolicyKit (PolkitQt1). It has it's own
configuration on how to authenticate and authorize the user. But as it
has already been said, it is more likely that the authentication window
is just hidden behind something else. After a little time the
authentication window expires and the error message is shown.

** Bug watch added: KDE Bug Tracking System #382611
   https://bugs.kde.org/show_bug.cgi?id=382611

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

Title:
  Muon refuses to elevate to superuser for package install

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

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


[Bug 1530523] Re: kcm_driver_manager: Infinitely shows Collecting information

2017-09-02 Thread Carlo Vanini
Hi John,

could you please check that you have the python3-dbus package installed?

For me libqapt 3.0.2-0ubuntu1.2 fixed the issue in Xenial.

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

Title:
  kcm_driver_manager: Infinitely shows Collecting information

To manage notifications about this bug go to:
https://bugs.launchpad.net/kubuntu-ppa/+bug/1530523/+subscriptions

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


[Bug 1652641] Re: crash in indexer.py, AttributeError: 'NoneType' object has no attribute 'unlink'

2017-09-02 Thread Carlo Vanini
Sorry for the noise, patch updated again. This time it uses a
weakref.finalizer instead of __del__. This is a little a cleaner
solution. Moreover the finalizer is guaranteed to be called (at the
latest at exit), whereas __del__ is not.

** Patch added: "apt-xapian-index_0.47ubuntu13.1.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/apt-xapian-index/+bug/1652641/+attachment/4943263/+files/apt-xapian-index_0.47ubuntu13.1.debdiff

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

Title:
  crash in indexer.py, AttributeError: 'NoneType' object has no
  attribute 'unlink'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt-xapian-index/+bug/1652641/+subscriptions

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


[Bug 1652641] Re: crash in indexer.py, AttributeError: 'NoneType' object has no attribute 'unlink'

2017-09-02 Thread Carlo Vanini
Hello Simon,

version 0.47ubuntu13 in zesty-updates is still affected.
version 0.47ubuntu8.3 in xenial-updates is affected too.

Artful beta1 has 0.47ubuntu13 like Zesty does, but I could not reproduce
the bug. The reason could be that Python changed from 3.5.3 (in Zesty)
to 3.6.2 (in Artful). The way Python unloads modules might have changed,
but I couldn't tell for sure from the docs
https://docs.python.org/3/whatsnew/3.6.html

Patch updated, as you suggested.

** Patch added: "apt-xapian-index_0.47ubuntu13.1.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/apt-xapian-index/+bug/1652641/+attachment/4943253/+files/apt-xapian-index_0.47ubuntu13.1.debdiff

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

Title:
  crash in indexer.py, AttributeError: 'NoneType' object has no
  attribute 'unlink'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt-xapian-index/+bug/1652641/+subscriptions

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


[Bug 1612392] Re: [sru] Muon: missing dependency on software-properties-kde

2017-05-22 Thread Carlo Vanini
The packages in -proposed work for me.
In Xenial muon 4:5.6.0-0ubuntu1.16.04.1
In Yakkety muon 4:5.6.0-0ubuntu1.16.10.1

** Tags removed: verification-needed
** Tags added: verification-done

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

Title:
  [sru] Muon: missing dependency on software-properties-kde

To manage notifications about this bug go to:
https://bugs.launchpad.net/muon/+bug/1612392/+subscriptions

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


[Bug 1652641] Re: crash in indexer.py, AttributeError: 'NoneType' object has no attribute 'unlink'

2017-05-05 Thread Carlo Vanini
** Description changed:

- While installing Muon the following exception was raised.
+ [Impact]
  
- Ophalen:1 http://nl.archive.ubuntu.com/ubuntu zesty/universe amd64 muon amd64
- 4:5.6.0-0ubuntu2 [332 kB]
- Ophalen:2 http://nl.archive.ubuntu.com/ubuntu zesty/universe amd64 
muon-updater
- all 4:5.8.4-0ubuntu1 [3268 B]
- 335 kB opgehaald in 0s (861 kB/s)
- Voorheen niet geselecteerd pakket muon wordt geselecteerd.
- (Database wordt ingelezen ... 238429 bestanden en mappen momenteel
- geïnstalleerd.)
- Uitpakken van .../0-muon_4%3a5.6.0-0ubuntu2_amd64.deb wordt voorbereid...
- Bezig met uitpakken van muon (4:5.6.0-0ubuntu2) ...
- Voorheen niet geselecteerd pakket muon-updater wordt geselecteerd.
- Uitpakken van .../1-muon-updater_4%3a5.8.4-0ubuntu1_all.deb wordt 
voorbereid...
- Bezig met uitpakken van muon-updater (4:5.8.4-0ubuntu1) ...
- Bezig met afhandelen van triggers voor mime-support (3.60ubuntu1) ...
- Instellen van muon-updater (4:5.8.4-0ubuntu1) ...
- Instellen van muon (4:5.6.0-0ubuntu2) ...
+ When the apt-xapian-index is already up to date, and under certain
+ conditions, update-apt-xapian-index throws an exception.
  
  The index /var/lib/apt-xapian-index is up to date
  Exception ignored in: >
  Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/axi/indexer.py", line 306, in __del__
  AttributeError: 'NoneType' object has no attribute 'unlink'
  
+ This happens more frequently when it is run with nice and ionice, which
+ is the case in the cron.weekly/apt-xapian-index cron job.
  
- Bezig met afhandelen van triggers voor hicolor-icon-theme (0.15-1) ...
- done..
+ This is not severe, since the exception is thrown on exit, and depends
+ on the way python3 cleans up the environment. Anyway, this leaves a
+ socket file behind, and creates noise in cron logs (see comment #2).
  
+ The patch keeps a reference to the os.unlink function in the
+ ServerProgress instance, such that it has the same lifespan.
  
- This bug was originally reported against Muon as 
https://bugs.kde.org/show_bug.cgi?id=374084 but the crash actually happens in 
a-x-i.
+ [Test Case]
+ 
+ * `sudo nice -n 19 ionice -c 3 update-apt-xapian-index --quiet`
+ * may need to run 4 times or more
+ * no exception is thrown
+ 
+ [Regression Potential]
+ 
+ * If the os module is unloaded anyway and self.os_unlink becomes
+ unreachable, we get the same exception again.
+ 
+ [Other Info]
+ 
+ * There is probably a more "pythonic" way to fix this. For instance,
+ avoiding __del__. That requires a larger change.

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

Title:
  crash in indexer.py, AttributeError: 'NoneType' object has no
  attribute 'unlink'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt-xapian-index/+bug/1652641/+subscriptions

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

[Bug 1612392] Re: [sru] Muon: missing dependency on software-properties-kde

2017-05-05 Thread Carlo Vanini
I notice now that software-properties-kde is included in the kubuntu
desktop seed for both xenial and yakkety. Also included in the seed is
apturl-kde, which depends on s-p-k. Therefore, s-p-k should already be
there on a clean install. It may make sense to remove it before
installing proposed for verification.

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

Title:
  [sru] Muon: missing dependency on software-properties-kde

To manage notifications about this bug go to:
https://bugs.launchpad.net/muon/+bug/1612392/+subscriptions

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


[Bug 1612392] Re: [sru] Muon: missing dependency on software-properties-kde

2017-05-05 Thread Carlo Vanini
** Description changed:

- Muon 5.6.0-0ubuntu1
+ [Impact]
  
- Muon assumes that software-properties-kde is available and is using it
- to manage package sources (Settings -> Configure Software Sources).
+ It is not possible to edit software sources through Muon because
+ software-properties-kde is not installed by default.
  
- Before the split of plasma-discover, s-p-k was installed as dependency of 
libmuon.
- i.e. the dependency chain was muon <-- libmuon <-- software-properties-kde.
+ [Test Case]
  
- This bug has been reported upstream as
- https://bugs.kde.org/show_bug.cgi?id=366590
+ * Open Muon.
+ * Click the menu Settings -> Configure Software Sources.
+ * You are asked for your password, insert it.
+ * The window to configure sources opens.
+ 
+ [Regression Potential]
+ 
+ * Low, this adds an already existing program which is not installed by 
default.
+ * Before the split of plasma-discover, s-p-k was installed because Muon did 
depend on libmuon, which did depend on software-properties-kde.
+ * This still assumes that `kdesu` is available.

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

Title:
  [sru] Muon: missing dependency on software-properties-kde

To manage notifications about this bug go to:
https://bugs.launchpad.net/muon/+bug/1612392/+subscriptions

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


[Bug 1652641] Re: crash in indexer.py, AttributeError: 'NoneType' object has no attribute 'unlink'

2017-04-13 Thread Carlo Vanini
It looks like the same bug reappearing
https://bugs.launchpad.net/ubuntu/+source/apt-xapian-
index/+bug/1530518/comments/2

Running a-x-i directly doesn't trigger this bug, but the combination of
nice and ionice makes it show up much more often. (When the index is
already up to date)

Steps to reproduce:
 * `sudo update-apt-xapian-index`
 * Now that the index is updated we trigger the bug by running the following 
command (which is the same used in the cron job)
 * `sudo nice -n 19 ionice -c 3 update-apt-xapian-index --quiet`
 * may need to run 4 times or more

The intention of the proposed patch is to work around the problem by keeping a 
reference to the os.unlink function in the ServerProgress instance.
See 
http://stackoverflow.com/questions/17084260/imported-modules-become-none-when-running-a-function
 for an explanation of the issue in python.
Also see http://pydev.blogspot.ch/2015/01/creating-safe-cyclic-reference.html 
for a possible implementation using weakrefs.

** Patch added: "keep a reference to os.unlink"
   
https://bugs.launchpad.net/ubuntu/+source/apt-xapian-index/+bug/1652641/+attachment/4861539/+files/apt-xapian-index_0.47ubuntu12.debdiff

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

Title:
  crash in indexer.py, AttributeError: 'NoneType' object has no
  attribute 'unlink'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt-xapian-index/+bug/1652641/+subscriptions

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


[Bug 1663695] Re: Kubuntu 16.04.1 discover empty after fresh install

2017-04-11 Thread Carlo Vanini
It works for me updating libappstreamqt1 to 0.9.4-1ubuntu3 on Xenial
16.04.2.

Can someone else confirm, please?

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

Title:
  Kubuntu 16.04.1 discover empty after fresh install

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

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


[Bug 1530523] Re: kcm_driver_manager: Infinitely shows Collecting information

2017-04-02 Thread Carlo Vanini
** Description changed:

- Driver manager shows only "Collecting information about your system". It
- happens when started from  both"System setting" and console (kcmshell5
- kcm_driver_manager). The bug is similar to
- https://bugs.launchpad.net/ubuntu/+source/kubuntu-driver-
- manager/+bug/1280310 but "python3 /usr/lib/x86_64-linux-
- gnu/libexec/DriverManager_DBus" does not do anything (stops after a few
- seconds). The package python3-dbus.mainloop.qt is installed (4.11.4
- +dfsg-1build3).
+ [Impact]
  
- The bug started to appear after upgrading to kubuntu 16.04: KDE 5.4.3,
- Qt 5.5.1, kernel 4.3.0-2, kubuntu-driver-manager 15.10ubuntu3
+ * libQapt needs apt-xapian-index in order to search for packages, otherwise 
it never returns a result.
+ * As a consequence Driver Manager doesn't find packages and is empty.
+ * Before, apt-xapian-index was installed as a dependence of Muon (libmuon), 
which is not included in the default install anymore.
+ 
+ [Test Case 1]
+ 
+ * Update libqapt and run `kcmshell5 kcm_driver_manager`.
+ * After some time (~1 minute) Driver Manager shows suggested packages.
+ 
+ [Regression Potential]
+ 
+ * Low, Driver Manager is useless as of now.
+ * The same fix was applied in Yakkety.

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

Title:
  kcm_driver_manager: Infinitely shows Collecting information

To manage notifications about this bug go to:
https://bugs.launchpad.net/kubuntu-ppa/+bug/1530523/+subscriptions

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


[Bug 1530523] Re: kcm_driver_manager: Infinitely shows Collecting information

2017-03-30 Thread Carlo Vanini
** Tags removed: ubuntu-sponsors

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

Title:
  kcm_driver_manager: Infinitely shows Collecting information

To manage notifications about this bug go to:
https://bugs.launchpad.net/kubuntu-ppa/+bug/1530523/+subscriptions

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


[Bug 1530523] Re: kcm_driver_manager: Infinitely shows Collecting information

2017-03-30 Thread Carlo Vanini
The fix (adding a recommends for apt-xapian-index) has been released for
yakkety in libqapt-3.0.2-0ubuntu3 but not for xenial.

I attach a debdiff of the same change, adapted to xenial.

** Patch added: "add recommends apt-xapian-index"
   
https://bugs.launchpad.net/ubuntu/+source/libqapt/+bug/1530523/+attachment/4850848/+files/libqapt_3.0.2-0ubuntu1.2.debdiff

** Tags added: ubuntu-sponsors

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

Title:
  kcm_driver_manager: Infinitely shows Collecting information

To manage notifications about this bug go to:
https://bugs.launchpad.net/kubuntu-ppa/+bug/1530523/+subscriptions

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


[Bug 1663695] Re: Kubuntu 16.04.1 discover empty after fresh install

2017-03-27 Thread Carlo Vanini
All packages are marked as "technical" and therefore are hidden from the
list in Discover. That's because libAppstreamQt looks for type "desktop"
where instead it is "desktop-application" in the metadata.

** Patch added: "change type string from "desktop" to "desktop-application""
   
https://bugs.launchpad.net/ubuntu/+source/packagekit/+bug/1663695/+attachment/4848160/+files/appstream_0.9.4-1ubuntu3.debdiff

** Also affects: appstream (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/1663695

Title:
  Kubuntu 16.04.1 discover empty after fresh install

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

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


[Bug 1652641] [NEW] crash in indexer.py, AttributeError: 'NoneType' object has no attribute 'unlink'

2016-12-26 Thread Carlo Vanini
Public bug reported:

While installing Muon the following exception was raised.

Ophalen:1 http://nl.archive.ubuntu.com/ubuntu zesty/universe amd64 muon amd64
4:5.6.0-0ubuntu2 [332 kB]
Ophalen:2 http://nl.archive.ubuntu.com/ubuntu zesty/universe amd64 muon-updater
all 4:5.8.4-0ubuntu1 [3268 B]
335 kB opgehaald in 0s (861 kB/s)
Voorheen niet geselecteerd pakket muon wordt geselecteerd.
(Database wordt ingelezen ... 238429 bestanden en mappen momenteel
geïnstalleerd.)
Uitpakken van .../0-muon_4%3a5.6.0-0ubuntu2_amd64.deb wordt voorbereid...
Bezig met uitpakken van muon (4:5.6.0-0ubuntu2) ...
Voorheen niet geselecteerd pakket muon-updater wordt geselecteerd.
Uitpakken van .../1-muon-updater_4%3a5.8.4-0ubuntu1_all.deb wordt voorbereid...
Bezig met uitpakken van muon-updater (4:5.8.4-0ubuntu1) ...
Bezig met afhandelen van triggers voor mime-support (3.60ubuntu1) ...
Instellen van muon-updater (4:5.8.4-0ubuntu1) ...
Instellen van muon (4:5.6.0-0ubuntu2) ...

The index /var/lib/apt-xapian-index is up to date
Exception ignored in: >
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/axi/indexer.py", line 306, in __del__
AttributeError: 'NoneType' object has no attribute 'unlink'


Bezig met afhandelen van triggers voor hicolor-icon-theme (0.15-1) ...
done..


This bug was originally reported against Muon as 
https://bugs.kde.org/show_bug.cgi?id=374084 but the crash actually happens in 
a-x-i.

** Affects: apt-xapian-index (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/1652641

Title:
  crash in indexer.py, AttributeError: 'NoneType' object has no
  attribute 'unlink'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt-xapian-index/+bug/1652641/+subscriptions

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

[Bug 1530523] Re: kcm_driver_manager: Infinitely shows Collecting information

2016-09-11 Thread Carlo Vanini
Is anybody still affected by this bug? This has been solved in apt-
xapian-index 0.47ubuntu8.3 available in xenial-updates.

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

Title:
  kcm_driver_manager: Infinitely shows Collecting information

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

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


[Bug 1612392] Re: missing dependency on software-properties-kde

2016-08-25 Thread Carlo Vanini
Muon now (in git master) shows a message box when it doesn't find
s-p-kde. So a Recommends could be sufficient.

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

Title:
  missing dependency on software-properties-kde

To manage notifications about this bug go to:
https://bugs.launchpad.net/muon/+bug/1612392/+subscriptions

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


[Bug 1612392]

2016-08-21 Thread Carlo Vanini
Git commit ca1379c2f8041f775625255018463a25f9c782b9 by Carlo Vanini.
Committed on 20/08/2016 at 20:23.
Pushed by vanini into branch 'master'.

show error message if software-properties-kde cannot be found

Settings -> "Configure Software Sources" invokes the external program
software-properties-kde, if it is not found show an error message.

M  +12   -0src/muonapt/QAptActions.cpp

http://commits.kde.org/muon/ca1379c2f8041f775625255018463a25f9c782b9

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

Title:
  missing dependency on software-properties-kde

To manage notifications about this bug go to:
https://bugs.launchpad.net/muon/+bug/1612392/+subscriptions

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


[Bug 1612392] Re: missing dependency on software-properties-kde

2016-08-11 Thread Carlo Vanini
** Patch added: "muon_5.6.0-0ubuntu1.1.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/muon/+bug/1612392/+attachment/4719295/+files/muon_5.6.0-0ubuntu1.1.debdiff

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

Title:
  missing dependency on software-properties-kde

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

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


[Bug 1612392] [NEW] missing dependency on software-properties-kde

2016-08-11 Thread Carlo Vanini
Public bug reported:

Muon 5.6.0-0ubuntu1

Muon assumes that software-properties-kde is available and is using it
to manage package sources (Settings -> Configure Software Sources).

Before the split of plasma-discover, s-p-k was installed as dependency of 
libmuon.
i.e. the dependency chain was muon <-- libmuon <-- software-properties-kde.

This bug has been reported upstream as
https://bugs.kde.org/show_bug.cgi?id=366590

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

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

Title:
  missing dependency on software-properties-kde

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

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


[Bug 1579834] Re: update-apt-xapian-index-dbus fails because of wrong import

2016-08-08 Thread Carlo Vanini
** Description changed:

  [Test Case]
  1) run /usr/share/apt-xapian-index/update-apt-xapian-index-dbus
  2) Observe it terminate with an error and does not update the index
-"Failed to import 'No module named 'glib'', can not use dbus"
+    "Failed to import 'No module named 'glib'', can not use dbus"
  
  With the version from proposed it should not exit with this error.
+ 
+ [Expected result]
+ 1) sudo rm -rf /var/lib/apt-xapian-index/
+ 2) make sure no other instance of update-apt-xapian-index-dbus is running
+ 3) run sudo /usr/share/apt-xapian-index/update-apt-xapian-index-dbus
+ 4) leave u-axi-dbus running, and run kcmshell5 kcm_driver_manager
+ 5) u-axi-dbus produces no output (instead of the failure message), and after 
some time /var/lib/apt-xapian-index/ is created and populated again and the 
driver manager shows suggested packages instead of "collecting information" 
(see also bug #1530523)
  
  [Regression Potential]
  It doesn't work at all, so this'll be an improvement.
  
  -
  
  Mai 09 15:42:10 bear dbus[1017]: [system] Activating service 
name='org.debian.AptXapianIndex' (using servicehelper)
  Mai 09 15:42:10 bear org.debian.AptXapianIndex[1017]: Failed to import 'No 
module named 'glib'', can not use dbus
  Mai 09 15:42:11 bear dbus[1017]: [system] Activated service 
'org.debian.AptXapianIndex' failed: Launch helper exited with unknown return 
code 1
  
  The correct import should be:
  
  from gi.repository import GLib as glib
  from gi.repository import GObject as gobject
  
  ProblemType: BugDistroRelease: Ubuntu 16.04
  Package: apt-xapian-index 0.47ubuntu8 [modified: 
usr/share/apt-xapian-index/update-apt-xapian-index-dbus]
  ProcVersionSignature: Ubuntu 4.4.0-21.37-generic 4.4.6
  Uname: Linux 4.4.0-21-generic x86_64
  NonfreeKernelModules: wl
  ApportVersion: 2.20.1-0ubuntu2
  Architecture: amd64
  CurrentDesktop: KDE
  Date: Mon May  9 17:52:17 2016
  InstallationDate: Installed on 2015-05-04 (370 days ago)
  InstallationMedia: Kubuntu 15.04 "Vivid Vervet" - Beta amd64 (20150326)
  PackageArchitecture: allSourcePackage: apt-xapian-index
  UpgradeStatus: Upgraded to xenial on 2016-05-04 (4 days ago)

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

Title:
  update-apt-xapian-index-dbus fails because of wrong import

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt-xapian-index/+bug/1579834/+subscriptions

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

[Bug 1579834] Re: update-apt-xapian-index-dbus fails because of wrong import

2016-08-08 Thread Carlo Vanini
** Tags removed: verification-needed
** Tags added: verification-failed

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

Title:
  update-apt-xapian-index-dbus fails because of wrong import

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt-xapian-index/+bug/1579834/+subscriptions

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


[Bug 1579834] Re: update-apt-xapian-index-dbus fails because of wrong import

2016-08-02 Thread Carlo Vanini
Hi Brian,

apt-xapian-index/0.47ubuntu8.1 does fix the bug described in this
report, but exposes another one that still causes update-apt-xapian-
index-dbus to fail. That is,

* string.split() was deprecated and has been removed from python3
* the subprocess stdout has to be opened as text, otherwise readline() returns 
bytes instead of text

I changed the existing 05_python3.patch to fix them, and attach an
updated debdiff including these changes. (or would you like me to split
them?)


** Patch added: "apt-xapian-index_0.47ubuntu8.1.debdiff"
   
https://bugs.launchpad.net/ubuntu/xenial/+source/apt-xapian-index/+bug/1579834/+attachment/4712454/+files/apt-xapian-index_0.47ubuntu8.1.debdiff

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

Title:
  update-apt-xapian-index-dbus fails because of wrong import

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt-xapian-index/+bug/1579834/+subscriptions

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


[Bug 1579834] Re: update-apt-xapian-index-dbus fails because of wrong import

2016-07-07 Thread Carlo Vanini
Debdiff fixing the two wrong imports.

** Patch added: "apt-xapian-index_0.47ubuntu9.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/apt-xapian-index/+bug/1579834/+attachment/4697148/+files/apt-xapian-index_0.47ubuntu9.debdiff

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

Title:
  update-apt-xapian-index-dbus fails because of wrong import

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt-xapian-index/+bug/1579834/+subscriptions

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


[Bug 1579834] Re: update-apt-xapian-index-dbus fails because of wrong import

2016-05-27 Thread Carlo Vanini
Updated the patch to also fix the GObject import. Thanks Francesc for
noticing that it was missing.

** Patch added: "fix import of glib (updated)"
   
https://bugs.launchpad.net/ubuntu/+source/apt-xapian-index/+bug/1579834/+attachment/4671193/+files/import_glib.patch

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

Title:
  update-apt-xapian-index-dbus fails because of wrong import

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt-xapian-index/+bug/1579834/+subscriptions

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


[Bug 1579834] Re: update-apt-xapian-index-dbus fails because of wrong import

2016-05-23 Thread Carlo Vanini
** Patch added: "fix import of glib"
   
https://bugs.launchpad.net/ubuntu/+source/apt-xapian-index/+bug/1579834/+attachment/4668926/+files/import_glib.patch

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

Title:
  update-apt-xapian-index-dbus fails because of wrong import

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt-xapian-index/+bug/1579834/+subscriptions

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


[Bug 1530523] Re: kcm_driver_manager: Infinitely shows Collecting information

2016-05-12 Thread Carlo Vanini
There are multiple problems:

* DriverManager emits signal in the constructor, so it fails and nobody notices.
* The qaptFailed signal is not connected (wouldn't be received anyway, see 
above)
* message "Collecting information..." would have hidden any error message

See attachment

Now, when it's stuck "Collecting information" try to run:
systemctl status dbus
if you see anything like
Activated service 'org.debian.AptXapianIndex' failed: Launch helper exited with 
unknown return code 1
then it's Bug #1579834

** Patch added: "fix signals for backend failure reporting"
   
https://bugs.launchpad.net/ubuntu/+source/kubuntu-driver-manager/+bug/1530523/+attachment/4661284/+files/driver_manager.patch

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

Title:
  kcm_driver_manager: Infinitely shows Collecting information

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/kubuntu-driver-manager/+bug/1530523/+subscriptions

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


[Bug 1579834] [NEW] update-apt-xapian-index-dbus fails because of wrong import

2016-05-09 Thread Carlo Vanini
Public bug reported:

/usr/share/apt-xapian-index/update-apt-xapian-index-dbus
terminates with an error and does not update the index.

Mai 09 15:42:10 bear dbus[1017]: [system] Activating service 
name='org.debian.AptXapianIndex' (using servicehelper)
Mai 09 15:42:10 bear org.debian.AptXapianIndex[1017]: Failed to import 'No 
module named 'glib'', can not use dbus
Mai 09 15:42:11 bear dbus[1017]: [system] Activated service 
'org.debian.AptXapianIndex' failed: Launch helper exited with unknown return 
code 1

The correct import should be:

from gi.repository import GLib as glib
from gi.repository import GObject as gobject

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: apt-xapian-index 0.47ubuntu8 [modified: 
usr/share/apt-xapian-index/update-apt-xapian-index-dbus]
ProcVersionSignature: Ubuntu 4.4.0-21.37-generic 4.4.6
Uname: Linux 4.4.0-21-generic x86_64
NonfreeKernelModules: wl
ApportVersion: 2.20.1-0ubuntu2
Architecture: amd64
CurrentDesktop: KDE
Date: Mon May  9 17:52:17 2016
InstallationDate: Installed on 2015-05-04 (370 days ago)
InstallationMedia: Kubuntu 15.04 "Vivid Vervet" - Beta amd64 (20150326)
PackageArchitecture: all
SourcePackage: apt-xapian-index
UpgradeStatus: Upgraded to xenial on 2016-05-04 (4 days ago)

** Affects: apt-xapian-index (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: amd64 apport-bug xenial

** Attachment removed: "JournalErrors.txt"
   
https://bugs.launchpad.net/ubuntu/+source/apt-xapian-index/+bug/1579834/+attachment/4659351/+files/JournalErrors.txt

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

Title:
  update-apt-xapian-index-dbus fails because of wrong import

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt-xapian-index/+bug/1579834/+subscriptions

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


[Bug 1296711]

2016-01-15 Thread Carlo Vanini
Created attachment 96661
reset the flag to show the problem

I was able to reproduce the bug as described by Victor with the packages
"aptitude" and its dependency "aptitude-common", and will use them as an
example in the discussion below.

* We start with both packages installed.
* By requesting the removal of "aptitude", Package::setRemove() (in libqapt) 
will try to resolve any dependency problem arising. To do this it also calls 
pkgProblemResolver::Protect() (in libapt-pkg).
This causes "aptitude" to be marked as "Protected" in the depCache.
* When unmarking "aptitude" muon uses Package::setKeep() to unmark the package.
* When we try to remove "aptitude-common" Package::setRemove() uses 
pkgProblemResolver again to resolve dependences. But apparently the resolver 
will not touch "aptitude" because the "Protected" flag is still in place.

I attach a patch *against libqapt* to prove the concept, but it is a hacky 
workaround. It changes what should be an internal flag of apt-pkg. On the other 
hand I see no other way to change it.
Does the resolver really need that flag in the cache?

A different point is, why does the error message give no reason?
The dialog box is shown because the depCache correctly reports 1 broken 
package, i.e. "aptitude". But Package::brokenReason() is called on 
"aptitude-common", which has no reason to be broken.
Is this a bug too? not sure.

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

Title:
  Muon refuses to uninstall/purge packages. Synaptic can remove them
  just fine.

To manage notifications about this bug go to:
https://bugs.launchpad.net/muon/+bug/1296711/+subscriptions

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


[Bug 1154071] [NEW] wrong path in XDMFConfig.cmake causes cmake error when using libxdmf

2013-03-12 Thread Carlo Vanini
Public bug reported:

I need to build a tool which uses libxdmf. I'm using
FIND_PACKAGE(XDMF REQUIRED CONFIG)
in the CMakeLists file, which encounters the following error:

-- Found Qt4: /usr/bin/qmake (found version 4.8.3) 
CMake Error at /usr/lib/x86_64-linux-gnu/cmake/XdmfCMake/XDMFConfig.cmake:47 
(INCLUDE):
  include could not find load file:

/usr/lib/XdmfCMake/XDMFLibraryDepends.cmake
Call Stack (most recent call first):
  CMakeLists.txt:16 (FIND_PACKAGE)


The XDMFLibraryDepends.cmake is indeed in the same directory as 
XDMFConfig.cmake, and not in /usr/lib/.

version is libxdmf-dev 2.1.dfsg.1-5
on Kubuntu 12.10 amd64

** Affects: xdmf (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/1154071

Title:
  wrong path in XDMFConfig.cmake causes cmake error when using libxdmf

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

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


[Bug 406787] Re: package global 5.7.1-1 failed to install/upgrade: subprocess post-installation script returned error exit status 1

2009-08-28 Thread Carlo Vanini
*** This bug is a duplicate of bug 398009 ***
https://bugs.launchpad.net/bugs/398009

** This bug has been marked a duplicate of bug 398009
   global: pkg fails to configure if FQDN unknown

-- 
package global 5.7.1-1 failed to install/upgrade: subprocess post-installation 
script returned error exit status 1
https://bugs.launchpad.net/bugs/406787
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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


[Bug 411810] Re: lenovo t61 wifi disabled

2009-08-28 Thread Carlo Vanini
*** This bug is a duplicate of bug 398009 ***
https://bugs.launchpad.net/bugs/398009

Thank you for reporting this bug. Other people have had the same problem while 
upgrading 'global', therefore I'm marking this bug as a duplicate of bug 
#398009, please refer to this one for more information.
As a workaround, If this problem is preventing you from completing the update, 
you may want to remove global and then continue the update.

If you have problems with wifi you may look at
https://answers.launchpad.net/ubuntu/ for someone having your same
hardware or problem, otherwise file a new bug describing the problem
(browser doesn't load a page, wifi doesn't show up in network manager,
...) and specify the model of your wifi card.


** This bug has been marked a duplicate of bug 398009
   global: pkg fails to configure if FQDN unknown

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

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


[Bug 274025] Re: Xorg says no screens found with intel driver

2008-10-17 Thread Carlo Vanini
This bug was fixed in the package xserver-xorg-video-intel - 2:2.4.1-1ubuntu8 
when fixing #274045
Thank you!

Anyway, get-edid still gives the same results as before.

** Changed in: xserver-xorg-video-intel (Ubuntu)
   Status: Incomplete = Fix Released

-- 
Xorg says no screens found with intel driver
https://bugs.launchpad.net/bugs/274025
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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


[Bug 274025] Re: Xorg says no screens found with intel driver

2008-10-09 Thread Carlo Vanini
Indeed, it seems it is unable to get the EDID.
I attach the output of `get-edid | parse-edid`.

** Attachment added: output of `get-edid | parse-edid`
   http://launchpadlibrarian.net/18362691/edid

-- 
Xorg says no screens found with intel driver
https://bugs.launchpad.net/bugs/274025
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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


[Bug 274025] Re: Xorg says no screens found with intel driver

2008-10-06 Thread Carlo Vanini

** Attachment added: Xorg log with intel driver option ModeDebug enabled
   http://launchpadlibrarian.net/18265500/Xorg.inteldebugmode.log

-- 
Xorg says no screens found with intel driver
https://bugs.launchpad.net/bugs/274025
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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


[Bug 274025] Re: Xorg says no screens found with intel driver

2008-09-24 Thread Carlo Vanini

** Attachment added: output of lspci -vv
   http://launchpadlibrarian.net/17923768/lspcivv

-- 
Xorg says no screens found with intel driver
https://bugs.launchpad.net/bugs/274025
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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


[Bug 274025] Re: Xorg says no screens found with intel driver

2008-09-24 Thread Carlo Vanini

** Attachment added: Xorg log
   http://launchpadlibrarian.net/17923711/Xorg.0.log

-- 
Xorg says no screens found with intel driver
https://bugs.launchpad.net/bugs/274025
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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


[Bug 274025] [NEW] Xorg says no screens found with intel driver

2008-09-24 Thread Carlo Vanini
Public bug reported:

Binary package hint: xserver-xorg-video-intel

Hi,
Xorg fails to start, and the log reports

(EE) Screen(s) found, but none have a usable configuration.
Fatal server error:
no screens found

Actually I can see the X mouse cursor for a moment, and even move it.
But then it looks like Xorg shuts down and I get back the VT with some
flickering lines in it.

This happened after I installed Kubuntu Intrepid aplha 6 i386 from the 
alternate CD (so I can't tell if the graphic installer would have worked) on a 
Fujitsu Amilo M7400.
may be similar to #267945 ?

** Affects: xserver-xorg-video-intel (Ubuntu)
 Importance: Undecided
 Status: New

-- 
Xorg says no screens found with intel driver
https://bugs.launchpad.net/bugs/274025
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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


[Bug 73005] wrong path in Makefile

2006-11-23 Thread Carlo Vanini
Public bug reported:


in usplash-dev version 0.4-33
in installed file
/usr/share/doc/usplash-dev/examples/Makefile
line 26
$(INSTALL) -d $(DESTDIR)/lib/usplash
should be
$(INSTALL) -d $(DESTDIR)/usr/lib/usplash
('/usr/' is missing, resulting in the creation of the wrong directory)

** Affects: usplash (Ubuntu)
 Importance: Undecided
 Status: Unconfirmed

-- 
wrong path in Makefile
https://launchpad.net/bugs/73005

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