bugGNU Octave - Bugs: bug #59822, Document Viewer error on Windows...

 
 

bug #59822: Document Viewer error on Windows systems

Submitted by:  None
Submitted on:  Tue 05 Jan 2021 02:15:33 AM UTC  
 
Category:  GUI Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Missed Error or Warning
Status:  None Assigned to:  None
Originator Name:  Hale Originator Email:  -email is unavailable-
Open/Closed:  Open Release:  6.1.0
Operating System:  Microsoft Windows

Add a New Comment (Rich Markup)
   

You are not logged in

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

 

( Jump to the original submission)

Mon 01 Feb 2021 06:32:47 PM UTC, comment #7: 

@Philip: The relevant part of the doc viewer is

QString tmpdir = QDir::tempPath();
m_collection
  = QString::fromStdString (sys::tempnam (tmpdir.toStdString (),

Torsten Lilge <ttl>
Project Member
Mon 01 Feb 2021 01:20:27 PM UTC, comment #6: 

Unzipping a "packed" working Octave installation from my home desktop to the virtual desktop at work leads to the same issue.
Nr of files & subdirs + total & occupied bytes match exactly. So no quarantining of dll's etc.

Yet these days there are malware scanners that only allow explicitly whitelisted files to be loaded (e.g., "Traps" and the like) and leave suspicious files on disk otherwise untouched. AFAIK our IT dept. used to whitelist my Octave installations for me so this shouldn't play a role here; but I'll ask.

@Torsten:
Does the document pane viewer need access to some specific location? if so what access (read and/or write) and to where?

Philip Nienhuis <philipnienhuis>
Project Member
Mon 01 Feb 2021 07:38:49 AM UTC, comment #5: 

Installation on my home desktop didn't induce this error.
I'll see if zipping up the working installation + unpacking it at work (i.e., not installing) makes a difference.

But I think this smells of a security/policies and/or antimalware issue.

Philip Nienhuis <philipnienhuis>
Project Member
Sat 30 Jan 2021 11:25:52 AM UTC, comment #4: 

@Torsten:
I found that for <F9> %TMP% is critical (not %TEMP%); on that apparently overly sensitive (virtual) desktop at work it must be set to %APPDATA%\Local\Temp.
It seems that some temp/tmp locations apparently offer insufficient permissions for users.

I get the exact same popup message and the doc browser pane is empty. I saw no errors during installation - maybe as expected as libsqlite3-0.dll was copied over.
At home I haven't installed that Octave version yet (I usually run development crossbuilds directly from the <mxe-octave>/dist/>octave> subdir (the linux partition is readable in Windows using the ext2fsd program)). Maybe I should try to install it to see if I get this issue as well then.

Philip Nienhuis <philipnienhuis>
Project Member
Fri 29 Jan 2021 06:13:38 PM UTC, comment #3: 

Philip, do you mean that the %TEMP% variable might be set to a location that is not user accessible?
The F9 mechanism uses QTemporaryFile which should reliably determine the user's temporary directory.

In the documentation, do you only see the message from your OP or also one about an error while copying the help file?

Torsten Lilge <ttl>
Project Member
Fri 29 Jan 2021 05:18:07 PM UTC, comment #2: 

By coincidence, I've recently asked this in the Discourse help as well (and in bug #54938) for dev Octave-7.0.0.
libsglite3-0.dll is present in my Octave installation at work. The very same build runs fine at home on Windows 10 at 20H2 (at work it's still the Win10 spring release).

I wonder if new Windows policies could be related rather than antimalware SW. What I see is that an older, fully functional Octave-7.0.0 installation on that same box at work suddenly had this issue as well.
(Hmmm I didn't try with compatibility options, maybe I should do that first.)

FWIW, other observations:
%TEMP% and %TMP% locations suddenly seem critical - the factory setting of %APPDATA%\Local\Temp is required for executing <F9> blocks from the GUI editor, that won't work with %TEMP%/%TMP% set to e.g., %WINDIR%\Temp (after gaining access) or just C:\Temp. But several SW installers don't like %APPDATA%\Local\Temp ...
(and C:\Temp\ often turns out to be morphed behind my back into C:\Temp\2\ or so, w/o proper access rights.)
A bit of a mess.

Philip Nienhuis <philipnienhuis>
Project Member
Fri 29 Jan 2021 03:50:30 PM UTC, comment #1: 

Perhaps same issue with anitvirus software as reported on #57806 ?

John Donoghue <lostbard>
Project Member
Tue 05 Jan 2021 02:15:33 AM UTC, original submission:  

After installing Octave, upon the first start an error message is displayed, telling that: "Could not setup the data required for the documentation viewer. Only help texts in the Command Window will be available"

Windows 10 x64

Anonymous

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #50651:  Capture.PNG added by None (6KiB - image/png - error message)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by jwe (Updated the item)
  • -email is unavailable- added by ttl (Posted a comment)
  • -email is unavailable- added by lostbard (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)
  •  

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

    Only project members can vote.

     

     

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-01-29 jwe SummaryOctave for Win: Document Viewer error => Document Viewer error on Windows systems
    2021-01-05 None Attached File- => Added Capture.PNG, #50651

    Back to the top


    Powered by Savane 3.5