<rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0">
  <channel>
    <title>MaplePrimes - answers and comments on Question, There were problems during the loading process, Your worksheet may become incomplete.</title>
    <link>http://www.mapleprimes.com/questions/129377-There-Were-Problems-During-The-Loading</link>
    <language>en-us</language>
    <copyright>2026 Maplesoft, A Division of Waterloo Maple Inc.</copyright>
    <generator>Maplesoft Document System</generator>
    <lastBuildDate>Thu, 11 Jun 2026 09:05:27 GMT</lastBuildDate>
    <pubDate>Thu, 11 Jun 2026 09:05:27 GMT</pubDate>
    <itunes:subtitle />
    <itunes:summary />
    <description>The latest answers and comments added to the Question, There were problems during the loading process, Your worksheet may become incomplete.</description>
    <image>
      <url>http://www.mapleprimes.com/images/mapleprimeswhite.jpg</url>
      <title>MaplePrimes - answers and comments on Question, There were problems during the loading process, Your worksheet may become incomplete.</title>
      <link>http://www.mapleprimes.com/questions/129377-There-Were-Problems-During-The-Loading</link>
    </image>
    <item>
      <title>fixed</title>
      <link>http://www.mapleprimes.com/questions/129377-There-Were-Problems-During-The-Loading?ref=Feed:MaplePrimes:There were problems during the loading process, Your worksheet may become incomplete.:Comments#answer129387</link>
      <itunes:summary>&lt;p&gt;Here is the fixed worksheet, &lt;a href="/view.aspx?sf=129387/428190/Projektet-fixed.mw"&gt;Projektet-fixed.mw&lt;/a&gt;.&amp;nbsp; A few months ago I posted a Maple procedure to remove bad characters from a worksheet. Here it is again, with a small correction (added call to &lt;a href="http://www.maplesoft.com/support/help/search.aspx?term=fclose"&gt;?fclose&lt;/a&gt; to close the file after writing). It was used to fix the worksheet.&lt;/p&gt;
&lt;pre&gt;DeleteBadCharacters := proc(file :: string)&lt;br&gt;local base, badchar, char, cnt, msg, outfile, str, unicode;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; str := FileTools:-Text:-ReadFile(file);&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; for cnt from 0 do&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; try&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; XMLTools:-ParseString(str);&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; break;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; catch "An invalid XML character":&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; msg := lastexception[2];&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if not StringTools:-RegMatch("Unicode: 0x([^)]+)", msg, 'all', 'unicode') then&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; error;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; end if;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; unicode := sscanf(unicode,"%x");&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; char := convert(unicode,'bytes');&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; badchar[cnt+1] := char;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; str := StringTools:-SubstituteAll(str, char, "");&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; end try;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; end do;&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if cnt=0 then&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf("no errors in file\n");&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; else&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if not StringTools:-RegMatch("^(.*)\\.mw$", file, 'all', 'base') then&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; error "problem extracting basename";&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; end if;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf("deleted bad characters: %A\n", {seq(badchar[cnt],cnt=1..cnt)});&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; outfile := sprintf("%s-fixed.mw", base);&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FileTools:-Text:-WriteString(outfile, str);&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fclose(outfile);&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf("wrote updated file to %s\n", outfile);&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; end if;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; return NULL;&lt;br&gt;end proc:&lt;/pre&gt;
&lt;p&gt;&lt;strong&gt;Update&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Modified routine to print the unique bad characters deleted (rather than just the number).&amp;nbsp; With the given worksheet, the bad characters were ^U and ^V.&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;Here is the fixed worksheet, &lt;a href="/view.aspx?sf=129387/428190/Projektet-fixed.mw"&gt;Projektet-fixed.mw&lt;/a&gt;.&amp;nbsp; A few months ago I posted a Maple procedure to remove bad characters from a worksheet. Here it is again, with a small correction (added call to &lt;a href="http://www.maplesoft.com/support/help/search.aspx?term=fclose"&gt;?fclose&lt;/a&gt; to close the file after writing). It was used to fix the worksheet.&lt;/p&gt;
&lt;pre&gt;DeleteBadCharacters := proc(file :: string)&lt;br&gt;local base, badchar, char, cnt, msg, outfile, str, unicode;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; str := FileTools:-Text:-ReadFile(file);&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; for cnt from 0 do&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; try&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; XMLTools:-ParseString(str);&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; break;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; catch "An invalid XML character":&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; msg := lastexception[2];&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if not StringTools:-RegMatch("Unicode: 0x([^)]+)", msg, 'all', 'unicode') then&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; error;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; end if;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; unicode := sscanf(unicode,"%x");&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; char := convert(unicode,'bytes');&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; badchar[cnt+1] := char;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; str := StringTools:-SubstituteAll(str, char, "");&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; end try;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; end do;&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if cnt=0 then&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf("no errors in file\n");&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; else&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if not StringTools:-RegMatch("^(.*)\\.mw$", file, 'all', 'base') then&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; error "problem extracting basename";&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; end if;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf("deleted bad characters: %A\n", {seq(badchar[cnt],cnt=1..cnt)});&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; outfile := sprintf("%s-fixed.mw", base);&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FileTools:-Text:-WriteString(outfile, str);&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fclose(outfile);&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf("wrote updated file to %s\n", outfile);&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; end if;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; return NULL;&lt;br&gt;end proc:&lt;/pre&gt;
&lt;p&gt;&lt;strong&gt;Update&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Modified routine to print the unique bad characters deleted (rather than just the number).&amp;nbsp; With the given worksheet, the bad characters were ^U and ^V.&lt;/p&gt;</description>
      <guid>129387</guid>
      <pubDate>Fri, 06 Jan 2012 21:06:13 Z</pubDate>
      <itunes:author>Joe Riel</itunes:author>
      <author>Joe Riel</author>
    </item>
    <item>
      <title>Help</title>
      <link>http://www.mapleprimes.com/questions/129377-There-Were-Problems-During-The-Loading?ref=Feed:MaplePrimes:There were problems during the loading process, Your worksheet may become incomplete.:Comments#comment292895</link>
      <itunes:summary>&lt;p&gt;I have the same problem&lt;/p&gt;

&lt;p&gt;How do you use that script? i have no idea? witch program? how does the script know witch file? help pls&lt;/p&gt;
</itunes:summary>
      <description>&lt;p&gt;I have the same problem&lt;/p&gt;

&lt;p&gt;How do you use that script? i have no idea? witch program? how does the script know witch file? help pls&lt;/p&gt;
</description>
      <guid>292895</guid>
      <pubDate>Sun, 05 Mar 2023 09:36:21 Z</pubDate>
      <itunes:author>_Username_</itunes:author>
      <author>_Username_</author>
    </item>
    <item>
      <title>attach the worksheet file</title>
      <link>http://www.mapleprimes.com/questions/129377-There-Were-Problems-During-The-Loading?ref=Feed:MaplePrimes:There were problems during the loading process, Your worksheet may become incomplete.:Comments#comment292917</link>
      <itunes:summary>&lt;p&gt;&lt;a href="/questions/129377-There-Were-Problems-During-The-Loading#comment292895"&gt;@_Username_&lt;/a&gt;&amp;nbsp;I suggest that you upload and attach the worksheet (green up-arrow in the Mapleprimes editor), in a separate Question thread.&lt;/p&gt;
</itunes:summary>
      <description>&lt;p&gt;&lt;a href="/questions/129377-There-Were-Problems-During-The-Loading#comment292895"&gt;@_Username_&lt;/a&gt;&amp;nbsp;I suggest that you upload and attach the worksheet (green up-arrow in the Mapleprimes editor), in a separate Question thread.&lt;/p&gt;
</description>
      <guid>292917</guid>
      <pubDate>Mon, 06 Mar 2023 14:12:44 Z</pubDate>
      <itunes:author>acer</itunes:author>
      <author>acer</author>
    </item>
    <item>
      <title>preventable?</title>
      <link>http://www.mapleprimes.com/questions/129377-There-Were-Problems-During-The-Loading?ref=Feed:MaplePrimes:There were problems during the loading process, Your worksheet may become incomplete.:Comments#comment129392</link>
      <itunes:summary>&lt;p&gt;It's disturbing how often instances of this problem get reported here. I count 4 or 5 times in the past couple of months. Which raises the question of how often it occurs and is not reported here.&lt;/p&gt;
&lt;p&gt;I wonder how it occurs, whether the cause is preventable and, if not, why the GUI itself cannot accomplish a repair more reliably.&lt;/p&gt;
&lt;!--break--&gt;
&lt;p&gt;acer&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;It's disturbing how often instances of this problem get reported here. I count 4 or 5 times in the past couple of months. Which raises the question of how often it occurs and is not reported here.&lt;/p&gt;
&lt;p&gt;I wonder how it occurs, whether the cause is preventable and, if not, why the GUI itself cannot accomplish a repair more reliably.&lt;/p&gt;
&lt;!--break--&gt;
&lt;p&gt;acer&lt;/p&gt;</description>
      <guid>129392</guid>
      <pubDate>Fri, 06 Jan 2012 22:21:48 Z</pubDate>
      <itunes:author>acer</itunes:author>
      <author>acer</author>
    </item>
    <item>
      <title>observation and speculation</title>
      <link>http://www.mapleprimes.com/questions/129377-There-Were-Problems-During-The-Loading?ref=Feed:MaplePrimes:There were problems during the loading process, Your worksheet may become incomplete.:Comments#comment129395</link>
      <itunes:summary>&lt;p&gt;&lt;a href="http://www.mapleprimes.com/questions/129377-There-Were-Problems-During-The-Loading#comment129392"&gt;@acer&lt;/a&gt; I agree---the Maple GUI really shouldn't be creating invalid worksheets. My limited observation is that the corrupted ones primarily originate from users with a non-ascii keyboard.&amp;nbsp; I modified the above routine to print the invalid characters.&amp;nbsp; Does the ^U come from inserting an umlaut?&amp;nbsp; What about ^V?&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;&lt;a href="http://www.mapleprimes.com/questions/129377-There-Were-Problems-During-The-Loading#comment129392"&gt;@acer&lt;/a&gt; I agree---the Maple GUI really shouldn't be creating invalid worksheets. My limited observation is that the corrupted ones primarily originate from users with a non-ascii keyboard.&amp;nbsp; I modified the above routine to print the invalid characters.&amp;nbsp; Does the ^U come from inserting an umlaut?&amp;nbsp; What about ^V?&lt;/p&gt;</description>
      <guid>129395</guid>
      <pubDate>Fri, 06 Jan 2012 23:54:35 Z</pubDate>
      <itunes:author>Joe Riel</itunes:author>
      <author>Joe Riel</author>
    </item>
    <item>
      <title>Huge and humble THANKS!</title>
      <link>http://www.mapleprimes.com/questions/129377-There-Were-Problems-During-The-Loading?ref=Feed:MaplePrimes:There were problems during the loading process, Your worksheet may become incomplete.:Comments#comment129398</link>
      <itunes:summary>&lt;p&gt;I cannot thank you enough; Huge thank you! You've saved me MANY hours of work :-)&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;I cannot thank you enough; Huge thank you! You've saved me MANY hours of work :-)&lt;/p&gt;</description>
      <guid>129398</guid>
      <pubDate>Sat, 07 Jan 2012 00:31:02 Z</pubDate>
      <itunes:author>Anasothman</itunes:author>
      <author>Anasothman</author>
    </item>
  </channel>
</rss>