emcrispim / fg777controller

flighgear boeing 777 Controller for android
GNU General Public License v3.0
1 stars 1 forks source link

Unable to load the protocol configuration file: Failed to open file #1

Open aabeling opened 7 years ago

aabeling commented 7 years ago

Hi,

I am getting the follwing error with log-level=debug in fgfs:

Parse I/O channel request: generic,socket,in,20,,9009,udp,from_fgcontroller777
  protocol = generic
Reading communication protocol from Path "/usr/share/games/flightgear/Protoco/from_fgcontroller777.xml"
Unable to load the protocol configuration file: Failed to open file
 at /usr/share/games/flightgear/Protocol/from_fgcontroller777.xml
Parse I/O channel request: generic,socket,out,5,192.168.1.37,9010,udp,to_fgcontroller777
  protocol = generic
Reading communication protocol from Path "/usr/share/games/flightgear/Protocol/to_fgcontroller777.xml"
Unable to load the protocol configuration file: Failed to open file

at /usr/share/games/flightgear/Protocol/to_fgcontroller777.xml

I am using FlightGear version: 2016.3.1

Best regards Achim

emcrispim commented 7 years ago

Hello Achim,

did you copy the xml files (to_fgcontroller777.xml,from_fgcontroller777.xml to the /usr/share/games/flightgear/Protocol/ directory ?

Please send me the command line applied.

Regards

Eduardo Crispim

On Mon, Oct 10, 2016 at 6:18 PM, Achim Abeling notifications@github.com wrote:

Hi,

I am getting the follwing error with log-level=debug in fgfs:

Parse I/O channel request: generic,socket,in,20,,9009,udp,from_fgcontroller777 protocol = generic Reading communication protocol from Path "/usr/share/games/flightgear/Protoco/from_fgcontroller777.xml" Unable to load the protocol configuration file: Failed to open file at /usr/share/games/flightgear/Protocol/from_fgcontroller777.xml Parse I/O channel request: generic,socket,out,5,192.168.1.37,9010,udp,to_fgcontroller777 protocol = generic Reading communication protocol from Path "/usr/share/games/flightgear/Protocol/to_fgcontroller777.xml" Unable to load the protocol configuration file: Failed to open file

at /usr/share/games/flightgear/Protocol/to_fgcontroller777.xml

I am using FlightGear version: 2016.3.1

Best regards Achim

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/emcrispim/fg777controller/issues/1, or mute the thread https://github.com/notifications/unsubscribe-auth/AOLDADhZ47ZbbBtV5SVWSaYNWEWNUWUGks5qynODgaJpZM4KSy-U .

aabeling commented 7 years ago

Hi,

I found the solution in the meantime. The command line had to be

fgfs --generic=socket,in,20,,9009,udp,from_fg777controller --generic=socket,out,5,$DEVICE_IP,9010,udp,to_fg777controller --telnet=9000

instead of

fgfs --generic=socket,in,20,,9009,udp,from_fgcontroller777 \ --generic=socket,out,5,android-device-ip,9010,udp,to_fgcontroller777 \ --telnet 9000

as it is defined in the README.md and http://wiki.flightgear.org/FG777Controller. The readme and wiki should be corrected.

Now it works. Great stuff.

Best regards Achim