|
|
wangshub / alfred-hackernews Goto Github PK
View Code? Open in Web Editor NEW๐ A workable Hacker News alfred workflow by Python.
License: MIT License
๐ A workable Hacker News alfred workflow by Python.
License: MIT License
This seems to be a useful workflow to read hackernews in our own Alfred.
However, there seems to be a little issue here.
There is encoding issue with this app.
The debug log is given below:
[20:07:35.404] ERROR: hacker-news[Script Filter] Code 1: 20:07:35 workflow.py:2249 DEBUG ---------- hacker-news ----------
20:07:35 workflow.py:1884 DEBUG loading cached data: /Users/poudel/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/com.github.wangshub/posts.cpickle
20:07:35 workflow.py:2266 ERROR 'ascii' codec can't encode character u'\u2032' in position 31: ordinal not in range(128)
Traceback (most recent call last):
File "/Users/poudel/Dropbox/Alfred.alfredpreferences/workflows/user.workflow.C10A30F3-223A-4F50-8073-E66598B27204/workflow/workflow.py", line 2259, in run
func(self)
File "hn.py", line 55, in main
url=post['url']
UnicodeEncodeError: 'ascii' codec can't encode character u'\u2032' in position 31: ordinal not in range(128)
20:07:35 workflow.py:2289 DEBUG ---------- finished in 0.009s ----------
Have anyone faced a similar issue?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.