On Saturday, 2 September 2000, Mark Seaborn writes:

> This is strange because it's libpng producing the error, not my code
> -- the error just means that fread() didn't return the expected amount
> of data.  What program is creating example-1.png?  Can you run

Arg.  The file was empty, a silly side-effect of our picture genetator.
However, I tried it with the real example:

./run --file ~/usr/src/lilypond-1.3.82/input/out/example-1-page1.png out
Rotated `data/log' at Mon Sep  4 00:30:54 CEST 2000.
Running at Mon Sep  4 00:30:54 CEST 2000
Running Guile
Guile debugging off
in between: 0.27s process time, 0.12s (44.44%) in gc; 0.01s system
Running test: Objects displayed separately
   in between: 0.05s process time, 0.03s (60.00%) in gc
   Finding objects
      in between: 0s process time, 0s in gc
      Removing staff lines
         in between: 0s process time, 0s in gc
         Making space arrays from sections
            "Reading cached data from out_rle.data"
            in between: 0.46s process time, 0.08s (17.39%) in gc; 0.03s system
            Converting RLE to sections
               took: 19.36s process time, 8.04s (41.53%) in gc; 0.14s system
            in between: 0.02s process time, 0s in gc
            Guessing staff line thickness
               (black-rle-stats
                 (freqs (0
                         3820
                         17481
                         23306
                         3971
                         1329
                         806
                         1158
                         3452
                         1945
                         681
                         418
                         418
                         495
                         635
                         667
                         626
                         396
                         201
                         137))
                 (mode 3)
                 (median 3))
               took: 1.11s process time, 0.23s (20.72%) in gc
            in between: 0.01s process time, 0s in gc
            Digesting sections into smaller sections
               took: 26.89s process time, 16.66s (61.96%) in gc; 0.15s system
            took: 58.12s process time, 29.6s (50.93%) in gc; 0.33s system
         in between: 0s process time, 0s in gc
         Getting staff lines
            took: 63.51s = 1.06 mins process time, 30.93s (48.70%) in gc; 0.07s system
         in between: 1.53s process time, 0.63s (41.18%) in gc
         Grouping staff lines together
            took: 1.34s process time, 0.67s (50.00%) in gc; 0.01s system
         took: 127.9s = 2.13 mins process time, 63.56s = 1.06 mins (49.70%) in gc; 
0.41s system
      took: 150.59s = 2.51 mins process time, 75.88s = 1.26 mins (50.39%) in gc; 0.47s 
system
   ("Ledger lines found:" 0)
   ("Ledger lines found:" 0)
   ("Ledger lines found:" 1)
   "Writing cached data to out_staffs+objects.data"


But when the out_staffs+objects.data file got > 300MB, I had to
kill it:

-rw-r--r--    1 fred     fred     309370880 Sep  4 00:43 out_staffs+objects.data

How much disk space does primrose take?  The example-1 png, the
first or simplest example from the LilyPond distribution is just
one bar; most of the page is white.  (I thought you'd know it from
the website, but apparently its been removed).

Btw, if you forget the second (out) argument to ./run, you get a
non verbose error message:

    ./run --file ~/usr/src/lilypond-1.3.82/input/out/example-1-page1.png 
    Rotated `data/log' at Mon Sep  4 00:53:18 CEST 2000.
    Running at Mon Sep  4 00:53:18 CEST 2000
    Running Guile
    Guile debugging off
    ERROR: In procedure caddr:
    ERROR: Wrong type argument in position 1: ()


Greetings,
Jan.

-- 
Jan Nieuwenhuizen <[EMAIL PROTECTED]> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien       | http://www.lilypond.org

Reply via email to