Coder Social home page Coder Social logo

alfred-npmjs's Introduction

Twitter 知乎 微博 微信

a Developer.

  • 🎨 Blog https://www.rustc.cloud/
  • 🏗 Focus on
    • AI Developer, RAG, LLMs
    • Python(AI/Security/Quant), Node.js
    • React, Front-end frameworks
  • 📫 Ping me by Email

alfred-npmjs's People

Contributors

dependabot[bot] avatar ycjcl868 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

alfred-npmjs's Issues

'NoneType' object has no attribute 'read'

Starting debug for 'NpmSearch'

[2018-03-26 21:02:16][ERROR: input.scriptfilter] Code 1: 21:02:16 workflow.py:2249 DEBUG    workflow version: 1.0.2
21:02:16 workflow.py:2462 DEBUG    update_data: None
21:02:16 workflow.py:2267 ERROR    'NoneType' object has no attribute 'read'
Traceback (most recent call last):
  File "/Users/racan/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.32269DE4-9B2C-4C9A-9A6D-92B6E98E2ED3/workflow/workflow.py", line 2260, in run
    func(self)
  File "npm_workflow.py", line 63, in main
    data = wf.cached_data(query, functools.partial(queryPackage, query), max_age=MAX_AGE)
  File "/Users/racan/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.32269DE4-9B2C-4C9A-9A6D-92B6E98E2ED3/workflow/workflow.py", line 1890, in cached_data
    data = data_func()
  File "npm_workflow.py", line 50, in queryPackage
    return web.get(url).json()
  File "/Users/racan/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.32269DE4-9B2C-4C9A-9A6D-92B6E98E2ED3/workflow/web.py", line 271, in json
    return json.loads(self.content, self.encoding or 'utf-8')
  File "/Users/racan/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.32269DE4-9B2C-4C9A-9A6D-92B6E98E2ED3/workflow/web.py", line 302, in content
    self._content = self.raw.read()
AttributeError: 'NoneType' object has no attribute 'read'
21:02:16 workflow.py:2290 DEBUG    workflow finished in 0.379 seconds

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.