Comments (6)
Could you send me the log? And which file you experienced this for?
Those lines should definitely be removed.
from subcleaner.
Looked into it some more. It appears to be a permissions issue where the files Bazarr grabs are missing the write permissions. Running the command after adding those permissions (0666) works to remove those lines.
Issue remains with Bazarr that it is apparently ignoring the Permission (chmod) setting and not setting everything it grabs to 0666 as set.
Maybe the subcleaner can also 'clean' the permissions? :)
from subcleaner.
While I could change permissions on a file with python its not possible to do so without the correct permissions in the first place.
Sorry.
from subcleaner.
I added a hacky routine to the start of the script which is working so far.
if '-h' not in sys.argv[1]:
os.chmod(sys.argv[1], 0o666)
Since the Bazarr docker is already root it has all the permissions necessary in this case.
from subcleaner.
Errr, OK. Strange root doesn't have write permissions.
But if it works, it works
from subcleaner.
Yeah good point... makes less sense to me now.
So root can write any permissions but still honors them...? Something definitely doesn't add up there.
from subcleaner.
Related Issues (20)
- IndexError: list index out of range HOT 8
- Problematic SRT files HOT 9
- Inconsistent removal of ads with same text, even within same file HOT 6
- Issue with regex (i think)
- Fatal error in manual excecution
- ".." breaks script HOT 2
- Need to be a bit more strict HOT 5
- support a --backup option HOT 5
- False Positives HOT 10
- Provide an option to remove id #s X, Y, Z HOT 2
- Issue with --end-report
- Tons of false positives on Catastrophe S01E04 HOT 3
- False Positive on Season X Episode X HOT 2
- Avoid detecting "lyrics" HOT 3
- Opportunity to add groups HOT 1
- How add regex profile for hi type subs HOT 8
- AttributeError: 'NoneType' object has no attribute 'replace' HOT 2
- Many false positives HOT 2
- Invalid Start Byte HOT 6
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 subcleaner.