Quantcast

error: feval: function `unimplemented' not found

classic Classic list List threaded Threaded
16 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

error: feval: function `unimplemented' not found

eric
hello

I'm running ubuntu 12.04 and I'm trying to replace my compiled from source octave3.6.2 by the already compiled 3.6.3 made available in the Mike Miller's repository.

After having uninstalled 3.6.2,
$ sudo apt-get install octave
leads to the error message
error: feval: function `unimplemented' not found

and an useless octave prompt:

octave:1> ls
error: feval: function `unimplemented' not found

I checked my .octaverc and following the bug report  (691311) I checked my liboctave1 version that is 3.6.3 which should work with octave3.6.3.

From now I I'm confused. Any idea ?

thanks


_______________________________________________
Help-octave mailing list
[hidden email]
https://mailman.cae.wisc.edu/listinfo/help-octave
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: error: feval: function `unimplemented' not found

Mike Miller-2
On Fri, Mar 1, 2013 at 11:33 AM, eric herbert wrote:
> I'm running ubuntu 12.04 and I'm trying to replace my compiled from source
> octave3.6.2 by the already compiled 3.6.3 made available in the Mike
> Miller's repository.

Please be sure to use ppa:octave/stable instead of
ppa:mtmiller/octave. I will be updating that repository to 3.6.4
within the next day or two.

> After having uninstalled 3.6.2,
> $ sudo apt-get install octave
> leads to the error message
> error: feval: function `unimplemented' not found
>
> and an useless octave prompt:
>
> octave:1> ls
> error: feval: function `unimplemented' not found
>
> I checked my .octaverc and following the bug report  (691311) I checked my
> liboctave1 version that is 3.6.3 which should work with octave3.6.3.

What is the result of "dpkg -l liboctave1 octave-common octave" ?

What is the result of the path command from within octave when it's
giving this error?

--
mike
_______________________________________________
Help-octave mailing list
[hidden email]
https://mailman.cae.wisc.edu/listinfo/help-octave
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: error: feval: function `unimplemented' not found

eric
hello, thanks for the fast answer. I'm using the ppa:octave/stable repository. Here is what you asked for  :

$dpkg -l liboctave1 octave-common octave
Souhait=inconnU/Installé/suppRimé/Purgé/H=à garder
| État=Non/Installé/fichier-Config/dépaqUeté/échec-conFig/H=semi-installé/W=attend-traitement-déclenchements
|/ Err?=(aucune)/besoin Réinstallation (État,Err: majuscule=mauvais)
||/ Nom                Version            Description
+++-==================-==================-====================================================
ii  liboctave1         3.6.3-2~ppa1~preci Shared libraries of the GNU Octave language
iF  octave             3.6.3-2~ppa1~preci GNU Octave language for numerical computations
ii  octave-common      3.6.3-2~ppa1~preci architecture-independent files for octave


2013/3/1 Mike Miller <[hidden email]>
On Fri, Mar 1, 2013 at 11:33 AM, eric herbert wrote:
> I'm running ubuntu 12.04 and I'm trying to replace my compiled from source
> octave3.6.2 by the already compiled 3.6.3 made available in the Mike
> Miller's repository.

Please be sure to use ppa:octave/stable instead of
ppa:mtmiller/octave. I will be updating that repository to 3.6.4
within the next day or two.

> After having uninstalled 3.6.2,
> $ sudo apt-get install octave
> leads to the error message
> error: feval: function `unimplemented' not found
>
> and an useless octave prompt:
>
> octave:1> ls
> error: feval: function `unimplemented' not found
>
> I checked my .octaverc and following the bug report  (691311) I checked my
> liboctave1 version that is 3.6.3 which should work with octave3.6.3.

What is the result of "dpkg -l liboctave1 octave-common octave" ?

What is the result of the path command from within octave when it's
giving this error?

--
mike


_______________________________________________
Help-octave mailing list
[hidden email]
https://mailman.cae.wisc.edu/listinfo/help-octave
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: error: feval: function `unimplemented' not found

Mike Miller-2
On Fri, Mar 1, 2013 at 12:17 PM, eric herbert wrote:

> hello, thanks for the fast answer. I'm using the ppa:octave/stable
> repository. Here is what you asked for  :
>
> $dpkg -l liboctave1 octave-common octave
> Souhait=inconnU/Installé/suppRimé/Purgé/H=à garder
> |
> État=Non/Installé/fichier-Config/dépaqUeté/échec-conFig/H=semi-installé/W=attend-traitement-déclenchements
> |/ Err?=(aucune)/besoin Réinstallation (État,Err: majuscule=mauvais)
> ||/ Nom                Version            Description
> +++-==================-==================-====================================================
> ii  liboctave1         3.6.3-2~ppa1~preci Shared libraries of the GNU Octave
> language
> iF  octave             3.6.3-2~ppa1~preci GNU Octave language for numerical
> computations
> ii  octave-common      3.6.3-2~ppa1~preci architecture-independent files for
> octave

Ok, that's dpkg -l. That shows that the octave package failed to
configure when you installed it. What's the output when you run:

$ sudo dpkg --configure -a

? Does it contain the same feval error?

I also asked for Octave's runtime path, what's the full output when you run:

octave:1> path

?

--
mike
_______________________________________________
Help-octave mailing list
[hidden email]
https://mailman.cae.wisc.edu/listinfo/help-octave
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: error: feval: function `unimplemented' not found

eric
###
$sudo dpkg --configure -a
Paramétrage de octave (3.6.3-2~ppa1~precise3) ...
error: feval: function `unimplemented' not found

dpkg : erreur de traitement de octave (--configure) :
 le sous-processus script post-installation installé a retourné une erreur de sortie d'état 1
Des erreurs ont été rencontrées pendant l'exécution :
 octave

yes,  same "feval error".

###

Oh yes I missed this one:

octave:1> path

Octave's search path contains the following directories:

.
/usr/lib/x86_64-linux-gnu/octave/3.6.3/site/oct/x86_64-pc-linux-gnu
/usr/lib/x86_64-linux-gnu/octave/site/oct/api-v48+/x86_64-pc-linux-gnu
/usr/lib/x86_64-linux-gnu/octave/site/oct/x86_64-pc-linux-gnu
/usr/lib/x86_64-linux-gnu/octave/3.6.3/oct/x86_64-pc-linux-gnu




_______________________________________________
Help-octave mailing list
[hidden email]
https://mailman.cae.wisc.edu/listinfo/help-octave
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: error: feval: function `unimplemented' not found

bpabbott
Administrator
In reply to this post by eric
On Mar 1, 2013, at 11:33 AM, eric herbert wrote:

> hello
>
> I'm running ubuntu 12.04 and I'm trying to replace my compiled from source octave3.6.2 by the already compiled 3.6.3 made available in the Mike Miller's repository.
>
> After having uninstalled 3.6.2,
> $ sudo apt-get install octave
> leads to the error message
> error: feval: function `unimplemented' not found
>
> and an useless octave prompt:
>
> octave:1> ls
> error: feval: function `unimplemented' not found
>
> I checked my .octaverc and following the bug report  (691311) I checked my liboctave1 version that is 3.6.3 which should work with octave3.6.3.
>
> From now I I'm confused. Any idea ?
>
> thanks

It appears your Octave m-file path is broken.  You can verify by typing "path" from Octave's command prompt (maybe it still points to the octave 3.6.2 install?).

Check your ~/.octaverc to be sure it isn't setting your path that doesn't work.

You can try to restore Octave's default path to see if that fixes your problem.

        restoredefaultpath

Ben

_______________________________________________
Help-octave mailing list
[hidden email]
https://mailman.cae.wisc.edu/listinfo/help-octave
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: error: feval: function `unimplemented' not found

bpabbott
Administrator

On Mar 4, 2013, at 9:01 AM, eric herbert wrote:

>>>> hello
>>>>
>>>> I'm running ubuntu 12.04 and I'm trying to replace my compiled from source octave3.6.2 by the already compiled 3.6.3 made available in the Mike Miller's repository.
>>>>
>>>> After having uninstalled 3.6.2,
>>>> $ sudo apt-get install octave
>>>> leads to the error message
>>>> error: feval: function `unimplemented' not found
>>>>
>>>> and an useless octave prompt:
>>>>
>>>> octave:1> ls
>>>> error: feval: function `unimplemented' not found
>>>>
>>>> I checked my .octaverc and following the bug report  (691311) I checked my liboctave1 version that is 3.6.3 which should work with octave3.6.3.
>>>>
>>>> From now I I'm confused. Any idea ?
>>>>
>>>> thanks
>>>
>>> It appears your Octave m-file path is broken.  You can verify by typing "path" from Octave's command prompt (maybe it still points to the octave 3.6.2 install?).
>>>
>>> Check your ~/.octaverc to be sure it isn't setting your path that doesn't work.
>>>
>>> You can try to restore Octave's default path to see if that fixes your problem.
>>>
>>>         restoredefaultpath
>>>
>>> Ben
>>
>> yes I think a path somewhere is broken ! I m
>>
>> path command points to :
>> octave:3> path
>>
>>
>> Octave's search path contains the following directories:
>>
>> .
>> /usr/lib/x86_64-linux-gnu/octave/3.6.3/site/oct/x86_64-pc-linux-gnu
>> /usr/lib/x86_64-linux-gnu/octave/site/oct/api-v48+/x86_64-pc-linux-gnu
>> /usr/lib/x86_64-linux-gnu/octave/site/oct/x86_64-pc-linux-gnu
>> /usr/lib/x86_64-linux-gnu/octave/3.6.3/oct/x86_64-pc-linux-gnu
>>
>> and
>> octave:4> restoredefaultpath
>> ans = /usr/lib/x86_64-linux-gnu/octave/3.6.3/site/oct/x86_64-pc-linux-gnu:/usr/lib/x86_64-linux-gnu/octave/site/oct/api-v48+/x86_64-pc-linux-gnu:/usr/lib/x86_64-linux-gnu/octave/site/oct/x86_64-pc-linux-gnu:/usr/lib/x86_64-linux-gnu/octave/3.6.3/oct/x86_64-pc-linux-gnu
>> octave:5> ls
>>
>> error: feval: function `unimplemented' not found
>>
>> same thing after stop and start octave
>>
>> I already tried to edit and remove .octaverc. That does not change nothing.
>
> sorry my mail was sent before I finished it !
> I tried
> sudo find / -name *3.6.2* or *3-6-2*
> this version appears to be completely removed.
> Every path that could point to an older version of octave was removed.
>
> 2013/3/4 eric herbert <[hidden email]>

Looks to me like something is wrong with the build.

Any reason you're not building Octave yourself?

        http://ftp.gnu.org/gnu/octave/octave-3.6.4.tar.gz

Ben

_______________________________________________
Help-octave mailing list
[hidden email]
https://mailman.cae.wisc.edu/listinfo/help-octave
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: error: feval: function `unimplemented' not found

eric


The reason is the build is already and properly done ! I used it more than once, It's the first time I have trouble with it.

_______________________________________________
Help-octave mailing list
[hidden email]
https://mailman.cae.wisc.edu/listinfo/help-octave
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: error: feval: function `unimplemented' not found

bpabbott
Administrator
In reply to this post by bpabbott
** Please "reply-all" and respond at the bottom so that others may follow along **

On Mar 4, 2013, at 9:33 AM, eric herbert wrote:

> 2013/3/4 Ben Abbott <[hidden email]>
>
>> On Mar 4, 2013, at 9:01 AM, eric herbert wrote:
>> >>>> hello
>> >>>>
>> >>>> I'm running ubuntu 12.04 and I'm trying to replace my compiled from source octave3.6.2 by the already compiled 3.6.3 made available in the Mike Miller's repository.
>> >>>>
>> >>>> After having uninstalled 3.6.2,
>> >>>> $ sudo apt-get install octave
>> >>>> leads to the error message
>> >>>> error: feval: function `unimplemented' not found
>> >>>>
>> >>>> and an useless octave prompt:
>> >>>>
>> >>>> octave:1> ls
>> >>>> error: feval: function `unimplemented' not found
>> >>>>
>> >>>> I checked my .octaverc and following the bug report  (691311) I checked my liboctave1 version that is 3.6.3 which should work with octave3.6.3.
>> >>>>
>> >>>> From now I I'm confused. Any idea ?
>> >>>>
>> >>>> thanks
>> >>>
>> >>> It appears your Octave m-file path is broken.  You can verify by typing "path" from Octave's command prompt (maybe it still points to the octave 3.6.2 install?).
>> >>>
>> >>> Check your ~/.octaverc to be sure it isn't setting your path that doesn't work.
>> >>>
>> >>> You can try to restore Octave's default path to see if that fixes your problem.
>> >>>
>> >>>         restoredefaultpath
>> >>>
>> >>> Ben
>> >>
>> >> yes I think a path somewhere is broken ! I m
>> >>
>> >> path command points to :
>> >> octave:3> path
>> >>
>> >>
>> >> Octave's search path contains the following directories:
>> >>
>> >> .
>> >> /usr/lib/x86_64-linux-gnu/octave/3.6.3/site/oct/x86_64-pc-linux-gnu
>> >> /usr/lib/x86_64-linux-gnu/octave/site/oct/api-v48+/x86_64-pc-linux-gnu
>> >> /usr/lib/x86_64-linux-gnu/octave/site/oct/x86_64-pc-linux-gnu
>> >> /usr/lib/x86_64-linux-gnu/octave/3.6.3/oct/x86_64-pc-linux-gnu
>> >>
>> >> and
>> >> octave:4> restoredefaultpath
>> >> ans = /usr/lib/x86_64-linux-gnu/octave/3.6.3/site/oct/x86_64-pc-linux-gnu:/usr/lib/x86_64-linux-gnu/octave/site/oct/api-v48+/x86_64-pc-linux-gnu:/usr/lib/x86_64-linux-gnu/octave/site/oct/x86_64-pc-linux-gnu:/usr/lib/x86_64-linux-gnu/octave/3.6.3/oct/x86_64-pc-linux-gnu
>> >> octave:5> ls
>> >>
>> >> error: feval: function `unimplemented' not found
>> >>
>> >> same thing after stop and start octave
>> >>
>> >> I already tried to edit and remove .octaverc. That does not change nothing.
>> >
>> > sorry my mail was sent before I finished it !
>> > I tried
>> > sudo find / -name *3.6.2* or *3-6-2*
>> > this version appears to be completely removed.
>> > Every path that could point to an older version of octave was removed.
>> >
>> > 2013/3/4 eric herbert <[hidden email]>
>>
>> Looks to me like something is wrong with the build.
>>
>> Any reason you're not building Octave yourself?
>>
>>         http://ftp.gnu.org/gnu/octave/octave-3.6.4.tar.gz
>>
>> Ben
>

> The reason is the build is already and properly done ! I used it more than once, It's the first time I have trouble with it.

If the build is ok, then I assume something is wrong with your local setup (?)  Try running Octave with the following options

        octave --no-site-file --no-init-file

Ben

_______________________________________________
Help-octave mailing list
[hidden email]
https://mailman.cae.wisc.edu/listinfo/help-octave
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: error: feval: function `unimplemented' not found

Mike Miller-2
In reply to this post by eric
On Mon, Mar 4, 2013 at 4:00 AM, eric herbert wrote:

> ###
> $sudo dpkg --configure -a
> Paramétrage de octave (3.6.3-2~ppa1~precise3) ...
>
> error: feval: function `unimplemented' not found
>
> dpkg : erreur de traitement de octave (--configure) :
>  le sous-processus script post-installation installé a retourné une erreur
> de sortie d'état 1
> Des erreurs ont été rencontrées pendant l'exécution :
>  octave
>
> yes,  same "feval error".
>
> ###
>
> Oh yes I missed this one:
>
> octave:1> path
>
> Octave's search path contains the following directories:
>
> .
> /usr/lib/x86_64-linux-gnu/octave/3.6.3/site/oct/x86_64-pc-linux-gnu
> /usr/lib/x86_64-linux-gnu/octave/site/oct/api-v48+/x86_64-pc-linux-gnu
> /usr/lib/x86_64-linux-gnu/octave/site/oct/x86_64-pc-linux-gnu
> /usr/lib/x86_64-linux-gnu/octave/3.6.3/oct/x86_64-pc-linux-gnu

Please try the following now, completely uninstall octave and install
again from the PPA. I'm not sure why the arch-independent parts of the
path are not being found, if octave-common is indeed installed
correctly.

$ sudo rm -f /var/lib/dpkg/info/octave.p*
$ sudo apt-get purge octave liboctave1 octave-common
$ sudo apt-get update
$ sudo apt-get install octave

This should install 3.6.4 now, the PPA was updated over the weekend.
Let us know if this still does not work.

--
mike
_______________________________________________
Help-octave mailing list
[hidden email]
https://mailman.cae.wisc.edu/listinfo/help-octave
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: error: feval: function `unimplemented' not found

Jordi Gutiérrez Hermoso-2
In reply to this post by eric
On 1 March 2013 11:33, eric herbert <[hidden email]> wrote:
> and an useless octave prompt:
>
> octave:1> ls
> error: feval: function `unimplemented' not found
>
> I checked my .octaverc and following the bug report  (691311) I checked my
> liboctave1 version that is 3.6.3 which should work with octave3.6.3.

Do you have the old Octave package still installed? Is there any
octave3.2-* package around?

There is no need to recompile Octave in this case, unless you want to
contribute to global warming by burning some CPU cycles.

- Jordi G. H.
_______________________________________________
Help-octave mailing list
[hidden email]
https://mailman.cae.wisc.edu/listinfo/help-octave
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: error: feval: function `unimplemented' not found

Jordi Gutiérrez Hermoso-2
In reply to this post by Mike Miller-2
On 4 March 2013 10:09, Mike Miller <[hidden email]> wrote:

> $ sudo rm -f /var/lib/dpkg/info/octave.p*

This command seems dangerous. Why would anyone ever manually delete dpkg's data?

- Jordi G. H.
_______________________________________________
Help-octave mailing list
[hidden email]
https://mailman.cae.wisc.edu/listinfo/help-octave
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: error: feval: function `unimplemented' not found

eric
In reply to this post by Mike Miller-2
congrats !! I can't really understand why,  but It seems to works now.
Maybe this line I never used :
$ sudo rm -f /var/lib/dpkg/info/octave.p*
thanks...


2013/3/4 Mike Miller <[hidden email]>
On Mon, Mar 4, 2013 at 4:00 AM, eric herbert wrote:
> ###
> $sudo dpkg --configure -a
> Paramétrage de octave (3.6.3-2~ppa1~precise3) ...
>
> error: feval: function `unimplemented' not found
>
> dpkg : erreur de traitement de octave (--configure) :
>  le sous-processus script post-installation installé a retourné une erreur
> de sortie d'état 1
> Des erreurs ont été rencontrées pendant l'exécution :
>  octave
>
> yes,  same "feval error".
>
> ###
>
> Oh yes I missed this one:
>
> octave:1> path
>
> Octave's search path contains the following directories:
>
> .
> /usr/lib/x86_64-linux-gnu/octave/3.6.3/site/oct/x86_64-pc-linux-gnu
> /usr/lib/x86_64-linux-gnu/octave/site/oct/api-v48+/x86_64-pc-linux-gnu
> /usr/lib/x86_64-linux-gnu/octave/site/oct/x86_64-pc-linux-gnu
> /usr/lib/x86_64-linux-gnu/octave/3.6.3/oct/x86_64-pc-linux-gnu

Please try the following now, completely uninstall octave and install
again from the PPA. I'm not sure why the arch-independent parts of the
path are not being found, if octave-common is indeed installed
correctly.

$ sudo rm -f /var/lib/dpkg/info/octave.p*
$ sudo apt-get purge octave liboctave1 octave-common
$ sudo apt-get update
$ sudo apt-get install octave

This should install 3.6.4 now, the PPA was updated over the weekend.
Let us know if this still does not work.

--
mike


_______________________________________________
Help-octave mailing list
[hidden email]
https://mailman.cae.wisc.edu/listinfo/help-octave
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: error: feval: function `unimplemented' not found

Jordi Gutiérrez Hermoso-2
On 4 March 2013 10:25, eric herbert <[hidden email]> wrote:
> congrats !! I can't really understand why,  but It seems to works now.
> Maybe this line I never used :
>
> $ sudo rm -f /var/lib/dpkg/info/octave.p*
> thanks...

If that command helped you, there's a packaging bug. Please report it.

- Jordi G. H.
_______________________________________________
Help-octave mailing list
[hidden email]
https://mailman.cae.wisc.edu/listinfo/help-octave
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: error: feval: function `unimplemented' not found

Mike Miller-2
On Mon, Mar 4, 2013 at 10:29 AM, Jordi Gutiérrez Hermoso wrote:
> On 4 March 2013 10:25, eric herbert <[hidden email]> wrote:
>> congrats !! I can't really understand why,  but It seems to works now.
>> Maybe this line I never used :
>>
>> $ sudo rm -f /var/lib/dpkg/info/octave.p*
>> thanks...
>
> If that command helped you, there's a packaging bug. Please report it.

Maybe. The octave.postinst script runs "pkg rebuild", which I suspect
was failing with the feval error reported, because for some reason the
pkg command, and all other commands under /usr/share/octave, were not
being found by this install. That's the root problem that I don't
think we can answer without being able to reproduce this. Maybe
/usr/share/octave/<something> had been moved or removed through some
means other than dpkg, maybe a manual rm or a "make uninstall". Should
the octave package be robust enough to handle users doing things like
that?

--
mike
_______________________________________________
Help-octave mailing list
[hidden email]
https://mailman.cae.wisc.edu/listinfo/help-octave
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: error: feval: function `unimplemented' not found

Jordi Gutiérrez Hermoso-2
On 4 March 2013 10:48, Mike Miller <[hidden email]> wrote:

> On Mon, Mar 4, 2013 at 10:29 AM, Jordi Gutiérrez Hermoso wrote:
>> On 4 March 2013 10:25, eric herbert <[hidden email]> wrote:
>>> congrats !! I can't really understand why,  but It seems to works now.
>>> Maybe this line I never used :
>>>
>>> $ sudo rm -f /var/lib/dpkg/info/octave.p*
>>> thanks...
>>
>> If that command helped you, there's a packaging bug. Please report it.
>
> Maybe. The octave.postinst script runs "pkg rebuild", which I suspect
> was failing with the feval error reported, because for some reason the
> pkg command, and all other commands under /usr/share/octave, were not
> being found by this install. That's the root problem that I don't
> think we can answer without being able to reproduce this.

We should see if Sébastien's 3.6.4-1 upload fixes this issue.

Also, we should revisit the whole problem of using rpath in liboctave
and friends, right?

- Jordi G. H.
_______________________________________________
Help-octave mailing list
[hidden email]
https://mailman.cae.wisc.edu/listinfo/help-octave
Loading...