Pymakr atom plugin only syncing boot.py



  • Hello,

    For some obscure reason, the pymakr plugin for atom will only sync my boot.py file and not the main.py file. I have set the correct directory for syncing, and the file names are boot.py and main.py. I have no idea....


  • Global Moderator

    @iplooky FYI this 'GetOverlappedResult' error on windows has now been solved with Pymakr 1.2.2. Let me know if it works for you!



  • @ralph Hello,
    I confirm that with Pymark 1.15 it is working. I will stick to this version (for the moment).
    Thanks


  • Global Moderator

    @thomasbastien Yes, I think apm install pymakr@1.1.5 should work



  • @ralph Thanks for the info, is there a way to install a previous version of Pymakr to get it to work? Currently using version 1.2.0


  • Global Moderator

    @thomasbastien Thanks for testing this. So it's not (just) the firmware issue but likely a pymakr issue as well. I'll look in to it as soon as I have the chance.



  • @ralph Hello,
    I've also tried to downgrade it to 1.9.0.b1, and the same issue occurs.

    import os
    os.uname().release
    '1.9.0.b1'

    ets Jun 8 2016 00:22:57

    rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
    ets Jun 8 2016 00:22:57

    rst:0x10 (RTCWDT_RTC_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
    configsip: 0, SPIWP:0xee
    clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
    mode:DIO, clock div:1
    load:0x3fff9010,len:12
    ho 0 tail 12 room 4
    load:0x3fff9020,len:388
    load:0x40078000,len:11584
    load:0x4009fb00,len:848
    entry 0x4009fc9c
    MicroPython v1.8.6-776-gd01a46cd on 2017-09-29; LoPy with ESP32
    Type "help()" for more information.

    ets Jun 8 2016 00:22:57

    rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
    ets Jun 8 2016 00:22:57

    rst:0x10 (RTCWDT_RTC_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
    configsip: 0, SPIWP:0xee
    clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
    mode:DIO, clock div:1
    load:0x3fff9010,len:12
    ho 0 tail 12 room 4
    load:0x3fff9020,len:388
    load:0x40078000,len:11584
    load:0x4009fb00,len:848
    entry 0x4009fc9c
    MicroPython v1.8.6-776-gd01a46cd on 2017-09-29; LoPy with ESP32
    Type "help()" for more information.

    import os
    os.uname()
    (sysname='LoPy', nodename='LoPy', release='1.9.0.b1', version='v1.8.6-776-gd01a46cd on 2017-09-29', machine='LoPy with ESP32', lorawan='1.0.0')

    os.uname().release
    '1.9.0.b1'

    Downloading project (main folder)...

    Reading files from board
    Found 2 existing files
    Downloading 2 files...
    [1/2] Reading main.py

    Failed to connect (Error: Writing to COM port (GetOverlappedResult): Operation aborted). Click here to try again.
    Failed to download main.py
    [2/2] Reading boot.py
    Connecting on COM5...


  • Global Moderator

    @thomasbastien Daniel replied to a simiar comment on github, that likely a firmware problem is causing this as well as similar problems on mac and linux. He's releasing a fix very soon (hopefully today)



  • Hello

    Using a LoPy (firmware 1.9.2.b2), I've got a similar problem, with a single projet (main.py and boot.py)

    Downloading project (main folder)...

    Reading files from board
    Found 2 existing files
    Downloading 2 files...
    [1/2] Reading main.py

    Failed to connect (Error: Writing to COM port (GetOverlappedResult): Operation aborted). Click here to try again.
    Failed to download main.py
    [2/2] Reading boot.py
    Connecting on COM6...
    Disconnected. Click here to reconnect.



  • More or less I have a similar problem. I cand run the code but when I try to sync I have the error :

    Failed to connect (Error: wirting to COM port (GetOverlappedResult): Operation aborted). Click here to try again.

    An so on...it sometimes works but don't have any ideea why.


  • Global Moderator

    Do you have multiple projects open in one atom instance? It doesn't support that yet in the official release, it will grab only the top project. It might be that you have only boot and main files in the top project but are working in another one. In that case you can can drag it to the top, after which it will work.

    If that's not the case, make sure that the other files are trying to sync have an extension that matches the list in the 'sync file types' setting.


 

Pycom on Twitter