GithubHelp home page GithubHelp logo

Comments (4)

Leseratte10 avatar Leseratte10 commented on May 14, 2024

That's going to be tricky if it's not clear whether the issue is in my ACSM Input plugin or in the DeDRM plugin ...

So you took one ACSM file and downloaded it both through ADE and through my plugin, both authorized with the same AdobeID? Then you should have two PDF files with DRM (one from ADE and one from my plugin) that should be identical.

In an ideal world the files would be 100% identical, but they should definitely be syntactically / semantically identical.

So can you try disabling the DeDRM plugin so that it doesn't get into the way, then download the ACSM once with ADE and once with my plugin and see if the resulting PDF files are identical?

Or, if you want (since the files are encrypted anyways and unreadable for me without your key), you can also send the two files (PDF with DRM from ADE, and PDF with DRM from my plugin) to my email and I'll take a look: <email removed>
If the two files are (very) different it might be a bug with my plugin. If they are mostly identical it's probably a DRM removal issue.

from acsm-calibre-plugin.

azumukupoe avatar azumukupoe commented on May 14, 2024

I think the issue is within this plugin
it'd be great if you could fix it, but I can live with using ADE in the meantime

ApplicationPaletteChange event ignored
Using calibre Qt style: True
ApplicationPaletteChange event received
calibre Debug log
calibre 6.17  embedded-python: True
Windows-10-10.0.22621-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.22621')
Python 3.10.1
Windows: ('10', '10.0.22621', 'SP0', 'Multiprocessor Free')
Interface language: None
Initialized urlfixer
Successfully initialized third party plugins: DeACSM (0, 0, 16) && DeDRM (10, 0, 3) && Amazon.com Multiple Countries (1, 0, 0) && BOL_DE (0, 9, 2) && BOL_NL (5, 1, 3) && Baen (1, 1, 0) && Barnes & Noble (1, 5, 2) && DNB_DE (3, 2, 2) && Evrit (1, 3, 0) && Extract ISBN (1, 6, 0) && Fantastic Fiction (1, 6, 1) && Fantastic Fiction Adults (1, 3, 0) && FictionDB (1, 3, 0) && Goodreads (1, 7, 8) && ISFDB3 (1, 2, 2) && Kindle hi-res covers (0, 5, 0) && Kitapyurdu (1, 1, 0) && Kobo Books (1, 9, 2) && Libgen Fiction (0, 4, 0) && Library Genesis (1, 2, 0) && LubimyCzytac (2, 2, 30) && Martinus.sk (2021, 12, 20) && Moly_hu (1, 1, 7) && Perrypedia (1, 6, 0) && SF-Leihbuch (1, 0, 0) && Skoob Books (1, 5, 4) && Smashwords Metadata (1, 0, 2) && Wikidata (2, 0, 0) && databazeknih.cz (1, 4, 26)
calibre 6.17  embedded-python: True
Windows-10-10.0.22621-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.22621')
Python 3.10.1
Windows: ('10', '10.0.22621', 'SP0', 'Multiprocessor Free')
Interface language: None
Successfully initialized third party plugins: DeACSM (0, 0, 16) && DeDRM (10, 0, 3) && Amazon.com Multiple Countries (1, 0, 0) && BOL_DE (0, 9, 2) && BOL_NL (5, 1, 3) && Baen (1, 1, 0) && Barnes & Noble (1, 5, 2) && DNB_DE (3, 2, 2) && Evrit (1, 3, 0) && Extract ISBN (1, 6, 0) && Fantastic Fiction (1, 6, 1) && Fantastic Fiction Adults (1, 3, 0) && FictionDB (1, 3, 0) && Goodreads (1, 7, 8) && ISFDB3 (1, 2, 2) && Kindle hi-res covers (0, 5, 0) && Kitapyurdu (1, 1, 0) && Kobo Books (1, 9, 2) && Libgen Fiction (0, 4, 0) && Library Genesis (1, 2, 0) && LubimyCzytac (2, 2, 30) && Martinus.sk (2021, 12, 20) && Moly_hu (1, 1, 7) && Perrypedia (1, 6, 0) && SF-Leihbuch (1, 0, 0) && Skoob Books (1, 5, 4) && Smashwords Metadata (1, 0, 2) && Wikidata (2, 0, 0) && databazeknih.cz (1, 4, 26)
QPA platform: windows
devicePixelRatio: 1.5
logicalDpi: 96.0 x 96.0
physicalDpi: 81.55183946488295 x 81.64285714285714
[0.00] Starting up...
[0.00] Showing splash screen...
[0.16] splash screen shown
[0.16] Initializing db...
[0.16] db initialized
[0.16] Constructing main UI...
[0.81] main UI initialized...
[0.81] Hiding splash screen
Starting QuickView
[2.88] splash screen hidden
[2.88] Started up in 2.88 seconds with 8 books
Traceback (most recent call last):
  File "calibre\customize\ui.py", line 469, in get_file_type_metadata
  File "calibre\customize\builtins.py", line 324, in get_metadata
  File "calibre\ebooks\metadata\pdf.py", line 124, in get_metadata
ValueError: Could not read info dict from PDF
Initialized urlfixer
DeACSM v0.0.16: Trying to parse file URLLink.acsm
DeACSM v0.0.16: Try to fulfill ...
Fulfill request:
<?xml version="1.0"?><adept:fulfill xmlns:adept="http://ns.adobe.com/adept"><adept:user>urn:uuid:9fb1c3be-227e-401d-b0eb-74ce00af6136</adept:user><adept:device>urn:uuid:f99f8256-4a0f-4f86-862b-dc196387121b</adept:device><adept:deviceType>standalone</adept:deviceType><fulfillmentToken xmlns="http://ns.adobe.com/adept" fulfillmentType="loan" auth="user">
  <distributor>urn:uuid:00000000-0000-0000-0000-000000000001</distributor>
  <operatorURL>http://lending6.us.archive.org:8080/fulfillment</operatorURL>
  <transaction>df7db144-3c7b-4e25-a397-fbd35e3d1111</transaction>
  <purchase>2023-04-30T08:05:25+00:00</purchase>
  <expiration>2023-05-07T08:05:25+00:00</expiration>
  <resourceItemInfo>
    <resource>urn:uuid:247111c5-0292-4910-9443-c9ea0ba59e62</resource>
    <resourceItem>0</resourceItem>
    <metadata>
      <dc:title xmlns:dc="http://purl.org/dc/elements/1.1/">Count zero</dc:title>
      <dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Gibson, William, 1948-</dc:creator>
      <dc:publisher xmlns:dc="http://purl.org/dc/elements/1.1/">New York : Ace Science Fiction Books</dc:publisher>
      <dc:identifier xmlns:dc="http://purl.org/dc/elements/1.1/">countzero00gibs</dc:identifier>
      <dc:format xmlns:dc="http://purl.org/dc/elements/1.1/">application/pdf</dc:format>
      <dc:language xmlns:dc="http://purl.org/dc/elements/1.1/">eng</dc:language>
      <thumbnailURL>http://archive.org/services/img/countzero00gibs</thumbnailURL>
    </metadata>
    <licenseToken>
      <resource>urn:uuid:247111c5-0292-4910-9443-c9ea0ba59e62</resource>
      <permissions>
        <display>
          <until>2023-05-14T08:04:40+00:00</until>
        </display>
        <excerpt>
          <until>2023-05-14T08:04:40+00:00</until>
        </excerpt>
        <print>
          <until>2023-05-14T08:04:40+00:00</until>
        </print>
        <play>
          <until>2023-05-14T08:04:40+00:00</until>
        </play>
      </permissions>
    </licenseToken>
  </resourceItemInfo>
  <hmac>UP1VAEFcO0/1ZeIraLciFFLMcSA=</hmac>
</fulfillmentToken>
<adept:targetDevice><adept:softwareVersion>9.3.58046</adept:softwareVersion><adept:clientOS>Windows Vista</adept:clientOS><adept:clientLocale>en</adept:clientLocale><adept:clientVersion>2.0.1.78765</adept:clientVersion><adept:deviceType>standalone</adept:deviceType><adept:productName>ADOBE Digitial Editions</adept:productName><adept:fingerprint>pwEymzIQEYj+wwIglT9j1ug2zn4=</adept:fingerprint><adept:activationToken><adept:user>urn:uuid:9fb1c3be-227e-401d-b0eb-74ce00af6136</adept:user><adept:device>urn:uuid:f99f8256-4a0f-4f86-862b-dc196387121b</adept:device></adept:activationToken></adept:targetDevice></adept:fulfill>
fulfillmentResult:
<envelope xmlns="http://ns.adobe.com/adept">
  <fulfillmentResult>
    <fulfillment>623e2520-b0ea-4aaf-9a90-8f6ec4cab0d7-0003423f</fulfillment>
    <returnable>true</returnable>
    <initial>true</initial>
    <notify>
      <notifyURL>http://lending6.us.archive.org:8080/fulfillment/FulfillmentNotification</notifyURL>
      <body>
        <fulfillment>623e2520-b0ea-4aaf-9a90-8f6ec4cab0d7-0003423f</fulfillment>
        <transaction>df7db144-3c7b-4e25-a397-fbd35e3d1111</transaction>
        <user>urn:uuid:9fb1c3be-227e-401d-b0eb-74ce00af6136</user>
        <fulfilled>true</fulfilled>
        <returned>false</returned>
      </body>
    </notify>
    <resourceItemInfo>
      <resource>urn:uuid:247111c5-0292-4910-9443-c9ea0ba59e62</resource>
      <resourceItem>0</resourceItem>
      <metadata>
        <dc:title xmlns:dc="http://purl.org/dc/elements/1.1/">Count zero</dc:title>
        <dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Gibson, William, 1948-</dc:creator>
        <dc:format xmlns:dc="http://purl.org/dc/elements/1.1/">application/pdf</dc:format>
        <dc:publisher xmlns:dc="http://purl.org/dc/elements/1.1/">New York : Ace Science Fiction Books</dc:publisher>
        <dc:language xmlns:dc="http://purl.org/dc/elements/1.1/">eng</dc:language>
        <dc:identifier xmlns:dc="http://purl.org/dc/elements/1.1/">countzero00gibs</dc:identifier>
        <modified>2010-10-01T05:56:26+00:00</modified>
        <thumbnailURL>http://archive.org/services/img/countzero00gibs</thumbnailURL>
        <price>0.0</price>
      </metadata>
      <src>http://archive.org/download/countzero00gibs/countzero00gibs_encrypted.pdf</src>
      <downloadType>simple</downloadType>
<licenseToken>
    <user>urn:uuid:9fb1c3be-227e-401d-b0eb-74ce00af6136</user>
    <resource>urn:uuid:247111c5-0292-4910-9443-c9ea0ba59e62</resource>
    <resourceItemType>application/pdf</resourceItemType>
    <deviceType>standalone</deviceType>
    <device>urn:uuid:f99f8256-4a0f-4f86-862b-dc196387121b</device>
    <voucher>247111c5-0292-4910-9443-c9ea0ba59e62</voucher>
    <licenseURL>https://nasigningservice.adobe.com/licensesign</licenseURL>
    <operatorURL>http://lending6.us.archive.org:8080/fulfillment</operatorURL>
    <fulfillment>623e2520-b0ea-4aaf-9a90-8f6ec4cab0d7-0003423f</fulfillment>
    <distributor>urn:uuid:00000000-0000-0000-0000-000000000001</distributor>
    <encryptedKey keyInfo="user">LfZWArb8FBW7Fu2lldPqrWB6/M6gxfIDahDS1KIgvC30YnFSFQdU6hRGUECEwQNfa1Pp5lvs/TKihLklPArVnw50yJ60nRryf0vSYXvZu8oczvCyamoQ8e6br9iAAlq80Ykfu5rxshsKJuTfcFDe6Z3Wlp11dcw39xhiYyDRvMQ=</encryptedKey>
    <model version="1.0">3073</model>
    <permissions>
      <display>
        <loan>623e2520-b0ea-4aaf-9a90-8f6ec4cab0d7-0003423f</loan>
        <until>2023-05-14T08:04:40Z</until>
      </display>
      <play>
        <loan>623e2520-b0ea-4aaf-9a90-8f6ec4cab0d7-0003423f</loan>
        <until>2023-05-14T08:04:40Z</until>
      </play>
    </permissions>
    <signature>dV5NxgehQWCn4LpoKUeQuJAEnBrxgIN1ScGyRiV1ch2ldvn+oGMUBESIn5rcfhaNl9JrCVIrZk1JZebAtlUJ8eKsGtYG0UGtpJi0RpSfli/h3KHLtF/dX/a5Steuic8UUe4KnKggkyM5Tc4kWTJRuoFxuz5TnpsrfYSCVn9D2Gw=</signature>
  </licenseToken>    </resourceItemInfo>
  </fulfillmentResult>
  <loanToken>
    <time>2023-04-30T08:05:33+00:00</time>
    <user>urn:uuid:9fb1c3be-227e-401d-b0eb-74ce00af6136</user>
    <operatorURL>http://lending6.us.archive.org:8080/fulfillment</operatorURL>
    <licenseURL>https://nasigningservice.adobe.com/licensesign</licenseURL>
    <loan>623e2520-b0ea-4aaf-9a90-8f6ec4cab0d7-0003423f</loan>
    <signature>Du7K8n/iJ2LrFlN5eEGICDXVrEU5YSHDfgVJoAJ78dXq4u8J2mk0ju2bILdTl1r4IcvZnH/GnYkdQAyBVvUBBDEaVHR/5prTBzzV64T15rvLdDPqg0naRJlHLjU1YW1BNyqhLugvxOV467D1+TeQFpgGfhBAAFRG2+tjM3vd8ig=</signature>
  </loanToken>
</envelope>

Notifying server ...
Notifying server http://lending6.us.archive.org:8080/fulfillment/FulfillmentNotification
Fulfillment notification successful.
DeACSM v0.0.16: Downloading book ...
DeACSM v0.0.16: Loading book from http://archive.org/download/countzero00gibs/countzero00gibs_encrypted.pdf
Download took 51768 ms (HTTP 200)
That's a PDF file
DeACSM v0.0.16: Downloaded PDF, adding encryption config ...
Searching for startxref ...
Got startxref: 12659094
Found ENC after 5 attempts - took 0 ms
Found EBX after 1352 attempts - took 4 ms


Encryption handler:
<</Root 1333 0 R/Info 1331 0 R/Encrypt 1341 0 R/ID[<B15E795B5095B834CC63744472C9D9DD><60298B1BFC1E8A3F8528C98434559CE1>]/Size 1342>>
EBX handler:
<</EBX_PUBLISHER(New York : Ace Science Fiction Books)/Filter/EBX_HANDLER/Length 128/ADEPT_ID(urn:uuid:247111c5-0292-4910-9443-c9ea0ba59e62)/V 4/EBX_TITLE(Count zero)/EBX_AUTHOR(Gibson, William, 1948-)>>
Trimmed encryption handler:
<</Root 1333 0 R/Info 1331 0 R/Encrypt 1341 0 R/ID[<B15E795B5095B834CC63744472C9D9DD><60298B1BFC1E8A3F8528C98434559CE1>]/Size 1342>>
Updated EBX handler not logged due to sensitive data
Whole DRM patching took 17 milliseconds.
DeACSM v0.0.16: File successfully fulfilled ...
Syntax Error: Couldn't find the 'EBX_HANDLER' security handler
pdfinfo errored out with return code: 1

from acsm-calibre-plugin.

Leseratte10 avatar Leseratte10 commented on May 14, 2024

I don't think this is an issue with my plugin. I've just downloaded this very book from archive.org and I can import it into Calibre just fine.

Are you trying to open the resulting PDF in Calibre or in ADE? This is probably an issue with DRM removal.

from acsm-calibre-plugin.

Leseratte10 avatar Leseratte10 commented on May 14, 2024

No further response, I'm assuming this is fixed and/or was indeed a bug with DRM removal. If not, please re-open.

from acsm-calibre-plugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.