octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #63932] Re: Saving files causes app to lockup/


From: anonymous
Subject: [Octave-bug-tracker] [bug #63932] Re: Saving files causes app to lockup/hang
Date: Thu, 16 Mar 2023 13:28:13 -0400 (EDT)

URL:
  <https://savannah.gnu.org/bugs/?63932>

                 Summary: Re: Saving files causes app to lockup/hang
                   Group: GNU Octave
               Submitter: None
               Submitted: Thu 16 Mar 2023 05:28:11 PM UTC
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
             Assigned to: None
         Originator Name: Razorfin
        Originator Email: ddf273@mail.usask.ca
             Open/Closed: Open
                 Release: 8.1.0
         Discussion Lock: Any
        Operating System: Microsoft Windows
           Fixed Release: None
         Planned Release: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Thu 16 Mar 2023 05:28:11 PM UTC By: Anonymous
After upgrading to 8.1.0, I seem to be having performance issues that did not
exist on my machine with pervious versions.  I am unsure if these two issues
are related.

Example is included below with descriptions:

1. A file called junk.txt is moved to a folder. This will typically take
around 100 seconds in 8.1.0. Older versions of Octave would perform this task
nearly instantaneously.

2. Trying to save the plot as a pdf will completely lockup Octave every time.
I have left it running for 15 minutes or so and must kill the process.  It
does open the plot and it does create the folder without issues. It also
creates a blank pdf file with the appropriate name in the directory.  If I run
the script using Octave CLI 8.1.0 a message appears while it is running "GL2PS
warning: Unknown token in buffer".


  clear;
  dateandtime=clock;%Parse Date and Time to Create Folder
  yyyy=dateandtime(1);
  mm=dateandtime(2);
  dd=dateandtime(3);
  hh=dateandtime(4);
  min=dateandtime(5);
  sec=floor(dateandtime(6));
  folder=[num2str(yyyy) '_' num2str(mm) '_' num2str(dd) '-' num2str(hh) 'h'
num2str(min) 'm' num2str(sec) 's'];

  mkdir(folder);
  copyfile('junk.txt',folder);

  h1=figure(1);
  x=1:10;
  y=x.^2;
  plot(x,y);

  saveas(h1,fullfile(folder,"testplot"),"pdf")









    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?63932>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]