Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Stirling-PDF
  3. PDF to Text/RTF fails

PDF to Text/RTF fails

Scheduled Pinned Locked Moved Solved Stirling-PDF
30 Posts 10 Posters 1.8k Views 10 Watching
  • 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.
  • girishG girish

    @archos please try with v1.1.0 package . Think I have fixed it for real now.

    archosA Offline
    archosA Offline
    archos
    wrote on last edited by
    #17

    @girish Great, thanks so much for the update. Already the conversion to PDF format is working.

    1 Reply Last reply
    2
    • L Offline
      L Offline
      LoudLemur
      wrote on last edited by
      #18

      I tried this yesterday, pdf-to-rtf, pdf-to-txt. Both failed, and created empty files instead. Might it have been due to a lack of memory being allocated? App Version: 0.10.3

      jdaviescoatesJ 1 Reply Last reply
      1
      • nebulonN Offline
        nebulonN Offline
        nebulon
        Staff
        wrote on last edited by
        #19

        Were there any errors shown or if the app crashed out of memory, you should see a notification about that in Cloudron. And just to be sure, have you tried other pdf documents?

        1 Reply Last reply
        0
        • L LoudLemur

          I tried this yesterday, pdf-to-rtf, pdf-to-txt. Both failed, and created empty files instead. Might it have been due to a lack of memory being allocated? App Version: 0.10.3

          jdaviescoatesJ Offline
          jdaviescoatesJ Offline
          jdaviescoates
          wrote on last edited by
          #20

          @LoudLemur said in PDF to Text/RTF fails:

          I tried this yesterday, pdf-to-rtf, pdf-to-txt. Both failed, and created empty files instead.

          Same.

          @nebulon said in PDF to Text/RTF fails:

          Were there any errors shown

          No errors were shown on screen nor in the app logs.

          @nebulon said in PDF to Text/RTF fails:

          And just to be sure, have you tried other pdf documents?

          Yes, I've tried numerous PDFs all with the same empty .txt file as the result.

          I use Cloudron with Gandi & Hetzner

          1 Reply Last reply
          0
          • girishG Offline
            girishG Offline
            girish
            Staff
            wrote on last edited by
            #21

            Yeah, I have never got the conversion to work. I think it's probably an upstream bug.

            jdaviescoatesJ F 2 Replies Last reply
            0
            • girishG girish

              Yeah, I have never got the conversion to work. I think it's probably an upstream bug.

              jdaviescoatesJ Offline
              jdaviescoatesJ Offline
              jdaviescoates
              wrote on last edited by
              #22

              @girish said in PDF to Text/RTF fails:

              Yeah, I have never got the conversion to work.

              So I guess this shouldn't be marked as solved.

              @girish said in PDF to Text/RTF fails:

              I think it's probably an upstream bug.

              If that's the case perhaps @froodle can help?

              I use Cloudron with Gandi & Hetzner

              girishG 1 Reply Last reply
              0
              • jdaviescoatesJ jdaviescoates

                @girish said in PDF to Text/RTF fails:

                Yeah, I have never got the conversion to work.

                So I guess this shouldn't be marked as solved.

                @girish said in PDF to Text/RTF fails:

                I think it's probably an upstream bug.

                If that's the case perhaps @froodle can help?

                girishG Offline
                girishG Offline
                girish
                Staff
                wrote on last edited by
                #23

                @jdaviescoates You can also try if running soffice --infilter=writer_pdf_import --convert-to txt:Text --outdir /tmp/invoice Invoice.pdf works . For me, it doesn't produce anything even on my laptop.

                jdaviescoatesJ 1 Reply Last reply
                0
                • girishG girish has marked this topic as unsolved on
                • girishG girish

                  @jdaviescoates You can also try if running soffice --infilter=writer_pdf_import --convert-to txt:Text --outdir /tmp/invoice Invoice.pdf works . For me, it doesn't produce anything even on my laptop.

                  jdaviescoatesJ Offline
                  jdaviescoatesJ Offline
                  jdaviescoates
                  wrote on last edited by
                  #24

                  @girish said in PDF to Text/RTF fails:

                  @jdaviescoates You can also try if running soffice --infilter=writer_pdf_import --convert-to txt:Text --outdir /tmp/invoice Invoice.pdf works . For me, it doesn't produce anything even on my laptop.

                  When I try that on my laptop I just get:

                  Warning: failed to launch javaldx - java may not function correctly
                  

                  I use Cloudron with Gandi & Hetzner

                  girishG 1 Reply Last reply
                  0
                  • jdaviescoatesJ jdaviescoates

                    @girish said in PDF to Text/RTF fails:

                    @jdaviescoates You can also try if running soffice --infilter=writer_pdf_import --convert-to txt:Text --outdir /tmp/invoice Invoice.pdf works . For me, it doesn't produce anything even on my laptop.

                    When I try that on my laptop I just get:

                    Warning: failed to launch javaldx - java may not function correctly
                    
                    girishG Offline
                    girishG Offline
                    girish
                    Staff
                    wrote on last edited by
                    #25

                    @jdaviescoates said in PDF to Text/RTF fails:

                    Warning: failed to launch javaldx - java may not function correctly

                    I made this error go away by installing a whole bunch of packages. Some openoffice java support etc. I don't recall which ones now.

                    1 Reply Last reply
                    2
                    • girishG girish

                      Yeah, I have never got the conversion to work. I think it's probably an upstream bug.

                      F Offline
                      F Offline
                      froodle
                      wrote on last edited by froodle
                      #26

                      @girish this step has no OCR if that's what you're wanting, you would need to run OCR step first
                      In that usecase this would only carry over the image file which txt wouldn't support
                      However I can try debug this to see if I can reproduce if you are on about a pdf containing actual text
                      Could very likely be issue on stirling pdf side

                      jdaviescoatesJ 1 Reply Last reply
                      1
                      • F froodle

                        @girish this step has no OCR if that's what you're wanting, you would need to run OCR step first
                        In that usecase this would only carry over the image file which txt wouldn't support
                        However I can try debug this to see if I can reproduce if you are on about a pdf containing actual text
                        Could very likely be issue on stirling pdf side

                        jdaviescoatesJ Offline
                        jdaviescoatesJ Offline
                        jdaviescoates
                        wrote on last edited by
                        #27

                        @froodle said in PDF to Text/RTF fails:

                        However I can try debug this to see if I can reproduce if you are on about a pdf containing actual text
                        Could very likely be issue on stirling pdf side

                        I've tried numerous PDFs with actual text and all of them failed just resulting in a blank text file.

                        I use Cloudron with Gandi & Hetzner

                        F 1 Reply Last reply
                        1
                        • jdaviescoatesJ jdaviescoates

                          @froodle said in PDF to Text/RTF fails:

                          However I can try debug this to see if I can reproduce if you are on about a pdf containing actual text
                          Could very likely be issue on stirling pdf side

                          I've tried numerous PDFs with actual text and all of them failed just resulting in a blank text file.

                          F Offline
                          F Offline
                          froodle
                          wrote on last edited by
                          #28

                          @jdaviescoates confirmed txt has issue I'll be disabling that feature and add a fix to backlog

                          But rtf option of that page works fine for me (not in cloudron)

                          1 Reply Last reply
                          3
                          • micmcM Offline
                            micmcM Offline
                            micmc
                            wrote on last edited by
                            #29

                            Okay, on a positive note this app saved much time today and it worked perfectly well! 🙂

                            Had to fax a 5 pages doc through a virtual fax app I use (since we have no more phone landline for years). The 5 pages were scanned in 5 different jpg images but the virtual fax needed one single file, jpg or pdf, with the 5 pages inside.

                            Went to my Stirling PDF install; YES it can be done. I chose "Images to PDF" module, added the files and created a perfect PDF with the 5 pages in it, no error, ready to send through virtual fax. Stunning!

                            Ignorance is not an excuse anymore!
                            https://AutomateKit.com

                            1 Reply Last reply
                            6
                            • F Offline
                              F Offline
                              froodle
                              wrote on last edited by
                              #30

                              This can probably be closed since Text conversion has been removed from Stirling-PDF for now due to bug in LibreOffice
                              Only RTF remains

                              1 Reply Last reply
                              3
                              • girishG girish has marked this topic as solved on
                              Reply
                              • Reply as topic
                              Log in to reply
                              • Oldest to Newest
                              • Newest to Oldest
                              • Most Votes


                              • Login

                              • Don't have an account? Register

                              • Login or register to search.
                              • First post
                                Last post
                              0
                              • Categories
                              • Recent
                              • Tags
                              • Popular
                              • Bookmarks
                              • Search