question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

OpenError: IO error: ./tmp/database: Invalid argument

See original GitHub issue

I use level in a docker container and it worked quite well, but the last days I get an error: (node:16) UnhandledPromiseRejectionWarning: OpenError: IO error: ./tmp/database: Invalid argument at /block/node_modules/levelup/lib/levelup.js:87:23

The folder and files for the database are created. When I change the location to ./database it works, but no more with a location in a subfolder.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
cre8commented, Dec 18, 2018

@ralphtheninja I found a solution, but I can’t remember the fixes I made to fix it…

1reaction
vweeverscommented, Jul 24, 2018

OK. Well if anything, --build-from-source will prevent segfaults to that’s one thing out of the way.

At a quick glance, your setup looks good otherwise. Will need more time to investigate.

Read more comments on GitHub >

github_iconTop Results From Across the Web

IOError: [Errno 22] Invalid argument with url - Stack Overflow
According to the doc, the io.open function only reads a local file given a file path. Considering you're trying to read from a...
Read more >
"Invalid argument." – SQLServerCentral Forums
I'm trying to update an Access table from SQL through a Linked Server. This is part of an import to SQL process. This...
Read more >
fatal IO error 22 (Invalid argument) on X server ":0" - Ask Ubuntu
For context, I'm running a 5120x1440 monitor, and my error was triggered by trying to create a matplotlib plot in Python.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found