stephanmahieu / formhistorycontrol-2

A browser Add-On to View and Manage form history entries (adaptation of v1 for web-extension and e10s)
https://stephanmahieu.github.io/fhc-home
MIT License
51 stars 14 forks source link

FHC Export of old form contents fails #106

Closed grafenhofer closed 4 years ago

grafenhofer commented 4 years ago

Describe the bug Running fhcExport I receive an empty formhistory.xml.

To Reproduce

I run

java -jar fhcExport-1.0.0.jar -p ~/.mozilla/firefox/YYY.default-release/

and receive

the output

Start formhistory export

checking outputfile:        OK
checking profile directory: OK
reading inputfields:       Retrieve input fields failed. [SQLITE_CORRUPT]  The database disk image is malformed (malformed database schema (moz_history_to_sources) - near "WITHOUT": syntax error)
 0
reading multilinefields:    skipped, non existing or empty db (cleanup.sqlite)
writing data:               OK

Expected behavior formhistory.xml should contain all old form data

Desktop:

stephanmahieu commented 4 years ago

It looks like you are trying to use fhcExport on a profile directory belonging to a modern version of Firefox. The standalone export utility is designed to export formhistory data from Firefox versions prior to the WebExtension versions. So only versions up to 57 are fully supported.

If you wish to export the formhistory from newer version, you can do so from FormHistoryControl II itself. See the help for more information on exporting/importing.