-
Notifications
You must be signed in to change notification settings - Fork 6
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
[1.5] Error (websocket): in callback `on-message': Wrong type argument: char-or-string-p, ((mapType . "java.util.HashMap") (empty . :json-false)) #29
Comments
I tried
|
Oh, just realised my
|
Progress!
So the graph being empty was not the cause of the error. |
Looks indeed like the import succeeded
It looks like it's the |
Could be related to synchrony/smsn#52 as I'm seeing the same warning
|
Hmm, it seems indeed that the So the It's strange though, since the import worked and clearly was using my If I lean into this and remove my
But other than that the |
I added log statements in
I'm seeing these logs on startup
And when making the
|
Oh I see,if I add: private static void loadYamlFromDefaultLocation() throws IOException {
File f = new File(SMSN_YAML);
logger.info("getAbsolutePath" + f.getAbsolutePath()); I see there's some confusion about the base path:
Also seems that private static final String
- SMSN_YAML = "smsn.yaml",
+ SMSN_YAML = "conf/smsn.yaml",
SMSN_DEFAULT_YAML = "smsn-default.yaml"; Indeed this does address the use of the Also realising my
So now I'm looking at these logs again and wondering if there's something about the standalone
|
Progress! Adding logging here
Turns up what seems to be a correct response payload:
So the problem must be downstream of this in the response path... |
This seems promising https://stackoverflow.com/questions/76097805/jsonobject-inside-an-object-is-getting-serialized-to-some-other-form-as-compared as it produces the same result:
There is a That leaves me thinking it's the
I tried to run another command from
I'll try and checkout |
Had similar issue with the location of the
Unfortunately
This seems to indicate some API mismatch between I'll try |
Hi @jmatsushita. These are heroic efforts! It shouldn't be this hard, and 1.5 should definitely work -- but I can't tell exactly what is wrong, even with all of the information you provided. It has been a long time since I have had to think about configuration/setup, so the issues you are running into are not fresh in my mind. A video call might be a shortcut to success -- maybe tomorrow or Wednesday morning Pacific time, as I see you are in Europe. Please feel free to email me at: josh at fortytwo dot net. I appreciate the enthusiasm! The future of SmSn is definitely intertwined with Hydra and the LambdaGraph model. The Hydra Discord server (https://discord.gg/wbsbGe7j ) might be a good place to discuss that. |
Hi @joshsh, thanks a ton for you reply :)
Since I was seeing commits in
Completely understand! And a good reason to be interested in knowledge management and good tooling :) Context switching is so costly!
I really appreciate that and just sent you an email and joined the Discord 🙏 |
I found the culprit (a breaking change in |
Hi there,
Got here following breadcrumbs from a
categorical databases rdf haskell
search, which popped uphydra
which I hadn't seen before in the haskell ecosystem and got me (back) here, very curious and excited about what a personal knowledge base with the potential to be connected to hydra. Both on how it's structured and it's contents!I've deployed the
develop
branch (gradle 6 built, on jdk 11) version ofsmsn-server
and themain
branch ofsmsn-mode
and I bump into this error when trying to switch tosmsn-mode
withM-x smsn
:Here are the server logs at
DEBUG
levelI wasn't yet able to get to the point of importing new data, so maybe the error comes from the fact that the graph is empty? (the queries from this wiki page didn't return anything). I did clone both the
data-universal
anddata-public
repos indata/sources/universal
anddata/sources/public
but I suppose I'm missing an import step which I believe can be done withsmsn-read-vcs
but since I can't startsmsn-mode
I'm stuck.Cheers,
Jun
The text was updated successfully, but these errors were encountered: