Re: [fricas-devel] Running fricas in jupyter: many errors

2016-06-18 Thread Alasdair McAndrew
... it works with the new updated git repository!  Many thanks.

-Alasdair

On Sat, Jun 18, 2016 at 5:21 PM, Alasdair McAndrew  wrote:

> Dear Kurt,
>
> Many thanks for your detailed reply.  I tried that, and I'm getting the
> same errors.  I have compiled FriCAS with SBCL 1.3.6, and so I'm using the
> same version for trying to compile fricas_jupyter.  The compilation (once
> SBCL_HOME is set) proceeds without errors, but it still won't run.  Maybe I
> should try the new source code at https://github.com/nilqed/fricas_jupyter
> ?
>
> Thanks again,
> Alasdair
>
> On Sat, Jun 18, 2016 at 1:51 AM, Kurt Pagani  wrote:
>
>> Hi Alasdair
>>
>> See:
>> https://groups.google.com/forum/#!topic/fricas-devel/ltrhAkzrIYs
>>
>> There was a design change in 0MQ, i.e jupy versions > 4.0 won't work
>> without a new pzmq. The steps below provide a temporary fix.
>>
>> Kurt
>>
>> ==
>>
>> ...
>> Therefore, if you want to fix it yourself, the following steps were
>> necessary:
>>
>> 1. pip install -U jupyter-client  (undoing the downgrade)
>> 2. clear the sbcl cache for "pzmq": =to complete
>>
>> rm -r
>>
>> ~/.cache/common-lisp/sbcl-1.3.0-linux-x64/???/fricas_jupyter/quicklisp/dists/quicklisp/software/pzmq-20150608-git/
>>
>> 3. cd /fricas_jupyter/quicklisp/dists/quicklisp/software
>> 4. rm -r pzmq-20150608-git
>> 5. git clone https://github.com/orivej/pzmq.git
>> 6. mv pzmq pzmq-20150608-git  #cheating ;)
>> 7. cd /fricas_jupyter
>> 8. ./install.sh  #recompile kernel
>>
>> I'll update the git repo as soon as the new version of "pzmq"
>> is released on QL, then you could pull the changes via git.
>> Kurt
>>
>> >>>
>> from
>>
>> http://stackoverflow.com/questions/34093656/jupyter-and-common-lisp/37107166#37107166
>>
>> This issue is caused by a change in the size of the message structure,
>> zmq_msg_t, in 0MQ version 4.1.x to 64 bytes from a size of 32 bytes in
>> version 4.0.x.
>>
>> ==
>>
>>
>> Am 17.06.2016 um 16:18 schrieb Alasdair McAndrew:
>> > I have installed fricas (compiling from source) and also jupyter, then I
>> > installed  fricas_jupyter following the instructions at
>> > https://github.com/nilqed/fricas_jupyter
>> >
>> > But I can't get it all to work.  I can open up a jupyter notebook, then
>> > choose a new fricas session, but when I attempt to execute a command,
>> the
>> > terminal in which I entered "jupyter notebook" fills up with an unending
>> > repetition of this error:
>> >
>> > debugger invoked on a TYPE-ERROR in thread
>> > #:
>> >   The value
>> > NIL
>> >   is not of type
>> > (OR (AND SYMBOL (NOT NULL)) RESTART)
>> >
>> > Type HELP for debugger help, or (SB-EXT:EXIT) to exit from SBCL.
>> >
>> > restarts (invokable by number or by possibly-abbreviated name):
>> >   0: [ABORT] Reduce debugger level (to debug level 1).
>> >
>> > (INVOKE-RESTART NIL) [more,optional]
>> > 0[2]
>> > 0]
>> >
>> > Can anybody advise me what's going on here, and how I can get it all
>> > working?
>> >
>>
>> --
>> 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 fricas-devel+unsubscr...@googlegroups.com.
>> To post to this group, send email to fricas-devel@googlegroups.com.
>> Visit this group at https://groups.google.com/group/fricas-devel.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
> [image: http://www.facebook.com/alasdairmcandrew] [image:
> https://twitter.com/amca01] 
> 
> 
>



-- 
[image: http://www.facebook.com/alasdairmcandrew] [image:
https://twitter.com/amca01] 



-- 
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 fricas-devel+unsubscr...@googlegroups.com.
To post to this group, send email to fricas-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/fricas-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [fricas-devel] Running fricas in jupyter: many errors

2016-06-18 Thread Alasdair McAndrew
Dear Kurt,

Many thanks for your detailed reply.  I tried that, and I'm getting the
same errors.  I have compiled FriCAS with SBCL 1.3.6, and so I'm using the
same version for trying to compile fricas_jupyter.  The compilation (once
SBCL_HOME is set) proceeds without errors, but it still won't run.  Maybe I
should try the new source code at https://github.com/nilqed/fricas_jupyter ?

Thanks again,
Alasdair

On Sat, Jun 18, 2016 at 1:51 AM, Kurt Pagani  wrote:

> Hi Alasdair
>
> See:
> https://groups.google.com/forum/#!topic/fricas-devel/ltrhAkzrIYs
>
> There was a design change in 0MQ, i.e jupy versions > 4.0 won't work
> without a new pzmq. The steps below provide a temporary fix.
>
> Kurt
>
> ==
>
> ...
> Therefore, if you want to fix it yourself, the following steps were
> necessary:
>
> 1. pip install -U jupyter-client  (undoing the downgrade)
> 2. clear the sbcl cache for "pzmq": =to complete
>
> rm -r
>
> ~/.cache/common-lisp/sbcl-1.3.0-linux-x64/???/fricas_jupyter/quicklisp/dists/quicklisp/software/pzmq-20150608-git/
>
> 3. cd /fricas_jupyter/quicklisp/dists/quicklisp/software
> 4. rm -r pzmq-20150608-git
> 5. git clone https://github.com/orivej/pzmq.git
> 6. mv pzmq pzmq-20150608-git  #cheating ;)
> 7. cd /fricas_jupyter
> 8. ./install.sh  #recompile kernel
>
> I'll update the git repo as soon as the new version of "pzmq"
> is released on QL, then you could pull the changes via git.
> Kurt
>
> >>>
> from
>
> http://stackoverflow.com/questions/34093656/jupyter-and-common-lisp/37107166#37107166
>
> This issue is caused by a change in the size of the message structure,
> zmq_msg_t, in 0MQ version 4.1.x to 64 bytes from a size of 32 bytes in
> version 4.0.x.
>
> ==
>
>
> Am 17.06.2016 um 16:18 schrieb Alasdair McAndrew:
> > I have installed fricas (compiling from source) and also jupyter, then I
> > installed  fricas_jupyter following the instructions at
> > https://github.com/nilqed/fricas_jupyter
> >
> > But I can't get it all to work.  I can open up a jupyter notebook, then
> > choose a new fricas session, but when I attempt to execute a command, the
> > terminal in which I entered "jupyter notebook" fills up with an unending
> > repetition of this error:
> >
> > debugger invoked on a TYPE-ERROR in thread
> > #:
> >   The value
> > NIL
> >   is not of type
> > (OR (AND SYMBOL (NOT NULL)) RESTART)
> >
> > Type HELP for debugger help, or (SB-EXT:EXIT) to exit from SBCL.
> >
> > restarts (invokable by number or by possibly-abbreviated name):
> >   0: [ABORT] Reduce debugger level (to debug level 1).
> >
> > (INVOKE-RESTART NIL) [more,optional]
> > 0[2]
> > 0]
> >
> > Can anybody advise me what's going on here, and how I can get it all
> > working?
> >
>
> --
> 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 fricas-devel+unsubscr...@googlegroups.com.
> To post to this group, send email to fricas-devel@googlegroups.com.
> Visit this group at https://groups.google.com/group/fricas-devel.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
[image: http://www.facebook.com/alasdairmcandrew] [image:
https://twitter.com/amca01] 



-- 
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 fricas-devel+unsubscr...@googlegroups.com.
To post to this group, send email to fricas-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/fricas-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [fricas-devel] Running fricas in jupyter: many errors

2016-06-17 Thread Kurt Pagani
Hi Alasdair

See:
https://groups.google.com/forum/#!topic/fricas-devel/ltrhAkzrIYs

There was a design change in 0MQ, i.e jupy versions > 4.0 won't work
without a new pzmq. The steps below provide a temporary fix.

Kurt

==

...
Therefore, if you want to fix it yourself, the following steps were
necessary:

1. pip install -U jupyter-client  (undoing the downgrade)
2. clear the sbcl cache for "pzmq": =to complete

rm -r
~/.cache/common-lisp/sbcl-1.3.0-linux-x64/???/fricas_jupyter/quicklisp/dists/quicklisp/software/pzmq-20150608-git/

3. cd /fricas_jupyter/quicklisp/dists/quicklisp/software
4. rm -r pzmq-20150608-git
5. git clone https://github.com/orivej/pzmq.git
6. mv pzmq pzmq-20150608-git  #cheating ;)
7. cd /fricas_jupyter
8. ./install.sh  #recompile kernel

I'll update the git repo as soon as the new version of "pzmq"
is released on QL, then you could pull the changes via git.
Kurt

>>>
from
http://stackoverflow.com/questions/34093656/jupyter-and-common-lisp/37107166#37107166

This issue is caused by a change in the size of the message structure,
zmq_msg_t, in 0MQ version 4.1.x to 64 bytes from a size of 32 bytes in
version 4.0.x.

==


Am 17.06.2016 um 16:18 schrieb Alasdair McAndrew:
> I have installed fricas (compiling from source) and also jupyter, then I
> installed  fricas_jupyter following the instructions at
> https://github.com/nilqed/fricas_jupyter
> 
> But I can't get it all to work.  I can open up a jupyter notebook, then
> choose a new fricas session, but when I attempt to execute a command, the
> terminal in which I entered "jupyter notebook" fills up with an unending
> repetition of this error:
> 
> debugger invoked on a TYPE-ERROR in thread
> #:
>   The value
> NIL
>   is not of type
> (OR (AND SYMBOL (NOT NULL)) RESTART)
> 
> Type HELP for debugger help, or (SB-EXT:EXIT) to exit from SBCL.
> 
> restarts (invokable by number or by possibly-abbreviated name):
>   0: [ABORT] Reduce debugger level (to debug level 1).
> 
> (INVOKE-RESTART NIL) [more,optional]
> 0[2]
> 0]
> 
> Can anybody advise me what's going on here, and how I can get it all
> working?
> 

-- 
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 fricas-devel+unsubscr...@googlegroups.com.
To post to this group, send email to fricas-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/fricas-devel.
For more options, visit https://groups.google.com/d/optout.