# Cannot open tools-\>preferences

**URL:** https://forums.ankiweb.net/t/cannot-open-tools-preferences/24125
**Category:** Help
**Created:** [October 22, 2022, 8:37pm UTC](https://forums.ankiweb.net/t/cannot-open-tools-preferences/24125 "2022-10-22T20:37:55Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![ttrevor](https://avatars.discourse-cdn.com/v4/letter/t/f17d59/32.png) [@ttrevor](https://forums.ankiweb.net/u/ttrevor)
#### Post date: [October 22, 2022, 8:37pm UTC](https://forums.ankiweb.net/t/cannot-open-tools-preferences/24125/1 "2022-10-22T20:37:55Z")

</div>

I just installed the latest version of Anki on Linux Mint. When I tried to do a sync, I received the error message “Your Anki client does not support the new timezone handling yet. Please ensure your Anki is up to date.”  
I’ve read that one possible solution to this is to change the timezone settings in preferences, however, when I try to open preferences I get the following error message:

Error  
An error occurred. Please use Tools \> Check Database to see if that fixes the problem.  
If problems persist, please report the problem on our support site. Please copy and paste the information below into your report.  
Anki 2.1.15 (442df9d6) Python 3.10.6 Qt 5.15.3 PyQt 5.15.6  
Platform: Linux  
Flags: frz=False ao=False sv=1

Caught exception:  
File “/usr/share/anki/aqt/main.py”, line 882, in onPrefs  
aqt.dialogs.open(“Preferences”, self)  
File “/usr/share/anki/aqt/ **init**.py”, line 82, in open  
instance = creator(\*args)  
File “/usr/share/anki/aqt/preferences.py”, line 25, in **init**  
self.setupCollection()  
File “/usr/share/anki/aqt/preferences.py”, line 80, in setupCollection  
f.lrnCutoff.setValue(qc[‘collapseTime’]/60.0)  
\<class ‘TypeError’\>: setValue(self, int): argument 1 has unexpected type ‘float’

I have checked the database as suggested but that did not cure the problem.

**Update** I reinstalled Anki and tried using the Flatpak version instead – this works without any problems.

---

<div class="post-metadata">

### Author: ![kleinerpirat](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/kleinerpirat/32/19863_2.png) [@kleinerpirat](https://forums.ankiweb.net/u/kleinerpirat)
#### Post date: [October 23, 2022, 12:08am UTC](https://forums.ankiweb.net/t/cannot-open-tools-preferences/24125/2 "2022-10-23T00:08:12Z")

</div>

> [@ttrevor](#):
>
> Anki 2.1.15 (442df9d6) Python 3.10.6 Qt 5.15.3 PyQt 5.15.6

That’s not the latest version. The latest stable release was 2.1.54. It seems like your distro hasn’t updated Anki in its repository for a long time.

It is recommended to manually install Anki instead: [Install & Upgrade - Anki Manual](https://docs.ankiweb.net/platform/linux/installing.html)

---

<div class="post-metadata">

### Author: ![ttrevor](https://avatars.discourse-cdn.com/v4/letter/t/f17d59/32.png) [@ttrevor](https://forums.ankiweb.net/u/ttrevor)
#### Post date: [October 23, 2022, 12:24am UTC](https://forums.ankiweb.net/t/cannot-open-tools-preferences/24125/3 "2022-10-23T00:24:29Z")

</div>

Thanks, 2.1.54 is what I now have after installing the Flatpak version - you’re right, it looks like the main repository for Linux Mint has not been updated for a while.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/1X/8f1279ababc5879d54e4838989f606cfe55af8c7.jpeg) [@system](https://forums.ankiweb.net/u/system)
#### Post date: [November 22, 2022, 12:24am UTC](https://forums.ankiweb.net/t/cannot-open-tools-preferences/24125/4 "2022-11-22T00:24:44Z")

</div>

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