EDCD / EDDI

Companion application for Elite Dangerous
Other
437 stars 81 forks source link

EDDI dont run #1435

Closed bensaess closed 4 years ago

bensaess commented 4 years ago

EDDI version in which issue is found

current

VoiceAttack version in which issue is found (as applicable)

steam version

Steps to reproduce

  1. install eddi
  2. open eddi

Expected

[Describe what you expected to happen]

Observed

USE google traslate : hello good I have problems to start eddi, I suggest a Spanish guide that English does not know https://youtu.be/bWTNiEZT-0o doing it step by step when I open eddi it closes to the seconds, I reinstalled voice atack and eddi and it still doesn't work, sorry for englis

Investigation

i dont have a idea

Tkael commented 4 years ago

Does EDDI open correctly when run in standalone mode?

Tkael commented 4 years ago

EDDI normally runs in the background in VoiceAttack. You need to use a command to make the window visible. In English, you would import the profile EDDI.vap then use the commands Open EDDI or Configure EDDI.

bensaess commented 4 years ago

EDDI and VA open 2 seg and close

bensaess commented 4 years ago

In %appdata% is this 2019-08-14T03:04:50 [Info] EDDI:.ctor EDDI 3.4.2-b1 starting 2019-08-14T03:04:50 [Info] EDDI:.ctor On live 2019-08-14T03:04:50 [Info] EDDI:.ctor EDDI access to the Frontier API is not enabled. 2019-08-14T03:04:50 [Info] CargoMonitor:initializeCargoMonitor Initialised Cargo monitor 1.0.0 2019-08-14T03:04:50 [Info] CrimeMonitor:initializeCrimeMonitor Initialised Crime monitor 1.0.0 2019-08-14T03:04:50 [Info] MaterialMonitor:.ctor Initialised Material monitor 1.0.0 2019-08-14T03:04:50 [Info] MissionMonitor:initializeMissionMonitor Initialised Mission monitor 1.0.0 2019-08-14T03:04:50 [Info] ShipMonitor:.ctor Initialised Ship Monitor 1.0.0 2019-08-14T03:04:50 [Info] StatusMonitor:.ctor Initialised Status monitor 1.0.0 2019-08-14T03:04:50 [Info] StarSystemSqLiteRepository:CreateOrUpdateDatabase Starsystem repository schema is version 2 2019-08-14T03:04:50 [Info] EDDNResponder:.ctor Initialised EDDN responder 1.0.0 2019-08-14T03:04:50 [Info] EDSMResponder:.ctor Initialised EDSM responder 1.0.0 2019-08-14T03:04:50 [Info] SpeechResponder:.ctor Initialised Speech responder 1.0.0 2019-08-14T03:04:50 [Info] VoiceAttackResponder:.ctor Started VoiceAttack responder 2019-08-14T03:04:50 [Info] EDDI:.ctor EDDI 3.4.2-b1 initialised 2019-08-14T03:04:50 [Info] EDDI:Start Starting keepalive for EDDP monitor 2019-08-14T03:04:50 [Info] EDDI:Start Starting keepalive for Journal monitor 2019-08-14T03:04:50 [Info] EDDI:Start Starting keepalive for Mission monitor 2019-08-14T03:04:50 [Info] EDDI:keepAlive Starting EDDP monitor (0) 2019-08-14T03:04:50 [Info] EDDI:keepAlive Starting Journal monitor (0) 2019-08-14T03:04:50 [Info] EDDI:keepAlive Starting Mission monitor (0) 2019-08-14T03:04:50 [Info] EDDI:Start Starting keepalive for Status monitor 2019-08-14T03:04:50 [Info] EDDI:keepAlive Starting Status monitor (0) 2019-08-14T03:04:50 [Info] EDDI:Start Started EDDN responder 2019-08-14T03:04:50 [Warning] StarMapService:Instance No StarMapService instance: API key not set. 2019-08-14T03:04:50 [Warning] StarMapService:Instance No StarMapService instance: API key not set. 2019-08-14T03:04:50 [Warning] EDDI:Start Failed to start EDSM responder 2019-08-14T03:04:50 [Info] EDDI:Start Started Speech responder 2019-08-14T03:04:50 [Info] EDDI:Start Started VoiceAttack responder 2019-08-14T03:04:50 [Info] EDDI:eventFileHeader On live 2019-08-14T03:04:50 [Info] VoiceAttackPlugin:VA_Init1 EDDI VoiceAttack plugin initialization complete 2019-08-14T03:04:51 [Info] Logging:ExceptionHandler Reporting unhandled exception, anonymous ID fca0ffc8-62a5-4605-ad3d-f574187e7bc6:Newtonsoft.Json.JsonSerializationException: Error getting value from 'updatedat' on 'EddiDataDefinitions.FactionPresence'. ---> System.FormatException: No se puede reconocer la cadena como valor DateTime válido. en System.DateTimeParse.Parse(String s, DateTimeFormatInfo dtfi, DateTimeStyles styles) en Utilities.Dates.fromDateTimeStringToSeconds(String dateTime) en EddiDataDefinitions.FactionPresence.get_updatedat() en Getupdatedat(Object ) en Newtonsoft.Json.Serialization.DynamicValueProvider.GetValue(Object target) --- Fin del seguimiento de la pila de la excepción interna --- en Newtonsoft.Json.Serialization.DynamicValueProvider.GetValue(Object target) en Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.CalculatePropertyValues(JsonWriter writer, Object value, JsonContainerContract contract, JsonProperty member, JsonProperty property, JsonContract& memberContract, Object& memberValue) en Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeObject(JsonWriter writer, Object value, JsonObjectContract contract, JsonProperty member, JsonContainerContract collectionContract, JsonProperty containerProperty) en Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeValue(JsonWriter writer, Object value, JsonContract valueContract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerProperty) en Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeList(JsonWriter writer, IEnumerable values, JsonArrayContract contract, JsonProperty member, JsonContainerContract collectionContract, JsonProperty containerProperty) en Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeValue(JsonWriter writer, Object value, JsonContract valueContract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerProperty) en Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeObject(JsonWriter writer, Object value, JsonObjectContract contract, JsonProperty member, JsonContainerContract collectionContract, JsonProperty containerProperty) en Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeValue(JsonWriter writer, Object value, JsonContract valueContract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerProperty) en Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeObject(JsonWriter writer, Object value, JsonObjectContract contract, JsonProperty member, JsonContainerContract collectionContract, JsonProperty containerProperty) en Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeValue(JsonWriter writer, Object value, JsonContract valueContract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerProperty) en Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.Serialize(JsonWriter jsonWriter, Object value, Type objectType) en Newtonsoft.Json.JsonSerializer.SerializeInternal(JsonWriter jsonWriter, Object value, Type objectType) en Newtonsoft.Json.JsonConvert.SerializeObjectInternal(Object value, Type type, JsonSerializer jsonSerializer) en Eddi.EDDI.eventHandler(Event event) en Eddi.EDDI.dequeueEvent() en Eddi.EDDI.b__143_0() en System.Threading.ThreadHelper.ThreadStart_Context(Object state) en System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) en System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) en System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) en System.Threading.ThreadHelper.ThreadStart() 2019-08-14T03:04:51 [Info] EDDI:Stop EDDI 3.4.2-b1 stopped 2019-08-14T03:04:51 [Info] EDDI:Start Starting keepalive for EDDP monitor 2019-08-14T03:04:51 [Info] EDDI:Start Starting keepalive for Journal monitor 2019-08-14T03:04:51 [Info] EDDI:Start Starting keepalive for Mission monitor 2019-08-14T03:04:51 [Info] EDDI:Start Starting keepalive for Status monitor 2019-08-14T03:04:51 [Info] EDDI:Start Started EDDN responder 2019-08-14T03:04:51 [Warning] StarMapService:Instance No StarMapService instance: API key not set. 2019-08-14T03:04:51 [Warning] StarMapService:Instance No StarMapService instance: API key not set. 2019-08-14T03:04:51 [Warning] EDDI:Start Failed to start EDSM responder 2019-08-14T03:04:51 [Info] EDDI:Start Started Speech responder 2019-08-14T03:04:51 [Info] EDDI:Start Started VoiceAttack responder

bensaess commented 4 years ago

https://gyazo.com/edfac180daa0a5552725755ff0bedce1

Tkael commented 4 years ago

Please do the following:

  1. Open Elite Dangerous and log in to any game mode.
  2. Close Elite Dangerous.
  3. Attempt to restart VoiceAttack.

There seems to be a problem with trying to convert a null DateTime for a faction into seconds. We'll need to address this for the next update.

bensaess commented 4 years ago

still not working and now gives an error 14d82d8e65af430081259c40fb81f90a

Tkael commented 4 years ago

That screen always appears when VoiceAttack doesn't shut down properly. Please select No.

bensaess commented 4 years ago

select no and close voice atack https://gyazo.com/a6e27aeed648e7723d1e84b6622542cb

Tkael commented 4 years ago

Proposed fix... revise Faction.cs lines 51 and 98 as follows:

        public long? updatedat => Dates.fromDateTimeStringToSeconds(updatedAt != null ? updatedAt.ToString() : null);

(The ToString() method appears to be throwing an exception when updatedAt is null)

Tkael commented 4 years ago

Ok, if it's still exiting after you've created a clean journal by following the steps above then it's probably a problem with one of the factions in your home system or your squadron system. Navigate to %appdata%/EDDI while EDDI is not running. Remove eddi.json from the directory. Attempt to start VoiceAttack. Does that fix the problem?

bensaess commented 4 years ago

in edi,json is this

{ "homeSystem": null, "homeStation": null, "destinationSystem": null, "destinationStation": null, "squadronName": null, "squadronID": null, "squadronRank": "None", "squadronAllegiance": "$faction_None", "squadronPower": "None", "squadronSystem": null, "squadronFaction": null, "debug": false, "beta": false, "plugins": { "Galnet monitor": false }, "Gender": "Male", "exporttarget": "Coriolis" }

richardbuckle commented 4 years ago

Proposed fix... revise Faction.cs lines 51 and 98 as follows:

        public long? updatedat => Dates.fromDateTimeStringToSeconds(updatedAt != null ? updatedAt.ToString() : null);

(The ToString() method appears to be throwing an exception when updatedAt is null)

updatedAt is a DateTime, which is a struct and cannot be null. That said, converting to string and parsing it again is a bit bonkers.

Tkael commented 4 years ago

Please retest with version 3.4.2-rc1?

bensaess commented 4 years ago

THK Run thank you already fixed: 3