Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ python ModuleMismatchSimulator.py
- Module Size? (1=72c, 2=96c, 3=128c): 2
- Cell temperature (deg C)? 45
- Pmp0: 305.966028931
- #Cells %Shade Pmp %ofPmp0
- ----------------------------
- Exception in Tkinter callback
- Traceback (most recent call last):
- File "C:\Python27\lib\lib-tk\Tkinter.py", line 1537, in __call__
- return self.func(*args)
- File "C:\Python27\lib\site-packages\matplotlib\backends\backend_tkagg.py", line 402, in button_pre
- ss_event
- FigureCanvasBase.button_press_event(self, x, y, num, dblclick=dblclick, guiEvent=event)
- File "C:\Python27\lib\site-packages\matplotlib\backend_bases.py", line 1909, in button_press_event
- self.callbacks.process(s, mouseevent)
- File "C:\Python27\lib\site-packages\matplotlib\cbook.py", line 549, in process
- proxy(*args, **kwargs)
- File "C:\Python27\lib\site-packages\matplotlib\cbook.py", line 416, in __call__
- return mtd(*args, **kwargs)
- File "C:\Python27\lib\site-packages\matplotlib\widgets.py", line 434, in _update
- self.set_val(val)
- File "C:\Python27\lib\site-packages\matplotlib\widgets.py", line 448, in set_val
- func(val)
- File "ModuleMismatchSimulator.py", line 423, in full_update
- allCalc(ivp0, ps, sw, sh, sx, sy)
- File "ModuleMismatchSimulator.py", line 307, in allCalc
- numberCells=pvmod1.numberCells))
- File "ModuleMismatchSimulator.py", line 97, in __init__
- self.shadecells.append(module[j - 1, i - 1])
- IndexError: only integers, slices (`:`), ellipsis (`...`), numpy.newaxis (`None`) and integer or boo
- lean arrays are valid indices
- Exception in Tkinter callback
- Traceback (most recent call last):
- File "C:\Python27\lib\lib-tk\Tkinter.py", line 1537, in __call__
- return self.func(*args)
- File "C:\Python27\lib\site-packages\matplotlib\backends\backend_tkagg.py", line 402, in button_pre
- ss_event
- FigureCanvasBase.button_press_event(self, x, y, num, dblclick=dblclick, guiEvent=event)
- File "C:\Python27\lib\site-packages\matplotlib\backend_bases.py", line 1909, in button_press_event
- self.callbacks.process(s, mouseevent)
- File "C:\Python27\lib\site-packages\matplotlib\cbook.py", line 549, in process
- proxy(*args, **kwargs)
- File "C:\Python27\lib\site-packages\matplotlib\cbook.py", line 416, in __call__
- return mtd(*args, **kwargs)
- File "C:\Python27\lib\site-packages\matplotlib\widgets.py", line 434, in _update
- self.set_val(val)
- File "C:\Python27\lib\site-packages\matplotlib\widgets.py", line 448, in set_val
- func(val)
- File "ModuleMismatchSimulator.py", line 423, in full_update
- allCalc(ivp0, ps, sw, sh, sx, sy)
- File "ModuleMismatchSimulator.py", line 307, in allCalc
- numberCells=pvmod1.numberCells))
- File "ModuleMismatchSimulator.py", line 97, in __init__
- self.shadecells.append(module[j - 1, i - 1])
- IndexError: only integers, slices (`:`), ellipsis (`...`), numpy.newaxis (`None`) and integer or boo
- lean arrays are valid indices
- Exception in Tkinter callback
- Traceback (most recent call last):
- File "C:\Python27\lib\lib-tk\Tkinter.py", line 1537, in __call__
- return self.func(*args)
- File "C:\Python27\lib\site-packages\matplotlib\backends\backend_tkagg.py", line 420, in button_rel
- ease_event
- FigureCanvasBase.button_release_event(self, x, y, num, guiEvent=event)
- File "C:\Python27\lib\site-packages\matplotlib\backend_bases.py", line 1932, in button_release_eve
- nt
- self.callbacks.process(s, event)
- File "C:\Python27\lib\site-packages\matplotlib\cbook.py", line 549, in process
- proxy(*args, **kwargs)
- File "C:\Python27\lib\site-packages\matplotlib\cbook.py", line 416, in __call__
- return mtd(*args, **kwargs)
- File "C:\Python27\lib\site-packages\matplotlib\widgets.py", line 229, in _release
- func(event)
- File "ModuleMismatchSimulator.py", line 432, in SetTheShade
- ivp0.shade.insert(0, ivp0.shade[-1])
- IndexError: list index out of range
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement