Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Unread
    • Recent
    • Tags
    • Users
    • Login

    urllib2.urlopen fails on C4D for Mac

    Cinema 4D SDK
    8
    32
    22.7k
    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.
    • M
      mp5gosu
      last edited by

      I dare to say that urllib2 is the culprit here. I don't have any problems using other libs or tool in the exact same way. curl works out of the box for example.

      1 Reply Last reply Reply Quote 0
      • lasselauchL
        lasselauch
        last edited by

        yeah, had no luck either... okay, so I'm probably back to importing requests as 3rd party module. 🙂

        Thanks for the quick help, Robert!

        1 Reply Last reply Reply Quote 0
        • M
          mp5gosu
          last edited by

          Using requests package would be the solution I guess. Even the docs state that they are auperior on high level access.
          The web says that urllib2 is broken in so many ways due to its age.

          1 Reply Last reply Reply Quote 0
          • M
            m_adam
            last edited by

            Hi @lasselauch as @mp5gosu this is a urrlib2 issue and we can't provide support on this topic.
            Moreover, if you have more questions (while I think everything is said), please open a new thread since while the overall topic is related, the question and issue are different.

            Cheers,
            Maxime.

            MAXON SDK Specialist

            Development Blog, MAXON Registered Developer

            1 Reply Last reply Reply Quote 0
            • fwilleke80F
              fwilleke80
              last edited by

              The issue with the certificates still persists in R21.022 on macOS 10.13.6.

              Cheers,
              Frank

              www.frankwilleke.de
              Only asking personal code questions here.

              1 Reply Last reply Reply Quote 0
              • M
                m_adam
                last edited by m_adam

                @fwilleke80 thanks for bumping it, I will bump this topic when the issue will be resolved.
                For the time being, my workaround provided previously still work.

                Cheers,
                Maxime.

                MAXON SDK Specialist

                Development Blog, MAXON Registered Developer

                1 Reply Last reply Reply Quote 0
                • P
                  pyr
                  last edited by

                  R23 still has the same Error

                  1 Reply Last reply Reply Quote 0
                  • M
                    m_adam
                    last edited by

                    Hi @pyr this shouldn't happen on R23.
                    Can you confirm your exact Cinema 4D version (located in help->About in the bottom you do have the full build number)
                    Your Os and OS version.
                    The code used and the error returned.

                    Thanks a lot,
                    Cheers,
                    Maxime.

                    MAXON SDK Specialist

                    Development Blog, MAXON Registered Developer

                    1 Reply Last reply Reply Quote 0
                    • S
                      SolarPH
                      last edited by

                      I had a question too partially related to this one.

                      I was using urllib2 to access a payhip product page of my own, so that when I use my VersionReader Node in XPresso, it can access the current preset version code present on my product page. For some reason, when I try to open the webpage, it ends up not working. It has no feedback reply as well. I had it on a try-except block so I don't knoe what is the exact error (yet)

                      However, I can access my github webpage for the build code, so having a solution for this is not really needed for my side (my friend does not have a github page so we kinda need to have a workaround)

                      I was using R19 for this set of scripts.

                      1 Reply Last reply Reply Quote 0
                      • M
                        m_adam
                        last edited by

                        Hi @SolarPH please open a new topic with your code and the exact error.

                        Cheers,
                        Maxime.

                        MAXON SDK Specialist

                        Development Blog, MAXON Registered Developer

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post