question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Torch encounters Unhandled Exception

See original GitHub issue
  • Verify that this issue is related to Torch and not a Torch plugin or the vanilla game
  • Ensure that the issue is reproducible for testing (provide a link to a test world if necessary)
  • Is this a suggestion?

Torch Version: 1.3.1.139-master SE Version: 1.xxx.xxx

Expected Behavior

I expected the Torch Server to launch without issue, as it did yesterday.

Observed Behavior

The Torch Server throws an Unhandled Exception error when starting.

System.MissingMethodException: Method not found: 'Void ModItem..ctor(UInt64)'.
   at Torch.Session.TorchSessionManager..ctor(ITorchBase torchInstance)
   at Torch.TorchBase..ctor() in C:\build\workspace\Torch_Torch_master\Torch\TorchBase.cs:line 158
   at Torch.Server.TorchServer..ctor(TorchConfig config) in C:\build\workspace\Torch_Torch_master\Torch.Server\TorchServer.cs:line 62
   at Torch.Server.Initializer.Run() in C:\build\workspace\Torch_Torch_master\Torch.Server\Initializer.cs:line 127
   at Torch.Server.Program.Main(String[] args) in C:\build\workspace\Torch_Torch_master\Torch.Server\Program.cs:line 75
   at System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)
   at System.AppDomain.ExecuteAssemblyByName(String assemblyName, String[] args)
   at Torch.Utils.TorchLauncher.Launch(String entryPoint, String[] args, String[] binaryPaths) in C:\build\workspace\Torch_Torch_master\Torch\Utils\TorchLauncher.cs:line 38
   at Torch.Server.Program.Main(String[] args) in C:\build\workspace\Torch_Torch_master\Torch.Server\Program.cs:line 75

Happens to me on a fresh install of the Torch Server as well. Is there some redistributable package or dependency my system needs?

Steps to Reproduce

  1. Start the Torch.Server.exe file.
  2. Wait for it to crash.

Other Information

Provide links to game logs or saves here if necessary.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:3
  • Comments:15

github_iconTop GitHub Comments

1reaction
JoshuaCalhouncommented, Feb 12, 2021

Just tested the latest download pushed out on 2-11, appears to be working for opening the server console, but I still seem to be having trouble getting mods to work, looking into this now and testing if its a particular mod or not. Thanks ya’ll

Is it just a problem downloading mods or is it affecting mods already installed too?

From what I could tell yesterday, its all mods, both current and new. But I’m wondering if it has somethign to do with the new cross play functionality with xbox. I’ve been seeing others state problems with mods on worlds now too so I figured I’d give it a day or two and see if Keen pushes a new server update to address. Thats my speculation at least…

1reaction
stevieecommented, Feb 11, 2021
Read more comments on GitHub >

github_iconTop Results From Across the Web

RuntimeError: NCCL Error 1: unhandled cuda error #11756
Code example. I ran: testdata = torch.rand(12,3,112,112) model = torch.nn.DataParallel(model, ...
Read more >
NCCL error when running distributed training
My code used to work in PyTorch 1.6. ... unhandled cuda error, NCCL version 21.0.3 ncclUnhandledCudaError: Call ... I encounter this error:
Read more >
During deserialization, torch::load fails at debug while it ...
During deserialization, torch::load fails at debug while it works fine in release mode (Unhandled exception at 0x00007FFF7DE1A308 in Test.exe: ...
Read more >
What Is 'NCCL error' in PyTorch and How to Fix It?
This error can occur when using PyTorch's DistributedDataParallel (DDP) ... the 'NCCL error': unhandled system error, NCCL version 2.4.8.
Read more >
Encounter Error after installing Pytorch using pip in python3.5
I am trying to run a program related to torch . So I installed Pytorch with the help of the instructions specified on...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found