Welcome to EnviroDIY, a community for do-it-yourself environmental science and monitoring. EnviroDIY is part of WikiWatershed, an initiative of Stroud Water Research Center designed to help people advance knowledge and stewardship of fresh water.
New to EnviroDIY? Start here

PlatformIO not downloading all ModularSensors dependencies

Home Forums Mayfly Data Logger PlatformIO not downloading all ModularSensors dependencies

Viewing 11 reply threads
  • Author
    Posts
    • #14792
      Matt Barney
      Participant
        I recently began having the following problem: Any new PIO project I create will fail to compile, beginning with this error:

        Attachments:
      • #14794
        fisherba
        Participant
          There are smarter people at this than me, but I have  run into  two  solutions when  I have the issue you just had.

          1. rebuild/compile again.  It’s lame, but it sometimes solves the
        • #14796
          Matt Barney
          Participant
            Hi Beth,

            Thank you for sharing your experiences! I’ve tried those things too, and I’ve definitely had them work for me in the past. I thought I had gotten pretty good at smacking PIO arou

          • #14797
            fisherba
            Participant

              In theory, you  could  add  the missing  pieces manually….

            • #14798
              Matt Barney
              Participant
                Yes, that works for sure; I had to do so last week just to get a couple of Mayfly loggers built and shipped out to the field. Now I’m revisiting the issue in order to get my dev environment back
              • #14799
                Matt Barney
                Participant
                  Update: This looks to me like a PIO issue. Reverting to earlier versions of PlatformIO IDE, it works; i.e., it downloads all ModularSensors’ dependencies as expected, and my project compiles suc
                • #14801
                  LittleManistee
                  Participant
                    I’ve been experiencing exactly the same thing Matt described.  Atom and Platform IO quit working for me, gave the same compile error.  I uninstalled them and then they would not reinstall.  S
                  • #14803
                    Matt Barney
                    Participant

                      Thanks @armas. I have filed an issue with PlatformIO and am awaiting a response. -Matt

                    • #14806
                      Sara Damiano
                      Moderator
                        I’m sorry for being late on this.

                        It’s definitely something with the newest versions of PlatformIO and the very weird part is that for me *sometimes* it works and other times it does.

                        Wh

                      • #14807
                        Sara Damiano
                        Moderator

                          Also, with PlatformIO version 5 you can now specify the owner along with the library name in the lib_deps section so you’re sure you get the right one.

                        • #14817
                          Matt Barney
                          Participant
                            Thank you, Sara, for the additional tips for working around this PIO issue. I haven’t gotten a response yet on their github issues page, so need to post it on their community forum for others wh
                          • #14972
                            Matt Barney
                            Participant

                              This issue is fixed in the latest PIO dev version. Details can be found in the PIO issue thread.

                              Matt

                          Viewing 11 reply threads
                          • You must be logged in to reply to this topic.