CLIM mail archive

[Prev][Next][Index][Thread]

possible bug with clim 1.1 on genera 8.1.1



    Date: Tue, 24 Nov 1992 04:37 EST
    From: Vincent Keunen <nrb!keunen@relay.eu.net>

    (Sorry for those of you without a symbolics, you'll probably get lots of
    font info in this text.  However, you should not worry about my message: this
    seems only related to clim under genera).

1        In Symbolics MacIvory model 3 Genera 8.1.1, Logical Pathnames Translation Files NEWEST, IP-TCP 435.2, IP-TCP Documentation 409.0,
        Domain Name Server 422.0, NFS Server 425.0, NFS Client 425.0, NFS Documentation 410.0, X Server 414.0, C Runtime 425.0, Compiler Tools Package 420.0,
        Compiler Tools Runtime 420.0, C Packages 423.0, Minimal Lexer Runtime 425.0, Lexer Package 424.0, Syntax Editor Runtime 420.0, X Remote Screen 429.0,
        CLX 431.0, X Documentation 408.0, CLIM 28.5, CLIM Documentation 31.0, Statice Runtime 409.4, DNA 424.0, Mailer 424.0, Utilitaires Divers & Varies 76.0,
        Experimental NANESSE : Nanesse Analyzes Networks with an Expert SyStEm 183.0, cold load 1, Ivory Revision 4A, FEP 325, FEP0:>I325-loaders.flod(8),
        FEP0:>I325-info.flod(8), FEP0:>I325-debug.flod(8), FEP0:>I325-lisp.flod(8), FEP0:>I325-KERNEL.FEP(9), Boot ROM version 320, Device PROM version 325,
        Genera application 5.4.7, MacIvory SCSI Manager Server 4.2, Toolbox Servers 4.1.2, MacIvory & RPC library 6.2, MacIvory life support 4.2.1,
        Symbolics keyboard 2.0.3, Macintosh System Software 7.0.1, 1024x686 Screen with Genera fonts, Machine serial number 30378, Macintosh IIci,
        Symbolics keyboard,
        world booted from FEP0:>Inc-mct-dna-tcp-patches.ilod.1 on Symbolics MacIvory model 3 #30378 (NRBMI1):

0    I have a function (nanesse-log) that prints various things in a clim
    pane.  That function first inserts the time with (current-time), a
    function I wrote that returns for example "112:0282:048".  With this, I get
    the following error.

    When I replace the call to (current-time) with (current-time 'letters)
    which returns "11h28m48s" (ie no colon), it works.  It seems that the
    colon is not thought of as a string character...

    What do you guys think?  I can provide more code if necessary.

The colon character you are trying to add print is a Genera "fat"
character - it is in the Genera character style (:FIX :ROMAN :NORMAL).
This won't work, since CLIM (intentionally) doesn't know anything about
Genera's "fat" characters.  To see what I mean, position a Zwei cursor
on top of the colon indicated below and type control-shift-J.

    Here is the error:

    3Trap: The first argument to the FAST-ASET-1 instruction, #\2:3, was not a string character,
          and therefore will not fit in the ART-STRING array "11
0    While in the function COPY-ARRAY-PORTION  REPLACE  #<CLOS:STANDARD-METHOD CLIM::ADD-STRING-OUTPUT-TO-TEXT-RECORD (CLIM::TEXT-OUTPUT-RECORD-ELEMENT T T T T T T T) 22070476206>

    The condition signalled was DBG:WRONG-TYPE-ARRAY-ELEMENT-TRAP
    Trap microstate = #o20116 (Rev4)
    From Rev4 error table version 1:
     116  MISC 0 NON-8-BIT-CHARACTER

    3COPY-ARRAY-PORTION0  (P.C. = 104)
       Arg 0 (SI:FROM-ARRAY): "112:0282:048"
                                 ^
This one here -------------------|

       Arg 1 (SI:FROM-START): 2
       Arg 2 (SI:FROM-END): 8
       Arg 3 (SI:TO-ARRAY): "11
       Arg 4 (SI:TO-START): 2
       Arg 5 (SI:TO-END): 8
       Local 6 (SI:S-ARRAY): "112:0282:048"
       Local 7 (SI:S-CONTROL): 1077245786
       Local 8 (SI:S-ADDRESS): #<LOCATIVE 400017135>
       Local 9 (SI:S-BOUND): 8
       Local 10 (SI:D-ARRAY): "11
       Local 11 (SI:D-CONTROL): 1345681242
       Local 12 (SI:D-ADDRESS): #<LOCATIVE 400017155>
       Local 13 (SI:D-BOUND): 16
       Local 14 (SI:ELEMENTS): 8
       Local 15: 2
       Local 16: #\2:
0       Local 17: 2

0,,

References:

Main Index | Thread Index