Comments (11)
Hello, does this happen when you try to download any entry in any podcast, or just for one particular case? If the latter, could you please post the actual podcast and entry that is misbehaving?
Thanks,
Manolo
from greg.
Hi, The error happens with all podcasts, including the example PhilosophyBites.
I have a dev and prod machine. I upgraded Dev from Wheezy to Jessie, which also upgraded Python to Python 3.4.2. That seems to have fixed the problem.
I still have the issue on prod, hopefully I can upgrade that next week. If that fixes it I'll update and close this.
Cheers,
Mal
from greg.
You could try what happens if you remove the sep= from the function call (just "," remaining between ())
https://github.com/manolomartinez/greg/search?utf8=%E2%9C%93&q=.split%28sep
Those need to be adjusted
from greg.
Sorry, I see now that the error was about split()
taking no keyword arguments. What was your python version, before the upgrade? I thought split()
understood sep
since 3.x, but I might be wrong about that, of course.
EDIT: You did say that your previous python was 3.2.3. Sorry again!
from greg.
Changed inbetween the 3.x line
3.2.x is using the old syntax
Edit: With 3.3.0 it changed
from greg.
Huh, thanks @Narrat. I should say as much in the README, then.
from greg.
Well, the call to split could also be changed. .split(",") is working, no need to explicit call on that (dunno if I missed sth)
from greg.
Hi, I tried changing
160 single_arg = single_arg.translate({32: None}) # eliminates spaces
161 for group in single_arg.split(sep=","):
162 if not("-" in group):
163 list_of_feeds.append(group)
164 else:
165 extremes = group.split(sep="-")
to
single_arg = single_arg.translate({32: None}) # eliminates spaces
for group in single_arg.split(","):
if not("-" in group):
list_of_feeds.append(group)
else:
extremes = group.split("-")
Then I ran "greg check -f PhilosophyBites", which returned a list of episodes, as expected.
But I got the error:
greg $ greg download 1
... something went wrong.Are you sure your last greg check went well?
I tried changing every instance of split(sep="x") to split("x") with the same result.
Cheers.
from greg.
I will look into it, but if it's still a 3.2 / 3.4 thing, and there are many changes to be made, I think it'll be most sensible to be forthcoming about the python versions that greg will work with.
from greg.
Thanks Manolo,
I upgraded my prod machine to Jessie and Python 3.4.2 which has fixed this for me. So I'm going to close this issue.
Greg is doing exactly what I wanted it to do, so thanks for putting it together. And thanks to for the active support.
Cheers.
Mal.
from greg.
Thank you for the kind words, Mal. You have a cool blog, btw :)
from greg.
Related Issues (20)
- tags are applied inconsistenly HOT 1
- Changed behavior of {filename_title} using spaces breaks downloading HOT 4
- Some feeds stopped downloading with v0.4.8 HOT 5
- Feature request: force remove HOT 3
- BUG: Custom date format not working HOT 1
- problems with a few podcasts since uprade from Ubuntu 16.04 to 20.04 HOT 4
- Not all feeds works, ie soundcloud feeds, it seems HOT 9
- 403 errors (uncaught) on all Pinecast-hosted feeds HOT 1
- Install on Rapsberry Pi Raspbian HOT 1
- Remove the license from the configuration file HOT 1
- Does this tool re-download deleted podcast episodes? HOT 1
- Release 0.4.9?
- Tagging subprocess is easy to break
- Add github tag: podcast-downloader
- Python type error with feeds that have bozo errors - bug fix included!!!
- feed sync error: document declared as us-ascii, but parsed as utf-8
- Download using title of spefic podcast HOT 1
- Question: How are previously downloaded podcasts recorded? HOT 8
- Not following 302 redirects HOT 1
- Unable to parse buzzsprout buffer of type audio/mpeg HOT 1
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 greg.