Comments (7)
I use prints to do fast debug.
PyCharm show all of the prints when working.
SciteRu is my fast editor and also show prints.
from lucaschess.
Yes, but the average user can't say "I get the traceback if I click this or if I click that" since the bug.log is populated only after the program is closed. Now it impossible to say which action exactly leads to traceback. Anyway, it's up to you of course.
from lucaschess.
Till now, average user only think in bug.log, when I say him, please send me file bug.log in the root instalation of the program to fix the bug. :)
I have added Log class to util.py, and this call in init.py.
from lucaschess.
Something unrelated:
I just played with bug.log opened in Notepad++ in the monitoring mode and get this
Traceback (most recent call last):
File "Code\QT\TabElementos.pyo", line 220, in mouseReleaseEvent
File "Code\QT\Tablero.pyo", line 1284, in intentaMover
File ".\Code\GestorEntMaq.py", line 793, in mueveHumano
submenu.opcion("user", "%s (%s)" % (_("Select my move"), rmUser.abrTextoBase()),
AttributeError: 'NoneType' object has no attribute 'abrTextoBase'
after pawn promotion to queen. So immediate saving to bug.log is quite useful.))
from lucaschess.
...and after Reinit make move, show tutor:
TUTORR!1Traceback (most recent call last):
File "Code\QT\TabElementos.pyo", line 220, in mouseReleaseEvent
File "Code\QT\Tablero.pyo", line 1284, in intentaMover
File ".\Code\GestorEntMaq.py", line 819, in mueveHumano
if tutor.elegir(self.ayudas > 0, liApPosibles=liApPosibles):
File "Code\Tutor.pyo", line 67, in elegir
File "Code\Tutor.pyo", line 160, in hazListaRM
TypeError: unsupported operand type(s) for +=: 'NoneType' and 'unicode'
from lucaschess.
I have changed promotion to be always lowercase.
from lucaschess.
A can't see the exceptions any more so I guess the issues are fixed. Thanks!
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.