bugGNU Octave - Bugs: bug #53654, [octave forge] (image)...

 
 

bug #53654: [octave forge] (image) "rgb2gray.m shadows a core function" only under Windows, not under Linux

Submitted by:  Hartmut <hardy>
Submitted on:  Sat 14 Apr 2018 06:18:21 PM UTC  
 
Category: Octave Forge PackageSeverity: 2 - Minor
Priority: 3 - LowItem Group: Unexpected Error
Status: Need InfoAssigned to: None
Originator Name: Open/Closed: Open
Release: 4.3.90Operating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sun 15 Apr 2018 06:12:27 AM UTC, comment #2:

Octave 4.3.90 with (Ubuntu) linux: I have uninstalled and re-installed the image package. What I then get is a lot of "deprecated" messages during installation (compilation of some image package functions), but still no warning message after "pkg load image".

I assume the shadowing itself will be fixed in one of the next releases of the image package. But the missing warning message itself under (my ?) linux is what makes me suspicious.

Hartmut <hardy>
Sat 14 Apr 2018 11:07:59 PM UTC, comment #1:

On Debian GNU/Linux I see the exact same behavior you are describing, so I don't see any system-dependent difference:

Is this a bug or just the way the image package is working for now?

Mike Miller <mtmiller>
Project Administrator
Sat 14 Apr 2018 06:18:21 PM UTC, original submission:

When I use Octave 4.3.90 and do "pkg load image" with the current image-2.6.2 package, then

  • I do NOT get any warning message under Linux. When doing "which rgb2gray" then the answer is that it would use rgb2gray from the image package. When I look in the octave folder "scripts/image" then I do see a second rgb2gray.m file there.
  • I DO get a warning message "rgb2gray.m shadows a core function" under Windows.

This seems odd to me, but I am unsure if this hints to a deeper problem. Shouldn't the same shadowing also happen under Linux? Shouldn't this provoke the same warning message under Linux, then?

Hartmut <hardy>

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by mtmiller (Posted a comment)
  • -unavailable- added by hardy (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 14 Apr 2018 11:07:59 PM UTCmtmillerCategoryNone=>Octave Forge Package
      Severity3 - Normal=>2 - Minor
      Priority5 - Normal=>3 - Low
      Item GroupNone=>Unexpected Error
      StatusNone=>Need Info
      Summary"rgb2gray.m shadows a core function" only under Windows, not under Linux=>[octave forge] (image) "rgb2gray.m shadows a core function" only under Windows, not under Linux

    Back to the top


    Powered by Savane 3.1-cleanup1