Aller au contenu

Renamed .trayitem files cause "unhandled exceptions" in S4TI


Messages recommandés

Posté(e)

Basically what the title says. A while back I decided to delete some household folders manually instead of doing it in-game since I didn't feel like booting it up. I only had 2 saves at the time so I figured I could just delete them both and be done with it. However, s4ti still lists them, and I can't tell it to delete them because of unhandled exception errors. How can I get rid of them?

Posté(e)

By saves I mean the files listed in Documents > EA > Saves folder. I don't recall for sure if I touched the tray folder too. Here's the message:


 

Révélation

 

************** Exception Text **************
System.Exception: Missing .trayitem file
   at Sims4.UserData.TrayItem.GetFiles(String libraryPath, Boolean& containsErrors, Int32[]& failedIndice)
   at Sims4TrayImporter.Controls.FileView.LoadFiles()
   at Sims4TrayImporter.Controls.FileView.set_SelectedItem(TrayItem value)
   at Sims4TrayImporter.MainForm.ToggleItemCommandsEnabled(Boolean activate)
   at Sims4TrayImporter.Controls.LibraryUIList.<lvContentList_SelectedIndexChanged>b__81_0()
   at Sims4TrayImporter.Controls.EventDelayer.<>c__DisplayClass5_0.<DelayEvent>b__0(Object o, EventArgs e)
   at System.Windows.Forms.Timer.OnTick(EventArgs e)
   at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

************** Loaded Assemblies **************
mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4018.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
S4TI
    Assembly Version: 1.0.0.0
    Win32 Version: 1.9.10.2
    CodeBase: file:///C:/Program Files (x86)/TeameeVo/Sims 4 Tray Importer (S4TI)/S4TI.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4001.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4001.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.3752.0 built by: NET48REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.3752.0 built by: NET48REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4018.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Xml
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.3752.0 built by: NET48REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Sims4.GameInfo
    Assembly Version: 1.0.5.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program Files (x86)/TeameeVo/Sims 4 Tray Importer (S4TI)/Sims4.GameInfo.DLL
----------------------------------------
Sims4.Common
    Assembly Version: 1.0.5.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program Files (x86)/TeameeVo/Sims 4 Tray Importer (S4TI)/Sims4.Common.DLL
----------------------------------------
S4TI.LocaleManager
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program Files (x86)/TeameeVo/Sims 4 Tray Importer (S4TI)/S4TI.LocaleManager.DLL
----------------------------------------
TeameeVo.Common
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program Files (x86)/TeameeVo/Sims 4 Tray Importer (S4TI)/TeameeVo.Common.DLL
----------------------------------------
TeameeVo.Import
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program Files (x86)/TeameeVo/Sims 4 Tray Importer (S4TI)/TeameeVo.Import.DLL
----------------------------------------
Sims4.UserData
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program Files (x86)/TeameeVo/Sims 4 Tray Importer (S4TI)/Sims4.UserData.DLL
----------------------------------------
System.Xml.Linq
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.3752.0 built by: NET48REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml.Linq/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.Linq.dll
----------------------------------------
Sims4.CSharp
    Assembly Version: 1.0.0.0
    Win32 Version: 1.56.0.0
    CodeBase: file:///C:/Program Files (x86)/TeameeVo/Sims 4 Tray Importer (S4TI)/Sims4.CSharp.DLL
----------------------------------------
ProtoBuffer
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program Files (x86)/TeameeVo/Sims 4 Tray Importer (S4TI)/ProtoBuffer.DLL
----------------------------------------
Microsoft.mshtml
    Assembly Version: 7.0.3300.0
    Win32 Version: 7.0.3300.0
    CodeBase: file:///C:/WINDOWS/assembly/GAC/Microsoft.mshtml/7.0.3300.0__b03f5f7f11d50a3a/Microsoft.mshtml.dll
----------------------------------------
Sims4.Package
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program Files (x86)/TeameeVo/Sims 4 Tray Importer (S4TI)/Sims4.Package.DLL
----------------------------------------
Sims4.CSharp.Extra
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program Files (x86)/TeameeVo/Sims 4 Tray Importer (S4TI)/Sims4.CSharp.Extra.DLL
----------------------------------------
S4TI.Core
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program Files (x86)/TeameeVo/Sims 4 Tray Importer (S4TI)/S4TI.Core.DLL
----------------------------------------
Sims4.Resources.Extras
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program Files (x86)/TeameeVo/Sims 4 Tray Importer (S4TI)/Sims4.Resources.Extras.DLL
----------------------------------------
Sims4.Resources
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program Files (x86)/TeameeVo/Sims 4 Tray Importer (S4TI)/Sims4.Resources.DLL
----------------------------------------
Sims4.PackageHelper
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program Files (x86)/TeameeVo/Sims 4 Tray Importer (S4TI)/Sims4.PackageHelper.DLL
----------------------------------------
System.Security
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.3752.0 built by: NET48REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Security/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Security.dll
----------------------------------------
Accessibility
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.3752.0 built by: NET48REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------

 


 

  • Team
Posté(e)
il y a 54 minutes, tinyastrogeist a dit :

By saves I mean the files listed in Documents > EA > Saves folder. I don't recall for sure if I touched the tray folder too.

Current version of S4TI only looks for files in the Tray folder so deleting files from the Saves folder should not affect it.

 

The error seems to caused by a missing .trayitem file which is strange since if the file doesn't exist it should not be loaded at all.

Did you delete those files from S4TI?

Does restarting S4TI still produce the error?

 

One thing that could cause the issue is a not well-formatted file name (e.g. the trayitem file was renamed).
Two creations with the same id but but not of the same kind will also cause the error.

If you don't have to much files in your Tray folder, post a screenshot of the files Inside your Tray folder.

Posté(e)

I don't think I deleted any tray files since I don't know how to tell what saves they correspond to, but I don't remember for sure whether I did or not. The error happens no matter how many times I restart s4ti. I attached some screenshots of my Tray folder. The households I deleted were from at least a month ago. I'm American, so the dates listed are in MM/DD/YYYY format (e.g. 11/5 is November 5th, not May 11).

tray1.png

tray2.png

tray3.png

  • Team
Posté(e)
il y a 32 minutes, tinyastrogeist a dit :

I attached some screenshots of my Tray folder. The households I deleted were from at least a month ago.

It appears that some files where renamed, do they show up in the game? 🤔

tray1.pngtray2.png

If they appear in the game, then I'll have to fix S4TI to handle them.


For now you should be able to fix the issue by removing the timestamp (2019_0...) at the end of the filenames.

  • Team
Posté(e)

Uploaded a fix here: https://luniversims.fr/forums/topic/8106-s4ti-19110-mise-à-jour-13-nov-win/

 

It should no longer crash when selecting an item whose filename has been renamed.

But trying to delete them from S4TI may still crash.

Workaround, right-click>Show containing folder or open the Files tab then click the  Tray\  button above the files list, them delete them from File Explorer.

Rejoindre la conversation

Vous pouvez publier maintenant et vous inscrire plus tard. Si vous avez un compte, connectez-vous maintenant pour publier avec votre compte.

Invité
Répondre à ce sujet…

×   Collé en tant que texte enrichi.   Coller en tant que texte brut à la place

  Seulement 75 émoticônes maximum sont autorisées.

×   Votre lien a été automatiquement intégré.   Afficher plutôt comme un lien

×   Votre contenu précédent a été rétabli.   Vider l’éditeur

×   Vous ne pouvez pas directement coller des images. Envoyez-les depuis votre ordinateur ou insérez-les depuis une URL.



×
×
  • Créer...

Information importante

Nous avons placé des cookies sur votre appareil pour aider à améliorer ce site. Vous pouvez choisir d’ajuster vos paramètres de cookie, sinon nous supposerons que vous êtes d’accord pour continuer. Conditions d’utilisation Politique de confidentialité