Sync to Phone fails the first time
There is a series of issues here, so i will start from the first. I'm on Flatpak build and f1450da9
Reproduce
- Open Lollypop, but without having phone already connected
- Connect the phone
- Add album for sync (album shouldn't be already selected for sync)
- Press sync
Output
[ERROR] 2019-06-04 01:38:58 LastFM::__on_get_password(): no attributes
[ERROR] 2019-06-04 01:38:58 LastFM::__on_get_password(): no attributes
[ERROR] 2019-06-04 01:38:58 LastFM::__on_get_password(): no attributes
[ERROR] 2019-06-04 01:38:58 LastFM::__on_get_password(): no attributes
[ERROR] 2019-06-04 01:38:59 CollectionScanner:: __scan_add_files: gst-stream-error-quark: This appears to be a text file (5)
[ERROR] 2019-06-04 01:39:14 MtpSyncDb::load(): g-io-error-quark: File doesn’t exist (1)
[ERROR] 2019-06-04 01:39:14 DeviceWiget::__on_filesystem_info(): division by zero
[ERROR] 2019-06-04 01:39:24 TaskHelper::__run(): local variable 'uri' referenced before assignment
THE ABOVE ERRORS HAPPENS ON START
[ERROR] 2019-06-04 01:39:24 DeviceWiget::__on_filesystem_info(): g-dbus-error-quark: No such interface “org.gtk.vfs.Mount” on object at path /org/gtk/vfs/mount/1 (19)
[INFO] 2019-06-04 01:39:53 Getting tracks to sync
[INFO] 2019-06-04 01:39:53 Getting URIs to copy
[INFO] 2019-06-04 01:39:53 Deleting old files
[ERROR] 2019-06-04 01:39:53 MtpSync::__sync(): g-io-error-quark: Cannot make directory in this location (14)
[INFO] 2019-06-04 01:39:53 Save sync db
[ERROR] 2019-06-04 01:39:53 MtpSyncDb::__save(): 'MtpSyncDb' object has no attribute '_MtpSyncDb__db_uri'
[INFO] 2019-06-04 01:39:53 MtpSync::cancel()
[INFO] 2019-06-04 01:40:03 Getting tracks to sync
[INFO] 2019-06-04 01:40:03 Getting URIs to copy
[INFO] 2019-06-04 01:40:03 Deleting old files
[ERROR] 2019-06-04 01:40:03 MtpSync::__sync(): g-io-error-quark: Cannot make directory in this location (14)
[INFO] 2019-06-04 01:40:03 Save sync db
[ERROR] 2019-06-04 01:40:03 MtpSyncDb::__save(): 'MtpSyncDb' object has no attribute '_MtpSyncDb__db_uri'
[INFO] 2019-06-04 01:40:03 MtpSync::cancel()
none transfer is happening, and moreover the UI progress bar stacks like that:
Edited by alex285