Tk Library Source Code

View Ticket
Login
Ticket UUID: 1868088
Title: floating point too large in formatExif
Type: Bug Version: None
Submitter: nobody Created on: 2008-01-10 03:08:05
Subsystem: jpeg Assigned To: afaupell
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2008-01-11 01:30:40
Resolution: None Closed By: afaupell
    Closed on: 2008-01-10 18:30:40
Description:
For tcl version 8.4 running under Windows XP, the ::jpeg::formatExif routine gave the following error message for one of my jpeg files:

(PersonalProjects) 27 % set errorInfo
floating-point value too large to represent
    while executing
"expr {2 * (log($val) / log(2))}"
    ("MaxApertureValue" arm line 2)
    invoked from within
"switch -exact -- $tag {
                UserComment {set val [string trim [string range $val 8 end] \x00]}
                ComponentsConfiguration {bi..."
    (procedure "::jpeg::formatExif" line 10)
    invoked from within
"::jpeg::formatExif $exif"
    invoked from within
"if [file isdirectory $fullf] {
    lappend stack $bname
} else {
    set ext [string toupper [file extension $item]]
    puts "item = $item ex..."
    (procedure "rename_photos" line 30)
    invoked from within
"rename_photos ../Personal"

Posted by S. Vavasis, [email protected]
User Comments: afaupell added on 2008-01-11 01:30:40:
Logged In: YES 
user_id=812825
Originator: NO

I guess your camera likes to record a MaxAperture of 0. fixed in version 0.3.2