question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error on qwk export with oputil

See original GitHub issue

Short problem description

Using oputil to export qwk packet results in an error…

This command: ./oputil.js mb qwk-export /home/robbiew/test.qwk

result:

/home/robbiew/enigma-bbs/core/ftn_util.js:381
    const ident = chrs.split(' ')[0].toUpperCase();
                       ^

TypeError: chrs.split is not a function
    at getEncodingFromCharacterSetIdentifier (/home/robbiew/enigma-bbs/core/ftn_util.js:381:24)
    at QWKPacketWriter._getEncoding (/home/robbiew/enigma-bbs/core/qwk_mail_packet.js:1093:24)
    at QWKPacketWriter.appendMessage (/home/robbiew/enigma-bbs/core/qwk_mail_packet.js:1029:31)
    at /home/robbiew/enigma-bbs/core/oputil/oputil_message_base.js:600:40
    at /home/robbiew/enigma-bbs/core/message.js:654:24
    at /home/robbiew/enigma-bbs/node_modules/async/dist/async.js:2955:19
    at wrapper (/home/robbiew/enigma-bbs/node_modules/async/dist/async.js:268:20)
    at replenish (/home/robbiew/enigma-bbs/node_modules/async/dist/async.js:435:29)
    at iterateeCallback (/home/robbiew/enigma-bbs/node_modules/async/dist/async.js:424:21)
    at /home/robbiew/enigma-bbs/node_modules/async/dist/async.js:321:20

Here’s my setup in config.hjson:

 messageNetworks: {
        qwk: {
             areas: {
                general: {          // local ENiGMA½ area tag
                    conference: 1   // conference number to map to
                }
                fsx_gen: {          
                    conference: 2  
                }
                fsx_mys: {          
                    conference: 3  
                }
                fsx_mag: {          
                    conference: 4  
                }
                fsx_bbs: {          
                    conference: 5  
                }
                fsx_eng: {          
                    conference: 6  
                }
                fsx_ham: {          
                    conference: 7  
                }
                fsx_cry: {          
                    conference: 8  
                }
                fsx_net: {          
                    conference: 9  
                }
                fsx_bot: {          
                    conference: 10  
                }
                fsx_dat: {          
                    conference: 11  
                }
            }
        }

Environment

  • I am using Node.js v12.x LTS or higher
  • npm install or yarn reports success
  • Actual Node.js version (node --version): 12.18.3
  • Operating system (uname -a on *nix systems): Linux 4.15.0-115-generic #116-Ubuntu SMP Wed Aug 26 14:04:49 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
  • Revision (git rev-parse --short HEAD): git rev-parse --short HEAD

Expected behavior

Actual behavior

Steps to reproduce

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
robbiewcommented, Sep 12, 2020

Export successful, thank you!

1reaction
NuSkoolercommented, Sep 12, 2020

@robbiew Perfect thank you! I’ll get a fix in for this soon!

Read more comments on GitHub >

github_iconTop Results From Across the Web

AdventNet ManageEngine OpUtils 5 :: Help Documentation
Issue in exporting the results of SNMP Walker tool is fixed. ... In Switch Port Mapper tool, appropriate error messages will be displayed,...
Read more >
ManageEngine OpUtils - Kidan
Easily create reports that can be exported as HTML, XLS, CSV or PDF files Cross-platform ... ManageEngine OpUtils is a network management toolkit...
Read more >
OpUtils Free training June 2019 - YouTube
Does Rogue devices intrusion issues make you exhausted?Overcome this trouble with ManageEngine OpUtilsLearn more about - IP address and ...
Read more >
impacket/secretsdump.py at master - GitHub
__SAMHashes.export(self.__outputFileName). except Exception as e: logging.error('SAM hashes extraction failed: %s' % str(e)).
Read more >
Using the bq command-line tool | BigQuery - Google Cloud
For information about using the bq command-line tool to export data, see the following: ... Setting --apilog to stderr outputs to the standard...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found