{"action":"created","issue":{"url":"https://api.github.com/repos/MaslowCNC/GroundControl/issues/749","repository_url":"https://api.github.com/repos/MaslowCNC/GroundControl","labels_url":"https://api.github.com/repos/MaslowCNC/GroundControl/issues/749/labels{/name}","comments_url":"https://api.github.com/repos/MaslowCNC/GroundControl/issues/749/comments","events_url":"https://api.github.com/repos/MaslowCNC/GroundControl/issues/749/events","html_url":"https://github.com/MaslowCNC/GroundControl/issues/749","id":348397136,"node_id":"MDU6SXNzdWUzNDgzOTcxMzY=","number":749,"title":"GroundControl error on RaspberryPi","user":{"login":"sullit","id":66296,"node_id":"MDQ6VXNlcjY2Mjk2","avatar_url":"https://avatars2.githubusercontent.com/u/66296?v=4","gravatar_id":"","url":"https://api.github.com/users/sullit","html_url":"https://github.com/sullit","followers_url":"https://api.github.com/users/sullit/followers","following_url":"https://api.github.com/users/sullit/following{/other_user}","gists_url":"https://api.github.com/users/sullit/gists{/gist_id}","starred_url":"https://api.github.com/users/sullit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sullit/subscriptions","organizations_url":"https://api.github.com/users/sullit/orgs","repos_url":"https://api.github.com/users/sullit/repos","events_url":"https://api.github.com/users/sullit/events{/privacy}","received_events_url":"https://api.github.com/users/sullit/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-07T16:30:08Z","updated_at":"2018-08-07T17:15:53Z","closed_at":null,"author_association":"NONE","body":"This error occurs when running GroundControl with the Arduino connected \r\n\r\nHere's the shell output\r\n\r\n```\r\npi@raspberrypi:~ $ ./gc\r\n[INFO   ] [Logger      ] Record log in /home/pi/.kivy/logs/kivy_18-08-08_6.txt\r\n[INFO   ] [Kivy        ] v1.11.0.dev0, git-5ec9508, 20180807\r\n[INFO   ] [Python      ] v2.7.13 (default, Nov 24 2017, 17:33:09) \r\n[GCC 6.3.0 20170516]\r\n[INFO   ] [Factory     ] 195 symbols loaded\r\n[INFO   ] [Image       ] Providers: img_tex, img_dds, img_sdl2, img_pil, img_gif (img_ffpyplayer ignored)\r\n[INFO   ] [Window      ] Provider: egl_rpi\r\n[INFO   ] [GL          ] Using the \"OpenGL ES 2\" graphics system\r\n[INFO   ] [GL          ] Backend used <gl>\r\n[INFO   ] [GL          ] OpenGL version <OpenGL ES 2.0>\r\n[INFO   ] [GL          ] OpenGL vendor <Broadcom>\r\n[INFO   ] [GL          ] OpenGL renderer <VideoCore IV HW>\r\n[INFO   ] [GL          ] OpenGL parsed version: 2, 0\r\n[INFO   ] [GL          ] Shading version <OpenGL ES GLSL ES 1.00>\r\n[INFO   ] [GL          ] Texture max size <2048>\r\n[INFO   ] [GL          ] Texture max units <8>\r\n[INFO   ] [Window      ] virtual keyboard not allowed, single mode, not docked\r\n[INFO   ] [Text        ] Provider: sdl2\r\n[WARNING] [Window      ] maximize() is not implemented in the current window provider.\r\nUnable to connect to X server\r\n[INFO   ] [ProbeSysfs  ] device match: /dev/input/event1\r\n[INFO   ] [MTD         ] Read event from </dev/input/event1>\r\n[INFO   ] [ProbeSysfs  ] device match: /dev/input/event2\r\n[INFO   ] [MTD         ] Read event from </dev/input/event2>\r\n[INFO   ] [ProbeSysfs  ] device match: /dev/input/event0\r\n[INFO   ] [MTD         ] Read event from </dev/input/event0>\r\n[INFO   ] [ProbeSysfs  ] device match: /dev/input/event1\r\n[INFO   ] [HIDInput    ] Read event from </dev/input/event1>\r\n[INFO   ] [ProbeSysfs  ] device match: /dev/input/event2\r\n[INFO   ] [HIDInput    ] Read event from </dev/input/event2>\r\n[INFO   ] [ProbeSysfs  ] device match: /dev/input/event0\r\n[INFO   ] [HIDInput    ] Read event from </dev/input/event0>\r\n[INFO   ] [Base        ] Start application main loop\r\n[INFO   ] [MTD         ] </dev/input/event1> range position X is 0 - 0\r\n[INFO   ] [MTD         ] </dev/input/event0> range position X is 0 - 0\r\n[INFO   ] [MTD         ] </dev/input/event1> range position Y is 0 - 0\r\n[INFO   ] [MTD         ] </dev/input/event0> range position Y is 0 - 0\r\n[INFO   ] [MTD         ] </dev/input/event1> range touch major is 0 - 0\r\n[INFO   ] [MTD         ] </dev/input/event0> range touch major is 0 - 0\r\n[INFO   ] [HIDMotionEvent] using <  mini keyboard>\r\n[INFO   ] [MTD         ] </dev/input/event2> range position X is 0 - 800\r\n[INFO   ] [MTD         ] </dev/input/event1> range touch minor is 0 - 0\r\n[INFO   ] [MTD         ] </dev/input/event0> range touch minor is 0 - 0\r\n[INFO   ] [HIDMotionEvent] using <FT5406 memory based driver>\r\n[INFO   ] [MTD         ] </dev/input/event2> range position Y is 0 - 480\r\n[INFO   ] [HIDMotionEvent] using <  mini keyboard>\r\n[INFO   ] [MTD         ] </dev/input/event1> range pressure is 0 - 255\r\n[INFO   ] [MTD         ] </dev/input/event0> range pressure is 0 - 255\r\n[INFO   ] [HIDMotionEvent] <FT5406 memory based driver> range ABS X position is 0 - 800\r\n[INFO   ] [MTD         ] </dev/input/event2> range touch major is 0 - 0\r\n[INFO   ] [GL          ] NPOT texture support is available\r\n[INFO   ] [MTD         ] </dev/input/event1> axes invertion: X is 0, Y is 0\r\n[INFO   ] [MTD         ] </dev/input/event0> axes invertion: X is 0, Y is 0\r\n[INFO   ] [HIDMotionEvent] <FT5406 memory based driver> range ABS Y position is 0 - 480\r\n[INFO   ] [MTD         ] </dev/input/event2> range touch minor is 0 - 0\r\n[INFO   ] [MTD         ] </dev/input/event1> rotation set to 0\r\n[INFO   ] [MTD         ] </dev/input/event0> rotation set to 0\r\n[INFO   ] [MTD         ] </dev/input/event2> range pressure is 0 - 255\r\n[INFO   ] [HIDMotionEvent] <FT5406 memory based driver> range position X is 0 - 800\r\n[INFO   ] [MTD         ] </dev/input/event2> axes invertion: X is 0, Y is 0\r\n[INFO   ] [HIDMotionEvent] <FT5406 memory based driver> range position Y is 0 - 480\r\n[INFO   ] [MTD         ] </dev/input/event2> rotation set to 0\r\n[INFO   ] [GL          ] Unpack subimage support is available\r\n\r\nConnected on port /dev/ttyACM0\r\n\r\nMachine Position Report Command Misread Happened Once\r\nMachine Position Report Command Misread Happened Once\r\nSending: $$ \r\n[INFO   ] [Base        ] Leaving application in progress...\r\n Traceback (most recent call last):\r\n   File \"main.py\", line 502, in <module>\r\n     GroundControlApp().run()\r\n   File \"/usr/local/lib/python2.7/dist-packages/kivy/app.py\", line 826, in run\r\n     runTouchApp()\r\n   File \"/usr/local/lib/python2.7/dist-packages/kivy/base.py\", line 502, in runTouchApp\r\n     EventLoop.window.mainloop()\r\n   File \"/usr/local/lib/python2.7/dist-packages/kivy/core/window/window_egl_rpi.py\", line 92, in mainloop\r\n     self._mainloop()\r\n   File \"/usr/local/lib/python2.7/dist-packages/kivy/core/window/window_egl_rpi.py\", line 87, in _mainloop\r\n     EventLoop.idle()\r\n   File \"/usr/local/lib/python2.7/dist-packages/kivy/base.py\", line 337, in idle\r\n     Clock.tick()\r\n   File \"/usr/local/lib/python2.7/dist-packages/kivy/clock.py\", line 581, in tick\r\n     self._process_events()\r\n   File \"kivy/_clock.pyx\", line 384, in kivy._clock.CyClockBase._process_events\r\n   File \"kivy/_clock.pyx\", line 414, in kivy._clock.CyClockBase._process_events\r\n   File \"kivy/_clock.pyx\", line 412, in kivy._clock.CyClockBase._process_events\r\n   File \"kivy/_clock.pyx\", line 167, in kivy._clock.ClockEvent.tick\r\n   File \"main.py\", line 341, in runPeriodically\r\n     self.receivedSetting(message)\r\n   File \"main.py\", line 301, in receivedSetting\r\n     maslowSettings.syncFirmwareKey(int(parameter), value, self.data)\r\n   File \"/home/pi/GroundControl/Settings/maslowSettings.py\", line 628, in syncFirmwareKey\r\n     storedValue = data.config.get(section, option['key'])\r\n   File \"/usr/local/lib/python2.7/dist-packages/kivy/config.py\", line 474, in get\r\n     value = PythonConfigParser.get(self, section, option, **kwargs)\r\n   File \"/usr/lib/python2.7/ConfigParser.py\", line 618, in get\r\n     raise NoOptionError(option, section)\r\n ConfigParser.NoOptionError: No option 'propweightz' in section: 'Computed Settings'\r\n```\r\n\r\nAny idea's as to what's breaking it? Is there a way to remove the calibration cache and have it start with no previous calibration data?\r\n\r\nHardware is a raspberrypi 3B + touchscreen"},"comment":{"url":"https://api.github.com/repos/MaslowCNC/GroundControl/issues/comments/411133461","html_url":"https://github.com/MaslowCNC/GroundControl/issues/749#issuecomment-411133461","issue_url":"https://api.github.com/repos/MaslowCNC/GroundControl/issues/749","id":411133461,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMTEzMzQ2MQ==","user":{"login":"blurfl","id":1851315,"node_id":"MDQ6VXNlcjE4NTEzMTU=","avatar_url":"https://avatars2.githubusercontent.com/u/1851315?v=4","gravatar_id":"","url":"https://api.github.com/users/blurfl","html_url":"https://github.com/blurfl","followers_url":"https://api.github.com/users/blurfl/followers","following_url":"https://api.github.com/users/blurfl/following{/other_user}","gists_url":"https://api.github.com/users/blurfl/gists{/gist_id}","starred_url":"https://api.github.com/users/blurfl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blurfl/subscriptions","organizations_url":"https://api.github.com/users/blurfl/orgs","repos_url":"https://api.github.com/users/blurfl/repos","events_url":"https://api.github.com/users/blurfl/events{/privacy}","received_events_url":"https://api.github.com/users/blurfl/received_events","type":"User","site_admin":false},"created_at":"2018-08-07T17:15:53Z","updated_at":"2018-08-07T17:15:53Z","author_association":"COLLABORATOR","body":"```\r\nConfigParser.NoOptionError: No option 'propweightz' in section: 'Computed Settings'\r\n```\r\nThat line sounds like the structure of the groundcontrol.ini file doesn't match what this version of GC expects; is this an old ini file with a much newer version of GC?\r\nHere's something to try - rename your groundcontrol.ini file (save it for some of the numbers it contains). Then run GC. That will cause GC to create a new one with default values. If that works, you can transfer the values from the old file into the new one, either in a text editor of in GC's Settings and Advanced panels.\r\n"}}
{"actor":{"display_login":"blurfl"}}