stata-exec icon indicating copy to clipboard operation
stata-exec copied to clipboard

Uncaught TypeError: this.Warning is not a function

Open akirawisnu opened this issue 6 years ago • 0 comments

Hi,

I'm using Stata with WINE 4.01 under Ubuntu 19.04. Stata is working fine, do file work normally, event I can upgrade my Stata into 15.1 latest. However, I could not integrate it under stata-exec in Atom. The do file syntax highlight is working like a charm though, kudos, I just failed to run my WINE Stata.

Would you mind sharing some solution?

Best,

Wisnu

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.38.1 x64 Electron: 2.0.18 OS: Ubuntu 19.04 Thrown From: stata-exec package 1.8.6

Stack Trace

Uncaught TypeError: this.Warning is not a function

At /home/akirawisu/.atom/packages/stata-exec/lib/main.js:261

TypeError: this.Warning is not a function
    at Object.runFunction (/packages/stata-exec/lib/main.js:261:19)
    at HTMLElement.subscriptions.add.atom.commands.add (/packages/stata-exec/lib/main.js:82:103)
    at CommandRegistry.handleCommandEvent (/usr/share/atom/resources/app/static/<embedded>:11:348418)
    at CommandRegistry.dispatch (/usr/share/atom/resources/app/static/<embedded>:11:346893)
    at AtomEnvironment.dispatchApplicationMenuCommand (/usr/share/atom/resources/app/static/<embedded>:1:717188)
    at EventEmitter.t (/usr/share/atom/resources/app/static/<embedded>:1:725111)
    at emitThree (events.js:136:13)
    at EventEmitter.emit (events.js:217:7)

Commands

     -2:51.9.0 core:select-all (input.hidden-input)
     -2:50.9.0 stata-exec:run (input.hidden-input)
     -2:41 stata-exec:set-working-directory (input.hidden-input)
     -2:32.9.0 stata-exec:run-program (input.hidden-input)

Non-Core Packages

Hydrogen 2.9.0 
ipython-exec 1.2.0 
language-stata 1.7.3 
r-exec 0.5.0 
stata-exec 1.8.6 

akirawisnu avatar Jun 15 '19 17:06 akirawisnu