Comments (10)
Original comment by Matt Chaput (Bitbucket: mchaput, GitHub: mchaput).
Fixed a code path where the temp dir would not be deleted in Whoosh 1.5.4.
from whoosh.
Original comment by Matt Chaput (Bitbucket: mchaput, GitHub: mchaput).
Fixed at least one code path where the temp dir wouldn't be deleted. See issue #48.
from whoosh.
Original comment by Matt Chaput (Bitbucket: mchaput, GitHub: mchaput).
OK, I'm seeing the problem. It doesn't happen all the time, but at least a few of the tests cause it, so I should be able to track it down. Thanks!
from whoosh.
Original comment by Matt Chaput (Bitbucket: mchaput, GitHub: mchaput).
I think this should be fixed now.
from whoosh.
Original comment by adventclad (Bitbucket: adventclad, GitHub: Unknown).
My tmp dir is still filled with empty tmp*.whoosh directory with version 1,4,1
from whoosh.
Original comment by Matt Chaput (Bitbucket: mchaput, GitHub: mchaput).
Fixed in <>
from whoosh.
Original comment by Gregor Müllegger (Bitbucket: gregmuellegger, GitHub: gregmuellegger).
Yep, the same here. I will add a pull request. I have fixed this issue in my fork by deleting the temporary directory in the cleanup()
method of TempfilePool
.
from whoosh.
Original comment by Collin Anderson (Bitbucket: collinmanderson, GitHub: Unknown).
I think I'm having the same problem:
OSError: [Errno 31] Too many links: '/tmp/tmp1aHowj.whoosh'}}}
{{{OSError: [Errno 31] Too many links: '/tmp/tmp1aHowj.whoosh'
My /tmp/ directory had over 31000 files in it. I had it get it down to about 5000 before I could run rm -rf tmp*.whoosh
.
from whoosh.
Original comment by Anonymous.
#!python
def __del__(self):
os.removedirs(self.dir)
from whoosh.
Original comment by Anonymous.
To quickly correct this bug, I added those 2 lines in : pools.py : 144 :
def del(self):
os.removedirs(self.dir)
Without it, my /tmp folder was crawded and whoosh raised an error because it can't create temp folder.
from whoosh.
Related Issues (20)
- Resolved: help changing operators HOT 7
- LockError on Windows HOT 1
- Please help Matt sync up the repos HOT 6
- Not possible to boost word adjacency in search results
- Current state of this project HOT 10
- Please do a release HOT 1
- Filtering Raising AttributeError only sometimes HOT 1
- can we have proximity within strict phrases?
- is literal HOT 1
- Invalid repo referenced in readme HOT 2
- TimeLimitCollector breaks filter of underlying FilterCollector
- 2.7.4: sphinx errors HOT 3
- 2.7.4: pytest error and warnings HOT 1
- 2.7.4: sphinx warnings `reference target not found`
- NestedParent query missing valid result
- NestedParent query is missing valid results HOT 1
- is there a way to add custom variations?
- <Schema: ['content']> is not a Schema
- Is AsyncWriter reliable to use?
- Sphinx: error: Invalid type
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 whoosh.