BenjamimKrug / FullSerialMonitor

MIT License
86 stars 5 forks source link

Error - Error on writing #2

Closed epac-tom closed 7 months ago

epac-tom commented 7 months ago

Running 1.0.2 I loaded up the tool to have a play with but have found a error that requires killing the program from task manager.

Open the program, select and connect to a port. Open the sequence, added a packet, selected Send Sequence, I don't see anything in either window - not sure if I should. Then select Disconnect in the main window. I then get a Error window, Error on writing. Selecting ok just keeps popping up the same error. I have to kill it with task manager to close it.

BenjamimKrug commented 7 months ago

If you click on save before clicking on send sequence does the issue still happen? For the sequence to be sent it must have been saved. That might be the cause. But I think I'll change that in the future to avoid this kind of situation.

Em ter., 9 de abr. de 2024 11:50, epac-tom @.***> escreveu:

Running 1.0.2 I loaded up the tool to have a play with but have found a error that requires killing the program from task manager.

Open the program, select and connect to a port. Open the sequence, added a packet, selected Send Sequence, I don't see anything in either window - not sure if I should. Then select Disconnect in the main window. I then get a Error window, Error on writing. Selecting ok just keeps popping up the same error. I have to kill it with task manager to close it.

— Reply to this email directly, view it on GitHub https://github.com/BenjamimKrug/FullSerialMonitor/issues/2, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQZWIHUOLRYN4R5QFUPT5LTY4P55HAVCNFSM6AAAAABF6XRC2OVHI2DSMVQWIX3LMV43ASLTON2WKOZSGIZTGNRTGQ4TIMY . You are receiving this because you are subscribed to this thread.Message ID: @.***>

epac-tom commented 7 months ago

Doesn't appear to matter whether it is saved or not. Infact I must have saved it as when I reopen after killing it, the packet is still there. Crashes on that packet, and if I create a new packet and select send, without saving, same behaviour.

BenjamimKrug commented 7 months ago

Did you install it on a protected folder or something of the sort? Like in the Program Files folder? It might be having an issue with writing the files due to a lack of access permission. Also, what OS are you using it on? For now the only OS I've tested on are Windows 10 and 11, so that might be another problem.

Em ter., 9 de abr. de 2024 às 12:02, epac-tom @.***> escreveu:

Doesn't appear to matter whether it is saved or not

— Reply to this email directly, view it on GitHub https://github.com/BenjamimKrug/FullSerialMonitor/issues/2#issuecomment-2045406220, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQZWIHWDZSOB5THI2KSAQK3Y4P7J3AVCNFSM6AAAAABF6XRC2OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANBVGQYDMMRSGA . You are receiving this because you commented.Message ID: @.***>

epac-tom commented 7 months ago

I downloaded the zip and extracted the contents to a folder on my desktop. Running Windows 10

BenjamimKrug commented 7 months ago

Do the other features work correctly? Is it only with the packet sequencer? Can you open the devtools and see if there are any warnings or error messages? Also, if we do not manage to solve the issue via message, would it be possible for us to get on a discord/meet/zoom call to try and see if there are any clues to the problem?

Em ter., 9 de abr. de 2024 às 12:17, epac-tom @.***> escreveu:

I downloaded the zip and extracted the contents to a folder on my desktop. Running Windows 10

— Reply to this email directly, view it on GitHub https://github.com/BenjamimKrug/FullSerialMonitor/issues/2#issuecomment-2045448577, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQZWIHQYUU7EDAFVDVGJYOLY4QBCHAVCNFSM6AAAAABF6XRC2OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANBVGQ2DQNJXG4 . You are receiving this because you commented.Message ID: @.***>

epac-tom commented 7 months ago

I'm trying other things out, basic sending receiving seems to be ok, I did notice this when trying to recreate this issue again: image

BenjamimKrug commented 7 months ago

Can you try changing the configuration, saving it and opening the program again? Like the theme or any of the log configurations just to be sure that it is managing to at least save the config file.

The issue from the picture usually happens when it fails to save the sequence file and then tries to send the sequence, but from what you've described it did save the sequence. That's very odd.

Em ter., 9 de abr. de 2024 às 12:34, epac-tom @.***> escreveu:

I'm trying other things out, basic sending receiving seems to be ok, I did notice this when trying to recreate this issue again: image.png (view on web) https://github.com/BenjamimKrug/FullSerialMonitor/assets/63097910/e36c8bc0-85b6-4c44-b357-5cd858e2cfa8

— Reply to this email directly, view it on GitHub https://github.com/BenjamimKrug/FullSerialMonitor/issues/2#issuecomment-2045495978, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQZWIHRMV3ZCQVVRYJ56PD3Y4QC7BAVCNFSM6AAAAABF6XRC2OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANBVGQ4TKOJXHA . You are receiving this because you commented.Message ID: @.***>

epac-tom commented 7 months ago

I think I've gone down off track here, it looks like this is only occuring on one device, which I suspect is contributing to the issue. I'm going to close the issue because this device does so some unusual things when the port is opened/closed and I suspect it's that rather than this program.

BenjamimKrug commented 7 months ago

Oh, ok, but if it appears again be sure to tell me, as I want it to work on everything eventually.

Em ter., 9 de abr. de 2024 às 13:30, epac-tom @.***> escreveu:

I think I've gone down off track here, it looks like this is only occuring on one device, which I suspect is contributing to the issue. I'm going to close the issue because this device does so some unusual things when the port is opened/closed and I suspect it's that rather than this program.

— Reply to this email directly, view it on GitHub https://github.com/BenjamimKrug/FullSerialMonitor/issues/2#issuecomment-2045612671, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQZWIHTOHFFDY3LG3BUXCPTY4QJQZAVCNFSM6AAAAABF6XRC2OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANBVGYYTENRXGE . You are receiving this because you commented.Message ID: @.***>

epac-tom commented 7 months ago

Will do. I'm not 100% but I'm pretty sure this device reboots on the COM port disconnecting, so I suspect it something odd happening when that occurs. If you're interested it's this device, I hadn't realised it was when I was opening/closing that particular device that the error was occuring.

BenjamimKrug commented 7 months ago

Oh, I've dealt with this device before and it can be quite a pain to use it, but never tried it on my serial monitor, might be an issue

Em ter., 9 de abr. de 2024 às 13:36, epac-tom @.***> escreveu:

Will do. I'm not 100% but I'm pretty sure this device reboots on the COM port disconnecting, so I suspect it something odd happening when that occurs. If you're interested it's this device https://www.nordicsemi.com/Products/Development-hardware/nRF52840-Dongle, I hadn't realised it was when I was opening/closing that particular device that the error was occuring.

— Reply to this email directly, view it on GitHub https://github.com/BenjamimKrug/FullSerialMonitor/issues/2#issuecomment-2045624748, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQZWIHRPDVWYAHAMWSDZHOTY4QKHVAVCNFSM6AAAAABF6XRC2OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANBVGYZDINZUHA . You are receiving this because you commented.Message ID: @.***>