System.IO.FileNotFoundException at Orts.Viewer3D.Viewer.UpdateAdapterInformation (1.3.1.4328, Torino - Milano - Venezia, FDT-FR9734_MI-TO)

Bug #1833084 reported by Freddy2000SP
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Open Rails
New
Undecided
Unassigned

Bug Description

I am in general very happy with your wonderful Open Rails software, enjoying it many times. However, today I ran into a strange error that I cannot explain nor solve by myself, so I request kindly your help. Yesterday I was running an activity (Milano-Torino-Venezia) without any problem, bu t now Open Rails gives an error while starting this (or another arbitrary) activity: "An essential file is missing and Open Rails cannot continue".
However, it is not clear to me, which file is missing. Enclosed the OR logfile.
Thank you so much in advance for your help.
Kind regards,
Freddy Soer (<email address hidden>)

P.S. I had Iolo System Mechanic installed on my system, but it suddenly had disappeared completely the next day. Moreover, I could not consult anymore the system logging files, nor could I go back to an earlier stage of the computer with system restore. It's a great riddle to me...

Below the first part of the OR logfile:

his is a log file for Open Rails. Please include this file in bug reports.
--------------------------------------------------------------------------------
Date/time = 17-6-2019 16:08:45 (2019-06-17 14:08:45Z)

Warning: System.IO.FileNotFoundException: Het systeem kan het opgegeven bestand niet vinden. (Ausnahme von HRESULT: 0x80070002)
   bei System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
   bei System.Management.ManagementScope.InitializeGuts(Object o)
   bei System.Management.ManagementScope.Initialize()
   bei System.Management.ManagementObject.Initialize(Boolean getObject)
   bei System.Management.ManagementClass.GetInstances(EnumerationOptions options)
   bei System.Management.ManagementClass.GetInstances()
   bei ORTS.Common.SystemInfo.WriteEnvironment(TextWriter output) in E:\Documents\Coding\Jenkins\jobs\Open Rails Stable\workspace\Source\ORTS.Common\SystemInfo.cs:Zeile 47.
   bei ORTS.Common.SystemInfo.WriteSystemDetails(TextWriter output) in E:\Documents\Coding\Jenkins\jobs\Open Rails Stable\workspace\Source\ORTS.Common\SystemInfo.cs:Zeile 36.
   bei Orts.Viewer3D.Processes.GameStateRunActivity.InitLogging(UserSettings settings, String[] args, Boolean appendLog) in E:\Documents\Coding\Jenkins\jobs\Open Rails Stable\workspace\Source\RunActivity\Viewer3D\Processes\GameStateRunActivity.cs:Zeile 759.
   bei Orts.Viewer3D.Processes.GameStateRunActivity.<>c__DisplayClass35_0.<Load>b__3() in E:\Documents\Coding\Jenkins\jobs\Open Rails Stable\workspace\Source\RunActivity\Viewer3D\Processes\GameStateRunActivity.cs:Zeile 158.
   bei Orts.Viewer3D.Processes.GameStateRunActivity.Load() in E:\Documents\Coding\Jenkins\jobs\Open Rails Stable\workspace\Source\RunActivity\Viewer3D\Processes\GameStateRunActivity.cs:Zeile 200.
   bei Orts.Viewer3D.Processes.LoaderProcess.Load() in E:\Documents\Coding\Jenkins\jobs\Open Rails Stable\workspace\Source\RunActivity\Viewer3D\Processes\LoaderProcess.cs:Zeile 158.
   bei Orts.Viewer3D.Processes.LoaderProcess.DoLoad() in E:\Documents\Coding\Jenkins\jobs\Open Rails Stable\workspace\Source\RunActivity\Viewer3D\Processes\LoaderProcess.cs:Zeile 138.
   bei Orts.Viewer3D.Processes.LoaderProcess.LoaderThread() in E:\Documents\Coding\Jenkins\jobs\Open Rails Stable\workspace\Source\RunActivity\Viewer3D\Processes\LoaderProcess.cs:Zeile 109.
   bei System.Threading.ThreadHelper.ThreadStart_Context(Object state)
   bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   bei System.Threading.ThreadHelper.ThreadStart()

Tags: crash graphics
Revision history for this message
Freddy2000SP (freddysoer) wrote :
Revision history for this message
cjakeman (cjakeman) wrote :

The cause has been found and recorded at http://www.elvastower.com/forums/index.php?/topic/33146-an-essential-file-is-missing-and-open-rails-cannot-continue/page__pid__249000#entry249000

The forum thread reports that the Open Rails error-handling assumes that any unexpected error at start-up is due to "an essential file is missing".

This is a fair assumption for a damaged installation and would be cured by a re-installation. However the thread identifies a different cause - damaged Windows - which could be caught and reported separately.

Also, the message "an essential file is missing" should suggest a re-installation.

Revision history for this message
Freddy2000SP (freddysoer) wrote :

Hello OR-companion, thank you for your comment on this issue. Right now I am re-installing my desktop PC with a fresh copy of Windows 10. Reason why I could not react that quickly. I will be awaiting tbe new installation and will keep you informed if this has resulted in a solution regarding Open Rails here and on Elvas Tower. Thanks again for your help, kind regards, Freddy

Revision history for this message
Freddy2000SP (freddysoer) wrote :

Hi all, everthing is working fine again after a clean re-install of my Windows 10 Home Edition (keeping my personal files). thanks again for your support and empathy,

kind regards,

Freddy

P.S. I have put this message too at the Elvas Tower forum.

James Ross (twpol)
summary: - An essential file is missing and Open Rails cannot continue
+ System.IO.FileNotFoundException at
+ Orts.Viewer3D.Viewer.UpdateAdapterInformation (1.3.1.4328, Torino -
+ Milano - Venezia, FDT-FR9734_MI-TO)
tags: added: crash graphics
removed: file missing
Revision history for this message
Arif Bhaiyat (bhaiyat-deactivatedaccount) wrote :
Download full text (1.9 MiB)

This is a log file for Open Rails. Please include this file in bug reports.
--------------------------------------------------------------------------------
Date/time = 6/20/2019 12:06:15 PM (2019-06-20 06:36:15Z)

Information: Initialized OpenAL 1.1 ALSOFT 1.15.1; device 'OpenAL Soft' by 'OpenAL Community'

BIOS = 1.1.5 (Dell Inc.)
Processor = Intel(R) Core(TM) i7-6500U CPU @ 2.50GHz (4 threads, 2 cores, 2.6 GHz) (L1 Cache 64 KB) (L1 Cache 64 KB) (L2 Cache 512 KB) (L3 Cache 4096 KB)
Memory = 3.9 GB
Video = AMD Radeon R5 M335 (4.0 GB RAM) (atikmpag 8.14.1.6463)
Video = Intel(R) HD Graphics 520 (1.0 GB RAM) (igdkmd64 23.20.16.4973)
Display = \\.\DISPLAY1 (1366 x 768, 32-bit, primary, 0 x 0)
Sound = Realtek Audio (rtkvhd64 6.0.1.8142)
Sound = Intel(R) Display Audio (intcdaud 10.24.0.3)
Disk = C: (Local Fixed Disk, NTFS, 463.9 GB, 330.0 GB free)
Disk = D: (Local Fixed Disk, NTFS, 151.2 GB, 123.6 GB free)
Disk = E: (Local Fixed Disk, NTFS, 300.0 GB, 162.8 GB free)
Disk = F: (CD-ROM Disc, )
Disk = G: (CD-ROM Disc, UDF, 1.1 GB, 0.0 GB free)
OS = Microsoft Windows 10 Home Single Language 64-bit (10.0.17134)
Runtimes = 2.0.50727 SP2 3.0 SP2 3.5 SP1 4 Client 4 Full 4.0 Client
Runtime = 2.0.50727.8941 (32bit)
\\.\DISPLAY1 = Intel(R) HD Graphics 520 (igdumdim32.dll 23.20.16.4973)
    Anisotropy = 16
    Render Targets = 4
    Streams = 16 (stride 255)
    Textures = 8 (8192 x 8192, repeat 8192, ratio 8192)
    Points = 256^2
    Volumes = 2048^3
    Primitives = 8388607
    Vertexes = 16777215
    Vertex Shader = 3.0 (32768 slots, 256 constants)
    Pixel Shader = 3.0 (32768 slots)
    Clip Planes = 6
--------------------------------------------------------------------------------
Version = 1.3.1.4328
Build = 1.3.1.4328 (2000-01-02 02:24:16Z)
Logfile = C:\Users\abdulraheman\Desktop\OpenRailsLog.txt
Executable = RunActivityLAA.exe
Argument = -start
Argument = -activity
Argument = C:\Program Files (x86)\Microsoft Games\Train Simulator\ROUTES\INDRAILV2\ACTIVITIES\12009 Mumbai-Ahmedabad Shatabdi Express.act
--------------------------------------------------------------------------------
ActRandomizationLevel = 0
ActWeatherRandomizationLevel = 0
AdhesionFactor = 130
AdhesionFactorChange = (user set) 0
AdhesionMovingAverageFilterSize = 10
AdhesionProportionalToWeather = (user set) True
Alerter = (user set) True
AlerterDisableExternal = (user set) False
Autopilot = (user set) True
AuxActionEnabled = False
AvatarURL = http://openrails.org/images/support-logos.jpg
BrakePipeChargingRate = 21
BreakCouplers = (user set) True
Cab2DStretch = 0
CarVibratingLevel = (user set) 3
CircularSpeedGauge = False
ConditionalLoadOfDayOrNightTextures = False
CorrectQu...

Revision history for this message
Kevin Bakina (tokenb98) wrote :

@Arif Bhaiyat (bhaiyat)

If it's a separate issue, open a new thread.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.