-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Application became irresponsive #729
Comments
I loaded a couple of the other boards and at least they were responsive to my actions |
That is very strange, this seems like some badly formatted data. Unsure how this happened, keeping this issue open until someone finds some kind of reproduction. |
Just an idea: if you try to paste the JSON of the board in question into an online tool to check whether it's valid JSON, what does it say? Or is there some data which is obviously wrong or looks broken? (in this case it might be related to the background image considering the error message, maybe try resetting that if you have one set for the board) |
I had set the background image from the start and it wasn't an issue. I use it on several boards. As for the JSON, I just pasted it on |
I performed the following experiment and I am sharing my observations. Deleted the board, and used the Import Board function. It imported without issues.
Then opened again (as in every kill). I noticed the moved card was in it's new column, therefore it saved.
Opened it again (the app, then the offending board). To my surprise, despite the no response, the Tag I typed was indeed added. So, there seems to be some brain activity but no UI update.
Extra observations:
|
Thanks for sharing your observations. The only thing I can assume is that something in that one board has some kind of data which is so broken that the entire UI becomes unresponsive. Do you have any idea if there was a specific action you did in the board which could have caused these issues? It's basically impossible for me to do anything without a reliable reproduction since the logs are very cryptic. Also a question: do you mind sending me the section with background settings of your board? You can take out the full file path if that information is too sensitive for you, but I would like to take a look at the general shape of the data to see if I notice anything unusual. |
I did a bit of digging around in the code and found that the "Failed to load image" error is coming from a function used to get the average color of the background image in order to set the color of the board title to be light or dark based on constrast with the background. If you have the possibility, can you try importing the board in question on another machine and see if the issue persists? |
At first I thought it was only that board, but as I indicated yesterday evening, the same is happening on the other boards. Unfortunately I only have a Raspberry Pi, my 2010 laptop is so old and crasht that it takes ages to boot, ages to log in, impossible to do anything productive on that Windows 10 laptop. Importing the whole board doesn't give any error or even a warning as I mentioned. I don't remember but maybe I may have a Unicode character somewhere. I had that problem with Novelist, it was getting crazy due to improper handling of Unicode characters. I don't mind sending you the entire JSON of that board along with the background image. |
"background": {
"blur": "8px",
"brightness": "18%",
"src": "/home/lordofscripts/Pictures/Wallpapers/writing-fhd-01.jpg"
} As I stated, the file exists and renders properly in the Kanban board's background. |
Further experimentation.
For example, you can click on The The |
That is quite strange but in a sense also makes sense, because all boards are stored in just one file so just one bad character in one board can indeed break everything. I think your suspicion with the unicode character might be correct, so feel free to check if there's any strange character (potentially even one which might not be displayed at all) hidden in one of your boards that could cause this issue. |
I have not been able to investigate this further. The app isn't working so I had to move on to some other tasks. Pity because the app was really getting me organized. |
No worries, it's a very strange issue and we're still very much in the dark at the moment. |
Problem still persists (trying new things as we "speak"). One common issue at all times was this message on stderr every time I launched kanri:
I looked it up on the internet and people claimed this command below resolved THAT issue:
I tried it and that message is gone. Now, I have no idea what this app or its dependencies has to do with a (hardware) SPI bus, but that message is gone... |
Now, it would be nice if Kanri had a way to open up the gates of logging, it would shed some light into what it is actually doing. Else we are working blindfolded. FirstI eliminated ALL boards but a simple one. I removed the background image (that other error about couldn't load image went away). I hope you fix that. Then I opened that single board that had no background image and just 5 cards in 3 columns. I tried several browsing operations (View Tags, Vie Card) and everything seems fine. But the moment I try " To me this seems like something in your app is hanging in such a way that not even the windowing events get processed. As I said, some logging would help, else this is like working blindly. SecondI removed ALL Boards and relaunched kanri. I imported that simple board and the import operation worked. Again, I removed ALL boards and relaunched. This time I tried creating the "lonely" board. The problem is... At that point it hangs, it doesn't even show the board creation dialog. Third
And it hangs. I am not sure this Tauri framework is stable, or perhaps it is not as multi-platform as it claims to be. |
Any news on this? I couldn't find any Unicode strange characters so it must be something else that makes the application to stop responding. I have had to stop using kanri altogether. |
No updates here, I'm sorry. The app is currently undergoing a migration to Tauri v2 which also bumps the version of the webview. As soon as that is done I can provide you with a preview release so you can see if that fixes anything for you. |
The application doesn't like adding anything.
So far my trials and tribulations with Kanri seem to indicate something goes really wrong -but silently- after using the "(+)" buttons (card or board). Furthermore, I tested other inputs and noticed this:
I don't know the internals but as I said, the app is mostly unresponsive but a few links appear active until you click on them but nothing happens. You could look at the commonality of high/low level actions on Add operations. I would advise adding logging as well. |
Describe the bug
Had been working fine until today. The UI displays fine but after all is rendered, the app becomes irresponsive. No keyboard input, no response to mouse clicks.
To Reproduce
Expected behavior
Work as usual.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
OS: Linux Debían (Raspbian)
Version 0.8
Smartphone (please complete the following information):
N.A.
Additional context
Terminal window shows:
At that moment clicking on the window close (X) is the only thing that works.
The text was updated successfully, but these errors were encountered: