# Export SQL Lite

**URL:** <https://gramps.discourse.group/t/export-sql-lite/1131>\
**Category:** Help\
**Tags:** third-party-addon\
**Created:** [January 19, 2021, 11:02pm UTC](https://gramps.discourse.group/t/export-sql-lite/1131 "2021-01-19T23:02:00Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![les61](https://avatars.discourse-cdn.com/v4/letter/l/e36b37/32.png) [@les61](https://gramps.discourse.group/u/les61)\
**Post date:** [January 19, 2021, 11:02pm UTC](https://gramps.discourse.group/t/export-sql-lite/1131/1 "2021-01-19T23:02:00Z")

</div>

GRAMPS: GrampsAIO64-5.1.3-2  
Python: 3.6.4 (default, Jan 23 2018, 13:17:37) …  
BSDDB: 6.1.0 (6, 0, 30)  
sqlite: 3.21.0 (2.6.0)  
LANG: en\_GB.UTF-8  
OS: Windows

I have installed (overwritten the original install) the SQLLITE.ADDON. Installed into C:\Program Files\GrampsAIO64-5.1.3\gramps\plugins.

After restarting GRAMPS I get the following error message

_14247: ERROR: grampsapp.py: line 157: Unhandled exception_  
_Traceback (most recent call last):_

- File “C:\Program Files\GrampsAIO64-5.1.3\gramps\gui\viewmanager.py”, line 1361, in export\_data\*
- ExportAssistant(self.dbstate, self.uistate)\*
- File “C:\Program Files\GrampsAIO64-5.1.3\gramps\gui\plug\export\_exportassistant.py”, line 145, in **init** \*
- self.create\_page\_exporttypes()\*
- File “C:\Program Files\GrampsAIO64-5.1.3\gramps\gui\plug\export\_exportassistant.py”, line 206, in create\_page\_exporttypes\*
- exporters.sort()\*  
_TypeError: ‘\<’ not supported between instances of ‘ExportPlugin’ and ‘ExportPlugin’_

Any suggestions on how to fix? It worked prior to me reinstalling it.

---

<div class="post-metadata">

**Author:** ![anon9092048](https://avatars.discourse-cdn.com/v4/letter/a/bcef8e/32.png) [@anon9092048](https://gramps.discourse.group/u/anon9092048)\
**Post date:** [January 19, 2021, 11:29pm UTC](https://gramps.discourse.group/t/export-sql-lite/1131/2 "2021-01-19T23:29:01Z")

</div>

> [@les61](#):
>
> I have installed (overwritten the original install) the SQLLITE.ADDON. Installed into C:\Program Files\GrampsAIO64-5.1.3\gramps\plugins.

Don’t overwrite the builtin one manually, install the addons via Gramps builtin installer for addons see the section " Installing Addons in Gramps"

[https://gramps-project.org/wiki/index.php/5.1\_Addons](https://gramps-project.org/wiki/index.php/5.1_Addons)

---

<div class="post-metadata">

**Author:** ![les61](https://avatars.discourse-cdn.com/v4/letter/l/e36b37/32.png) [@les61](https://gramps.discourse.group/u/les61)\
**Post date:** [January 20, 2021, 12:35am UTC](https://gramps.discourse.group/t/export-sql-lite/1131/3 "2021-01-20T00:35:14Z")

</div>

Sorry but I might have confused people. I had installed the SQLLITE.ADDON previously and it worked. I accidentally installed it a second time when installing other addons and over wrote the original install using the [Sqlite.addon.tgz](https://github.com/gramps-project/addons/blob/master/gramps51/download/Sqlite.addon.tgz?raw=true) and that is when I get the error message when I tried to run an export.

---

<div class="post-metadata">

**Author:** ![DaveSch](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/davesch/32/40_2.png) [@DaveSch](https://gramps.discourse.group/u/DaveSch)\
**Post date:** [January 20, 2021, 3:10am UTC](https://gramps.discourse.group/t/export-sql-lite/1131/4 "2021-01-20T03:10:06Z")

</div>

Probably the easiest will be to delete the folder from the plugins directory. After launching Gramps, go to Addon Management in Preferences and reinstall the most recent version of the addon. You might have to uncheck the **Do not ask about previously notified addons**.

> [@les61](#):
>
> C:\Program Files\GrampsAIO64-5.1.3\gramps\plugins.

This is part of the core Gramps program files.

The plugin folder is (on Win10)

`c:\user\%you%\appdata\roaming\gramps\gramps51\plugins`

FYI: The appdata folder by default is hidden.

---

<div class="post-metadata">

**Author:** ![les61](https://avatars.discourse-cdn.com/v4/letter/l/e36b37/32.png) [@les61](https://gramps.discourse.group/u/les61)\
**Post date:** [January 20, 2021, 6:05am UTC](https://gramps.discourse.group/t/export-sql-lite/1131/5 "2021-01-20T06:05:25Z")

</div>

Addon Management in GRAMPS does not work as the link address must be wrong. When loading into normal browser it comes back with a 404 error. I uninstalled GRAMPS, reinstalled and loaded SQLLITE.ADDON into the directory you said and it works fine now.

Thanks

---

<div class="post-metadata">

**Author:** ![DaveSch](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/davesch/32/40_2.png) [@DaveSch](https://gramps.discourse.group/u/DaveSch)\
**Post date:** [January 20, 2021, 12:43pm UTC](https://gramps.discourse.group/t/export-sql-lite/1131/6 "2021-01-20T12:43:27Z")

</div>

I am glad you got things working. But to make things easier in the future…

You do not use a browser to check for addons in [Third party addons management](https://gramps-project.org/wiki/index.php?title=Gramps_5.1_Wiki_Manual_-_Settings#Third_party_addons_management)

The path Gramps will use for 5.1 version addons is:

`https://raw.githubusercontent.com/gramps-project/addons/master/gramps51`

But you use the **Check for updated addons now** button. It is working just fine. [just used it] If there are addons available to you, a list will appear that you can select from and install from the list dialog.

You can set Gramps to automatically check for addons. I have mine set to check daily when I launch Gramps for the first time each day. Most addons will automatically install with the Third Party addons management. Only a few addons need manual installation and most of these will be in a testing phase.

---

<div class="post-metadata">

**Author:** ![les61](https://avatars.discourse-cdn.com/v4/letter/l/e36b37/32.png) [@les61](https://gramps.discourse.group/u/les61)\
**Post date:** [January 20, 2021, 11:08pm UTC](https://gramps.discourse.group/t/export-sql-lite/1131/7 "2021-01-20T23:08:24Z")

</div>

My system is set up with that link. When I click on it it comes back to say that there are no addons and it does this within about 1 second.  
 ![image](https://global.discourse-cdn.com/free1/uploads/gramps/original/1X/2ec4e1a3496d07b03668337a926efc73e943b5a1.png)

No list or anything else. Is this correct? The only addon I have in c:\user%you%\appdata\roaming\gramps\gramps51\plugins is “Forms” and “SQLLite”

---

<div class="post-metadata">

**Author:** ![DaveSch](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/davesch/32/40_2.png) [@DaveSch](https://gramps.discourse.group/u/DaveSch)\
**Post date:** [January 20, 2021, 11:26pm UTC](https://gramps.discourse.group/t/export-sql-lite/1131/8 "2021-01-20T23:26:04Z")

</div>

This message says that all your addons are the most recent and there are no new addons.

There may be addons that you never installed. Uncheck the **Do not ask about previously notified addons** to see if there are any other addons available.

 ![EditPreferences-General-tab-example-51](https://global.discourse-cdn.com/free1/uploads/gramps/original/1X/6952f2708e18c0c07d480fca5f14fef7db49a110.png)

---

<div class="post-metadata">

**Author:** ![les61](https://avatars.discourse-cdn.com/v4/letter/l/e36b37/32.png) [@les61](https://gramps.discourse.group/u/les61)\
**Post date:** [January 20, 2021, 11:43pm UTC](https://gramps.discourse.group/t/export-sql-lite/1131/9 "2021-01-20T23:43:38Z")

</div>

Hi, It is/was unticked.

 ![image](https://global.discourse-cdn.com/free1/uploads/gramps/original/1X/8d0412e6a5aebf36d03098836e57d7f442def19b.png)  
Thanks

---

<div class="post-metadata">

**Author:** ![prculley](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/prculley/32/41_2.png) [@prculley](https://gramps.discourse.group/u/prculley)\
**Post date:** [January 21, 2021, 4:08pm UTC](https://gramps.discourse.group/t/export-sql-lite/1131/10 "2021-01-21T16:08:39Z")

</div>

> [@DaveSch](#):
>
> [https://raw.githubusercontent.com/gramps-project/addons/master/gramps51](https://raw.githubusercontent.com/gramps-project/addons/master/gramps51)

The “There are no available addons of this type” message occurs when all addons are properly installed. If you use “Help/Plugin manager” do you see the box titled “Plugin Manager - Enhanced”? That would be an indication that the enhanced plugin manager addon was installed. Within the box are listing of all the plugins. If everything is installed there should be quite a few “\*Installed” items in the “Status” column. If all this is true, you may be looking in the wrong place for the addons in your file manager;  
“c:\user%you%\appdata\roaming\gramps\gramps51\plugins” where the %you% is replaced with your username is the place to look. Unless you have moved your Windows profile to a different drive or location.

---

<div class="post-metadata">

**Author:** ![les61](https://avatars.discourse-cdn.com/v4/letter/l/e36b37/32.png) [@les61](https://gramps.discourse.group/u/les61)\
**Post date:** [January 21, 2021, 10:17pm UTC](https://gramps.discourse.group/t/export-sql-lite/1131/11 "2021-01-21T22:17:41Z")

</div>

When I select “Help/Plugin Manager” I only get “Registered Plugins” and “Loaded Plugins”

 ![image](https://global.discourse-cdn.com/free1/uploads/gramps/original/1X/f5db1c90c9d919134530009c4c11319b4cbac131.png) .

Do I need to load " [Plugin Manager Plugin]" to get this to work?

---

<div class="post-metadata">

**Author:** ![DaveSch](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/davesch/32/40_2.png) [@DaveSch](https://gramps.discourse.group/u/DaveSch)\
**Post date:** [January 21, 2021, 11:39pm UTC](https://gramps.discourse.group/t/export-sql-lite/1131/12 "2021-01-21T23:39:58Z")

</div>

By you displaying the [standard Plugin Manager](https://gramps-project.org/wiki/index.php/Gramps_5.1_Wiki_Manual_-_Plugin_Manager), it clearly shows that either the [Enhanced Plugin Manager](https://gramps-project.org/wiki/index.php?title=Plugin_Manager_Plugin) is not installed or by using either Manager, you have hidden the addon which based upon your questions, you did not do. If the Enhanced Plugin Manger were installed, it would automatically override the standard version.

Going on the assumption that it is not installed, it is curious that when you checked for addons, it came back that none were available. So lets try a clean new install of all addons.

While you are not running Gramps…

Unless you set a different path to you addons (GRAMPSHOME) all you plugins will be in `c:\user\%you%\appdata\roaming\gramps\gramps51\plugins` where the %you% is replaced with your username.

Delete (or move to a temp folder on your desktop) all the files and folders in this directory.

In `c:\user\%you%\appdata\roaming\gramps\gramps51` delete the file **new\_addons.txt**

In the same folder open the file **gramps.ini** and scroll down to [plugin]. The **`;;hiddenplugins=[]`** is the default setting for hiding addons, i.e. no plugins hidden.

Now launch Gramps. Based upon your addon settings, when you launch Gramps, it will find the complete list of addons which you can select and install from the dialog list. Hopefully you will get all the addons you need/want.

Hint: I always “Select All” and install. I always have a complete list of addons installed. If there are any addons that I actually do not use, I can “Hide” them using the Plugin Manager. And if I find a need (like helping other users) I can “UnHide” them for use.

---

<div class="post-metadata">

**Author:** ![les61](https://avatars.discourse-cdn.com/v4/letter/l/e36b37/32.png) [@les61](https://gramps.discourse.group/u/les61)\
**Post date:** [January 22, 2021, 2:04am UTC](https://gramps.discourse.group/t/export-sql-lite/1131/13 "2021-01-22T02:04:46Z")

</div>

DaveSch,

I moved the files and directories from “C:\Users%you%\AppData\Roaming\gramps\gramps51\plugins” to a backup file. There was no “new\_addons.txt” file in “C:\Users%you%\AppData\Roaming\gramps\gramps51”. In fact there were no txt files in any directory under “Gramps”.

The ;; hiddenplugins=[] was already that so did not change.

Noted the following in the gramps.ini, ;;last-check-for-addon-updates=‘1970/01/01’

Restarted Gramps and the 3 addons that I backedup do not show (Naturally as they are no longer in the gramps51 directory) but also the Preferences and Check for Updates still returns the that there are none.

---

<div class="post-metadata">

**Author:** ![DaveSch](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/davesch/32/40_2.png) [@DaveSch](https://gramps.discourse.group/u/DaveSch)\
**Post date:** [January 22, 2021, 2:41pm UTC](https://gramps.discourse.group/t/export-sql-lite/1131/14 "2021-01-22T14:41:43Z")

</div>

> [@les61](#):
>
> Noted the following in the gramps.ini, ;;last-check-for-addon-updates=‘1970/01/01’

This is probably because your setting to Always check for updates is not date dependent.

Doing some more digging there may be another setting in the **gramps.ini** to make sure is reset to the default.

In [behavior]  
**;;previously-seen-addon-updates=[]**

If this does not allow a complete addons to install, maybe @prculley will have another idea.

---

<div class="post-metadata">

**Author:** ![les61](https://avatars.discourse-cdn.com/v4/letter/l/e36b37/32.png) [@les61](https://gramps.discourse.group/u/les61)\
**Post date:** [January 22, 2021, 8:36pm UTC](https://gramps.discourse.group/t/export-sql-lite/1131/15 "2021-01-22T20:36:53Z")

</div>

Lines in gramps.ini show as :  
_do-not-show-previously-seen-addon-updates=0_  
_generation-depth=50_  
_;;last-check-for-addon-updates=‘1970/01/01’_  
_;;max-age-prob-alive=110_  
_;;max-sib-age-diff=20_  
_;;min-generation-years=13_  
_;;owner-warn=0_  
_;;pop-plugin-status=0_  
_;;previously-seen-addon-updates=[]_

Cheers

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/gramps/original/1X/2ac1e712b7adf612e31ca08a55419f4cf37c0158.png) [@system](https://gramps.discourse.group/u/system)\
**Post date:** [February 21, 2021, 8:36pm UTC](https://gramps.discourse.group/t/export-sql-lite/1131/16 "2021-02-21T20:36:56Z")

</div>

Closed on February 21, 2021, 8:36pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
