[OSM-talk] Kosmos - new OSM map rendering engine

Alex Mauer hawke at hawkesnest.net
Fri Jan 4 19:06:19 GMT 2008


Igor Brejc wrote:
> Kosmos runs on Windows. If you're able to make it run on Linux, please 
> let me know!

It starts and runs using mono.

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.



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]

Trying to run the tile server with the sample file gives a similar error.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
URL: <http://lists.openstreetmap.org/pipermail/talk/attachments/20080104/1dba111e/attachment.pgp>


More information about the talk mailing list