Welcome to the Pycom forum Forum
    • \[\[global:header.categories\]\]
    • \[\[global:header.recent\]\]
    • \[\[global:header.tags\]\]
    • \[\[global:header.popular\]\]
    • Login

    Explore Pybytes | Official Documentation | Report a Firmware Bug/Issue | GitHub

    sync-folder

    Scheduled Pinned Locked Moved Pymakr
    7 Posts 3 Posters 499 Views 3 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P Offline
      poesel
      last edited by poesel

      Hi,

      I'm using VSC with the pymakr plugin. I'm trying to selectivly sync only certain folders.
      My pymakr.conf looks like this:
      {
      "sync_folder": ["terkin", "lib", "dist-packages", "hiveeyes"],
      "sync_file_types": "py"
      }

      Problem: when I try to upload I get:
      "Running the contributed command: 'pymakr.upload' failed."

      When I remove the sync_folder line it works. There is also no JSON syntax error message so it should be ok.

      Whats wrong here?

      1 Reply Last reply Reply Quote 0
      • P Offline
        poesel
        last edited by

        No one? This seems like a bug or is this working for someone?

        1 Reply Last reply Reply Quote 0
        • G Offline
          Gruger
          last edited by

          @poesel said in sync-folder:

          "sync_folder": ["terkin", "lib", "dist-packages", "hiveeyes"],

          Did you try "sync_folder": "terkin,lib,dist-packages,hiveeyes", ?

          P 1 Reply Last reply Reply Quote 0
          • P Offline
            poesel @Gruger
            last edited by

            @Gruger - yes, I tried that. Pymakr will then proceed and upload everything.
            I guess because it is just one long string and not seen as several paths.

            1 Reply Last reply Reply Quote 0
            • J Offline
              johand
              last edited by

              I had a similar problem when I didn´t want to sync all file types. I gave up and haven´t tried recently:
              https://forum.pycom.io/topic/2401/atom-pymakr-sync-file-types

              Johan

              1 Reply Last reply Reply Quote 0
              • P Offline
                poesel
                last edited by

                @administrators - is there a prescribed way to file a bug report?

                J 1 Reply Last reply Reply Quote 0
                • J Offline
                  johand @poesel
                  last edited by

                  @poesel I am not sure, but think this might be a good place: https://github.com/pycom/pymakr-vsc/issues

                  1 Reply Last reply Reply Quote 0

                  Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                  Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                  With your input, this post could be even better 💗

                  Register Login
                  • 1 / 1
                  • First post
                    Last post

                  Pycom on Twitter

                  Pycom