Support » Plugin: PDF 2 Post » Unsure why plugin is not working

  • Resolved guardian88

    (@guardian88)


    Good Evening,

    We have gone through the process of creating an altinstall of python 3.6.3, installed pip, wheel and setuptools. We have also installed poppler-utils for the pdfimages but are still getting the following from the plugin:

    The following libraries NEED to be installed on your server :
    Linux secure.guardian88.com 3.10.0-962.3.2.lve1.5.24.9.el7.x86_64 #1 SMP Wed Feb 13 08:24:50 EST 2019 x86_64
    ZipArchive Installed
    PDFMiner
    Not installed! please see https://pypi.org/project/pdfminer/
    Python
    Installed: 2.7.5 (default, Oct 30 2018, 05:13:07)
    pdfimages
    Not installed! please see https://en.wikipedia.org/wiki/Pdfimages

    Please advise.

    The page I need help with: [log in to see the link]

Viewing 12 replies - 1 through 12 (of 12 total)
  • To follow up this is our server feedback for pdfminer

    [root@secure ~]# pip install pdfminer.six
    Requirement already satisfied: pdfminer.six in /usr/local/lib/python3.6/site-packages (20181108)
    Requirement already satisfied: sortedcontainers in /usr/local/lib/python3.6/site-packages (from pdfminer.six) (2.1.0)
    Requirement already satisfied: pycryptodome in /usr/local/lib/python3.6/site-packages (from pdfminer.six) (3.7.3)
    Requirement already satisfied: six in /usr/local/lib/python3.6/site-packages (from pdfminer.six) (1.12.0)
    [root@secure ~]#

    Plugin Author termel

    (@munger41)

    Hi,
    Can you please send a screenshot of the backoffice page and the log file of your wp install (debug.log) ?

    Thanks

    Plugin Author termel

    (@munger41)

    In any case, the plugin is not using pdfminer.six at the moment, but just pdfminer.

    Plugin Author termel

    (@munger41)

    You should use :
    sudo apt-get install poppler-utils
    And
    sudo apt-get install python-pdfminer

    Instead of pip install pdfminer.six

    I can send a screenshot of the install. We have both 2.7 and 3.6 python installed. pdfminer in 2.7 and pdfminer.six in 3.6. Are you on slack or how would you like me to get it to you?

    Also using RHEL so we’ve tried those commands but with “yum” same result

    [root@secure ~]# yum install poppler-utils
    Failed to set locale, defaulting to C
    Loaded plugins: fastestmirror, langpacks, rhnplugin, universal-hooks
    This system is receiving updates from CLN.
    Loading mirror speeds from cached hostfile
    * EA4: 104.219.172.10
    * cpanel-addons-production-feed: 104.219.172.10
    * cpanel-plugins: 104.219.172.10
    * cloudlinux-x86_64-server-7: cl-mirror.namecheap.com
    * epel: mirrors.develooper.com
    Package poppler-utils-0.26.5-20.el7.x86_64 already installed and latest version
    Nothing to do
    [root@secure ~]#

    [root@secure ~]# yum install python-pdfminer
    Failed to set locale, defaulting to C
    Loaded plugins: fastestmirror, langpacks, rhnplugin, universal-hooks
    This system is receiving updates from CLN.
    Loading mirror speeds from cached hostfile
    * EA4: 104.219.172.10
    * cpanel-addons-production-feed: 104.219.172.10
    * cpanel-plugins: 104.219.172.10
    * cloudlinux-x86_64-server-7: cl-mirror.namecheap.com
    * epel: mirrors.develooper.com
    Package python2-pdfminer-20160614-4.el7.noarch already installed and latest version
    Nothing to do
    [root@secure ~]#

    Plugin Author termel

    (@munger41)

    Can you try uploading a pdf anyway and see if it works ?
    It may just be a wrong detection of mandatory librairies.

    Plugin Author termel

    (@munger41)

    You can send your pdf for us to test as well : https://www.termel.fr/contact/

    Tried that already this is what happens:

    wp_verify_nonce
    OK

    File uploaded successfully! /home/guardiandesigns/public_html/wp-content/uploads/2019/03/The-Kenshoo-Q4-2018-Quarterly-Trends-Report-1-4-5.pdf
    pdfimages -png /home/guardiandesigns/public_html/wp-content/uploads/2019/03/The-Kenshoo-Q4-2018-Quarterly-Trends-Report-1-4-5.pdf /home/guardiandesigns/public_html/wp-content/uploads/2019/03/The-Kenshoo-Q4-2018-Quarterly-Trends-Report-1-4-5_out/_images
    Ok
    PDFIMAGES : images extracted : 1
    -t text -o /home/guardiandesigns/public_html/wp-content/uploads/2019/03/The-Kenshoo-Q4-2018-Quarterly-Trends-Report-1-4-5_out/The-Kenshoo-Q4-2018-Quarterly-Trends-Report-1-4-5.text /home/guardiandesigns/public_html/wp-content/uploads/2019/03/The-Kenshoo-Q4-2018-Quarterly-Trends-Report-1-4-5.pdf
    Ok

    ERROR: no file created /home/guardiandesigns/public_html/wp-content/uploads/2019/03/The-Kenshoo-Q4-2018-Quarterly-Trends-Report-1-4-5_out/The-Kenshoo-Q4-2018-Quarterly-Trends-Report-1-4-5.text

    PDF sent

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Unsure why plugin is not working’ is closed to new replies.