Open ricardocaracante opened 1 year ago
Hi, Might have figured out a fix for the byte sequence error:
In file: C:/Modsvaskr/vendor/bundle/ruby/2.6.0/gems/modsvaskr-0.1.12/lib/modsvaskr/game.rb (this location is user specific, I have it somewhere else...) on line 137 replace the entire line with: @pid = Integer(tasklist_stdout.force_encoding("iso-8859-1").split[1])
.
This enforces encoding to European character set as described here: link
This fixed the Unhandled Exception for me and allowed me to run the tests (until I ran into other issues... :) ).
Hi, can someone help me with this problem?
[ 2023-04-08 16:11:56 ] - [ Ui ] - Launch Modsvaskr UI v0.1.12 - Logs in C:/Modsvaskr/Modsvaskr.log [ 2023-04-08 16:12:08 ] - [ InGameTestsRunner ] - [ In-game testing Skyrim SE ] - 3 available in-game tests suites: npcs, locations, npcshead [ 2023-04-08 16:12:12 ] - [ InGameTestsRunner ] - [ In-game testing Skyrim SE ] - 1 tests suites have statuses changes: [ 2023-04-08 16:12:12 ] - [ InGameTestsRunner ] - [ In-game testing Skyrim SE ] * locations: [ 2023-04-08 16:12:12 ] - [ InGameTestsRunner ] - [ In-game testing Skyrim SE ] - First test to run should be locations / dlc2solstheimworld/16/18. [ 2023-04-08 16:12:12 ] - [ SkyrimSe ] - [ Game Skyrim SE ] - Launch game (#0) using configured launcher (skse64_loader.exe)... [ 2023-04-08 16:12:22 ] - [ SkyrimSe ] - [ Game Skyrim SE ] - SkyrimSE.exe is not running. Wait for its startup... [ 2023-04-08 16:12:23 ] - [ SkyrimSe ] - [ Game Skyrim SE ] - SkyrimSE.exe is not running. Wait for its startup... [ 2023-04-08 16:12:24 ] - [ SkyrimSe ] - [ Game Skyrim SE ] - SkyrimSE.exe is not running. Wait for its startup... [ 2023-04-08 16:12:25 ] - [ SkyrimSe ] - [ Game Skyrim SE ] - SkyrimSE.exe is not running. Wait for its startup... [ 2023-04-08 16:12:26 ] - [ SkyrimSe ] - [ Game Skyrim SE ] - SkyrimSE.exe is not running. Wait for its startup... [ 2023-04-08 16:12:27 ] - [ SkyrimSe ] - [ Game Skyrim SE ] - SkyrimSE.exe is not running. Wait for its startup... [ 2023-04-08 16:12:28 ] - [ SkyrimSe ] - [ Game Skyrim SE ] - SkyrimSE.exe is not running. Wait for its startup... [ 2023-04-08 16:12:29 ] - [ SkyrimSe ] - [ Game Skyrim SE ] - SkyrimSE.exe is not running. Wait for its startup... [ 2023-04-08 16:12:30 ] - [ SkyrimSe ] - [ Game Skyrim SE ] - SkyrimSE.exe is not running. Wait for its startup... [ 2023-04-08 16:12:32 ] - [ SkyrimSe ] - [ Game Skyrim SE ] - SkyrimSE.exe is not running. Wait for its startup... [ 2023-04-08 16:12:33 ] - [ SkyrimSe ] - [ Game Skyrim SE ] - SkyrimSE.exe is not running. Wait for its startup... [ 2023-04-08 16:12:34 ] - [ SkyrimSe ] - [ Game Skyrim SE ] - SkyrimSE.exe is not running. Wait for its startup... [ 2023-04-08 16:12:35 ] - [ SkyrimSe ] - [ Game Skyrim SE ] - SkyrimSE.exe is not running. Wait for its startup... [ 2023-04-08 16:12:36 ] - [ SkyrimSe ] - [ Game Skyrim SE ] - SkyrimSE.exe is not running. Wait for its startup... [ 2023-04-08 16:12:37 ] - [ SkyrimSe ] - [ Game Skyrim SE ] - SkyrimSE.exe is not running. Wait for its startup... [ 2023-04-08 16:12:38 ] - [ SkyrimSe ] - [ Game Skyrim SE ] - SkyrimSE.exe is not running. Wait for its startup... [ 2023-04-08 16:12:39 ] - [ Ui ] - Unhandled exception: invalid byte sequence in UTF-8 C:/Modsvaskr/vendor/bundle/ruby/2.6.0/gems/modsvaskr-0.1.12/lib/modsvaskr/game.rb:137:in'
[ 2023-04-08 16:12:39 ] - [ Ui ] - Close Modsvaskr UI
split' C:/Modsvaskr/vendor/bundle/ruby/2.6.0/gems/modsvaskr-0.1.12/lib/modsvaskr/game.rb:137:in
launch' C:/Modsvaskr/vendor/bundle/ruby/2.6.0/gems/modsvaskr-0.1.12/lib/modsvaskr/in_game_tests_runner.rb:151:inblock (2 levels) in run' C:/Modsvaskr/vendor/bundle/ruby/2.6.0/gems/modsvaskr-0.1.12/lib/modsvaskr/in_game_tests_runner.rb:120:in
loop' C:/Modsvaskr/vendor/bundle/ruby/2.6.0/gems/modsvaskr-0.1.12/lib/modsvaskr/in_game_tests_runner.rb:120:inblock in run' C:/Modsvaskr/vendor/bundle/ruby/2.6.0/gems/modsvaskr-0.1.12/lib/modsvaskr/in_game_tests_runner.rb:252:in
with_auto_test_monitoring' C:/Modsvaskr/vendor/bundle/ruby/2.6.0/gems/modsvaskr-0.1.12/lib/modsvaskr/in_game_tests_runner.rb:112:inrun' C:/Modsvaskr/vendor/bundle/ruby/2.6.0/gems/modsvaskr-0.1.12/lib/modsvaskr/tests_runner.rb:148:in
run' C:/Modsvaskr/vendor/bundle/ruby/2.6.0/gems/modsvaskr-0.1.12/lib/modsvaskr/ui.rb:154:inblock (7 levels) in run' C:/Modsvaskr/vendor/bundle/ruby/2.6.0/gems/curses_menu-0.2.0/lib/curses_menu.rb:136:in
block in initialize' C:/Modsvaskr/vendor/bundle/ruby/2.6.0/gems/curses_menu-0.2.0/lib/curses_menu.rb:48:inloop' C:/Modsvaskr/vendor/bundle/ruby/2.6.0/gems/curses_menu-0.2.0/lib/curses_menu.rb:48:in
initialize' C:/Modsvaskr/vendor/bundle/ruby/2.6.0/gems/modsvaskr-0.1.12/lib/modsvaskr/ui.rb:62:innew' C:/Modsvaskr/vendor/bundle/ruby/2.6.0/gems/modsvaskr-0.1.12/lib/modsvaskr/ui.rb:62:in
block (5 levels) in run' C:/Modsvaskr/vendor/bundle/ruby/2.6.0/gems/curses_menu-0.2.0/lib/curses_menu.rb:136:inblock in initialize' C:/Modsvaskr/vendor/bundle/ruby/2.6.0/gems/curses_menu-0.2.0/lib/curses_menu.rb:48:in
loop' C:/Modsvaskr/vendor/bundle/ruby/2.6.0/gems/curses_menu-0.2.0/lib/curses_menu.rb:48:ininitialize' C:/Modsvaskr/vendor/bundle/ruby/2.6.0/gems/modsvaskr-0.1.12/lib/modsvaskr/ui.rb:52:in
new' C:/Modsvaskr/vendor/bundle/ruby/2.6.0/gems/modsvaskr-0.1.12/lib/modsvaskr/ui.rb:52:inblock (3 levels) in run' C:/Modsvaskr/vendor/bundle/ruby/2.6.0/gems/curses_menu-0.2.0/lib/curses_menu.rb:136:in
block in initialize' C:/Modsvaskr/vendor/bundle/ruby/2.6.0/gems/curses_menu-0.2.0/lib/curses_menu.rb:48:inloop' C:/Modsvaskr/vendor/bundle/ruby/2.6.0/gems/curses_menu-0.2.0/lib/curses_menu.rb:48:in
initialize' C:/Modsvaskr/vendor/bundle/ruby/2.6.0/gems/modsvaskr-0.1.12/lib/modsvaskr/ui.rb:46:innew' C:/Modsvaskr/vendor/bundle/ruby/2.6.0/gems/modsvaskr-0.1.12/lib/modsvaskr/ui.rb:46:in
run' C:/Modsvaskr/vendor/bundle/ruby/2.6.0/gems/modsvaskr-0.1.12/bin/modsvaskr:7:in<top (required)>' bin/modsvaskr:29:in
load' bin/modsvaskr:29:in `(I dont't have any skills in coding)
Thanks!