You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ver 0.38.0
I'm in a docker container and pulling pdf's from Drive and converting them to images Some are fine but quite a few, financial documents all, are failing with in ISE 500 in the container log and a 404 in n8n as follows;
Error: 500 Internal Server Error Show Stack Trace Copy Stack Trace close
jakarta.servlet.ServletException: Request processing failed: java.util.IllegalFormatConversionException: d != java.lang.String for path: /api/v1/convert/pdf/img
java.util.IllegalFormatConversionException: d != java.lang.String at java.base/java.util.Formatter$FormatSpecifier.failConversion(Formatter.java:4515) at java.base/java.util.Formatter$FormatSpecifier.printInteger(Formatter.java:3066) at java.base/java.util.Formatter$FormatSpecifier.print(Formatter.java:3021) at java.base/java.util.Formatter.format(Formatter.java:2791) at java.base/java.util.Formatter.format(Formatter.java:2728) at java.base/java.lang.String.format(String.java:4390) at stirling.software.SPDF.utils.PdfUtils.convertFromPdf(PdfUtils.java:247) at stirling.software.SPDF.controller.api.converters.ConvertImgPDFController.convertToImage(ConvertImgPDFController.java:92) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) at java.base/java.lang.reflect.Method.invoke(Method.java:580) at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:257) at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:190) at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:118) at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:986)
It continues on and on...
This is n8n;
The service was not able to process your request
Stirling PDF - 404 - Page Not Found | Oops, we tripped in the code! window.stirlingPDF = window.stirlingPDF || {}; const stirlingPDFLabel = "Stirling-PDF v0.38.0"; const analyticsEnabled = true; if (analyticsEnabled) { !function (t, e) { var o, n, p, r; e.__SV || (window.posthog = e, e._i = [], e.init = function (i, s, a) { function g(t, e) { var o = e.split("."); 2 == o.length && (t = t[o[0]], e = o[1]), t[e] = function () { t.push([e].concat(Array.prototype.slice.call(arguments, 0))) } } (p = t.createElement("script")).type = "text/javascript", p.async = !0, p.src = s.api_host + "/static/array.js", (r = t.getElementsByTagName("script")[0]).parentNode.insertBefore(p, r); var u = e; for (void 0 !== a ? u = e[a] = [] : a = "posthog", u.people = u.people || [], u.toString = function (t) { var e = "posthog"; return "posthog" !== a && (e += "." + a), t || (e += " (stub)"), e }, u.people.toString = function () { return u.toString(1) + ".people (stub)" }, o = "capture identify alias people.set people.set_once set_config register register_once unregister opt_out_capturing has_opted_out_capturing opt_in_capturing reset isFeatureEnabled onFeatureFlags getFeatureFlag getFeatureFlagPayload reloadFeatureFlags group updateEarlyAccessFeatureEnrollment getEarlyAccessFeatures getActiveMatchingSurveys getSurveys getNextSurveyStep onSessionId".split(" "), n = 0; n < o.length; n++) g(u, o[n]); e._i.push([i, s, a]) }, e.__SV = 1) }(document, window.posthog || []); posthog.init('phc_fiR65u5j6qmXTYL56MNrLZSWqLaDW74OrZH0Insd2xq', { api_host: 'https://eu.i.posthog.com', persistence: 'localStorage', person_profiles: 'always', mask_all_text: true, mask_all_element_attributes: true }) const baseUrl = window.location.hostname; posthog.register_once({ 'hostname': baseUrl, 'UUID': "1b8d613b-ff93-4f1f-8865-d9a540f45914" }) } // Initializing the scripts initLanguageSettings(); toolsManager(); const currentVersion = "0.38.0"; const noFavourites = "No favorites added"; console.log(noFavourites); const updateAvailable = "{0} is the current installed version. A new version ({1}) is available."; Stirling PDF menu
I also put a sanitize node in and it completes fine and shows it works as it's replacing the fonts with default. I saw some font errors on first attempts so just went back to your toolbox and ran a sanitize and hit all the params.
Awesome tool when it works and could be super powerful for some things like this but curious why it fails...I ran it through o1 and it was pointing to a pure number input being passed as a string but I can't see it so...
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Ver 0.38.0
I'm in a docker container and pulling pdf's from Drive and converting them to images Some are fine but quite a few, financial documents all, are failing with in ISE 500 in the container log and a 404 in n8n as follows;
Error: 500 Internal Server Error Show Stack Trace Copy Stack Trace close
jakarta.servlet.ServletException: Request processing failed: java.util.IllegalFormatConversionException: d != java.lang.String for path: /api/v1/convert/pdf/img
java.util.IllegalFormatConversionException: d != java.lang.String at java.base/java.util.Formatter$FormatSpecifier.failConversion(Formatter.java:4515) at java.base/java.util.Formatter$FormatSpecifier.printInteger(Formatter.java:3066) at java.base/java.util.Formatter$FormatSpecifier.print(Formatter.java:3021) at java.base/java.util.Formatter.format(Formatter.java:2791) at java.base/java.util.Formatter.format(Formatter.java:2728) at java.base/java.lang.String.format(String.java:4390) at stirling.software.SPDF.utils.PdfUtils.convertFromPdf(PdfUtils.java:247) at stirling.software.SPDF.controller.api.converters.ConvertImgPDFController.convertToImage(ConvertImgPDFController.java:92) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) at java.base/java.lang.reflect.Method.invoke(Method.java:580) at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:257) at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:190) at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:118) at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:986)
It continues on and on...
This is n8n;
The service was not able to process your request
Stirling PDF - 404 - Page Not Found | Oops, we tripped in the code! window.stirlingPDF = window.stirlingPDF || {}; const stirlingPDFLabel = "Stirling-PDF v0.38.0"; const analyticsEnabled = true; if (analyticsEnabled) { !function (t, e) { var o, n, p, r; e.__SV || (window.posthog = e, e._i = [], e.init = function (i, s, a) { function g(t, e) { var o = e.split("."); 2 == o.length && (t = t[o[0]], e = o[1]), t[e] = function () { t.push([e].concat(Array.prototype.slice.call(arguments, 0))) } } (p = t.createElement("script")).type = "text/javascript", p.async = !0, p.src = s.api_host + "/static/array.js", (r = t.getElementsByTagName("script")[0]).parentNode.insertBefore(p, r); var u = e; for (void 0 !== a ? u = e[a] = [] : a = "posthog", u.people = u.people || [], u.toString = function (t) { var e = "posthog"; return "posthog" !== a && (e += "." + a), t || (e += " (stub)"), e }, u.people.toString = function () { return u.toString(1) + ".people (stub)" }, o = "capture identify alias people.set people.set_once set_config register register_once unregister opt_out_capturing has_opted_out_capturing opt_in_capturing reset isFeatureEnabled onFeatureFlags getFeatureFlag getFeatureFlagPayload reloadFeatureFlags group updateEarlyAccessFeatureEnrollment getEarlyAccessFeatures getActiveMatchingSurveys getSurveys getNextSurveyStep onSessionId".split(" "), n = 0; n < o.length; n++) g(u, o[n]); e._i.push([i, s, a]) }, e.__SV = 1) }(document, window.posthog || []); posthog.init('phc_fiR65u5j6qmXTYL56MNrLZSWqLaDW74OrZH0Insd2xq', { api_host: 'https://eu.i.posthog.com', persistence: 'localStorage', person_profiles: 'always', mask_all_text: true, mask_all_element_attributes: true }) const baseUrl = window.location.hostname; posthog.register_once({ 'hostname': baseUrl, 'UUID': "1b8d613b-ff93-4f1f-8865-d9a540f45914" }) } // Initializing the scripts initLanguageSettings(); toolsManager(); const currentVersion = "0.38.0"; const noFavourites = "No favorites added"; console.log(noFavourites); const updateAvailable = "{0} is the current installed version. A new version ({1}) is available."; Stirling PDF menu
I also put a sanitize node in and it completes fine and shows it works as it's replacing the fonts with default. I saw some font errors on first attempts so just went back to your toolbox and ran a sanitize and hit all the params.
Awesome tool when it works and could be super powerful for some things like this but curious why it fails...I ran it through o1 and it was pointing to a pure number input being passed as a string but I can't see it so...
Any thoughts would be greatly helpful and thanks.
Beta Was this translation helpful? Give feedback.
All reactions