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:
Vaclav Mocek <[log in to unmask]>
Reply To:
Vaclav Mocek <[log in to unmask]>
Date:
Thu, 14 Apr 2011 13:31:33 +0100
Content-Type:
text/plain
Parts/Attachments:
text/plain (43 lines)
On 04/14/2011 01:07 PM, Ole Streicher wrote:
> 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
>
Still unable to reproduce it:

$ chmod 700 python_exception.py
$ ./python_exception.py
Traceback (most recent call last):
   File "./python_exception.py", line 3, in <module>
     raise Exception()
Exception
$

Vaclav M.

ATOM RSS1 RSS2