Comments (8)
One reason can be that the program don´t have enough permissions to create files in its folder.
To connect to kibitzers the program creates a file in the installation folder.
Other person writes me today with the same question, it is probably that something I have out of control, but the problem is I don´t know how to replicate the problem (my tests in an standard installation W8.1 64 bits + WXP 32bits are all ok).
from lucaschess.
I've modified recursively the permissions for LucaChess folder to allow modifications to anyone, but it didn't help. I'm running Win 10 64 bit. I installed LucaChess in a non-standard D:\Programs\LucaChess folder.
However, after reproducing the issue again I noticed a bug.kibitzer log file and it shows the following:
Traceback (most recent call last):
File "lucas.py", line 61, in
File "Code\RunKibitzer.pyo", line 1558, in run
File "Code\RunKibitzer.pyo", line 1452, in run
File "Code\RunKibitzer.pyo", line 1463, in recibe
File "Code\Util.pyo", line 432, in pop
sqlite3.OperationalError: no such table: DATOS
Regarding a potential problem with permissions (whether this applies to this bug or not), may I suggest the following:
- use Qt's QDesktopServices::storageLocations (may be in a different class depending on major Qt version and PyQt) to find a writable directory for current user (DataLocation or Cache location look like good candidates). This is portable and flexible solution. Writing to the installation directory looks very problematic to me.
- display an error in a popup dialog, permission issues are common enough to justify that.
- I'd say displaying popups for all critical errors (such as the sqlite error above) would be a good idea, otherwise when users face "silent" failures, they are in the dark with no clue what happened, this will also make your life easier when they report bugs ;). The popup could just say "a critical error occurded" and point user to the log file for details.
BTW, a great piece of software, thanks for your hard work!
from lucaschess.
Just a minor update, I've just uninstalled LucaChess, removed its directory and installed it again and I'm still getting the exception about missing DATOS table when trying to use kibitzers.
from lucaschess.
Please, say me if you launch the program from sources or a portable or an installable version (and which version).
I could send you some code or binary to test.
from lucaschess.
I'm running the installable version 9.07c (InsLucaChess907c.exe installer).
from lucaschess.
I have done a little change, take into account a fast launch of the kibitzer:
To update your program, replace this file = library.zip in the folder of lucaschess.
from lucaschess.
Yes, that fixes it, I tested with multiple kibitzers, thank you! Looking forward for the next release with that fix included.
from lucaschess.
Thank you very much.
I´ll try to publish today (?).
from lucaschess.
Related Issues (20)
- Cannot compile on Ubuntu 18.04 HOT 2
- Ubuntu 18.04 installation error. HOT 21
- Linux Mageia: Error when executing xcython_linux.sh HOT 6
- Lucaschess not starting up : Ubuntu 18.04
- Lucaschess not running after upgrading to ubuntu 20.04 HOT 9
- It is unclear how to undue theme customisations HOT 2
- Please consider gradually transitioning the codebase into English HOT 1
- It's impossible to add external engines on Linux if their filename doesn't end with .exe HOT 1
- Piece styles as TTF HOT 5
- Live analysis output? HOT 3
- How to start the program on linux ? HOT 2
- Tutor regularly telling me my move is not the best move, and then recommends that same move to me. HOT 3
- Options windows, and especially the Initial Moves window, are rather small HOT 5
- The wait pointer shows when I have the tutor enabled and when *it is my move* HOT 1
- Wait pointer shows when it is my move
- pgn text copy error HOT 5
- search or past a position when browsing opening lines HOT 3
- Request options for making bin books with Polyglot book factory HOT 3
- Feature request: have a live analysis feature like in lichess HOT 1
- Setting up a position and then playing it (1) is rather complex, (2) changes the animations speed; more
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lucaschess.