• over_clox
    link
    fedilink
    English
    arrow-up
    1
    arrow-down
    23
    ·
    5 days ago

    Invalid data format, wanna try again?

    • BCsven@lemmy.ca
      link
      fedilink
      English
      arrow-up
      18
      ·
      5 days ago

      I downloaded it, the pdf is legit. Yours might have gotten corrupted during download, or the PDF viewer you are using is struggling with something in the document. Its all there though.

        • over_clox
          link
          fedilink
          English
          arrow-up
          3
          arrow-down
          13
          ·
          5 days ago

          Or maybe I’m 43 years old (fact), and just don’t care to sign into Google anymore.

          You’d figure a PDF document link might actually take you to a PDF document and not do the bait and switch with an HTML document…

          • Railcar8095
            link
            fedilink
            English
            arrow-up
            14
            ·
            4 days ago

            I’m all in for blaming google for almost everything, but this is entirely on you.

            • over_clox
              link
              fedilink
              English
              arrow-up
              3
              arrow-down
              1
              ·
              4 days ago

              No, as it turns out, it’s a bug in Jerboa for Lemmy.

              When I tap the link in Jerboa, it sees PDF and blindly tries to force-feed the link into a PDF viewer rather than a web browser.

      • over_clox
        link
        fedilink
        English
        arrow-up
        1
        arrow-down
        16
        ·
        5 days ago

        That’s nice. Can anyone provide a version of the document that like doesn’t require signing into Google?

        • BCsven@lemmy.ca
          link
          fedilink
          English
          arrow-up
          10
          ·
          5 days ago

          This doesn’t ask to sign into google for me. If your Browser is forcing that then install Firefox or an alternate browser than chrome.

          • over_clox
            link
            fedilink
            English
            arrow-up
            1
            arrow-down
            11
            ·
            5 days ago

            You think I use Chrome? 😂🤣

            All jokes aside, I get you, I use Fennec, a fork of Firefox.

              • over_clox
                link
                fedilink
                English
                arrow-up
                1
                arrow-down
                1
                ·
                4 days ago

                Shouldn’t being the key word, but it’s trying to open Google Play to ‘help’ me find an app to open this ‘weird’ PDF that’s actually an HTML script. Android doesn’t give me the option to pick which app it tries to open the downloaded script with, unless I rename it to HTML, but then it just loads the script locally and the Yes/No buttons don’t even work.

                • BCsven@lemmy.ca
                  link
                  fedilink
                  English
                  arrow-up
                  1
                  ·
                  4 days ago

                  Yeah its because of their download intercept, the download of the PDF doesn’t happen unless you have the cookie saved. So the link is to a PDF, but they check if you are authorized to download. You are getting an HTML because a normal desktop browser would present the choice buttons to save an approval cookie.

        • trashcan@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          6
          ·
          5 days ago

          Maybe try in a different browser or device because I don’t think it has that requirement. Unless it accepts existing login cookies (which it should not without explicitly stating).

          • over_clox
            link
            fedilink
            English
            arrow-up
            1
            arrow-down
            7
            ·
            5 days ago

            I use Fennec, a fork of Firefox, and I’m not logged into a damn thing on Fennec. Yeah that might largely be the problem, but I ain’t about to login to Google on my mobile devices anymore…

            • trashcan@sh.itjust.works
              link
              fedilink
              English
              arrow-up
              3
              ·
              5 days ago

              The archive org link I tried doesn’t seem to work. Do you have an alternative file hoster you trust that I could use?

              • over_clox
                link
                fedilink
                English
                arrow-up
                1
                arrow-down
                5
                ·
                5 days ago

                catbox.moe is pretty solid for files 200MB or less, temporarily though. But the archive snapshot can permanently archive files from there (or at least used to be able to).

      • over_clox
        link
        fedilink
        English
        arrow-up
        1
        arrow-down
        17
        ·
        5 days ago

        Ah, I found the problem. That’s not a PDF document at all, that’s an HTML document that’s attempting to prompt me for my age.

        Get your links right homie, that’s not a PDF at all.

        • trashcan@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          7
          ·
          5 days ago

          But it’s a very surface level prompt. Is it just me that has instinctively selected the “I’m over 18” button without thinking long before that was true?

          They don’t ask verification as far as I know. It’s the US gov so you’re correct to be cautious. I didn’t try in a “private” tab.

          • over_clox
            link
            fedilink
            English
            arrow-up
            1
            arrow-down
            11
            ·
            5 days ago

            No no no, I had to open the downloaded ‘PDF’ to my device, then open it with a hex editor, to discover it was actually in HTML format, to request my age and ID first.

            The page never outright even loaded, I just discovered that because I know how to use a hex editor. The page never loaded properly in either format, neither PDF nor HTML.

              • over_clox
                link
                fedilink
                English
                arrow-up
                2
                ·
                4 days ago

                I figured it out, it’s apparently a bug in the Jerboa for Lemmy app. Jerboa sees PDF and tries to open my default PDF viewer rather than my web browser Fennec.

                When I copy the link and paste it directly in Fennec, it works as expected, but when I tap the link in Jerboa, it’s blindly trying to open it with a PDF app, which gives the Invalid Format error.

              • over_clox
                link
                fedilink
                English
                arrow-up
                3
                arrow-down
                7
                ·
                5 days ago

                A MaxWest tablet, stock Android 11, but never signed into Google. No Chrome here, I used to use Firefox, until they started adopting AI tech, so now I use the more privacy focused fork, Fennec.

        • BCsven@lemmy.ca
          link
          fedilink
          English
          arrow-up
          5
          ·
          4 days ago

          It is a pdf link but there is an intercept script that does the age verification. Once you have said yes once, the PDF links then just directly lead to the PDFs.

          But I don’t understand why you are promted for Google sign in, I tried on Vanadium and Firefox and there was no google stuff.

      • over_clox
        link
        fedilink
        English
        arrow-up
        2
        arrow-down
        17
        ·
        5 days ago

        Ah yes, the magical answer to everything. Doesn’t work for me, invalid format.

          • over_clox
            link
            fedilink
            English
            arrow-up
            1
            arrow-down
            13
            ·
            5 days ago

            Its not even a PDF, its an HTML, prompting for my age.

          • over_clox
            link
            fedilink
            English
            arrow-up
            1
            arrow-down
            14
            ·
            5 days ago

            That’s fantastic, for everyone else I guess.

            Why am I prompted to sign into Google to even view it though?

            My mobile devices have never been signed into Google, and I ain’t about to break from that personal rule to view documents on a dead pervert and his associates.

            Is there a version of this document that can be viewed with a proper FOSS PDF app?

              • over_clox
                link
                fedilink
                English
                arrow-up
                1
                arrow-down
                13
                ·
                5 days ago

                Now that wasn’t necessary at all, I should have a right to view the document without having to login to Google.

                Sorry to bother your thread, but some of us halfway appreciate keeping some level of privacy and trying to avoid ending up on an Epstein list for even looking at documents…

                • AlDente@sh.itjust.works
                  link
                  fedilink
                  English
                  arrow-up
                  7
                  ·
                  5 days ago

                  I didn’t have to sign into Google and I also don’t use Chrome. All I had to do was click the age verification with no real verification follow-up steps.

                  • over_clox
                    link
                    fedilink
                    English
                    arrow-up
                    1
                    arrow-down
                    10
                    ·
                    5 days ago

                    Okay. Did you miss my comments where my device just errors out with Invalid Data Format?

                    I had to load the file into a hex editor to discover that indeed the supposed PDF is not, it’s an HTML…

                    I could not get the document to load up natively at all. I only figured out the lockout shit from a hex editor.

                    Fennec browser on Android 11 tablet.

            • trashcan@sh.itjust.works
              link
              fedilink
              English
              arrow-up
              7
              ·
              edit-2
              5 days ago

              Why am I prompted to sign into Google to even view it though?

              That a good question and one I’m willing to troubleshoot with you. In the meantime what’s your preferred file hoster?I can upload the pdf for you.

              • over_clox
                link
                fedilink
                English
                arrow-up
                1
                arrow-down
                2
                ·
                4 days ago

                Why would I be lying about this? Google doesn’t know what to do with the document as downloaded, so it’s attempting to open Google Play to find an app for it. Since I’m not logged into Google, the Play Store app jumps straight to the Google Login page on my device. Trying to jump directly to the page in Fennec gives me the Invalid Format error.

                Recognizing the file extension of the downloaded script should be HTML rather than PDF, I renamed it as such and loaded it locally in Fennec, where indeed it asked if I’m over 18, but since the page was loaded locally, the Yes/No buttons don’t even work as they’re sending the button response to localhost 127.0.0.1 instead of their website.

                Anyways, thanks for all the help, you’ve been none.

                • TrickDacy
                  link
                  fedilink
                  English
                  arrow-up
                  1
                  ·
                  4 days ago

                  I’ve been a web developer for decades. What you are describing matches nothing I’ve ever heard of on any browser or platform. This indeed was an html page that redirected to a pdf after clicking a link. Nothing about this should trip up any modern (or ancient) web browser. Absolute basic functionality.

                  Why would I be lying about this?

                  You tell me why you keep insisting a normal web page is like greek to your phone. Or why you were required to login to google services – something neither the webpage does, nor any OS-oriented handling of any actually-unknown file type I have ever seen on android (ps HTML is not a bizarre unknown content type). What you described (in two distinctly different and random ways) sure isn’t anything I’d ever be able to explain.

                  • over_clox
                    link
                    fedilink
                    English
                    arrow-up
                    2
                    ·
                    4 days ago

                    I finally figured it out, it’s apparently a bug in the Jerboa for Lemmy app when I try tapping the link posted in Jerboa. Jerboa sees PDF, Jerboa blindly tries to open it as PDF. When I copy the link and paste it into Fennec directly, the link and age verification script works as expected.

                    So the only thing I was doing ‘wrong’ was by tapping the link in Jerboa, like why would I expect the simple act of tapping a link is somehow messed up in Jerboa…?

                    Anyways, thanks for all the ‘help’, accusing me of being a liar and all. I sure hope you and others accusing me of lying never get into tech support, nothing will ever get fixed or solved that way.