Comments (4)
Which file is that line in? It seems not the code in our program.
Are you using the latest script in this repository?
from edx-dl.
I downloaded the most recent code today.
Traceback (most recent call last):
File "edx-dl.py", line 387, in
main()
File "edx-dl.py", line 235, in main
print('%d - %s -> %s' % (c, course[0], course[2]))
File "/usr/lib/python2.7/codecs.py", line 351, in write
data, consumed = self.encode(object, self.errors)
UnicodeEncodeError: 'ascii' codec can't encode character u'\u2014' in
position 39: ordinal not in range(128)
--Len Berman
Chief Entertainment Officer Out to Pasture
Enterpriseshttp://www.outtopastureenterprises.com
Blog http://outtopastureenterprises.blogspot.com/
On Thu, Dec 12, 2013 at 3:33 PM, George Monkey [email protected]:
Which file is that line in? It seems not the code in our program.
Are you using the latest script in this repository?—
Reply to this email directly or view it on GitHubhttps://github.com//issues/51#issuecomment-30459038
.
from edx-dl.
yeah - i had a similar problem on windows 7 using python 2.7 - but i used lxml as a parser and replaced the offending line with the following and all seems to work:
print('%d - %s -> %s' % (c, course[0], course[2])) ==> print('%d - %r -> %s' % (c, course[0], course[2]))
from edx-dl.
Thank you, @lenberman . It is a great fix, but python3 seems not supporting this. I have added a temporary solution for it as above.
from edx-dl.
Related Issues (20)
- No downloadable video found HOT 6
- no downloable video edx-dl HOT 6
- Edx http error 403: Forbidden HOT 9
- edx-dl : No downloadable video found HOT 7
- Edx-dl issue HOT 1
- Returns Wrong Email or Password HOT 1
- MITxPro no longer supported by -x mitxpro
- Project still maintened?
- How to download edx courses in audit?? HOT 2
- Still getting 0 courses available HOT 5
- del
- Alternative edx downloader project HOT 1
- Edx-dl is not working: "You can access 0 courses" HOT 16
- error in the program HOT 1
- Did edx-dl end its support? HOT 2
- Out of date login HOT 2
- "You can access 0 courses" HOT 5
- SSL: CERTIFICATE_VERIFY_FAILED HOT 1
- 400 error HOT 2
- AttributeError: 'HTMLParser' object has no attribute 'unescape' HOT 3
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 edx-dl.