Your message dated Tue, 02 Jun 2015 12:03:46 +0200
with message-id <[email protected]>
and subject line closing bugs against ancient python2.4
has caused the Debian Bug report #473970,
regarding python2.4: Problem with logging package - Formatter "%(lineno)d" is 
not proper interpreting
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
473970: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=473970
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python2.4
Version: 2.4.4-3
Severity: normal

I've detect SUBJECT problem . 
the test code is below :
<< file: myapp.py  --------------------------------------
#!/usr/bin/env python2.4 

import mymodule,logging

if __name__ == "__main__":
    logging.basicConfig(filename="myapp.log", 
        level=1, 
        filemode="a", 
        format="%(asctime)s [%(lineno)-3d: %(name)-10s]  [%(levelname)-10s] : 
%(message)s"
        );

    log = logging.getLogger("MyApp")

    log.info("<"*40)
    log.info("Starting my app")
    try:
        log.info("Do some taske here ....")
        mymodule.doIt()
    except Exception, e:
        log.exception("There was a problem.")
    
    log.info("Ending my app "+">"*40+"\n\n")
>> end of: myapp.py 
>> -------------------------------------------------------------
  
<< file: mymodule.py 
------------------------------------------------------------
#!/usr/bin/env python2.4
import logging

log = logging.getLogger("MyModule")

def doIt():
    log.debug("Doin' stuff...")
    #do stuff...
    raise TypeError, "Bogus type error for testing"
>> end of : mymodule.py 
>> ---------------------------------------------------------
After execution I've get file myapp.log:
<< myapp.log : 
-----------------------------------------------------------------------------------------
2008-04-02 16:21:28,019 [1072: MyApp     ]  [INFO      ] : 
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2008-04-02 16:21:28,019 [1072: MyApp     ]  [INFO      ] : Starting my app
2008-04-02 16:21:28,019 [1072: MyApp     ]  [INFO      ] : Do some taske here 
....
2008-04-02 16:21:28,020 [1072: MyModule  ]  [DEBUG     ] : Doin' stuff...
2008-04-02 16:21:28,020 [1072: MyApp     ]  [ERROR     ] : There was a problem.
Traceback (most recent call last):
  File "./myapp.py", line 19, in ?
      mymodule.doIt()
        File "/home/alexvl/progi/python/logger/mymodule.py", line 10, in doIt
      raise TypeError, "Bogus type error for testing"
    TypeError: Bogus type error for testing
2008-04-02 16:21:28,020 [1072: MyApp     ]  [INFO      ] : Ending my app 
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>> end of myapp.log 
>> ------------------------------------------------------------------------------------
As seen here .. 1072: MyApp ... -- 1072 is not preoper line number 
After this i've rename package /usr/lib/python2.4/logging to 
/usr/lib/python2.4/logging1
And replace orignal logging package with logging package from Solaris's binary: 
from this place 
 http://www.sunfreeware.com/programlistsparc9.html#python (!only logging 
package!).
And after restarting of aplpication i've get log :
<< myapp.log 
-------------------------------------------------------------------------------------------
2008-04-02 14:38:33,585 [14 : MyApp     ]  [INFO      ] : 
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2008-04-02 14:38:33,586 [15 : MyApp     ]  [INFO      ] : Starting my app
2008-04-02 14:38:33,586 [17 : MyApp     ]  [INFO      ] : Do some taske here 
....
2008-04-02 14:38:33,586 [7  : MyModule  ]  [DEBUG     ] : Doin' stuff...
2008-04-02 14:38:33,586 [20 : MyApp     ]  [ERROR     ] : There was a problem.
Traceback (most recent call last):
  File "./myapp.py", line 18, in ?
      mymodule.doIt()
        File "/home/alexvl/progi/python/logger/mymodule.py", line 9, in doIt
            raise TypeError, "Bogus type error for testing"
            TypeError: Bogus type error for testing
2008-04-02 14:38:33,586 [22 : MyApp     ]  [INFO      ] : Ending my app 
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>> myapp.log 
>> --------------------------------------------------------------------------------------------
It-s look good now! 
Admittedly the Debian python2.5 package should work fine - BUT after I've 
install python2.5 package problem still was there. )
<< myapp.log in Python2.5 v 2.5-5: -----------------------------
2008-04-02 16:33:37,009 [1091: MyApp     ]  [INFO      ] : 
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2008-04-02 16:33:37,009 [1091: MyApp     ]  [INFO      ] : Starting my app
2008-04-02 16:33:37,010 [1091: MyApp     ]  [INFO      ] : Do some taske here 
....
2008-04-02 16:33:37,010 [1091: MyModule  ]  [DEBUG     ] : Doin' stuff...
2008-04-02 16:33:37,010 [1091: MyApp     ]  [ERROR     ] : There was a problem.
Traceback (most recent call last):
  File "./myapp.py", line 19, in <module>
    mymodule.doIt()
        File "/home/alexvl/progi/python/logger/mymodule.py", line 10, in doIt
        raise TypeError, "Bogus type error for testing"
    TypeError: Bogus type error for testing
2008-04-02 16:33:37,010 [1091: MyApp     ]  [INFO      ] : Ending my app 
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>> End of myapp.log 
>> ------------------------------------------------------------------------------------
P.S: below uuencoded diff file :
logging is package from Solaris's package 
login1  is original - from Debian Package  
>>
begin 644 logging_logging1.diff.bz2
M0EIH.3%!629365*Q*9$`#6Y_@&8S(B)Z[__W/^_?BK____I@$KU][I`:V(D5
M[;F.W=7KEWJ;.LHS9Z==BRS*:T5HT4!0*`UD(@$-%,U,J>D]0:&C3-3"--J&
M3)D&U&:C!I&F@`T8-5/R:F1Z3$IZ@:`-#0``#0`````"4!!)B5/VDR2?H:D/
M4]-$8(R`&@!D`&U`"32B3(F(FB>FJ:-Y4]1^J-J9/1/4#-1Z$`!H!ZC)AS1H
MT-,(!I@330!D-#$`:,1H8(R`"1()H0TT`$U,4V!32GA)Z&A&C:@'I-&1HVIZ
MG&0DD^?PA[0C[&I[9X\815^C73'[G#IG3/>=YN4U'<N1TVLT/*\?L2EE51A5
M7@'!Q&CC5/^>9[68LT/\;+K#5]3NV9L^K3.]D9-5=6&+3DW_"1&,$;+:OR:_
M?6M(3140KDVQ_ZF!**3N8M5M*M3E5W3=R97N&"I;Q=#V]/#`+%4%CM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0D#$5-1.P\M#>
MGK&1S(1KZ-V!;`X&C4,_@-)9,DT@@&(1WAF2];:-9IC3>%G9;0<+$*JJJG;_
M)NI>GB&TJ=XL0&`#CD`HX8RM;TD;3;9_L+K@A6)E[+59!#F2\A6@.]:+@Q4<
M8I,1(=("<]%I,GB-QH:$.&*O1K,C$5FIU%*Q;D(L-L!-"(=)M.0#TAM<B9<I
M9B*'7?Y,X<9_,D!@)MH*7'U2(H'IK#(F@\!$P6N1Y&M;"1ZA>HTWI%4IM(:M
M<T(;!#)0`<TJ?,/E-`9X(S:%]8ZHUZ.6TH%J<B&?,=&;[VT5%`P@]JDDBL+,
M[[N.XZ,'D3)NZ_2<,F43A9P#4X[\VW"N,+*3>(D6,(:B&R(:.4+@I#9[7`^[
MOB(;!@HPW#!=`C-#R;+O.TS1WFJ:Q=N+>L]`9P*7#7`S,6"AAQT0%.XF@TA,
M@A@Q@N5\AJ_$`+@:6T(8X+#05HL+C`JTE!0G,&Q[8(@!I"+@!UAE3$6X7?\*
M38"K\.K>`&L,/"2`X[.NL`'41!AL2*(^LN\MQEZ5.]RA+Z)"P\0XJ$P,/-!^
MKB(Z*Q!F6].?P'*[6<QZ!<`H'/08C(&*@4$A>A*?)3))I-%P5\"%WC)H8X(0
MPXR,ZZZV2`]W@#2:1V5UVH,AC((*AT*K*M"82+E5!U!02Q.$FP6!R)\V8'M?
-43ZQ=R13A0D%*Q*9$```
`
end
####### So.Sorry for such kind of FLOOD !
Best regards, Alexander .

-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-686
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages python2.4 depends on:
ii  libbz2-1.0             1.0.3-6           high-quality block-sorting file co
ii  libc6                  2.3.6.ds1-13etch5 GNU C Library: Shared libraries
ii  libdb4.4               4.4.20-8          Berkeley v4.4 Database Libraries [
ii  libncursesw5           5.5-5             Shared libraries for terminal hand
ii  libreadline5           5.2-2             GNU readline and history libraries
ii  libssl0.9.8            0.9.8c-4etch1     SSL shared libraries
ii  mime-support           3.39-1            MIME files 'mime.types' & 'mailcap
ii  python2.4-minimal      2.4.4-3           A minimal subset of the Python lan

python2.4 recommends no packages.

-- no debconf information



--- End Message ---
--- Begin Message ---
python2.4 has been obsoleted in Debian long ago. I'm now closing the
remaining bugs against this ancient version, assuming they have been
fixed (or became irrelevant) in newer releases.

Feel free to provide more information and reopen the bugs if they are
still reproducible in the current versions (python2.7, python3.x).


Andreas

--- End Message ---

Reply via email to