Comments (4)
I'm sorry, but unfortunately I was unable to recreate your issue. However, I am on an M1 MacBook with the current version of Ventura (13.4.1), as well as using Python 3.11, so maybe that has to do with it.
from anipy-cli.
Did some tests on the config folder.
Test 1 - deleted the whole config folder:
- anipy-cli created anipy-cli and config.yaml and filled it with necessary configs.
Test 2 - deleted config.yaml:
- anipy-cli created config.yaml and filled it with necessary configs.
Test 3 - empty config.yaml:
- error occurs
result:
I somehow got an empty config.yaml (i blame Sonoma being a lil' shit and causing bugs).
[Feature Request]
- check config.yaml if empty and fill it with default values if it is empty.
from anipy-cli.
@DragonOfShuu I think the issue lies here in this commit. You removed the line where it initializes the conf to {} if it is None (empty)
from anipy-cli.
@hakushiii , thank you for the tests, it has made the problem far clearer. @sdaqo , thanks lol, I wasn't aware that yaml.safe_load(conf)
could return straight up None
if it couldn't find anything in the configuration file. I'm putting together a fix right now.
from anipy-cli.
Related Issues (20)
- Cleaner Documention HOT 3
- [Errno -2] Name or service not known HOT 11
- [Suggestions] Episode numbering for sub-10, and extra config to define show_name separators HOT 3
- Choosing quality not working HOT 6
- Typo in a comment in the config file HOT 2
- anipy-cli: error: requested url not available/blocked: https://gogoanime.gg//search.html?keyword=konosuba: response-code: 522 HOT 1
- An Anime with a period (.) in the title causes issues when Downloading. HOT 2
- Is is possible to modify the way files are downloaded? HOT 13
- Streams take way longer to open with anipy-cli v3.0.3 (up to 1 min) compared to v2.7.31 (instant) HOT 5
- When trying to play from history it throws an error HOT 8
- [Request] Publish a nixpkgs package of anpy-cli HOT 9
- [Feature Request] Add "Select from history" to the main menu while playing an episode HOT 2
- [Feature Request] Add "quit-watch-later" to the main menu HOT 4
- [Feature Request] Add "Add to seasonals" to the main menu HOT 3
- gogoanime url listed as yugenanime.tv in 3.1 documentation HOT 3
- [Feature Request] Change "Add to seasonals" feature so that LocalList gets updated before writing
- [Feature Request] Change "Select from history" feature so that ctrl+z gets you back the the main menu of the currently running stream HOT 2
- [Feature Request] Improve the search feature HOT 3
- [Feature Request] Add "Change quality" feature in main menu HOT 2
- Invalid Format for Directories HOT 7
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 anipy-cli.