SCIENTIFIC-LINUX-USERS Archives

April 2011

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Ole Streicher <[log in to unmask]>
Reply To:
Ole Streicher <[log in to unmask]>
Date:
Thu, 14 Apr 2011 14:07:33 +0200
Content-Type:
text/plain
Parts/Attachments:
text/plain (31 lines)
Am 14.04.2011 13:31, schrieb Vaclav Mocek:
> On 04/14/2011 09:22 AM, Ole Streicher wrote:
>> raise Exception()
> I am not able to reproduce it ....
> 
> When I run your example I got:
> 
> $ python python_exception.py
> Traceback (most recent call last):
>   File "python_exception.py", line 3, in <module>
>     raise Exception()
> Exception

The funny thing is that I can get both results: I saved the (minimal)
program in a file $HOME/t.py

If I start it like

python t.py

I get the exception as expected. If I start it as

python ~/t.py

it hangs as described. The home directory is a local disk. When the abrt
daemon is disabled, the program does hang, too.

Best

Ole

ATOM RSS1 RSS2