Username: Password:

Author Topic: Error starting Gunbot 3.3.2. in Linux Mint 18.2  (Read 6636 times)

Offline albatros24

  • Rookie
  • *
  • Posts: 26
    • View Profile
Error starting Gunbot 3.3.2. in Linux Mint 18.2
« on: September 21, 2017, 02:54:53 PM »
Hello,

trying to set-up Gunbot 3.3.2 in Linux Mint 18.2 but when i run this command in the terminal:

Quote
./gunthy-linuxx64 BTC_XRP

I get this output:

Quote
Bot crashed at 2017/09/21 15:47:52
Reason: Failed to load config!!!
Parameter: undefined-BTC_XRP-config.js
Original error: { Error: Cannot find module '/home/albatros/Programi/gunbot/undefined-BTC_XRP-config.js'
    at Module._resolveFilename (module.js:470:15)
    at Function.Module._resolveFilename (evalmachine.<anonymous>:0:0)
    at Function.Module._load (module.js:418:25)
    at Module.require (module.js:498:17)
    at Module.require (evalmachine.<anonymous>:0:0)
    at require (internal/module.js:20:19)
    at loadConfig (evalmachine.<anonymous>:0:0)
    at new Bot (evalmachine.<anonymous>:0:0)
    at Object.console./snapshot/Users/Enrico/Desktop/xBot_v2.9.3/index.js.dev (evalmachine.<anonymous>:0:0)
    at Module._compile (evalmachine.<anonymous>:0:0)
    at Object.Module._extensions..js (module.js:580:10)
    at Module.load (module.js:488:32)
    at tryModuleLoad (module.js:447:12)
    at Function.Module._load (module.js:439:3)
    at Module.runMain (evalmachine.<anonymous>:0:0)
    at run (bootstrap_node.js:426:7)
    at startup (bootstrap_node.js:147:9)
    at bootstrap_node.js:541:3 code: 'MODULE_NOT_FOUND' }

Any help would be appreciated!

Offline albatros24

  • Rookie
  • *
  • Posts: 26
    • View Profile
Re: Error starting Gunbot 3.3.2. in Linux Mint 18.2
« Reply #1 on: September 21, 2017, 05:49:22 PM »
Hello,

trying to set-up Gunbot 3.3.2 in Linux Mint 18.2 but when i run this command in the terminal:

Quote
./gunthy-linuxx64 BTC_XRP

I get this output:

Quote
Bot crashed at 2017/09/21 15:47:52
Reason: Failed to load config!!!
Parameter: undefined-BTC_XRP-config.js
Original error: { Error: Cannot find module '/home/albatros/Programi/gunbot/undefined-BTC_XRP-config.js'
    at Module._resolveFilename (module.js:470:15)
    at Function.Module._resolveFilename (evalmachine.<anonymous>:0:0)
    at Function.Module._load (module.js:418:25)
    at Module.require (module.js:498:17)
    at Module.require (evalmachine.<anonymous>:0:0)
    at require (internal/module.js:20:19)
    at loadConfig (evalmachine.<anonymous>:0:0)
    at new Bot (evalmachine.<anonymous>:0:0)
    at Object.console./snapshot/Users/Enrico/Desktop/xBot_v2.9.3/index.js.dev (evalmachine.<anonymous>:0:0)
    at Module._compile (evalmachine.<anonymous>:0:0)
    at Object.Module._extensions..js (module.js:580:10)
    at Module.load (module.js:488:32)
    at tryModuleLoad (module.js:447:12)
    at Function.Module._load (module.js:439:3)
    at Module.runMain (evalmachine.<anonymous>:0:0)
    at run (bootstrap_node.js:426:7)
    at startup (bootstrap_node.js:147:9)
    at bootstrap_node.js:541:3 code: 'MODULE_NOT_FOUND' }

Any help would be appreciated!


Ok, I managed to get it working. I am new to Linux so any advice and/or corrections are appreciated.

The problem was that the 3.3.2 version has different naming conventions (I think). First I renamed the .config file for my BTC_XRP pair to 'BTC_XRP-config.js' so I presume that was part of the problem. Second, I was trying to run Gunbot with the following command: gunthy-linuxx64 BTC_XRP and I presume that was the second part of the problem.

So, I did the following:

1. I renamed the .config file to: 'bittrex-BTC_XRP-config.js' and edited it appropriately (entered my API key, set the trading strategy etc.)

2. The executable for my OS (Linux Mint 18.2 64-bit) is named 'gunthy-linuxx64'. So, to run it from the Linux terminal, I had to type './gunthy-linuxx64 BTC_XRP bittrex
'
. I found this part of the answer in one of the tutorials on how to run Gunbot on Linux. Sorry, can't seem to find the post anymore.

So that's what started my Gunbot and got it working from the terminal.

Anyone correct me if I'm wrong!