Giter VIP home page Giter VIP logo

alfred-hackernews's Introduction

Hi there ๐Ÿ‘‹, I'm Wangshub

wangshub

alfred-hackernews's People

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

penn201500

alfred-hackernews's Issues

UnicodeEncodeError

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.