Unable to get dual monitor set-up working

Nov 29, 2012 at 9:00 PM

Hi, I recently bought a new monitor and I am trying to get Windawesome to play nicely with it, however I keep getting this error:

"11/29/2012 4:53:59 PM
Assemblies:
Windawesome, Version=1.4.2.0, Culture=neutral, PublicKeyToken=null
mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Microsoft.Scripting, Version=1.1.0.20, Culture=neutral, PublicKeyToken=7f709c5b713576e1
IronPython, Version=2.7.0.40, Culture=neutral, PublicKeyToken=7f709c5b713576e1
IronRuby, Version=1.1.3.0, Culture=neutral, PublicKeyToken=7f709c5b713576e1
Microsoft.CSharp, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089

OS: Microsoft Windows NT 6.1.7601 Service Pack 1
CLR: 4.0.30319
64-bit OS: True
64-bit process: True
Elevated: False
System.InvalidCastException: Unable to cast object of type 'IronPython.Runtime.List' to type 'Windawesome.Workspace'.
   at IronPython.Runtime.IEnumeratorOfTWrapper`1.get_Current()
   at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
   at System.Linq.Enumerable.<DistinctIterator>d__81`1.MoveNext()
   at System.Linq.Enumerable.Count[TSource](IEnumerable`1 source)
   at Windawesome.Windawesome..ctor()
   at Windawesome.Program.Main()
Inner Exception:
none"

If it helps, here is my config as it is right now http://pastebin.com/PhK3XxRM

Thanks in advance!

Coordinator
Nov 30, 2012 at 7:22 PM

Hello,

I immediately see two potential problems, both concerning StartingWorkspaces. :)

config.StartingWorkspaces = [config.Workspaces[0]], [config.Workspaces[1]]

1) This should be ONE list, not two

2) The two workspaces inside should be for the two monitors.

To fix, use something like:

config.StartingWorkspaces = [config.Workspaces[0], config.Workspaces[2]]


Besides, workspaces 3 and 4 should use config.Bars[1]. After that it might work. :)