skyrc-mc3000 icon indicating copy to clipboard operation
skyrc-mc3000 copied to clipboard

Unexpected error occurred: field '%s' is missing when loading JSON-File

Open dcbo opened this issue 2 years ago • 15 comments

My System:

  • Win10
  • MC3000 Firmware 1.18
  • skyrc-mc3000-2.1.0-alfa

When loading a previously saved JSON-File I get this Error: Unexpected error occurred: field '%s' is missing when loading I looked in the source mc3000usb.py and found that row 165 raise JsonException("field '%s' is missing") should be changed to raise JsonException("field '%s' is missing" % (name)) But I am not able to compile or run the code.


Try to run with: python mc3000usb.py gives;

Traceback (most recent call last):
  File "C:\Users\vandusen\Desktop\mc3000\skyrc-mc3000-2.1.0-alfa\mc3000usb.py", line 292, in <module>
    coms.open()
  File "C:\Users\vandusen\Desktop\mc3000\skyrc-mc3000-2.1.0-alfa\mc3000usb.py", line 29, in open
    raise DeviceNotFoundException()
__main__.DeviceNotFoundException

Try to compile with: pyinstaller --noconfirm pyinstaller.spec I'll find mc3000ble.exe in build\pyinstaller\ but I cannot start it mc3000ble.exe profiles gives

Error loading Python.DLL

Try to build with: makensis.exe installer.nsi did't work because of missing makensis I downloaded a graphical tool from nisis.sourceforge.net and used Compile NSI scripts this gives me an installer: dist\mc3000ble-install.exe and the Exe: dist\mc3000ble\mc3000ble.exe but when i install this or if I start the exe I get e never Ending Loading ... Animation, either on mc3000ble.exe or mc3000ble.exe profiles

dcbo avatar Feb 16 '24 10:02 dcbo

Codecov Report

Merging #6 into development will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@              Coverage Diff              @@
##           development        #6   +/-   ##
=============================================
  Coverage       100.00%   100.00%           
=============================================
  Files               15        15           
  Lines              119       119           
  Branches             9         9           
=============================================
  Hits               119       119           

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update ef87644...cd59f4b. Read the comment docs.

codecov[bot] avatar Apr 16 '20 12:04 codecov[bot]