I am busy right now but here is the output.
Don't waste your time though, it's probably not related to jfricas, I
don't know.


-----------------------------------------------------------------------------
   Issue )copyright to view copyright notices.
   Issue )summary for a summary of useful system commands.
   Issue )quit to leave FriCAS and return to shell.
-----------------------------------------------------------------------------

Value = T
Value = WEBSPAD::FRICAS-ACCEPTOR

[W 20:11:42.088 NotebookApp] Replacing stale connection:
23176f31-cb8a-420d-b7cd-fef71c7f8bf2:d7e1f9d93d3e4e638440eca9d2b8e848
[I 20:11:42.089 NotebookApp] Starting buffering for
23176f31-cb8a-420d-b7cd-fef71c7f8bf2:d7e1f9d93d3e4e638440eca9d2b8e848
[I 20:11:42.092 NotebookApp] Restoring connection for
23176f31-cb8a-420d-b7cd-fef71c7f8bf2:d7e1f9d93d3e4e638440eca9d2b8e848
[IPKernelApp] WARNING | Unknown message type: 'comm_open'
[IPKernelApp] WARNING | Unknown message type: 'comm_msg'
[W 20:11:42.699 NotebookApp] 404 GET
/static/components/codemirror/mode/spad/spad.js?v=20230722200956
(127.0.0.1) 23.580000ms
referer=http://localhost:8888/notebooks/Untitled.ipynb?kernel_name=jfricas
[I 20:13:20.899 NotebookApp] Saving file at /Untitled.ipynb
/home/greg/.local/lib/python3.11/site-packages/nbformat/__init__.py:129:
MissingIDFieldWarning: Code cell is missing an id field, this will
become a hard error in future nbformat versions. You may want to use
`normalize()` on your notebooks before validations (available since
nbformat 5.1.4). Previous versions of nbformat are fixing this issue
transparently, and will stop doing so in the future.
  validate(nb)
/home/greg/.local/lib/python3.11/site-packages/notebook/services/contents/manager.py:353:
MissingIDFieldWarning: Code cell is missing an id field, this will
become a hard error in future nbformat versions. You may want to use
`normalize()` on your notebooks before validations (available since
nbformat 5.1.4). Previous versions of nbformat are fixing this issue
transparently, and will stop doing so in the future.
  validate_nb(model['content'])
[IPKernelApp] ERROR | Exception in message handler:
Traceback (most recent call last):
  File "/home/greg/.local/lib/python3.11/site-packages/ipykernel/kernelbase.py",
line 409, in dispatch_shell
    await result
  File "/home/greg/.local/lib/python3.11/site-packages/ipykernel/kernelbase.py",
line 720, in execute_request
    reply_content = self.do_execute(
                    ^^^^^^^^^^^^^^^^
  File "/home/greg/.local/lib/python3.11/site-packages/jfricas/fricaskernel.py",
line 212, in do_execute
    r = self.server.put(block)
        ^^^^^^^^^^^^^^^^^^^^^^
  File "/home/greg/.local/lib/python3.11/site-packages/jfricas/fricaskernel.py",
line 77, in put
    self.output = json.loads(data.rstrip('\\n'))
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/json/__init__.py", line 346, in loads
    return _default_decoder.decode(s)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/json/decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/json/decoder.py", line 355, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
[IPKernelApp] ERROR | Exception in message handler:
Traceback (most recent call last):
  File "/home/greg/.local/lib/python3.11/site-packages/ipykernel/kernelbase.py",
line 409, in dispatch_shell
    await result
  File "/home/greg/.local/lib/python3.11/site-packages/ipykernel/kernelbase.py",
line 720, in execute_request
    reply_content = self.do_execute(
                    ^^^^^^^^^^^^^^^^
  File "/home/greg/.local/lib/python3.11/site-packages/jfricas/fricaskernel.py",
line 212, in do_execute
    r = self.server.put(block)
        ^^^^^^^^^^^^^^^^^^^^^^
  File "/home/greg/.local/lib/python3.11/site-packages/jfricas/fricaskernel.py",
line 77, in put
    self.output = json.loads(data.rstrip('\\n'))
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/json/__init__.py", line 346, in loads
    return _default_decoder.decode(s)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/json/decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/json/decoder.py", line 355, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
[I 20:15:20.942 NotebookApp] Saving file at /Untitled.ipynb

__
Greg

Le sam. 22 juil. 2023 à 20:04, Grégory Vanuxem <[email protected]> a écrit :
>
> Thanks Ralf, that's a good thing!
>
> I'll test it for sure, I have already installed the 2.0.0 version from you 
> Git repository but this way is very simpler now so.
>
> I encountered a strange thing with :Void function and loading a JS plotting 
> library, internally, no JS in the string-stream, but this is with  unofficial 
> work. I'll check and if that's reproducible with usual  spad files I will 
> come back to you and report.
>
> BTW, I had a question, have you tried to check if the src/input/*. input 
> files, the REGRESS0 "variable" as of now in Makefile. in, run easily?
>
> I can check when time permits. If I ask that this is because for another 
> purpose but transferable to Jupyter Notebook I guess I wanted to load via 
> Julia support in FriCaAS the plotly library but the loading never returns 
> back.
>
> BTW 2, I wonder if jupyter supports internally JS plotting libraries. In such 
> a way adding say a Jupyter module you would be able to call plotting 
> function. Jupyter supports rich notebook apparently.
>
> __
> Greg
>
> Le sam. 22 juil. 2023, 18:15, Ralf Hemmecke <[email protected]> a écrit :
>>
>> I've just uploaded jfricas to pypi.org.
>>
>> Now (if you have a FRICASsys with Hunchentoot included) and FriCAS
>> version 1.3.9, then the installation of jfricas simplifies to
>>
>>    pip install jupyter
>>    pip install jfricas
>>
>> I hope nobody will find a problem.
>>
>> Ralf
>>
>> --
>> You received this message because you are subscribed to the Google Groups 
>> "FriCAS - computer algebra system" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected].
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/fricas-devel/3b12ccd6-00fd-9ab6-50c0-6c5e372751cc%40hemmecke.org.

-- 
You received this message because you are subscribed to the Google Groups 
"FriCAS - computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/fricas-devel/CAHnU2daPgxMsGgrrLP1b-YOHN9ME%2BgaEZ6etRiiNjuZRKfVP0g%40mail.gmail.com.

Reply via email to