haja/leksah — Issue #19: leksah crashes on workspace open with "load session"
Author: haja
Created: 2011-12-03 09:49:47+00:00
State: open

leksah-version: commit: 7dcbb0436a9798c7be0bbd3a56d05df308f7e18b (branch: mergeUpstream)

This seems to be a problem in the session file.

__log:__
[n0s-ubuntu@cyrox-ubuntu:~] leksah
Using default Yi configuration
Now updating system metadata ...
***server start
Bind 127.0.0.1:26411
Metadata collector has nothing to do
Metadata collection has finished
Now loading metadata ...
Now updating workspace metadata ...
Finished
>>>Info Changed!!! True
Now saving session
leksah: Not a notebook getNotebook' viewCollapse' 1 [SplitP LeftP]
***lost connection
***lost last connection - exiting
***lost last connection - waiting
leksah-server: ExitSuccess
ExitSuccess

__leksah session file .lkshs:__

Version of session file format:
1
Time of storage:
"Sat Dec 3 10:28:23 CET 2011"
Layout: VerticalP (VerticalP (TerminalP {paneGroups = fromList [], paneTabs = Just TopP, currentPage = 0, detachedId = Nothing, detachedSize = Nothing}) (TerminalP {paneGroups = fromList [], paneTabs = Just TopP, currentPage = 0, detachedId = Nothing, detachedSize = Nothing}) 210) (HorizontalP (TerminalP {paneGroups = fromList [("Browser",HorizontalP (TerminalP {paneGroups = fromList [], paneTabs = Nothing, currentPage = 0, detachedId = Nothing, detachedSize = Nothing}) (HorizontalP (TerminalP {paneGroups = fromList [], paneTabs = Nothing, currentPage = 0, detachedId = Nothing, detachedSize = Nothing}) (TerminalP {paneGroups = fromList [], paneTabs = Nothing, currentPage = 0, detachedId = Nothing, detachedSize = Nothing}) 203) 55)], paneTabs = Just BottomP, currentPage = 0, detachedId = Nothing, detachedSize = Nothing}) (TerminalP {paneGroups = fromList [], paneTabs = Nothing, currentPage = 0, detachedId = Nothing, detachedSize = Nothing}) 424) 1330
Population: [(Just (BufferSt (BufferState "/home/n0s-ubuntu/workspace/leksah/src/IDE/ArgumentHelper.hs" 3776)),[SplitP LeftP,SplitP RightP]),(Just (BufferSt (BufferState "/home/n0s-ubuntu/workspace/leksah/src/IDE/Completion.hs" 8372)),[SplitP LeftP,SplitP RightP]),(Just (ErrorsSt ErrorsState),[SplitP RightP,SplitP TopP]),(Just (FilesSt FilesState),[SplitP LeftP,SplitP LeftP]),(Just (GrepSt GrepState),[SplitP RightP,SplitP TopP]),(Just (InfoSt (InfoState Nothing)),[SplitP RightP,SplitP TopP,GroupP "Browser",SplitP BottomP,SplitP BottomP]),(Just (LogSt LogState),[SplitP RightP,SplitP BottomP]),(Just (ModulesSt (ModulesState 231 (SystemScope,False) (Nothing,Nothing) (ExpanderState {packageExp = ([],[]), packageExpNoBlack = ([],[]), packageDExp = ([],[]), packageDExpNoBlack = ([],[]), workspaceExp = ([],[]), workspaceExpNoBlack = ([],[]), workspaceDExp = ([],[]), workspaceDExpNoBlack = ([],[]), systemExp = ([],[]), systemExpNoBlack = ([],[])}))),[SplitP RightP,SplitP TopP,GroupP "Browser",SplitP BottomP,SplitP TopP]),(Just (BufferSt (BufferState "/home/n0s-ubuntu/workspace/leksah_upstream/src/IDE/Metainfo/Provider.hs" 30670)),[SplitP LeftP,SplitP RightP]),(Just (SearchSt (SearchState {searchString = "EditorView", searchScope = SystemScope, searchMode = Prefix {caseSense = False}})),[SplitP RightP,SplitP TopP]),(Just (BufferSt (BufferState "/home/n0s-ubuntu/workspace/leksah/src/IDE/TextEditor.hs" 3918)),[SplitP LeftP,SplitP RightP]),(Just (WorkspaceSt WorkspaceState),[SplitP RightP,SplitP TopP,GroupP "Browser",SplitP TopP])]
Window size: (1920,1018)
Completion size:
(1028,406)
Workspace: Just "/home/n0s-ubuntu/workspace/leksah/leksah_0.11.lkshw"
Active pane: Just "ArgumentHelper.hs"
Toolbar visible:
True
FindbarState: (False,FindState {entryStr = "", entryHist = ["getCompletion","empty","askPassWrapper","runvcs","runV","showFilesInConflictGUI","asfasdfasdf","showCommitGUI","showConflictsResolvedGUI"], replaceStr = "", replaceHist = [], caseSensitive = False, entireWord = False, wrapAround = True, regex = False, lineNr = 1})
Recently opened files:
["/home/n0s-ubuntu/workspace/leksah/src/IDE/Completion.hs","/home/n0s-ubuntu/workspace/leksah_upstream/src/IDE/Command.hs","/home/n0s-ubuntu/workspace/gui/vcsgui/src/VCSGui/Common/Helpers.hs","/home/n0s-ubuntu/workspace/gui/vcsgui/src/VCSGui/Git/Log.hs","/home/n0s-ubuntu/workspace/gui/vcsgui/src/VCSGui/Common/GtkHelper.hs","/home/n0s-ubuntu/workspace/gui/vcsgui/src/VCSGui/Common.hs","/home/n0s-ubuntu/workspace/gui/vcsgui/src/exe/askpass/Main.hs","/home/n0s-ubuntu/workspace/gui/vcsgui/src/VCSGui/Git/Pull.hs","/home/n0s-ubuntu/workspace/gui/vcsgui/src/VCSGui/Git/Helpers.hs","/home/n0s-ubuntu/workspace/leksah_upstream/src/IDE/Command/VCS/Common/Workspaces.hs","/home/n0s-ubuntu/workspace/leksah_upstream/src/IDE/Command/VCS/Common/Helper.hs","/home/n0s-ubuntu/workspace/gui/vcsgui/src/VCSGui/Git.hs"]
Recently opened workspaces:
["/home/n0s-ubuntu/reposTest/haskellVCSGUI/x.lkshw","/home/n0s-ubuntu/workspace/gui/vcsguis_0.11.lkshw","/home/n0s-ubuntu/workspace/leksah_upstream/leksah_upstream.lkshw"]

__leksah layout:__
![leksah layout](https://github.com/haja/leksah/wiki/images/leksah_load-session_crash_layout.png)