[cl-pdf-devel] Current cl-pdf vs newest sbcl
jmckitrick at reedlarkeygroup.com
jmckitrick at reedlarkeygroup.com
Tue Jan 30 17:47:17 UTC 2007
> Hello Jonathon,
>
> | I'm having binary stream issues.
> |
> | I can't determine which is easier: getting sbcl 1.0.2 to work with
> | cl-pdf or getting cl-pdf from subversion to work. The svn version of
> | cl-pdf gives me an error *root-page* is undefined. The newest version
> | of sbcl gives me a binary stream error with cl-pdf.
> |
> | Is there an easy fix for either? I thought getting the newes cl-pdf
> | would work, but it does not, unless there is a simple workaround I'm
> | unaware of.
>
> I don't think that making the latest version work on sbcl 1.0.2 is that
> hard. I would appreciate if you pinpointed the CL-PDF function that
> actually
> signaled the stream error.
This is version 125, BTW:
#<SB-SYS:FD-STREAM for "file /Users/jonathon/devel/rlg/web/data/25499.pdf"
{125B4279}> is not a binary output stream.
[Condition of type SIMPLE-TYPE-ERROR]
Restarts:
0: [ABORT] Return to SLIME's top level.
1: [TERMINATE-THREAD] Terminate this thread (#<THREAD "repl-thread"
{123A6259}>)
Backtrace:
0: (SB-KERNEL:ILL-BOUT
#<SB-SYS:FD-STREAM for "file
/Users/jonathon/devel/rlg/web/data/25499.pdf" {125B4279}>)
1: (SB-IMPL::ANSI-STREAM-WRITE-SEQUENCE
#(120 94 237 93 63 104 91 103 247 214 ...)
#<SB-SYS:FD-STREAM for "file
/Users/jonathon/devel/rlg/web/data/25499.pdf" {125B4279}>
0
NIL)
2: (WRITE-SEQUENCE
#(120 94 237 93 63 104 91 103 247 214 ...)
#<SB-SYS:FD-STREAM for "file
/Users/jonathon/devel/rlg/web/data/25499.pdf" {125B4279}>)
3: ((SB-PCL::FAST-METHOD PDF::WRITE-OBJECT (PDF::PDF-STREAM))
#<unused argument>
#S(SB-PCL::FAST-METHOD-CALL
:FUNCTION #<FUNCTION #>
:PV-CELL NIL
:NEXT-METHOD-CALL #S(SB-PCL::FAST-METHOD-CALL
:FUNCTION #
:PV-CELL NIL
:NEXT-METHOD-CALL NIL
:ARG-INFO (1 . T)) ..))
4: ((SB-PCL::FAST-METHOD PDF::WRITE-OBJECT (PDF::INDIRECT-OBJECT))
#<unused argument>
#<unused argument>
#<PDF:IMAGE {1182B951}>
T)
5: ((LAMBDA ()))
6: (SB-IMPL::%WITH-STANDARD-IO-SYNTAX #<CLOSURE (LAMBDA #) {125B43E5}>)
7: ((SB-PCL::FAST-METHOD PDF:WRITE-DOCUMENT (STREAM))
#<unused argument>
#<unused argument>
#<SB-SYS:FD-STREAM for "file
/Users/jonathon/devel/rlg/web/data/25499.pdf" {125B4279}>
#<PDF::DOCUMENT {1176B061}>)
8: ((SB-PCL::FAST-METHOD PDF:WRITE-DOCUMENT (PATHNAME))
#<unused argument>
#<unused argument>
#P"web/data/25499.pdf"
#<PDF::DOCUMENT {1176B061}>)
Jonathon
More information about the cl-pdf-devel
mailing list