Bug 1562595

Summary: [abrt] lollypop: __on_save_artwork_tags(): art_album.py:432:__on_save_artwork_tags:GLib.GError: g_convert_error: L'URI «sftp://bertof@192.168.1.42/mnt/1TB/Condivisa/Musica/Fondamentali/30%20Seconds%20To%20Mars%20-%20Kings%20and%20Queens.mp3» non è ...
Product: [Fedora] Fedora Reporter: Filippo Berto <berto.f>
Component: lollypopAssignee: MartinKG <mgansser>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 27CC: mgansser
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/92c54fa8aa365436eaa7daf95842d0a765d99a95
Whiteboard: abrt_hash:9935019706ec342cb666c86d0690e96c8b181214;VARIANT_ID=workstation;
Fixed In Version: lollypop-0.9.403-2.fc28 lollypop-0.9.508-1.fc26 lollypop-0.9.508-1.fc27 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-05-11 17:45:47 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
File: cgroup
none
File: cpuinfo
none
File: environ
none
File: mountinfo
none
File: namespaces
none
File: open_fds none

Description Filippo Berto 2018-04-01 09:08:57 UTC
Description of problem:
All'avvio di una canzone, archiviata in un server sftp locale, il programma termina con errore.
La canzone viene riprodotta per qualche secondo prima di interrompersi.

Version-Release number of selected component:
lollypop-0.9.306-1.fc27

Additional info:
reporter:       libreport-2.9.3
cmdline:        /usr/bin/python3 /usr/bin/lollypop
crash_function: __on_save_artwork_tags
exception_type: GLib.GError
executable:     /usr/bin/lollypop
kernel:         4.15.13-300.fc27.x86_64
runlevel:       N 5
type:           Python3
uid:            1000

Truncated backtrace:
art_album.py:432:__on_save_artwork_tags:GLib.GError: g_convert_error: L'URI «sftp://bertof.1.42/mnt/1TB/Condivisa/Musica/Fondamentali/30%20Seconds%20To%20Mars%20-%20Kings%20and%20Queens.mp3» non è un URI assoluto che utilizza lo schema «file» (4)

Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/lollypop/art_album.py", line 432, in __on_save_artwork_tags
    path = GLib.filename_from_uri(uri)[0]
GLib.GError: g_convert_error: L'URI «sftp://bertof.1.42/mnt/1TB/Condivisa/Musica/Fondamentali/30%20Seconds%20To%20Mars%20-%20Kings%20and%20Queens.mp3» non è un URI assoluto che utilizza lo schema «file» (4)

Local variables in innermost frame:
uri: 'sftp://bertof.1.42/mnt/1TB/Condivisa/Musica/Fondamentali/30%20Seconds%20To%20Mars%20-%20Kings%20and%20Queens.mp3'
dbus_helper: <lollypop.helper_dbus.DBusHelper object at 0x7ff86c3d9160>
can_set_cover: True
album_id: 1
result: <Gio.Task object at 0x7ff8642f45e8 (GTask at 0x55557e620c20)>
source: <Gio.DBusProxy object at 0x7ff8642f4f30 (GDBusProxy at 0x7ff848050c40)>
self: <art.Art object at 0x7ff86eb3a0d8 (lollypop+art+Art at 0x55557dd4f720)>

Comment 1 Filippo Berto 2018-04-01 09:09:03 UTC
Created attachment 1415769 [details]
File: backtrace

Comment 2 Filippo Berto 2018-04-01 09:09:05 UTC
Created attachment 1415770 [details]
File: cgroup

Comment 3 Filippo Berto 2018-04-01 09:09:07 UTC
Created attachment 1415771 [details]
File: cpuinfo

Comment 4 Filippo Berto 2018-04-01 09:09:08 UTC
Created attachment 1415772 [details]
File: environ

Comment 5 Filippo Berto 2018-04-01 09:09:10 UTC
Created attachment 1415773 [details]
File: mountinfo

Comment 6 Filippo Berto 2018-04-01 09:09:12 UTC
Created attachment 1415774 [details]
File: namespaces

Comment 7 Filippo Berto 2018-04-01 09:09:14 UTC
Created attachment 1415775 [details]
File: open_fds

Comment 8 MartinKG 2018-04-01 09:24:15 UTC
please test if this also happens with lollypop-0.9.403
(per favore prova se questo succede anche con lollypop-0.9.403)
sudo dnf update lollypop --enablerepo=updates-testing

Comment 9 Filippo Berto 2018-04-04 18:05:35 UTC
I'm sorry for the late response. I did try the version you suggested me but it still has the same problem. Launching it from the terminal I get the following backtrace:


art_album.py:432:__on_save_artwork_tags:GLib.GError: g_convert_error: L'URI «sftp://bertof.1.42/mnt/1TB/Condivisa/Musica/Fondamentali/30%20Seconds%20To%20Mars%20-%20Kings%20and%20Queens.mp3» non è un URI assoluto che utilizza lo schema «file» (4)

Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/lollypop/art_album.py", line 432, in __on_save_artwork_tags
    path = GLib.filename_from_uri(uri)[0]
GLib.GError: g_convert_error: L'URI «sftp://bertof.1.42/mnt/1TB/Condivisa/Musica/Fondamentali/30%20Seconds%20To%20Mars%20-%20Kings%20and%20Queens.mp3» non è un URI assoluto che utilizza lo schema «file» (4)

Local variables in innermost frame:
uri: 'sftp://bertof.1.42/mnt/1TB/Condivisa/Musica/Fondamentali/30%20Seconds%20To%20Mars%20-%20Kings%20and%20Queens.mp3'
dbus_helper: <lollypop.helper_dbus.DBusHelper object at 0x7fd43702fe80>
can_set_cover: True
album_id: 1
result: <Gio.Task object at 0x7fd437030d38 (GTask at 0x7fd42c04f1b0)>
source: <Gio.DBusProxy object at 0x7fd43709e828 (GDBusProxy at 0x7fd42c050360)>
self: <art.Art object at 0x7fd44c0c5678 (lollypop+art+Art at 0x55abf9a544c0)>


If you need any more info, I'm here. Thank you.

Comment 10 MartinKG 2018-04-04 19:19:05 UTC
upstream bug report: https://gitlab.gnome.org/gnumdk/lollypop/issues/1388

Comment 12 Fedora Update System 2018-04-05 11:46:32 UTC
lollypop-0.9.403-2.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2018-b2ce536061

Comment 13 Fedora Update System 2018-04-05 11:46:40 UTC
lollypop-0.9.403-2.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-17f8b09f90

Comment 14 Fedora Update System 2018-04-05 11:46:45 UTC
lollypop-0.9.403-2.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-0163f7a373

Comment 15 Fedora Update System 2018-04-06 16:52:21 UTC
lollypop-0.9.403-2.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-b2ce536061

Comment 16 Fedora Update System 2018-04-06 17:16:55 UTC
lollypop-0.9.403-2.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-17f8b09f90

Comment 17 Fedora Update System 2018-04-06 18:54:36 UTC
lollypop-0.9.403-2.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-0163f7a373

Comment 18 Fedora Update System 2018-04-10 06:38:03 UTC
lollypop-0.9.403-3.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2018-f06389727c

Comment 19 Fedora Update System 2018-04-10 06:38:11 UTC
lollypop-0.9.403-3.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-7ddc8e7ef8

Comment 20 Fedora Update System 2018-04-10 20:49:49 UTC
lollypop-0.9.403-3.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-f06389727c

Comment 21 Fedora Update System 2018-04-10 21:15:16 UTC
lollypop-0.9.403-3.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-7ddc8e7ef8

Comment 22 Fedora Update System 2018-04-10 22:57:52 UTC
lollypop-0.9.403-2.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.

Comment 23 Filippo Berto 2018-04-11 18:23:28 UTC
Sorry for the very late answer, I've not been able to test the new version until now. I'm running the latest version:

The program doesn't crash anymore but still it doesn't allow me to play any file from the server. I've cleaned the DB, removed and re-added the path to my music folder. Now the DB is clear and whenever I run the folder analysis it shows a notification telling that the directory is empty, while in the console log I get:

/usr/lib64/python3.6/site-packages/gi/module.py:176: Warning: g_array_append_vals: assertion 'array' failed
  g_type = info.get_g_type()
/usr/lib64/python3.6/site-packages/gi/module.py:176: Warning: g_hash_table_lookup: assertion 'hash_table != NULL' failed
  g_type = info.get_g_type()
/usr/lib64/python3.6/site-packages/gi/module.py:176: Warning: g_hash_table_insert_internal: assertion 'hash_table != NULL' failed
  g_type = info.get_g_type()

(lollypop:27909): Gtk-WARNING **: Failed to register client: GDBus.Error:org.gnome.SessionManager.AlreadyRegistered: Unable to register client

(lollypop:27909): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget with width -45 and height 21

(lollypop:27909): Gtk-WARNING **: Allocating size to lollypop+window+Window 0x562a329662b0 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate?


Then a long list of the same error:


CollectionScanner::__scan(mtime): int() argument must be a string, a bytes-like object or a number, not 'NoneType'


If I open a random file with Lollypop from Nautilus it works as expected. Should I open another bug report or could this be correlated? Also, do you need any log files?

Comment 24 MartinKG 2018-04-12 11:06:38 UTC
(In reply to Filippo Berto from comment #23)
> Sorry for the very late answer, I've not been able to test the new version
> until now. I'm running the latest version:
...
> Should I open another bug report or could this be correlated? Also, do you
> need any log files?
No, not necessary

maintainer commited a fix and will release an update today.
https://gitlab.gnome.org/gnumdk/lollypop/commit/f0fbe4d306628e3a7de3a239d988fdf1cd8ba9e2

Comment 25 Fedora Update System 2018-04-12 11:22:38 UTC
lollypop-0.9.500-1.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-6a5997a753

Comment 26 Fedora Update System 2018-04-12 11:22:44 UTC
lollypop-0.9.500-1.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2018-9c1f7733bc

Comment 27 Fedora Update System 2018-04-12 20:00:13 UTC
lollypop-0.9.500-1.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-9c1f7733bc

Comment 28 Fedora Update System 2018-04-12 20:22:54 UTC
lollypop-0.9.500-1.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-6a5997a753

Comment 29 Fedora Update System 2018-04-13 07:24:16 UTC
lollypop-0.9.502-1.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-aea8dc5a8f

Comment 30 Fedora Update System 2018-04-13 07:24:24 UTC
lollypop-0.9.502-1.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2018-d0d24990f9

Comment 31 Fedora Update System 2018-04-14 08:03:34 UTC
lollypop-0.9.504-1.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-0f1e150dee

Comment 32 Fedora Update System 2018-04-14 08:03:50 UTC
lollypop-0.9.504-1.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2018-a5e5ff2096

Comment 33 Fedora Update System 2018-04-15 16:22:44 UTC
lollypop-0.9.504-1.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-0f1e150dee

Comment 34 Fedora Update System 2018-04-15 21:44:44 UTC
lollypop-0.9.504-1.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-a5e5ff2096

Comment 35 Fedora Update System 2018-04-19 10:59:45 UTC
lollypop-0.9.506-1.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2018-651ff3cbf7

Comment 36 Fedora Update System 2018-04-19 10:59:58 UTC
lollypop-0.9.506-1.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-02eb020d43

Comment 37 Fedora Update System 2018-04-19 17:12:31 UTC
lollypop-0.9.506-1.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-651ff3cbf7

Comment 38 Fedora Update System 2018-04-19 17:39:04 UTC
lollypop-0.9.506-1.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-02eb020d43

Comment 39 Fedora Update System 2018-04-26 10:19:21 UTC
lollypop-0.9.507-1.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-5199542d96

Comment 40 Fedora Update System 2018-04-26 10:19:36 UTC
lollypop-0.9.507-1.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2018-03b8e686d1

Comment 41 Fedora Update System 2018-04-27 07:14:15 UTC
lollypop-0.9.507-1.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-03b8e686d1

Comment 42 Fedora Update System 2018-04-27 07:55:38 UTC
lollypop-0.9.507-1.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-5199542d96

Comment 43 Fedora Update System 2018-05-02 11:06:46 UTC
lollypop-0.9.508-1.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2018-9d58e3e072

Comment 44 Fedora Update System 2018-05-02 11:07:06 UTC
lollypop-0.9.508-1.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-e072e01210

Comment 45 Fedora Update System 2018-05-03 19:30:58 UTC
lollypop-0.9.508-1.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-e072e01210

Comment 46 Fedora Update System 2018-05-03 21:03:16 UTC
lollypop-0.9.508-1.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-9d58e3e072

Comment 47 Fedora Update System 2018-05-11 17:45:47 UTC
lollypop-0.9.508-1.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.

Comment 48 Fedora Update System 2018-05-11 20:27:49 UTC
lollypop-0.9.508-1.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.