Skip to content

SQLite error on some profile folders #23

@worktivity

Description

@worktivity

Hello,

I've encountered an issue when using Edge on my computer where URLs cannot be retrieved. From my research, it seems that there are two profile folders on my computer named "yqpdjyl6.default" and "qxw2p5tx.default-release."

The folder ending with "release" belongs to my current profile, while the other one is presumably a default folder containing a completely empty "places.sqlite" file with no tables.

As a result, the SQL command at line 114 in the "index.js" file directly queries the "moz_places" table, causing a "No such table: moz places" error in the "getHistoryFromDb" function. Consequently, it is unable to read any URLs.

The "getHistoryFromDb" function can be modified accordingly to handle this situation. If the file is empty, it can proceed to the next file without disrupting the loop, resolving the issue.

image

image

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions