Comments (6)
hm, strange. you provide it with the argument "File.en.srt" but it tries to read "Files.en.srt"? this shouldn't be possible. Will investigate.
Also I downloaded the file and #ItWorksOnMyMachine. Could you try to copy the content to another file and see if the issue persist?
from subcleaner.
Sorry, it was a silly rename issue; originally it has a movie name; but I renamed it to "Files.en.srt" for obvious reason (don't want to share the full movie names here hehe.
I did try to rename the file, unfortunately, same error.
I have attached the original srt files + bash script history here.
Script and srt files.zip
from subcleaner.
ok, I see, no problem. It looks like it has something to do with the encoding of the file. I will try to investigate it. have other files worked?
from subcleaner.
If the file have been encoded incorrectly and the uploaded to the site then scripts that are a bit less robustly such as this one could have issues reading the files. try to create a new file and copy the text from the old file into the new file. sometimes this helps.
from subcleaner.
Yep, looking at the file more carefully it has been encoding using "Windows-1252" instead of something more standard like UTF-8 or ASCII.
This is why subcleaner fail to open the file. I've added to the script that it tries to open with that encoding as well before giving up. so If you update the script it should work.
from subcleaner.
Thank you, this fixed my issue
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
- Not removing ads? HOT 6
- 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
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.