Score:0

Os error read only file system /tmp

be flag

I got this error when running saving a website screenshot with python html2image module.

Traceback (most recent call last):
  File "/data/data/com.termux/files/home/url2img&crop.py", line 3, in <module>
    hti = Html2Image()
  File "/data/data/com.termux/files/usr/lib/python3.9/site-packages/html2image/html2image.py", line 81, in __init__
    self.temp_path = temp_path
  File "/data/data/com.termux/files/usr/lib/python3.9/site-packages/html2image/html2image.py", line 102, in temp_path
    os.makedirs(temp_dir, exist_ok=True)
  File "/data/data/com.termux/files/usr/lib/python3.9/os.py", line 215, in makedirs
    makedirs(head, exist_ok=exist_ok)
  File "/data/data/com.termux/files/usr/lib/python3.9/os.py", line 225, in makedirs
    mkdir(name, mode)
OSError: [Errno 30] Read-only file system: '/tmp'
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.