Advertisement
Guest User

Untitled

a guest
Jun 25th, 2018
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.52 KB | None | 0 0
  1. Rendering render_300.
  2. Render complete.
  3. 300: Simulation onging.
  4. ---------------------------------------------------------------------------
  5. IndexError Traceback (most recent call last)
  6. <ipython-input-3-1a3886c69bc9> in <module>()
  7. 86 return s
  8. 87
  9. ---> 88 get_ipython().run_line_magic('prun', 's = limited()')
  10.  
  11. ~\Anaconda3\lib\site-packages\IPython\core\interactiveshell.py in run_line_magic(self, magic_name, line, _stack_depth)
  12. 2129 kwargs['local_ns'] = sys._getframe(stack_depth).f_locals
  13. 2130 with self.builtin_trap:
  14. -> 2131 result = fn(*args,**kwargs)
  15. 2132 return result
  16. 2133
  17.  
  18. <decorator-gen-57> in prun(self, parameter_s, cell)
  19.  
  20. ~\Anaconda3\lib\site-packages\IPython\core\magic.py in <lambda>(f, *a, **k)
  21. 185 # but it's overkill for just that one bit of state.
  22. 186 def magic_deco(arg):
  23. --> 187 call = lambda f, *a, **k: f(*a, **k)
  24. 188
  25. 189 if callable(arg):
  26.  
  27. ~\Anaconda3\lib\site-packages\IPython\core\magics\execution.py in prun(self, parameter_s, cell)
  28. 300 arg_str += '\n' + cell
  29. 301 arg_str = self.shell.input_splitter.transform_cell(arg_str)
  30. --> 302 return self._run_with_profiler(arg_str, opts, self.shell.user_ns)
  31. 303
  32. 304 def _run_with_profiler(self, code, opts, namespace):
  33.  
  34. ~\Anaconda3\lib\site-packages\IPython\core\magics\execution.py in _run_with_profiler(self, code, opts, namespace)
  35. 322 prof = profile.Profile()
  36. 323 try:
  37. --> 324 prof = prof.runctx(code, namespace, namespace)
  38. 325 sys_exit = ''
  39. 326 except SystemExit:
  40.  
  41. ~\Anaconda3\lib\cProfile.py in runctx(self, cmd, globals, locals)
  42. 98 self.enable()
  43. 99 try:
  44. --> 100 exec(cmd, globals, locals)
  45. 101 finally:
  46. 102 self.disable()
  47.  
  48. <string> in <module>()
  49.  
  50. <ipython-input-3-1a3886c69bc9> in limited()
  51. 80
  52. 81 while True:
  53. ---> 82 if not s.process_next_event():
  54. 83 break
  55. 84
  56.  
  57. ~\Documents\senkaku_sim\lib\simulation.py in process_next_event(self)
  58. 52 time, _, func = heappop(self.event_queue)
  59. 53 if self.last_event_time != time:
  60. ---> 54 render_time = self.render_times[self.num_renders_written]
  61. 55 if time >= render_time:
  62. 56 self.num_renders_written += 1
  63.  
  64. IndexError: list index out of range
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement