Prakash06

Untitled

Mar 29th, 2017
383
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.72 KB | None | 0 0
  1. Unhandled Exception: Microsoft.Scripting.SyntaxErrorException: unexpected token 'from'
  2. at IronPython.Runtime.ThrowingErrorSink.Add(SourceUnit sourceUnit, String message, SourceSpan span, Int32 errorCode, Severity severity)
  3. at IronPython.Compiler.Parser.ReportSyntaxError(Int32 start, Int32 end, String message, Int32 errorCode)
  4. at IronPython.Compiler.Parser.ReportSyntaxError(Token t, IndexSpan span, Int32 errorCode, Boolean allowIncomplete)
  5. at IronPython.Compiler.Parser.ParsePrimary()
  6. at IronPython.Compiler.Parser.ParsePower()
  7. at IronPython.Compiler.Parser.ParseFactor()
  8. at IronPython.Compiler.Parser.ParseExpr(Int32 precedence)
  9. at IronPython.Compiler.Parser.ParseComparison()
  10. at IronPython.Compiler.Parser.ParseNotTest()
  11. at IronPython.Compiler.Parser.ParseAndTest()
  12. at IronPython.Compiler.Parser.ParseOrTest()
  13. at IronPython.Compiler.Parser.ParseExpression()
  14. at IronPython.Compiler.Parser.ParseExpressionList(Boolean& trailingComma)
  15. at IronPython.Compiler.Parser.ParseYieldExpression()
  16. at IronPython.Compiler.Parser.ParseYieldStmt()
  17. at IronPython.Compiler.Parser.ParseSimpleStmt()
  18. at IronPython.Compiler.Parser.ParseSuite()
  19. at IronPython.Compiler.Parser.ParseIfStmtTest()
  20. at IronPython.Compiler.Parser.ParseIfStmt()
  21. at IronPython.Compiler.Parser.ParseSuite()
  22. at IronPython.Compiler.Parser.ParseIfStmtTest()
  23. at IronPython.Compiler.Parser.ParseIfStmt()
  24. at IronPython.Compiler.Parser.ParseSuite()
  25. at IronPython.Compiler.Parser.ParseLoopSuite()
  26. at IronPython.Compiler.Parser.ParseWhileStmt()
  27. at IronPython.Compiler.Parser.ParseSuite()
  28. at IronPython.Compiler.Parser.ParseClassOrFuncBody()
  29. at IronPython.Compiler.Parser.ParseFuncDef()
  30. at IronPython.Compiler.Parser.ParseFileWorker(Boolean makeModule, Boolean returnValue)
  31. at IronPython.Compiler.Parser.ParseFile(Boolean makeModule, Boolean returnValue)
  32. at IronPython.Runtime.PythonContext.ParseAndBindAst(CompilerContext context)
  33. at IronPython.Runtime.PythonContext.CompilePythonCode(SourceUnit sourceUnit, CompilerOptions options, ErrorSink errorSink)
  34. at IronPython.Runtime.PythonContext.CompileModule(String fileName, String moduleName, SourceUnit sourceCode, ModuleOptions options, ScriptCode& scr
  35. iptCode)
  36. at IronPython.Runtime.Importer.LoadModuleFromSource(CodeContext context, String name, String path)
  37. at IronPython.Runtime.Importer.LoadFromDisk(CodeContext context, String name, String fullName, String str)
  38. at IronPython.Runtime.Importer.ImportFromPathHook(CodeContext context, String name, String fullName, List path, Func`5 defaultLoader)
  39. at IronPython.Runtime.Importer.ImportFromPath(CodeContext context, String name, String fullName, List path)
  40. at IronPython.Runtime.Importer.ImportTopAbsolute(CodeContext context, String name)
  41. at IronPython.Runtime.Importer.ImportModule(CodeContext context, Object globals, String modName, Boolean bottom, Int32 level)
  42. at IronPython.Modules.Builtin.__import__(CodeContext context, String name, Object globals, Object locals, Object fromlist, Int32 level)
  43. at Microsoft.Scripting.Interpreter.FuncCallInstruction`7.Run(InterpretedFrame frame)
  44. at Microsoft.Scripting.Interpreter.Interpreter.Run(InterpretedFrame frame)
  45. at Microsoft.Scripting.Interpreter.LightLambda.Run7[T0,T1,T2,T3,T4,T5,T6,TRet](T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6)
  46. at IronPython.Runtime.Importer.ImportLightThrow(CodeContext context, String fullName, PythonTuple from, Int32 level)
  47. at IronPython.Runtime.Operations.PythonOps.ImportBottom(CodeContext context, String fullName, Int32 level)
  48. at Microsoft.Scripting.Interpreter.FuncCallInstruction`4.Run(InterpretedFrame frame)
  49. at Microsoft.Scripting.Interpreter.Interpreter.Run(InterpretedFrame frame)
  50. at Microsoft.Scripting.Interpreter.LightLambda.Run1[T0,TRet](T0 arg0)
  51. at IronPython.Compiler.RuntimeScriptCode.InvokeTarget(Scope scope)
  52. at IronPython.Runtime.PythonContext.InitializeModule(String fileName, ModuleContext moduleContext, ScriptCode scriptCode, ModuleOptions options)
  53. at IronPython.Runtime.Importer.LoadModuleFromSource(CodeContext context, String name, String path)
  54. at IronPython.Runtime.Importer.LoadFromDisk(CodeContext context, String name, String fullName, String str)
  55. at IronPython.Runtime.Importer.ImportFromPathHook(CodeContext context, String name, String fullName, List path, Func`5 defaultLoader)
  56. at IronPython.Runtime.Importer.ImportFromPath(CodeContext context, String name, String fullName, List path)
  57. at IronPython.Runtime.Importer.ImportTopAbsolute(CodeContext context, String name)
  58. at IronPython.Runtime.Importer.ImportModule(CodeContext context, Object globals, String modName, Boolean bottom, Int32 level)
  59. at IronPython.Modules.Builtin.__import__(CodeContext context, String name, Object globals, Object locals, Object fromlist, Int32 level)
  60. at Microsoft.Scripting.Interpreter.FuncCallInstruction`7.Run(InterpretedFrame frame)
  61. at Microsoft.Scripting.Interpreter.Interpreter.Run(InterpretedFrame frame)
  62. at Microsoft.Scripting.Interpreter.LightLambda.Run7[T0,T1,T2,T3,T4,T5,T6,TRet](T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6)
  63. at IronPython.Runtime.Importer.ImportLightThrow(CodeContext context, String fullName, PythonTuple from, Int32 level)
  64. at Microsoft.Scripting.Interpreter.FuncCallInstruction`4.Run(InterpretedFrame frame)
  65. at Microsoft.Scripting.Interpreter.Interpreter.Run(InterpretedFrame frame)
  66. at Microsoft.Scripting.Interpreter.LightLambda.Run1[T0,TRet](T0 arg0)
  67. at IronPython.Compiler.RuntimeScriptCode.InvokeTarget(Scope scope)
  68. at IronPython.Runtime.PythonContext.InitializeModule(String fileName, ModuleContext moduleContext, ScriptCode scriptCode, ModuleOptions options)
  69. at IronPython.Runtime.Importer.LoadModuleFromSource(CodeContext context, String name, String path)
  70. at IronPython.Runtime.Importer.LoadFromDisk(CodeContext context, String name, String fullName, String str)
  71. at IronPython.Runtime.Importer.ImportFromPathHook(CodeContext context, String name, String fullName, List path, Func`5 defaultLoader)
  72. at IronPython.Runtime.Importer.ImportFromPath(CodeContext context, String name, String fullName, List path)
  73. at IronPython.Runtime.Importer.ImportNestedModule(CodeContext context, PythonModule module, String[] parts, Int32 current, List path)
  74. at IronPython.Runtime.Importer.ImportModuleFrom(CodeContext context, Object from, String[] parts, Int32 current)
  75. at IronPython.Runtime.Importer.ImportModule(CodeContext context, Object globals, String modName, Boolean bottom, Int32 level)
  76. at IronPython.Modules.Builtin.__import__(CodeContext context, String name, Object globals, Object locals, Object fromlist, Int32 level)
  77. at Microsoft.Scripting.Interpreter.FuncCallInstruction`7.Run(InterpretedFrame frame)
  78. at Microsoft.Scripting.Interpreter.Interpreter.Run(InterpretedFrame frame)
  79. at Microsoft.Scripting.Interpreter.LightLambda.Run8[T0,T1,T2,T3,T4,T5,T6,T7,TRet](T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7
  80. arg7)
  81. at IronPython.Runtime.Importer.ImportLightThrow(CodeContext context, String fullName, PythonTuple from, Int32 level)
  82. at IronPython.Runtime.Operations.PythonOps.ImportStar(CodeContext context, String fullName, Int32 level)
  83. at Microsoft.Scripting.Interpreter.ActionCallInstruction`3.Run(InterpretedFrame frame)
  84. at Microsoft.Scripting.Interpreter.Interpreter.Run(InterpretedFrame frame)
  85. at Microsoft.Scripting.Interpreter.LightLambda.Run1[T0,TRet](T0 arg0)
  86. at IronPython.Compiler.RuntimeScriptCode.InvokeTarget(Scope scope)
  87. at IronPython.Runtime.PythonContext.InitializeModule(String fileName, ModuleContext moduleContext, ScriptCode scriptCode, ModuleOptions options)
  88. at IronPython.Runtime.Importer.LoadModuleFromSource(CodeContext context, String name, String path)
  89. at IronPython.Runtime.Importer.LoadFromDisk(CodeContext context, String name, String fullName, String str)
  90. at IronPython.Runtime.Importer.ImportFromPathHook(CodeContext context, String name, String fullName, List path, Func`5 defaultLoader)
  91. at IronPython.Runtime.Importer.ImportFromPath(CodeContext context, String name, String fullName, List path)
  92. at IronPython.Runtime.Importer.ImportTopAbsolute(CodeContext context, String name)
  93. at IronPython.Runtime.Importer.ImportModule(CodeContext context, Object globals, String modName, Boolean bottom, Int32 level)
  94. at IronPython.Modules.Builtin.__import__(CodeContext context, String name, Object globals, Object locals, Object fromlist, Int32 level)
  95. at Microsoft.Scripting.Interpreter.FuncCallInstruction`7.Run(InterpretedFrame frame)
  96. at Microsoft.Scripting.Interpreter.Interpreter.Run(InterpretedFrame frame)
  97. at Microsoft.Scripting.Interpreter.LightLambda.Run7[T0,T1,T2,T3,T4,T5,T6,TRet](T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6)
  98. at System.Dynamic.UpdateDelegates.UpdateAndExecute6[T0,T1,T2,T3,T4,T5,TRet](CallSite site, T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5)
  99. at IronPython.Runtime.Importer.ImportLightThrow(CodeContext context, String fullName, PythonTuple from, Int32 level)
  100. at IronPython.Runtime.Operations.PythonOps.ImportBottom(CodeContext context, String fullName, Int32 level)
  101. at Microsoft.Scripting.Interpreter.FuncCallInstruction`4.Run(InterpretedFrame frame)
  102. at Microsoft.Scripting.Interpreter.Interpreter.Run(InterpretedFrame frame)
  103. at Microsoft.Scripting.Interpreter.LightLambda.Run2[T0,T1,TRet](T0 arg0, T1 arg1)
  104. at IronPython.Compiler.PythonScriptCode.RunWorker(CodeContext ctx)
  105. at Microsoft.Scripting.Hosting.ScriptSource.Execute(ScriptScope scope)
  106. at Microsoft.Scripting.Hosting.ScriptEngine.ExecuteFile(String path)
  107. at main() in f:\python projects\python c#\consoleapplication2\consoleapplication2\consoleapplication2.cpp:line 41
Add Comment
Please, Sign In to add comment