Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

2nd Userpoint import always fails, 1st is ok

Featured Replies

I've run into an issue where importing userpoints fails when you try to import a second csv. The first works fine, but any imports attempted afterwards always fail. Exiting and restarting LNM will allow ONE userpoint file to be imported, then it starts failing again.

The failure message is: Caught Exception. Unique constraint failed: userdata.userdata_id Unable to fetch row. void atools::sql::SqlQuery::exec(): Error executing query.

This might be an error in the undo/redo tables that was introduced in one of the recent versions. It is already fixed since 2.8.8 but the data corruption might remain.

But it is easy to fix:

  1. Export all userpoint data to CSV in "Userpoints" -> "Export as CSV". Deselect "Export selected only" or leave it as is if the button is grayed out.
  2. Quit LNM
  3. Delete the file "C:\Users\YOURUSERNAME\AppData\Roaming\ABarthel\little_navmap_db\little_navmap_userdata.sqlite"
  4. Start LNM again and import the previously export CSV again.

This should fix the error.

Alex

 

  • Author

No joy. I deleted the userpoints, exited LNM, deleted the userdata.sqlite file, and restarted LNM (on version 2.8.12 64 bit). The first userpoints file imports fine, subsequent files fail with the Caught Exception error.

  • 1 month later...

Hi,

I use the export/import during scenery testing.

This workaround seems to work.

Is there a plan to "fix" this bug for the next version?

Darryl Wightman, Georgetown ON

 

PMDG 777 FSX Order 238685

PMDG 777 P3D Order 305276

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.