[Errno 30] Read-only file system: '/home/sbx_user1051' #899
Unanswered
swatibansal132
asked this question in
Q&A
Replies: 1 comment
-
Had the same problem. Apparently related to EasyOCR library. Following worked for me if executed before docling import.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to convert a PDF to Markdown using the following code in an AWS Lambda function. However, I am encountering the error:
🚨 [Errno 30] Read-only file system: '/home/sbx_user1051'
Here’s my code snippet:
`pipeline_options = PdfPipelineOptions(do_table_structure=True)
doc_converter = DocumentConverter(
format_options={
InputFormat.PDF: PdfFormatOption(pipeline_options=pipeline_options)
}
)
result = doc_converter.convert(Path(fileName))
`
It seems like the function is trying to write to a restricted directory. How can I resolve this issue while keeping the Lambda function functional? Any guidance would be appreciated!
Beta Was this translation helpful? Give feedback.
All reactions