Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <nosklo> delinquentme: logging module allows you to log the traceback output to a file
- <nosklo> delinquentme: you should also reraise the exception, so that the program stops
- * Aerok has quit (Ping timeout: 252 seconds)
- <marienz> well, perhaps not, but logging the full traceback *and* continuing is usually not great
- <nosklo> delinquentme: http://bpaste.net/show/21937/
- * holli__ ([email protected]) has joined #python
- <holli__> good localtime()
- * DDR ([email protected]) has joined #python
- <holli__> LOL of the day. Rupert Murdoch says Piracy is Googles fault. Who taught this guys how to twitter?
- * gratnam11 has quit (Ping timeout: 240 seconds)
- <lvh> holli__: #python-offtopic
- <kerrick> how do I just open an interactive terminal from within a running program?
- * mindlogger has quit (Read error: Connection reset by peer)
- <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
- <delinquentme> I would like them to be
- <delinquentme> lemme make 2 bpastes
- <delinquentme> heres version 1 ( without using try and except statements ) which has big fat informative errors ... and also stops dead when it encounters one
- <delinquentme> http://bpaste.net/show/21938/
- <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
- <delinquentme> repo/dictyBase/09142011/chromosome_3.gff
- <delinquentme> (<type 'exceptions.KeyError'>, KeyError('source',), <traceback object at 0x2c0be60>)
- <delinquentme> ===================================================================================
- <delinquentme> repo/dictyBase/09142011/chromosome_M.gff
- <delinquentme> (<type 'exceptions.KeyError'>, KeyError('source',), <traceback object at 0x2c133b0>)
- <delinquentme> ===================================================================================
- <delinquentme> repo/dictyBase/09142011/chromosome_2.gff
- <delinquentme> (<type 'exceptions.KeyError'>, KeyError('source',), <traceback object at 0x2c135f0>)
- <delinquentme> ===================================================================================
- <delinquentme> repo/dictyBase/09142011/chromosome_R.gff
- <delinquentme> (<type 'exceptions.KeyError'>, KeyError('source',), <traceback object at 0x2c13908>)
- <delinquentme> ===================================================================================
- <delinquentme> repo/dictyBase/09142011/chromosome_6.gff
- <delinquentme> (<type 'exceptions.KeyError'>, KeyError('source',), <traceback object at 0x2c13ef0>)
- <delinquentme> ===================================================================================
- <delinquentme> repo/dictyBase/09142011/chromosome_BF.gff
- <delinquentme> (<type 'exceptions.KeyError'>, KeyError('source',), <traceback object at 0x2c132d8>)
- <delinquentme> ===================================================================================
- <delinquentme> repo/dictyBase/09142011/chromosome_1.gff
- <delinquentme> (<type 'exceptions.KeyError'>, KeyError('source',), <traceback object at 0x2c13cb0>)
- <delinquentme> ===================================================================================
- <delinquentme> repo/dictyBase/09142011/chromosome_3F.gff
- <delinquentme> (<type 'exceptions.KeyError'>, KeyError('source',), <traceback object at 0x2c13ab8>)
- <delinquentme> ===================================================================================
- <delinquentme> repo/dictyBase/09142011/chromosome_2F.gff
- <delinquentme> (<type 'exceptions.KeyError'>, KeyError('source',), <traceback object at 0x2c133b0>)
- <delinquentme> ============
- <delinquentme> eff.!
- <delinquentme> http://bpaste.net/show/21939/
- <delinquentme> apologies.
- * 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