Skip to content

Single Page PDF fails during field prediction #2

@anandsathe67

Description

@anandsathe67

See attached file for an example

Example.pdf
Looks like the 2nd image file was not created (not sure if you create during upload or phrase extraction)

Error in web console:

api.js:127 
            
            
           POST http://127.0.0.1:3001/process/fields 500 (INTERNAL SERVER ERROR)
predictFields @ api.js:127
handleStageClick @ ProcessingStages.jsx:321
onClick @ ProcessingStages.jsx:658
callCallback @ react-dom.development.js:4164
invokeGuardedCallbackDev @ react-dom.development.js:4213
invokeGuardedCallback @ react-dom.development.js:4277
invokeGuardedCallbackAndCatchFirstError @ react-dom.development.js:4291
executeDispatch @ react-dom.development.js:9041
processDispatchQueueItemsInOrder @ react-dom.development.js:9073
processDispatchQueue @ react-dom.development.js:9086
dispatchEventsForPlugins @ react-dom.development.js:9097
(anonymous) @ react-dom.development.js:9288
batchedUpdates$1 @ react-dom.development.js:26179
batchedUpdates @ react-dom.development.js:3991
dispatchEventForPluginEventSystem @ react-dom.development.js:9287
dispatchEventWithEnableCapturePhaseSelectiveHydrationWithoutDiscreteEventReplay @ react-dom.development.js:6465
dispatchEvent @ react-dom.development.js:6457
dispatchDiscreteEvent @ react-dom.development.js:6430Understand this error
ProcessingStages.jsx:509 Processing failed: Error: [Errno 2] No such file or directory: '/Users/anand/TWIX/tests/out/Example/_image/1.jpg'
    at Object.predictFields [as apiFunction] (api.js:134:1)
    at async handleStageClick (ProcessingStages.jsx:321:1)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions