danielfullmer / nzbfs Goto Github PK
View Code? Open in Web Editor NEWNZB Filesystem using FUSE/Python
NZB Filesystem using FUSE/Python
I'm trying to use the auto-extract feature of nzbfs, but I receive the following error.
Traceback (most recent call last):
File "/usr/local/bin/nzbfs-extract-rars", line 11, in
extract_rars_in_dir(sys.argv[1])
File "/usr/local/lib/python2.7/dist-packages/nzbfs/tools.py", line 114, in extract_rars_in_dir
extract_rar(dirpath, rar_filenames)
File "/usr/local/lib/python2.7/dist-packages/nzbfs/tools.py", line 43, in extract_rar
'%s/%s-raw' % (dirpath, rar_filename))
File "/usr/local/lib/python2.7/dist-packages/nzbfs/files.py", line 452, in load_nzbfs_file
data = zlib.decompress(compressed_data)
zlib.error: Error -3 while decompressing data: unknown compression method
I have the following zlib packages installed.
ii zlib1g:amd64 1:1.2.8.dfsg-1ubuntu1 amd64 compression library - runtime
ii zlib1g-dev:amd64 1:1.2.8.dfsg-1ubuntu1 amd64 compression library - development
Any help would be hugely appreciated. Thank you for the really useful software!
Either:
Specifically, I would really like to have an on-disk cache that is given a particular amount of space it can use, while rotating out old cache entries if they haven't been used for a while.
Sometimes, some thread decides to use up as much CPU as possible. This is probably due to livelock in in the complicated locking system I'm using.
Instead of using pickle to serialize file information, use protocol buffers.
Instead of doing nzb and rar "extraction" within the nzbfs.py process, we could separate those tasks into their own scripts. We'd let nzbfs trigger another script whenever a .nzb file is closed. That script would then parse, create a subdir, and write out protobuf files for each file in the nzb. It could then forward that along to another script for rar extraction, which would work similarly.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.