Hello,
A few things I have noticed and some clarifications.
* I have no braille device connected at all and I am very unlikelly to get one. My intention was to help mr Martin Beran to get his braille voyager working and learn a bit about brltty in the process.
* If I start run-brltty.bat it also exits right after the launch.
* My install of windows is so called international one. It installed with en-gb locale and I have then added slovak language support through the regional settings control pannel applet. By examining brltty log I have noticed it's looking for en-gb locale. I have investigated that and I have found out there is a system wide setting in windows that configures default codepage for non unicode aware applications. i have reconfigured this setting from english great britain to slovakia slovak republic through the control pannel. * It did not help with this though, the debug log you have asked for is attached.
* Is there something else to try?

Thanks and greetings

Peter



Dňa 9. 12. 2022 o 8:29 Peter Vágner napísal(a):
Hello,
Answers inline.


Dňa 9. 12. 2022 o 3:17 Dave Mielke napísal(a):
[quoted lines by Peter Vágner on 2022/12/08 at 23:36 +0100]

Thank you. This has been helpful. A few questions:

* Start the setup: windows asks for elevated privileges,
Is this a yes/no prompt? Do you get the elevated privileges or do you continue without them.
This is a typical Windows UAC Yes/No prompt. If I grant it it continues with elevated privileges.

brltty configurator window appears, I
choose Driver: auto and port: USB, then later opt to install libusb driver.
Can you confirm for me which brltty.conf file (i.e. the full path to it) gets written by the configurator?
It generates file at
C:\Program Files (X86)\brltty\etc\brltty.conf
This is with 64 bit edition of Windows.
I gues it would be
C:\Program Files\brltty\etc\brltty.conf
with 32 bit edition of Windows.
and am trying to run file run-brltty.bat.
* I receive an error like this
brltty.exe: cannot open file: //etc/brltty.conf: No such file or directory * Okay, perhaps there's a way around it so I then run .\bin\brltty --help and also inspect the bat file which I can modify by adding -f "C:\Program Files (X86)\brltty\etc\brltty.conf" inside so the brltty can find the config file.
I'm assuming, then, that it's this brltty.cobf, i.e. the one that's part of the install hierarchy, that the configurator is updating. I'd appreciate it if you could confirm this.
Yes I have checked date modified of this file and it corresponds with the time I was running the setup

* However while trying to start the service I am always receiving error like
this no matter how much I am trying.
Error 1067: 'The process terminated unexpectedly'
* Then I have opened services applet, navigated to BrlApi service and added the following to the arguments entry fields in the service properties window:
-f "C:\Program Files (X86)\brltty\etc\brltty.conf" -L "C:\Program Files
(X86)\brltty\svc.log"
So it can find its config file and also it can output what's going on into
the log.
The log is brief but hopefully gives enough pointers on what needs changing.
The log I see is:

    iconv open error: UTF-8 -> CP0: Invalid argument

This log is a warning, and not fatal. Could you please add -ldebug so that we can hopefully see where brltty is atually failing?
Okay, thanks for the hint, I will post back with a new log shortly.


Greetings

Peter


_______________________________________________
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: [email protected]
For general information, go to: http://brltty.app/mailman/listinfo/brltty

2022-12-09@08:32:03.172 BRLTTY 6.5 rev BRLTTY-6.5+ [https://brltty.app/]
2022-12-09@08:32:03.172 Console Encoding: CP0
2022-12-09@08:32:03.172 iconv open error: UTF-8 -> CP0: Invalid argument
2022-12-09@08:32:03.172 messages locale not found: sk_SK
2022-12-09@08:32:03.172 no message translations
2022-12-09@08:32:03.172 lock descriptor allocated: queue-discarded-elements
2022-12-09@08:32:03.172 Log Level: debug
2022-12-09@08:32:03.172 Messages Locale: sk_SK
2022-12-09@08:32:03.172 Messages Domain: brltty
2022-12-09@08:32:03.172 Messages Directory: C:/Program Files (x86)/BRLTTY/bin/../share/locale
2022-12-09@08:32:03.172 pushed command environment: initial
2022-12-09@08:32:03.172 report listener registered: 0: 00420e00
2022-12-09@08:32:03.172 program exit event added: screen-data
2022-12-09@08:32:03.172 Working Directory: C:\Windows\system32
2022-12-09@08:32:03.172 Configuration File: C:\Program Files (X86)\brltty\etc\brltty.conf
2022-12-09@08:32:03.172 Preferences File: brltty.prefs

Attachment: OpenPGP_0x144312F3EB650A2D.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

_______________________________________________
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: [email protected]
For general information, go to: http://brltty.app/mailman/listinfo/brltty

Reply via email to