2 Attachment(s)
ThinBasic(ThinAir) dislikes accented letters
Hi TB world.
I encounter a curious behavior.
I copied an old, tested, validated script in a directory, tryed to execute it .... Nothing occurs. ???
I restested the script in the original environnement : ALL OK
So, I tested the very simple script in the new environnement : Nothing occurs. ????
Code:
'---Load Console Module
Uses "Console"
'---Print the magic words
PrintL "Hello World from ThinBASIC!"
PrintL
PrintL "Press a key to end program before 5 sec"
'---Wait for a key press
WaitKey(5)
If it is saved in a directory, for example W:\temp\test_dir it executes without problem.
It is also possible to bundle it.
The same script saved in a directory with an accented letter in the name
W:\temp\dir_accentué does not execute. No console window, no error window
It is also not possible to bundle it.
Attachment 10289
The script bundled in the directory without accent, copied to the directory with accent
executes correctly.
Environnement :
Windows 7 pro SP1 french version
ThinBasic 1.11.6.0
LAST TEST ::
It works in an accented dir on a pc running ThinAir 1.10.7.0
It works in an accented dir on a pc running ThinAir 1.11.1.0
Thank for help, I have plenty accented dirs :cry:
Dany
======================================== EDIT ==================
Last test :
On another PC (always W7 SP1) I downloaded TB 1.11.7.0 .. :)
Still not running in accented dir, but .....
A Windows popup error message appears :
Attachment 10290
More text :
Nom d’événement de problème: APPCRASH
Nom de l’application: thinBasic.exe
Version de l’application: 1.11.6.0
Horodatage de l’application: 00003039
Nom du module par défaut: THINCORE.DLL
Version du module par défaut: 1.11.6.0
Horodateur du module par défaut: 00003039
Code de l’exception: c0000005
Décalage de l’exception: 000c19d2
Version du système: 6.1.7601.2.1.0.256.48
Identificateur de paramètres régionaux: 1036
Information supplémentaire n°*1: 0a9e
Information supplémentaire n°*2: 0a9e372d3b4ad19135b953a78882e789
Information supplémentaire n°*3: 0a9e
Information supplémentaire n°*4: 0a9e372d3b4ad19135b953a78882e789
If these info can help ?
Dany
I think I encountered the same problem.
Hello Eros, hello Dany
I just whish to add a small stone to this discussion.
In 2020, a friend of me had to work from home, Covid obliges.
She had to send documents (one .docx and two .xlsx), as well as a report email.
The sending had to be done by FTP. She's not a computer professional at all, she has a good practice of office, but FTP is Greek to her.:confused:
So I wrote her a little script to make these xfers. ThinBasic not being installed on her PC (from his company), so I sent her the bundled version, with the source code.
Everything went well, working properly.
A few months ago while I was abroad, without any computer mean at my disposal, I had to change the email address where to send the report. Over the phone, I told her to download ThinBasic and install it on his PC. It was version 1.11.6.0
I explained to her how to open the source code of the script with ThinAir and how to modify the email address.
When I told her to click on the green arrow (RUN), she told me that an error window appeared. Without being able to help her further, she had to do her transfers manually by email with the intervention of the recipient company.
Being too far away, I couldn't help her more. On my return I modified the source code of the script, I bundled it, sent it to her and everything was back to normal.
Reading DCO045's post, I remembered this problem.
My friend's home directory is C:\Users\Françoise . It is not an accent, it is a cedilla ... :mad:
After reading DCO045 post I tested in a comparable environnement, and the crash appears :grrrr:
The problem persists even with antivirus desactivated.
I tested in %HOMEPATH%\Téléchargements .... the programs works OK because the true name is %HOMEPATH%\Downloads
Best regards
Yann