Hopefully this stack trace will be enough to track this down, but if it's not please ask for any information you need.
The value of attr is "__getitem__". -Dan ValueError: too many values to unpack game\models\__init__.py Line 12: except KeyError: Line 13: print attr Line 14: raise AttributeError, attr Line 15: Line 16: def set(self, key, value): ValueError at __getattr__ in game\models\__init__.py, line 14 at body in <string>, line 369 at render in beskar\template.py, line 18 at load_xaml in game\templates\__init__.py, line 13 at __init__ in game\planet.py, line 11 at <lambda$65> in game\window_manager.py, line 60 at ShowTab in game\tabcontrol.py, line 85 at OnTabChanged in game\tabcontrol.py, line 101 at __call__ in game\event.py, line 41 at <lambda$53> in game\tabcontrol.py, line 34 CLR Stack Trace: at Microsoft.Scripting.Interpretation.Interpreter.InterpretTryStatement(InterpreterState state, Expression expr) at Microsoft.Scripting.Interpretation.Interpreter.Interpret(InterpreterState state, Expression expr) at Microsoft.Scripting.Interpretation.Interpreter.InterpretAndCheckFlow(InterpreterState state, Expression node, Object& result) at Microsoft.Scripting.Interpretation.Interpreter.InterpretBlock(InterpreterState state, Expression expr) at Microsoft.Scripting.Interpretation.Interpreter.Interpret(InterpreterState state, Expression expr) at Microsoft.Scripting.Interpretation.Interpreter.InterpretScopeExpression(InterpreterState state, Expression expr) at Microsoft.Scripting.Interpretation.Interpreter.Interpret(InterpreterState state, Expression expr) at Microsoft.Scripting.Interpretation.Interpreter.InterpretScopeExpression(InterpreterState state, Expression expr) at Microsoft.Scripting.Interpretation.Interpreter.Interpret(InterpreterState state, Expression expr) at Microsoft.Scripting.Interpretation.Interpreter.Execute(InterpreterState state, Expression expression) at Microsoft.Scripting.Interpretation.Interpreter.InterpretLambda(InterpreterState parentState, LambdaExpression lambda, Object[] args, Object[] array) at Microsoft.Scripting.Interpretation.LambdaInvoker.Invoke(Object[] args, Object[] array) at Interpreted_body_8(LambdaInvoker , Object ) at _stub_$688##438(Closure , CallSite , CodeContext , Object , Object ) at S$38.render$1296(Closure , Object self, Object namespaces) at S$38.render$1296(Closure , Object[] ) at _stub_$3935##2482(Closure , CallSite , CodeContext , Object , Object , Object ) at _stub_$3934##2481(Closure , CallSite , CodeContext , Object , Object ) at S$26.load_xaml$927(Closure , Object template, Object namespaces) at S$26.load_xaml$927(Closure , Object[] ) at _stub_$3454##2020(Closure , CallSite , CodeContext , Object , String , Object ) at _stub_MatchCaller(Object , CallSite , Object[] ) at Microsoft.Scripting.Actions.CallSite`1.UpdateAndExecute(Object[] args) at Microsoft.Scripting.Actions.UpdateDelegates.Update4[T,T0,T1,T2,T3,TRet](CallSite site, T0 arg0, T1 arg1, T2 arg2, T3 arg3) at S$79.__init__$2342(Closure , Object self, Object planet) at _stub_$2797##1366(Closure , CallSite , CodeContext , Object , Object , Object ) at _stub_$690##440(Closure , CallSite , CodeContext , Object , Object ) at _stub_MatchCaller(Object , CallSite , Object[] ) at Microsoft.Scripting.Actions.CallSite`1.UpdateAndExecute(Object[] args) at Microsoft.Scripting.Actions.UpdateDelegates.Update3[T,T0,T1,T2,TRet](CallSite site, T0 arg0, T1 arg1, T2 arg2) at _stub_$4077##2624(Closure , CallSite , CodeContext , Object , Object ) at _stub_MatchCaller(Object , CallSite , Object[] ) at Microsoft.Scripting.Actions.CallSite`1.UpdateAndExecute(Object[] args) at Microsoft.Scripting.Actions.UpdateDelegates.Update3[T,T0,T1,T2,TRet](CallSite site, T0 arg0, T1 arg1, T2 arg2) at S$77.<lambda$65>$2330(Closure ) at _stub_$375##345(Closure , CallSite , CodeContext , Object ) at _stub_MatchCaller(Object , CallSite , Object[] ) at Microsoft.Scripting.Actions.CallSite`1.UpdateAndExecute(Object[] args) at Microsoft.Scripting.Actions.UpdateDelegates.Update2[T,T0,T1,TRet](CallSite site, T0 arg0, T1 arg1) at S$72.ShowTab$2176(Closure , Object self, Object tab, Object silent) at _stub_$3417##1983(Closure , CallSite , CodeContext , Object , Object , Object , Object ) at _stub_$2584##1153(Closure , CallSite , CodeContext , Object , Object , Object ) at _stub_MatchCaller(Object , CallSite , Object[] ) at Microsoft.Scripting.Actions.CallSite`1.UpdateAndExecute(Object[] args) at Microsoft.Scripting.Actions.UpdateDelegates.Update4[T,T0,T1,T2,T3,TRet](CallSite site, T0 arg0, T1 arg1, T2 arg2, T3 arg3) at S$72.OnTabChanged$2178(Closure , Object self, Object sender, Object e) at _stub_$705##455(Closure , CallSite , CodeContext , Object , Object , Object , Object ) at _stub_$704##454(Closure , CallSite , CodeContext , Object , Object , Object ) at _stub_MatchCaller(Object , CallSite , Object[] ) at Microsoft.Scripting.Actions.CallSite`1.UpdateAndExecute(Object[] args) at Microsoft.Scripting.Actions.UpdateDelegates.Update4[T,T0,T1,T2,T3,TRet](CallSite site, T0 arg0, T1 arg1, T2 arg2, T3 arg3) at _stub_$2398##967(Closure , CallSite , CodeContext , Object , Object , Object ) at S$14.__call__$665(Closure , Object self, Object sender, Object event_args) at _stub_$705##455(Closure , CallSite , CodeContext , Object , Object , Object , Object ) at _stub_$704##454(Closure , CallSite , CodeContext , Object , Object , Object ) at _stub_MatchCaller(Object , CallSite , Object[] ) at Microsoft.Scripting.Actions.CallSite`1.UpdateAndExecute(Object[] args) at Microsoft.Scripting.Actions.UpdateDelegates.Update4[T,T0,T1,T2,T3,TRet](CallSite site, T0 arg0, T1 arg1, T2 arg2, T3 arg3) at _stub_$4069##2616(Closure , CallSite , CodeContext , Object , Object , Object ) at _stub_MatchCaller(Object , CallSite , Object[] ) at Microsoft.Scripting.Actions.CallSite`1.UpdateAndExecute(Object[] args) at Microsoft.Scripting.Actions.UpdateDelegates.Update4[T,T0,T1,T2,T3,TRet](CallSite site, T0 arg0, T1 arg1, T2 arg2, T3 arg3) at S$72.<lambda$53>$2168(Closure , Object s, Object e) at _stub_$4064##2611(Closure , CallSite , CodeContext , Object , Object , Object ) at _stub_MatchCaller(Object , CallSite , Object[] ) at Microsoft.Scripting.Actions.CallSite`1.UpdateAndExecute(Object[] args) at Microsoft.Scripting.Actions.UpdateDelegates.Update4[T,T0,T1,T2,T3,TRet](CallSite site, T0 arg0, T1 arg1, T2 arg2, T3 arg3) at System.Void(Object, SelectionChangedEventArgs)(Object[] , Object , SelectionChangedEventArgs ) at System.Windows.Controls.ListBox.OnSelectionChanged(SelectionChangedEventArgs e) at System.Windows.Controls.ListBox.ProcessSelectionPropertyChange(DependencyProperty changedProperty, Object oldValue, Object newValue) at System.Windows.Controls.ListBox.OnSelectedItemChanged(Object oldValue, Object newValue) at System.Windows.Controls.ListBox.OnSelectedItemChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object newValue, Object oldValue) at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean isSetByStyle, Boolean isSetByBuiltInStyle) at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value) at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value) at System.Windows.Controls.ListBox.set_SelectedItem(Object value) at System.Windows.Controls.ListBox.SetSelectedItem(Object item) at System.Windows.Controls.ListBox.NotifyListItemClicked(ListBoxItem listBoxItem) at System.Windows.Controls.ListBoxItem.OnMouseLeftButtonDown(MouseButtonEventArgs e) at System.Windows.Controls.ListBoxItem.<.ctor>b__0(Object sender, MouseButtonEventArgs e) at System.Windows.CoreInvokeHandler.InvokeEventHandler(Int32 typeIndex, Delegate handlerDelegate, Object sender, Object args) at MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, String eventName) _______________________________________________ Users mailing list Users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com