Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Calling write-string on a vector-output-stream leads to an error #15

Closed
darabi opened this issue Feb 24, 2014 · 2 comments
Closed

Calling write-string on a vector-output-stream leads to an error #15

darabi opened this issue Feb 24, 2014 · 2 comments

Comments

@darabi
Copy link
Contributor

darabi commented Feb 24, 2014

Due to a missing stream-write-string method, I get such a stack trace in sldb:

There is no applicable method for the generic function
  #<STANDARD-GENERIC-FUNCTION STREAM-WRITE-STRING (5)>
when called with arguments
  (#<BABEL-STREAMS:VECTOR-OUTPUT-STREAM {10086524A3}>
   "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.1//EN\" \"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd\">"
   0 NIL).
   [Condition of type SIMPLE-ERROR]

Restarts:
 5: CONTINUE-ERROR-HANDLING Continue processing the error as if the debugger was not available
 4: RETRY                   Retry calling the generic function.
 3: RETRY-HANDLING-REQUEST  Try again handling this HTTP request
 2: *ABORT-SERVER-REQUEST   Abort processing request 1 by simply closing the network socket
 1: REMOVE-WORKER           Stop and remove worker #<WORKER {1008D0F2B3}>
 0: ABORT                   Abort thread (#<THREAD "http worker 0 / serving request 1 / HANDLE-LEVEL-1-ERROR / HANDLE-TOPLEVEL-ERROR" RUNNING {1008D0FAF3}>)

Backtrace:
  0: (HU.DWIM.UTIL::INVOKE-SLIME-DEBUGGER #<SIMPLE-ERROR "~@<There is no applicable method for the generic function ~2I~_~S~ ..)
  1: (HU.DWIM.UTIL:MAYBE-INVOKE-DEBUGGER #<SIMPLE-ERROR "~@<There is no applicable method for the generic function ~2I~_~S~ ..)
  2: ((SB-PCL::EMF HU.DWIM.WEB-SERVER:HANDLE-TOPLEVEL-ERROR) #<unavailable argument> #<unavailable argument> #<HU.DWIM.WEB-SERVER:BROKER-BASED-SERVER listen: 0.0.0.0/11080, 0.0.0.0/8443; brokers: 2 {100C47..
  3: ((:METHOD HU.DWIM.WEB-SERVER:HANDLE-TOPLEVEL-ERROR :AROUND (T T)) #<HU.DWIM.WEB-SERVER:BROKER-BASED-SERVER listen: 0.0.0.0/11080, 0.0.0.0/8443; brokers: 2 {100C47D493}> #<SIMPLE-ERROR "~@<There is no ..
  4: ((FLET HU.DWIM.WEB-SERVER::HANDLE-REQUEST-ERROR :IN HU.DWIM.WEB-SERVER::WORKER-LOOP/SERVE-ONE-REQUEST) #<SIMPLE-ERROR "~@<There is no applicable method for the generic function ~2I~_~S~ ..)
  5: ((LABELS HU.DWIM.UTIL::HANDLE-LEVEL-1-ERROR :IN HU.DWIM.UTIL::CALL-WITH-LAYERED-ERROR-HANDLERS) #<SIMPLE-ERROR "~@<There is no applicable method for the generic function ~2I~_~S~ ..)
  6: (SIGNAL #<SIMPLE-ERROR "~@<There is no applicable method for the generic function ~2I~_~S~ ..)
  7: (ERROR "~@<There is no applicable method for the generic function ~2I~_~S~ ..)
  8: ((:METHOD NO-APPLICABLE-METHOD (T)) #<STANDARD-GENERIC-FUNCTION STREAM-WRITE-STRING (5)> #<BABEL-STREAMS:VECTOR-OUTPUT-STREAM {10086524A3}> "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.1//EN\" \"http:..
  9: (SB-PCL::CALL-NO-APPLICABLE-METHOD #<STANDARD-GENERIC-FUNCTION STREAM-WRITE-STRING (5)> (#<BABEL-STREAMS:VECTOR-OUTPUT-STREAM {10086524A3}> "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.1//EN\" \"http:..
 10: (SB-IMPL::%WRITE-STRING "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.1//EN\" \"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd\">" #<BABEL-STREAMS:VECTOR-OUTPUT-STREAM {10086524A3}> 0 NIL)
      Locals:
        SB-DEBUG::ARG-0 = "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.1//EN\" \"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd\">"
        SB-DEBUG::ARG-1 = #<BABEL-STREAMS:VECTOR-OUTPUT-STREAM {10086524A3}>
        SB-DEBUG::ARG-2 = 0
        SB-DEBUG::ARG-3 = NIL
@luismbo
Copy link
Member

luismbo commented Feb 24, 2014

(BTW, if you use the hub command-line tool you can push code to an issue, turning it into a pull request.)

@darabi
Copy link
Contributor Author

darabi commented Feb 24, 2014

Hi,

thank you for the hint. Will have a look at it.

Cheers

Kambiz

Luís Oliveira notifications@github.com wrote:

(BTW, if you use the hub command-line tool you can push code to an
issue, turning it into a pull request.)


Reply to this email directly or view it on GitHub.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants