bug-apl
[Top][All Lists]
Advanced

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

[Bug-apl] Conversion from APL2000 to Gnu APL


From: Michael Potter
Subject: [Bug-apl] Conversion from APL2000 to Gnu APL
Date: Wed, 21 Oct 2015 17:25:26 -0400

I am trying to run a workspace that I copied from APL2000 to Gnu APL and getting an error.

I do not know anything about APL, I am trying to help a friend who is exploring options to run his APL2000 code other ways.

Here is the error:

$ apl -L INFORCEXX.w3
                                       
                    ______ _   __ __  __    ___     ____   __ 
                   / ____// | / // / / /   /   |   / __ \ / / 
                  / / __ /  |/ // / / /   / /| |  / /_/ // /  
                 / /_/ // /|  // /_/ /   / ___ | / ____// /___
                 \____//_/ |_/ \____/   /_/  |_|/_/    /_____/
                                       
                       Welcome to GNU APL version 1.5 / 
                                       
                Copyright (C) 2008-2015  Dr. Jürgen Sauermann
                       Banner by FIGlet: www.figlet.org
                                       
                This program comes with ABSOLUTELY NO WARRANTY;
                          for details run: apl --gpl.
                                       
     This program is free software, and you are welcome to redistribute it
         according to the GNU Public License (GPL) version 3 or later.
                                       
Bad UTF8 sequence: 0xCC... at UTF8_string.cc:190

==============================================================================
Assertion failed: 0 && "Internal error in UTF8_string::toUni()"
in Function:      toUni
in file:          UTF8_string.cc:191

Call stack:

----------------------------------------
-- Stack trace at UTF8_string.cc:191
----------------------------------------
0x7f48ead3daf5 __libc_start_main
0x44323a  main
0x4485eb   init_apl(int, char const**)
0x483d65    Command::process_line(UCS_string&)
0x483691     Command::do_APL_command(std::ostream&, UCS_string&)
0x55459f      Workspace::load_WS(std::ostream&, std::vector<UCS_string, std::allocator<UCS_string> > const&, UCS_string&, bool)
0x44e821       XML_Loading_Archive::XML_Loading_Archive(char const*, int&)
0x44c168        XML_Loading_Archive::next_tag(char const*)
0x44be72         XML_Loading_Archive::get_uni()
0x547607          UTF8_string::toUni(unsigned char const*, int&)
0x451aff           do_Assert(char const*, char const*, char const*, int)
========================================

SI stack:


==============================================================================
terminate called after throwing an instance of 'ErrorCode'
Aborted (core dumped)

Note: The .w3 file is not XML, yet the error looks like it is looking for XML.  I suspect that is the fundamental issue: The workspaces are not compatible between APL2000 and GnuAPL.

Here are my questions:
1) Should I just give up and tell my friend he has to buy the APL2000 license?

2) Can I expect workspace files to be copied unchanged between APL2000 and GnuAPL?  Seems strange that it would be okay to do that, but I don't see any option in APL2000 to expect the code.

3) How do I export the code out of APL2000 into GnuAPL?

4) What other problems should I be looking for once I get past this error.


reply via email to

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