flupke wrote:
> > -> The rename fails for some reason.
I would dig a little deeper to find out what the reason is. After all,
on the face of it, there's no obvious reason it should fail. The
"permission denied" indicates perhaps that some other process or thread
is keeping that file open?
I've
flupke schreef:
> Hi Vinay,
>
> thanks for the info.
>
> I tried to change the handlers.py file.
> First, i changed some code in doRollover.
>
> if os.path.exists(dfn):
> os.remove(dfn)
> try:
> #os.rename(self.baseFilename, dfn)
>
> -> The rename fails for some reason.
>
> I tried wi
Vinay Sajip schreef:
> flupke wrote:
>
>> If this bug is fixed, where will i find a fixed version and how do i
>> install it?
>> Also, more important to me, what am i doing wrong to get this error
>> message in the first place?
>
> You're not doing anything particularly wrong, though it's not exa
flupke wrote:
> If this bug is fixed, where will i find a fixed version and how do i
> install it?
> Also, more important to me, what am i doing wrong to get this error
> message in the first place?
You're not doing anything particularly wrong, though it's not exactly
good practice to call fileCo
Vinay Sajip wrote:
> flupke wrote:
>
>
>> File "C:\Python24\lib\logging\handlers.py", line 134, in doRollover
>>self.handleError(record)
>>NameError: global name 'record' is not defined
>
>
> There's a bug in doRollover's exception handling, which is masking the
> true error - which is mos
flupke wrote:
> File "C:\Python24\lib\logging\handlers.py", line 134, in doRollover
> self.handleError(record)
> NameError: global name 'record' is not defined
There's a bug in doRollover's exception handling, which is masking the
true error - which is most probably an exception being throw
Hi,
i'm getting errors with the log module concerning RotatingFileHandler.
I'm using Python 2.4.3 on Windows XP SP2. This used to work in previous
python versions but since i upgraded to 2.4.3 i get these errors:
Traceback (most recent call last):
File "C:\Python24\lib\logging\handlers.py", li