Comments (5)
Full filesystem will mess up your system in many ways. In this case, ananas tries to write the config file but the system won't let it; there's very little that can be done.
from ananas.
Just pushed to master and to pypi a fix for this. Basically what we can do is try to write to a tempfile, then replace the user config with that if it succeeds. That way if the fs is full the write to the tempfile will fail first without touching the user config.
from ananas.
Does this fix work properly if the tempfile is on a different filesystem, like tmpfs?
from ananas.
It should, since the call to replace should fail, but: yes, as a precaution I think it makes sense to write the provisional config update to the same folder as the user config file.
from ananas.
Fixed in 0cc76e7
from ananas.
Related Issues (15)
- Is it possible to support cron divisions? HOT 2
- Urllib3 failure after a few hours running. HOT 6
- configparser removes comments from config files HOT 4
- DEFAULT section ignored after configobj change HOT 1
- Don't kill @interval threads if there's an exception HOT 1
- Handle config.cfg files with no DEFAULT section
- Update PyPI release HOT 1
- TypeError: 'module' object is not callable HOT 3
- Make error reporting configurable HOT 2
- Extra backslashes in readme.md HOT 1
- v1.0.0b18 changes missing from repo HOT 3
- Can't delete keys from config
- History rewritten to remove deadname
- Bot stops running if error reporting fails
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ananas.