Skip to content
This repository has been archived by the owner on Aug 30, 2022. It is now read-only.

API level 29 causes issues with the SQLite implementation #28

Open
apcro opened this issue Mar 22, 2020 · 5 comments
Open

API level 29 causes issues with the SQLite implementation #28

apcro opened this issue Mar 22, 2020 · 5 comments
Assignees
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@apcro
Copy link
Owner

apcro commented Mar 22, 2020

Apparent changes in the way Android API level 29 (Q) handles SQLite query generation and execution is causing issues when the source is compiled using this target.

By way of example:

2020-03-21 11:00:03.761 17691-17691/com.alienpants.leafpicrevived.debug W/System.err: android.database.sqlite.SQLiteException: near "group": syntax error (Sqlite code 1 SQLITE_ERROR): , while compiling: SELECT parent, bucket_display_name, count(*), _data, max(date_modified) FROM files WHERE ((is_pending=0) AND (is_trashed=0) AND (volume_name IN ( 'external_primary' ))) AND ((media_type=? or media_type=?) group by (parent) HAVING (_data NOT LIKE ? )) ORDER BY max(date_modified) DESC, (OS error - 2:No such file or directory)

This appears related to the issue noted (and a resolution provided) here: bilibili/boxing#154, as well as the discussion on this StackOverflow question.

It is likely the process of retrieving albums from the mobile device will need to be rewritten.

@apcro apcro added bug Something isn't working help wanted Extra attention is needed labels Mar 22, 2020
@apcro apcro self-assigned this Mar 22, 2020
@RB4915
Copy link

RB4915 commented Jun 22, 2020

Have you solve this?

@apcro
Copy link
Owner Author

apcro commented Jun 22, 2020

No, I have not managed to resolve this issue yet.

@atif42
Copy link

atif42 commented Jul 15, 2020

@apcro Kindly see this thread if you are having trouble in FilePicker library

https://github.com/jaiselrahman/FilePicker/issues/40

https://github.com/jaiselrahman/FilePicker/releases/tag/1.3.0

@apcro
Copy link
Owner Author

apcro commented Jul 27, 2020

Thanks for the links, they've got some interesting information. I'm in the process of tracking down the issue now.

@atif42
Copy link

atif42 commented Jul 28, 2020

Thanks for the links, they've got some interesting information. I'm in the process of tracking down the issue now.

Welcome :) Best of luck with debugging ! Hope so you'll find soon

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants