Advertisement
Guest User

Untitled

a guest
Jan 16th, 2012
304
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.99 KB | None | 0 0
  1. <nosklo> delinquentme: logging module allows you to log the traceback output to a file
  2. <nosklo> delinquentme: you should also reraise the exception, so that the program stops
  3. * Aerok has quit (Ping timeout: 252 seconds)
  4. <marienz> well, perhaps not, but logging the full traceback *and* continuing is usually not great
  5. <nosklo> delinquentme: http://bpaste.net/show/21937/
  6. * holli__ ([email protected]) has joined #python
  7. <holli__> good localtime()
  8. * DDR ([email protected]) has joined #python
  9. <holli__> LOL of the day. Rupert Murdoch says Piracy is Googles fault. Who taught this guys how to twitter?
  10. * gratnam11 has quit (Ping timeout: 240 seconds)
  11. <lvh> holli__: #python-offtopic
  12. <kerrick> how do I just open an interactive terminal from within a running program?
  13. * mindlogger has quit (Read error: Connection reset by peer)
  14. <delinquentme> bob2 so yeah you've got part of it ... i want it to continue running ( which I've accomplished ) however the errors which I get ( in the shell window which im running the script from ) arent the same
  15. <delinquentme> I would like them to be
  16. <delinquentme> lemme make 2 bpastes
  17. <delinquentme> heres version 1 ( without using try and except statements ) which has big fat informative errors ... and also stops dead when it encounters one
  18. <delinquentme> http://bpaste.net/show/21938/
  19. <delinquentme> version 2 ( using try and except statements ) ... tiny un informative errors ... but a whole bunch ( bc im parsing a large # of files ) thrive@thrive-laptop:~/python_projects/biopython_tutorials/GFF_tutorials$ python bob2.py
  20. <delinquentme> repo/dictyBase/09142011/chromosome_3.gff
  21. <delinquentme> (<type 'exceptions.KeyError'>, KeyError('source',), <traceback object at 0x2c0be60>)
  22. <delinquentme> ===================================================================================
  23. <delinquentme> repo/dictyBase/09142011/chromosome_M.gff
  24. <delinquentme> (<type 'exceptions.KeyError'>, KeyError('source',), <traceback object at 0x2c133b0>)
  25. <delinquentme> ===================================================================================
  26. <delinquentme> repo/dictyBase/09142011/chromosome_2.gff
  27. <delinquentme> (<type 'exceptions.KeyError'>, KeyError('source',), <traceback object at 0x2c135f0>)
  28. <delinquentme> ===================================================================================
  29. <delinquentme> repo/dictyBase/09142011/chromosome_R.gff
  30. <delinquentme> (<type 'exceptions.KeyError'>, KeyError('source',), <traceback object at 0x2c13908>)
  31. <delinquentme> ===================================================================================
  32. <delinquentme> repo/dictyBase/09142011/chromosome_6.gff
  33. <delinquentme> (<type 'exceptions.KeyError'>, KeyError('source',), <traceback object at 0x2c13ef0>)
  34. <delinquentme> ===================================================================================
  35. <delinquentme> repo/dictyBase/09142011/chromosome_BF.gff
  36. <delinquentme> (<type 'exceptions.KeyError'>, KeyError('source',), <traceback object at 0x2c132d8>)
  37. <delinquentme> ===================================================================================
  38. <delinquentme> repo/dictyBase/09142011/chromosome_1.gff
  39. <delinquentme> (<type 'exceptions.KeyError'>, KeyError('source',), <traceback object at 0x2c13cb0>)
  40. <delinquentme> ===================================================================================
  41. <delinquentme> repo/dictyBase/09142011/chromosome_3F.gff
  42. <delinquentme> (<type 'exceptions.KeyError'>, KeyError('source',), <traceback object at 0x2c13ab8>)
  43. <delinquentme> ===================================================================================
  44. <delinquentme> repo/dictyBase/09142011/chromosome_2F.gff
  45. <delinquentme> (<type 'exceptions.KeyError'>, KeyError('source',), <traceback object at 0x2c133b0>)
  46. <delinquentme> ============
  47. <delinquentme> eff.!
  48. <delinquentme> http://bpaste.net/show/21939/
  49. <delinquentme> apologies.
  50. * delinquentme that akward moment when you're not sure if everyones pissed at you ... or you've been flood kicked and dont know it
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement