Podshot / MCEdit-Unified

Combined MCEdit & Pymclevel repository.
http://podshot.github.io/MCEdit-Unified/
ISC License
484 stars 109 forks source link

Session lock lost after creating new world #106

Closed BenLewis-Seequent closed 9 years ago

BenLewis-Seequent commented 10 years ago

After creating a new world you're returned to the main menu and the following exception is produced in the log.

[   ERROR][                  root.py:3339]:Error while creating world. {world => /Users/BenLewis/Library/Application Support/minecraft/MCEdit/saves/sessionLock.}
Traceback (most recent call last):
  File "/Users/BenLewis/Desktop/Games/Minecraft/MCEdit/MCEdit-Unified/leveleditor.py", line 3334, in createNewLevel
    newlevel.saveInPlace()
  File "/Users/BenLewis/Desktop/Games/Minecraft/MCEdit/MCEdit-Unified/pymclevel/infiniteworld.py", line 1180, in saveInPlace
    self.checkSessionLock()
  File "/Users/BenLewis/Desktop/Games/Minecraft/MCEdit/MCEdit-Unified/pymclevel/infiniteworld.py", line 1152, in checkSessionLock
    raise SessionLockLost, "Session lock lost. This world is being accessed from another location."
SessionLockLost: Session lock lost. This world is being accessed from another location.
Rubisk commented 10 years ago

Tried to fix it with: 884306e02317cb1ccc8702ada48d2c200520fbe6

Needs some more testing on other machines.

Rubisk commented 9 years ago

Tried again: https://github.com/Khroki/MCEdit-Unified/commit/8d09c71c74f4fa64d98e23437bc540851d7eb43c

naor2013 commented 9 years ago

Sorry for the delay but seems to work for me now..