Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error When Sorting Mods #27

Closed
ghost opened this issue Dec 20, 2011 · 3 comments
Closed

Error When Sorting Mods #27

ghost opened this issue Dec 20, 2011 · 3 comments
Labels

Comments

@ghost
Copy link

ghost commented Dec 20, 2011

I get the following error when trying to sort my mods from 'Modified' to 'Load Order':

Traceback (most recent call last):
  File "D:\games\Morrowind\Mopy\mash\masher.py", line 3079, in Execute
    self.window.PopulateItems(self.sortCol,-1)
  File "D:\games\Morrowind\Mopy\mash\gui\__init__.py", line 112, in PopulateItems
    self.PopulateItem(itemDex,mode,selected)
  File "D:\games\Morrowind\Mopy\mash\masher.py", line 904, in PopulateItem
    if not mosh.mwIniFile.isWellOrdered(fileName):
  File "D:\games\Morrowind\Mopy\mash\mosh.py", line 2354, in isWellOrdered
    return not self.doubleTime[modInfos[loadFile].mtime]
KeyError: 1051401906.0

I close the error window, and then I get a messae box telling me that some times will be changed. I click OK, and then get this traceback:

Traceback (most recent call last):
  File "D:\games\Morrowind\Mopy\mash\masher.py", line 2435, in RefreshData
    globals.modList.Refresh(popMods) #--Will repop saves too.
  File "D:\games\Morrowind\Mopy\mash\masher.py", line 863, in Refresh
    self.PopulateItems(selected=selected)
  File "D:\games\Morrowind\Mopy\mash\gui\__init__.py", line 112, in PopulateItems
    self.PopulateItem(itemDex,mode,selected)
  File "D:\games\Morrowind\Mopy\mash\masher.py", line 904, in PopulateItem
    if not mosh.mwIniFile.isWellOrdered(fileName):
  File "D:\games\Morrowind\Mopy\mash\mosh.py", line 2354, in isWellOrdered
    return not self.doubleTime[modInfos[loadFile].mtime]
KeyError: 1051401906.0

On a side note, why aren't these tracebacks being logged?

Wrye Mash Version: 85-dev-9097a80be8

@Yacoby
Copy link
Owner

Yacoby commented Dec 21, 2011

Is this easy to reproduce for you? (i.e. does it happen every time)

@Yacoby
Copy link
Owner

Yacoby commented Dec 21, 2011

Oh, and regarding tracebacks being logged, this should have been fixed by #28

@Yacoby Yacoby closed this as completed in c440320 Dec 21, 2011
@Yacoby
Copy link
Owner

Yacoby commented Dec 21, 2011

I can't reproduce this problem, so this is my best guess at a fix for it

Sharlikran pushed a commit to Wrye-Code-Collection/Wrye-Mash that referenced this issue Sep 26, 2017
Sharlikran pushed a commit to Wrye-Code-Collection/Wrye-Mash that referenced this issue Oct 2, 2017
Sharlikran pushed a commit to Wrye-Code-Collection/Wrye-Mash that referenced this issue Oct 2, 2017
Alters def isWellOrdered in class MWIniFile
Sharlikran pushed a commit to Wrye-Code-Collection/Wrye-Mash that referenced this issue Oct 2, 2017
Sharlikran pushed a commit to Wrye-Code-Collection/Wrye-Mash that referenced this issue Oct 2, 2017
Alters def isWellOrdered in class MWIniFile
Sharlikran pushed a commit to Wrye-Code-Collection/Wrye-Mash that referenced this issue Oct 2, 2017
Sharlikran pushed a commit to Wrye-Code-Collection/Wrye-Mash that referenced this issue Oct 2, 2017
Alters def isWellOrdered in class MWIniFile
Sharlikran pushed a commit to Wrye-Code-Collection/Wrye-Mash that referenced this issue Oct 2, 2017
Sharlikran pushed a commit to Wrye-Code-Collection/Wrye-Mash that referenced this issue Oct 2, 2017
Alters def isWellOrdered in class MWIniFile
Sharlikran pushed a commit to Wrye-Code-Collection/Wrye-Mash that referenced this issue Oct 2, 2017
Sharlikran pushed a commit to Wrye-Code-Collection/Wrye-Mash that referenced this issue Oct 2, 2017
Alters def isWellOrdered in class MWIniFile
Sharlikran pushed a commit to Wrye-Code-Collection/Wrye-Mash that referenced this issue Oct 2, 2017
Sharlikran pushed a commit to Wrye-Code-Collection/Wrye-Mash that referenced this issue Oct 2, 2017
Alters def isWellOrdered in class MWIniFile
Sharlikran pushed a commit to Wrye-Code-Collection/Wrye-Mash that referenced this issue Oct 3, 2017
Sharlikran pushed a commit to Wrye-Code-Collection/Wrye-Mash that referenced this issue Oct 3, 2017
Alters def isWellOrdered in class MWIniFile
Sharlikran added a commit to Wrye-Code-Collection/Wrye-Mash that referenced this issue Oct 17, 2017
Sharlikran added a commit to Wrye-Code-Collection/Wrye-Mash that referenced this issue Oct 17, 2017
Sharlikran added a commit to Wrye-Code-Collection/Wrye-Mash that referenced this issue Oct 17, 2017
Sharlikran added a commit to Wrye-Code-Collection/Wrye-Mash that referenced this issue Oct 17, 2017
Sharlikran added a commit to Wrye-Code-Collection/Wrye-Mash that referenced this issue Oct 17, 2017
Sharlikran added a commit to Wrye-Code-Collection/Wrye-Mash that referenced this issue Oct 19, 2017
Sharlikran added a commit to Wrye-Code-Collection/Wrye-Mash that referenced this issue Oct 28, 2017
Sharlikran added a commit to Wrye-Code-Collection/Wrye-Mash that referenced this issue Oct 28, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant