> > On startup, the following is printed at the console: > > log4net:ERROR XmlHierarchyConfigurator: Could not create Appender > > [RollingFile] of type [log4net.Appender.RollingFileAppender]. Reported > > error follows. > > System.IO.DirectoryNotFoundException: Could not find a part of the path > > "/home/amauer/Desktop/Kosmos" > > at System.IO.Directory.GetFileSystemEntries (System.String path, > > System.String pattern, FileAttributes mask, FileAttributes attrs) [0x00000] > > at System.IO.Directory.GetFiles (System.String path, System.String > > pattern) [0x00000] > > at log4net.Appender.RollingFileAppender.GetExistingFiles > > (System.String baseFilePath) [0x00000] > > at log4net.Appender.RollingFileAppender.DetermineCurSizeRollBackups () > > [0x00000] > > at log4net.Appender.RollingFileAppender.ExistingInit () [0x00000] > > at log4net.Appender.RollingFileAppender.ActivateOptions () [0x00000] > > at log4net.Repository.Hierarchy.XmlHierarchyConfigurator.ParseAppender > > (System.Xml.XmlElement appenderElement) [0x00000] > > log4net:ERROR XmlHierarchyConfigurator: Appender named [RollingFile] not > > found. > > > > > > > Hmm this is an issue with log4net logging library and where it tries to > save the log file on Linux. Could you try this: > 1. Open the Kosmos.Gui.exe.config file > 2. Edit the *configuration/log4net/appender/file* tag to point to > absolute path of an existing directory (you may have to use double > backslashes (\\), but I'm not sure). > Anyway, log4net is designed not to cause the program to break down, so > Kosmos should work even without logging.
I've pointed to an existing file (Kosmos/Kosmos/logs/KosmosGui.log) and it worked without an error. > > Loading the sample project gives the below error. I tried switching the > > \ in the file to /, but it didn't help. > > > > Unhandled Exception: System.UriFormatException: Invalid URI: The format > > of the URI could not be determined. > > at System.Uri..ctor (System.String uriString, UriKind uriKind) [0x00000] > > at System.Uri.IsWellFormedUriString (System.String uriString, UriKind > > uriKind) [0x00000] > > at Kosmos.KosmosProject.Load (System.String fileName) [0x00000] > > at Kosmos.Presenters.MapPresenter.LoadProject (System.String > > projectFile) [0x00000] > > at Kosmos.Presenters.MapPresenter.OnOpenProject () [0x00000] > > at Kosmos.Forms.MapForm.openProjectToolStripMenuItem_Click > > (System.Object sender, System.EventArgs e) [0x00000] > > at System.Windows.Forms.ToolStripItem.OnClick (System.EventArgs e) > > [0x00000] > > at System.Windows.Forms.ToolStripMenuItem.OnClick (System.EventArgs e) > > [0x00000] > > at System.Windows.Forms.ToolStripMenuItem.HandleClick > > (System.EventArgs e) [0x00000] > > at System.Windows.Forms.ToolStripItem.FireEvent (System.EventArgs e, > > ToolStripItemEventType met) [0x00000] > > at (wrapper remoting-invoke-with-check) > > System.Windows.Forms.ToolStripItem:FireEvent > > (System.EventArgs,System.Windows.Forms.ToolStripItemEventType) > > at System.Windows.Forms.ToolStrip.OnMouseUp > > (System.Windows.Forms.MouseEventArgs mea) [0x00000] > > at System.Windows.Forms.ToolStripDropDown.OnMouseUp > > (System.Windows.Forms.MouseEventArgs mea) [0x00000] > > at System.Windows.Forms.Control.WmLButtonUp > > (System.Windows.Forms.Message& m) [0x00000] > > at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& > > m) [0x00000] > > at System.Windows.Forms.ScrollableControl.WndProc > > (System.Windows.Forms.Message& m) [0x00000] > > at System.Windows.Forms.ToolStrip.WndProc > > (System.Windows.Forms.Message& m) [0x00000] > > at System.Windows.Forms.ToolStripDropDown.WndProc > > (System.Windows.Forms.Message& m) [0x00000] > > at System.Windows.Forms.Control+ControlWindowTarget.OnMessage > > (System.Windows.Forms.Message& m) [0x00000] > > at System.Windows.Forms.Control+ControlNativeWindow.WndProc > > (System.Windows.Forms.Message& m) [0x00000] > > at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg, > > IntPtr wParam, IntPtr lParam) [0x00000] > > at System.Windows.Forms.XplatUIX11.DispatchMessage > > (System.Windows.Forms.MSG& msg) [0x00000] > > at System.Windows.Forms.XplatUI.DispatchMessage > > (System.Windows.Forms.MSG& msg) [0x00000] > > at System.Windows.Forms.Application.RunLoop (Boolean Modal, > > System.Windows.Forms.ApplicationContext context) [0x00000] > > at System.Windows.Forms.Application.Run > > (System.Windows.Forms.ApplicationContext context) [0x00000] > > at System.Windows.Forms.Application.Run (System.Windows.Forms.Form > > mainForm) [0x00000] > > at Kosmos.Gui.Program.Main (System.String[] args) [0x00000] > > > Could you perhaps send me your version of the Kosmos project file that > caused this error? The Sample/SampleProject.xml dosn't have an version number, but the Kosmos.Gui.exe's version is 1.1.4.1. Thanks for this cool project. Raphael _______________________________________________ talk mailing list [email protected] http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk

