shakaran

Untitled

Jun 13th, 2012
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.08 KB | None | 0 0
  1. $ python curvecalc --reload http://light9.bigasterisk.com/show/dance2011/song16
  2. curveview.py toplevel
  3. u'colors2' is a chase
  4. u'colorrb' is a chase
  5. u'colors3' is a chase
  6. u'colors4' is a chase
  7. u'colors' is a chase
  8. u'back' is a chase
  9. u'frontsrand' is a chase
  10. u'colors1' is a chase
  11. u'cycline' is a chase
  12. u'cycpong' is a chase
  13. u'scoop' is a chase
  14. u'fronts' is a chase
  15. 2012-06-13 09:10:52,432 INFO root prof.py:46: Call to read_all_subs took 1102.8 ms
  16. <type 'exceptions.IOError'>
  17. Python 2.7.3: /usr/bin/python
  18. Wed Jun 13 09:10:52 2012
  19.  
  20. A problem occurred in a Python script. Here is the sequence of
  21. function calls leading up to the error, in the order they occurred.
  22.  
  23. /home/shakaran/Documentos/Projects/light9/bin/curvecalc in <module>()
  24. 300 return
  25. 301
  26. 302 prof.run(reactor.run, profile=False)
  27. 303
  28. 304 main()
  29. main = <function main>
  30.  
  31. /home/shakaran/Documentos/Projects/light9/bin/curvecalc in main()
  32. 288
  33. 289 musicfilename = showconfig.songOnDisk(song)
  34. 290 maxtime = wavelength(musicfilename)
  35. 291 dispatcher.connect(lambda: maxtime, "get max time", weak=False)
  36. 292
  37. maxtime undefined
  38. global wavelength = <function wavelength>
  39. musicfilename = u'/my/music/projects/sharlyn2011/final/norm/pad/16-mix.wav'
  40.  
  41. /home/shakaran/Documentos/Projects/light9/light9/wavelength.py in wavelength(filename=u'/my/music/projects/sharlyn2011/final/norm/pad/16-mix.wav')
  42. 6 def wavelength(filename):
  43. 7 filename = filename.replace('.ogg', '.wav')
  44. 8 wavefile = wave.open(filename, 'rb')
  45. 9
  46. 10 framerate = wavefile.getframerate() # frames / second
  47. wavefile undefined
  48. global wave = <module 'wave' from '/usr/lib/python2.7/wave.pyc'>
  49. wave.open = <function open>
  50. filename = u'/my/music/projects/sharlyn2011/final/norm/pad/16-mix.wav'
  51.  
  52. /usr/lib/python2.7/wave.py in open(f=u'/my/music/projects/sharlyn2011/final/norm/pad/16-mix.wav', mode='rb')
  53. 496 mode = 'rb'
  54. 497 if mode in ('r', 'rb'):
  55. 498 return Wave_read(f)
  56. 499 elif mode in ('w', 'wb'):
  57. 500 return Wave_write(f)
  58. global Wave_read = <class wave.Wave_read>
  59. f = u'/my/music/projects/sharlyn2011/final/norm/pad/16-mix.wav'
  60.  
  61. /usr/lib/python2.7/wave.py in __init__(self=<wave.Wave_read instance>, f=u'/my/music/projects/sharlyn2011/final/norm/pad/16-mix.wav')
  62. 157 self._i_opened_the_file = None
  63. 158 if isinstance(f, basestring):
  64. 159 f = __builtin__.open(f, 'rb')
  65. 160 self._i_opened_the_file = f
  66. 161 # else, assume it is an open file object already
  67. f = u'/my/music/projects/sharlyn2011/final/norm/pad/16-mix.wav'
  68. global __builtin__ = <module '__builtin__' (built-in)>
  69. __builtin__.open = <built-in function open>
  70. <type 'exceptions.IOError'>: [Errno 2] No existe el archivo o el directorio: u'/my/music/projects/sharlyn2011/final/norm/pad/16-mix.wav'
  71. __class__ = <type 'exceptions.IOError'>
  72. __delattr__ = <method-wrapper '__delattr__' of exceptions.IOError object>
  73. __dict__ = {}
  74. __doc__ = 'I/O operation failed.'
  75. __format__ = <built-in method __format__ of exceptions.IOError object>
  76. __getattribute__ = <method-wrapper '__getattribute__' of exceptions.IOError object>
  77. __getitem__ = <method-wrapper '__getitem__' of exceptions.IOError object>
  78. __getslice__ = <method-wrapper '__getslice__' of exceptions.IOError object>
  79. __hash__ = <method-wrapper '__hash__' of exceptions.IOError object>
  80. __init__ = <method-wrapper '__init__' of exceptions.IOError object>
  81. __new__ = <built-in method __new__ of type object>
  82. __reduce__ = <built-in method __reduce__ of exceptions.IOError object>
  83. __reduce_ex__ = <built-in method __reduce_ex__ of exceptions.IOError object>
  84. __repr__ = <method-wrapper '__repr__' of exceptions.IOError object>
  85. __setattr__ = <method-wrapper '__setattr__' of exceptions.IOError object>
  86. __setstate__ = <built-in method __setstate__ of exceptions.IOError object>
  87. __sizeof__ = <built-in method __sizeof__ of exceptions.IOError object>
  88. __str__ = <method-wrapper '__str__' of exceptions.IOError object>
  89. __subclasshook__ = <built-in method __subclasshook__ of type object>
  90. __unicode__ = <built-in method __unicode__ of exceptions.IOError object>
  91. args = (2, 'No existe el archivo o el directorio')
  92. errno = 2
  93. filename = u'/my/music/projects/sharlyn2011/final/norm/pad/16-mix.wav'
  94. message = ''
  95. strerror = 'No existe el archivo o el directorio'
  96.  
  97. The above is a description of an error in a Python program. Here is
  98. the original traceback:
  99.  
  100. Traceback (most recent call last):
  101. File "curvecalc", line 304, in <module>
  102. main()
  103. File "curvecalc", line 290, in main
  104. maxtime = wavelength(musicfilename)
  105. File "../light9/wavelength.py", line 8, in wavelength
  106. wavefile = wave.open(filename, 'rb')
  107. File "/usr/lib/python2.7/wave.py", line 498, in open
  108. return Wave_read(f)
  109. File "/usr/lib/python2.7/wave.py", line 159, in __init__
  110. f = __builtin__.open(f, 'rb')
  111. IOError: [Errno 2] No existe el archivo o el directorio: u'/my/music/projects/sharlyn2011/final/norm/pad/16-mix.wav'
Advertisement
Add Comment
Please, Sign In to add comment