Error while run examples #14
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I tested on macOS(12.6.1) / SBCL(2.2.10.32-eefe83e36) / OSC(osc-20221106-git from quicklisp).
Thanks for works!
looks like it might be package related. How are you loading or running the example?
do you get any errors if you
(ql:quickload :osc)
and then eval the defun forosc-send-test
?...and I just noticed the familiar username! so you might also be interested in #7
When evaluating the
osc-send-test
function from osc-examples.lisp, I get this warning:When I grep this library for
encode-message
, I see no functions defined with that name. The only results are in osc-tests.lisp, package.lisp, and osc-examples.lisp. Looks likeosc::encode-message
does not exist. It does not seem to be a package issue.Looks like the library was refactored without updating the tests or examples, nor package.lisp.
Looks like with the current version of this library, you're supposed to do something like this:
But running that code gives this error:
Seems like
usocket
should be added to the(:use ...)
of the(defpackage :osc ...)
.When I load osc-tests.lisp and run
(osc::run-tests)
, I get this error:Thanks for the details @defaultxr
Looks like some of the changes introduced with
67118a4a14
need more attention. I should probably get onto #11No prob, thanks for the quick response! Also, I was wrong in my previous comment; it looks like the
socket-send
function in use in this library has a signature that does not match that ofusocket:socket-send
. So it seems like it's from a different library, not usocket.The initial plan was to to keep the data formatting (e.g.
encode-bundle
) and transport (the usocket stuff) separate. That's no longer the case, so not sure if it really makes much difference and seems like it could be simplified further...