I have had iPaper running with no problems on one server, and I'm now trying to get it to work on another.

In order to get rid og my signature-problems #655318: Why signature mismatch when I've disabled the signature feature?, I have created a brand new Scribd-account and started all over.

But now I cannot upload documents through iPaper. After submitting the form I get the animated bar and a message to wait - forever. The node gets created, but the PDF obviously never reaches Scribd and never gets converted.

I have of course checked my iPaper settings, API-key and whatnot many times, and uploading directly to Scribd works fine.
The log says nothing about any errors, but just records the API-calls with no obvious errors:

docs.getSettings, Document ID: ...
docs.getConversionStatus, Document ...
docs.changeSettings, Document ID: ...

I can't see where the problem comes from.

Martin

Comments

rares’s picture

What I don't see in the list of API requests is docs.upload. Are your files unusually large? What happens if you keep waiting at the progress bar? Do you get a timeout message in the browser?

vertikal.dk’s picture

Rares,

My files aren't particularly large... about 10-15 Mb - and have uploaded nicely on/from other servers plus my local development server. And they do upload to the Drupal-server in question and appear as an attached file in the node and can be downloaded from there.

But the node has the text: "The previous attempt to convert this document to an iPaper failed. Click here to retry" - and a retry of course has no effect.

My browser never times out on the upload. It has been ticking along a whole night at one point, but to no avail.

The log just fills with docs.getConversionStatus API-calls while Drupal waits for the document to convert. And I can see on Scribd that it's not even uploaded.

I don't know why the upload call isn't there. I haven't looked at the inner workings of the iPaper module, so I haven't missed it.

I just created a new iPaper node and even though it's currently converting according to the message:

Preparing document...
This can take a while, depending on the size of your upload.

...there are no new iPaper log entries, no API calls or anything. The most recent one i 45 minutes old even though I just created the node minutes ago.

Martin

rares’s picture

At 10-15 megs, the file size might already be a problem. Can you try with a small PDF (100kb or so?)
The docs.upload not showing on the logs is very strange, because even. You are not inputting anything into the doc_id field (if you have that field), right?
Finally, the multiple requests for the conversion status were a feature of the previous versions. The behavior might still occur in the latest 6.x-1.1, but just to check: you are using 6.x-1.1, right?

rhiggins’s picture

I am having this exact same issue, with small files(4k) and version 6.x-1.1. Any other information or solutions?

rares’s picture

have you tried changing the upload method from the module administration?

at /admin/settings/ipaper, you will find a setting for "HTTP request framework"
try setting that to fopen and let me know if it works.

rares’s picture

bump -- I updated the previous comment