Skip to content

Application with multibyte file name raises error #9583

@nishimotz

Description

@nishimotz

Steps to reproduce:

  • download test_app.zip below and extract the executable file

https://www.dropbox.com/s/66xdm39bis2x03k/test_app.zip?dl=0

"テストアプリケーション.exe" is provided by @riku22
in nvdajp/nvdajp#198

  • start NVDA
  • start the application

Actual behavior:

  • NVDA raises errors and the application is not accessible

Expected behavior:

  • NVDA works with the application

System configuration

NVDA installed/portable/running from source:

  • tested with launcher

NVDA version:

alpha snapshots nvda_snapshot_alpha-17134,363af94b.exe and later

Windows version:

  • Windows 10 (1809) 64bit Japanese (cp932)

Name and version of other software in use when reproducing the issue:

Other information about your system:

Other questions

Does the issue still occur after restarting your PC?

  • Yes

Have you tried any other versions of NVDA? If so, please report their behaviors.

The issue does not occur with alpha snapshots until nvda_snapshot_alpha-17104,6d4b1121.exe

the log is as follows:

INFO - __main__ (23:39:35.487):
Starting NVDA
INFO - core.main (23:39:36.844):
Config dir: C:\Users\nishimotz\AppData\Roaming\nvda
INFO - config.ConfigManager._loadConfig (23:39:36.844):
Loading config: C:\Users\nishimotz\AppData\Roaming\nvda\nvda.ini
INFO - core.main (23:39:37.005):
Developer Scratchpad mode enabled
INFO - core.main (23:39:38.299):
NVDA version alpha-17134,363af94b
INFO - core.main (23:39:38.301):
Using Windows version 10.0.17763 workstation
INFO - core.main (23:39:38.301):
Using Python version 2.7.16 (v2.7.16:413a49145e, Mar  4 2019, 01:30:55) [MSC v.1500 32 bit (Intel)]
INFO - core.main (23:39:38.301):
Using comtypes version 1.1.3
INFO - core.main (23:39:38.301):
Using configobj version 5.1.0 with validate version 1.0.1
INFO - synthDriverHandler.setSynth (23:39:40.190):
Loaded synthDriver oneCore
INFO - core.main (23:39:40.190):
Using wx version 4.0.3 msw (phoenix) wxWidgets 3.0.5
INFO - brailleInput.initialize (23:39:40.194):
Braille input initialized
INFO - braille.initialize (23:39:40.196):
Using liblouis version 3.9.0
INFO - braille.BrailleHandler.setDisplayByName (23:39:40.198):
Loaded braille display driver noBraille, current display has 0 cells.
INFO - _UIAHandler.UIAHandler.MTAThreadFunc (23:39:40.684):
UIAutomation: IUIAutomation6
INFO - core.main (23:39:42.381):
NVDA initialized
ERROR - core.CorePump.run (23:40:14.450):
errors in this core pump cycle
Traceback (most recent call last):
  File "core.pyc", line 489, in run
  File "IAccessibleHandler.pyc", line 897, in pumpAll
  File "IAccessibleHandler.pyc", line 614, in processGenericWinEvent
  File "appModuleHandler.pyc", line 137, in update
  File "appModuleHandler.pyc", line 123, in getAppModuleFromProcessID
  File "appModuleHandler.pyc", line 174, in fetchAppModule
UnicodeDecodeError: 'ascii' codec can't decode byte 0x83 in position 0: ordinal not in range(128)
ERROR - queueHandler.flushQueue (23:40:14.525):
Error in func update from eventQueue
Traceback (most recent call last):
  File "queueHandler.pyc", line 53, in flushQueue
  File "appModuleHandler.pyc", line 137, in update
  File "appModuleHandler.pyc", line 123, in getAppModuleFromProcessID
  File "appModuleHandler.pyc", line 174, in fetchAppModule
UnicodeDecodeError: 'ascii' codec can't decode byte 0x83 in position 0: ordinal not in range(128)
ERROR - core.CorePump.run (23:40:14.562):
errors in this core pump cycle
Traceback (most recent call last):
  File "core.pyc", line 489, in run
  File "IAccessibleHandler.pyc", line 883, in pumpAll
  File "IAccessibleHandler.pyc", line 651, in processFocusWinEvent
  File "appModuleHandler.pyc", line 137, in update
  File "appModuleHandler.pyc", line 123, in getAppModuleFromProcessID
  File "appModuleHandler.pyc", line 174, in fetchAppModule
UnicodeDecodeError: 'ascii' codec can't decode byte 0x83 in position 0: ordinal not in range(128)
ERROR - core.CorePump.run (23:40:14.658):
errors in this core pump cycle
Traceback (most recent call last):
  File "core.pyc", line 489, in run
  File "IAccessibleHandler.pyc", line 897, in pumpAll
  File "IAccessibleHandler.pyc", line 614, in processGenericWinEvent
  File "appModuleHandler.pyc", line 137, in update
  File "appModuleHandler.pyc", line 123, in getAppModuleFromProcessID
  File "appModuleHandler.pyc", line 174, in fetchAppModule
UnicodeDecodeError: 'ascii' codec can't decode byte 0x83 in position 0: ordinal not in range(128)
ERROR - core.CorePump.run (23:40:14.713):
errors in this core pump cycle
Traceback (most recent call last):
  File "core.pyc", line 489, in run
  File "IAccessibleHandler.pyc", line 897, in pumpAll
  File "IAccessibleHandler.pyc", line 614, in processGenericWinEvent
  File "appModuleHandler.pyc", line 137, in update
  File "appModuleHandler.pyc", line 123, in getAppModuleFromProcessID
  File "appModuleHandler.pyc", line 174, in fetchAppModule
UnicodeDecodeError: 'ascii' codec can't decode byte 0x83 in position 0: ordinal not in range(128)
ERROR - core.CorePump.run (23:40:14.755):
errors in this core pump cycle
Traceback (most recent call last):
  File "core.pyc", line 489, in run
  File "IAccessibleHandler.pyc", line 897, in pumpAll
  File "IAccessibleHandler.pyc", line 614, in processGenericWinEvent
  File "appModuleHandler.pyc", line 137, in update
  File "appModuleHandler.pyc", line 123, in getAppModuleFromProcessID
  File "appModuleHandler.pyc", line 174, in fetchAppModule
UnicodeDecodeError: 'ascii' codec can't decode byte 0x83 in position 0: ordinal not in range(128)
ERROR - core.CorePump.run (23:40:14.825):
errors in this core pump cycle
Traceback (most recent call last):
  File "core.pyc", line 489, in run
  File "IAccessibleHandler.pyc", line 897, in pumpAll
  File "IAccessibleHandler.pyc", line 614, in processGenericWinEvent
  File "appModuleHandler.pyc", line 137, in update
  File "appModuleHandler.pyc", line 123, in getAppModuleFromProcessID
  File "appModuleHandler.pyc", line 174, in fetchAppModule
UnicodeDecodeError: 'ascii' codec can't decode byte 0x83 in position 0: ordinal not in range(128)
ERROR - core.CorePump.run (23:40:17.686):
errors in this core pump cycle
Traceback (most recent call last):
  File "core.pyc", line 489, in run
  File "IAccessibleHandler.pyc", line 897, in pumpAll
  File "IAccessibleHandler.pyc", line 614, in processGenericWinEvent
  File "appModuleHandler.pyc", line 137, in update
  File "appModuleHandler.pyc", line 123, in getAppModuleFromProcessID
  File "appModuleHandler.pyc", line 174, in fetchAppModule
UnicodeDecodeError: 'ascii' codec can't decode byte 0x83 in position 0: ordinal not in range(128)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions