bugGNU Octave - Bugs: bug #61838, [octave forge] (communications)...

 
 

bug #61838: [octave forge] (communications) Galois field function error with Octave 6.4

Submitter:  Nikos <tikhonov>
Submitted:  Mon 17 Jan 2022 07:11:36 AM UTC
   
 
Category:  Octave Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Unexpected Error or Warning
Status:  Invalid / Not an Octave Bug Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * 6.4.0 Operating System:  * Microsoft Windows
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 19 Jan 2022 09:57:26 AM UTC, comment #5: 

Glad to read that it is working for you now.

Closing as invalid.

Markus Mützel <mmuetzel>
Group administrator
Wed 19 Jan 2022 09:53:49 AM UTC, comment #4: 

Thanks once again for your help!
I followed your advises and the communications package worked without problems.

Nikos <tikhonov>
Wed 19 Jan 2022 09:01:15 AM UTC, comment #3: 

Additionally to the bundled version of the communications package, you also installed a local version of that package. It looks like that local version is incompatible with Octave 6.4.

Try un-installing that local version:

pkg uninstall communications


After that check, that Octave picks up the bundled version of the package:

pkg list communications


If that shows a folder that matches the bundled version (not the local version), check again if the package is working now.

Markus Mützel <mmuetzel>
Group administrator
Wed 19 Jan 2022 08:47:58 AM UTC, comment #2: 

Thanks for your reply!
I uninstalled and re-installed the 6.4.0 version, but again, the Galois field function (gf) returns the same error.
What do you mean by overloading the version of the communications package? I have not made any modification after installing the 6.4.0 version. (Note that the 6.2.0 version is also installed in my Windows 10 PC, but I don't think that this is a conflicting problem)
I performed some additional tests and below you may find the results:

>> pkg list communications
Package Name    | Version | Installation directory
----------------+---------+-----------------------
communications *|   1.2.3 | C:\Users\Nikos\octave\communications-1.2.3





>> comms ("test", "galois")

<< Galois Fields Package >>
  Find primitive polynomials:               error: 'primpoly' undefined near line 418, column 418

The 'primpoly' function belongs to the communications package from
Octave Forge but has not yet been implemented.

Please read <https://www.octave.org/missing.html> to learn how you can
contribute missing functionality.
error: called from
    comms at line 418 column 15





>> comms ("test", "all")

<< Random Signals Package >>
  Signal Creation:                          PASSED
  Signal Analysis:                          PASSED

<< Source Coding Package >>
  PCM Functions:                            Not tested
  Quantization Functions:                   PASSED

<< Block Coding Package >>
  Cyclic Coding:                            error: 'cyclpoly' undefined near line 241, column 241

The 'cyclpoly' function belongs to the communications package from
Octave Forge but has not yet been implemented.

Please read <https://www.octave.org/missing.html> to learn how you can
contribute missing functionality.
error: called from
    comms at line 241 column 11


Nikos <tikhonov>
Mon 17 Jan 2022 07:55:36 AM UTC, comment #1: 

Works for me.

Are you sure you didn't overload the version of the communications package that is bundled with the Windows installer?

What does `pkg list communications` show for you? It should look similar to the following:

>> pkg list communications
Package Name    | Version | Installation directory
----------------+---------+-----------------------
communications *|   1.2.3 | C:\Program Files\GNU Octave\Octave-6.4.0\mingw64\share\octave\packages\communications-1.2.3


Markus Mützel <mmuetzel>
Group administrator
Mon 17 Jan 2022 07:11:36 AM UTC, original submission:  

The Galois field function (gf) is a valid and useful function with all versions of Octave prior to 6.4. In the current Octave version (6.4 from https://ftpmirror.gnu.org/octave/windows/octave-6.4.0-w64-installer.exe), the gf function returns the following error that must be corrected:

>> version
ans = 6.4.0

>> pkg load communications

>> A = gf([0 1 1 0 1 1])
error: 'gf' undefined near line 1, column 1

The 'gf' function belongs to the communications package from Octave Forge but has not yet been implemented.

Please read <https://www.octave.org/missing.html> to learn how you can contribute missing functionality.


Nikos <tikhonov>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by siko1056 (Updated the item)
  • -email is unavailable- added by mmuetzel (Posted a comment)
  • -email is unavailable- added by tikhonov (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-01-19 mmuetzel StatusNeed Info Invalid / Not an Octave Bug
        Open/ClosedOpen Closed
    2022-01-17 siko1056 SummaryGalois field function error with Octave 6.4 [octave forge] (communications) Galois field function error with Octave 6.4
    2022-01-17 mmuetzel StatusNone Need Info

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code