ib-controller / ib-controller

Automation of Interactive Brokers TWS. You can download the latest release here: https://github.com/ib-controller/ib-controller/releases/latest
GNU General Public License v3.0
634 stars 211 forks source link

Script fails with xterm font error #171

Closed flogor closed 6 years ago

flogor commented 6 years ago

I am running Ubuntu Mate 17.10. Running the IBController shell script fails with the following error message:

xterm: cannot load font '-misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1'

Is there an additional (hidden) requirement? IB TWS latest and a JRE are installed.

rlktradewright commented 6 years ago

The IBController scripts don’t make any special demands of xterm. It sounds like your default xterm configuration is somehow broken,

What happens if you just run the xterm command from a terminal session?

Alternatively (or if you’re running headless perhaps?) use the -inline switch, eg:

./IBControllerGatewayStart.sh -inline

which doesn’t use xterm.

From: flogor [mailto:notifications@github.com] Sent: 08 December 2017 20:57 To: ib-controller/ib-controller ib-controller@noreply.github.com Cc: Subscribed subscribed@noreply.github.com Subject: [ib-controller/ib-controller] Script fails with xterm font error (#171)

I am running Ubuntu Mate 17.10. Running the IBController shell script fails with the following error message:

xterm: cannot load font '-misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1'

Is there an additional (hidden) requirement? IB TWS latest and a JRE are installed.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ib-controller/ib-controller/issues/171 , or mute the thread https://github.com/notifications/unsubscribe-auth/AHCuT3jE7fAOedkNjbaw7itKsieBX4P9ks5s-aKYgaJpZM4Q7orN . https://github.com/notifications/beacon/AHCuT0NHDhdf7YxxaFZ9wSjVD2ma-xvZks5s-aKYgaJpZM4Q7orN.gif

flogor commented 6 years ago

First, you are right, the xterm error is related to a remote session (x2go). It is actually a warning only (and not a "fatal" error as I thought in the beginning).

Second, the actual issue was that after unpacking the IBController zip file several script files did not have the execute flag set. After fixing this, IBController works perfect.

Thanks for you help! Sorry for the late response and the noise!