Giter Site home page Giter Site logo

gribbit's Introduction

gribbit's People

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

gribbit's Issues

Exception getting terminal width when SSH session closing

2011-10-28 18:09:44,268 - gribbit.handler - INFO - Signal handler called, signum 1
2011-10-28 18:09:44,289 - gribbit - INFO - Got signal 1
2011-10-28 18:09:44,289 - gribbit - INFO - Reloading config file
2011-10-28 18:09:44,334 - gribbit - INFO - Parsed config from gribbit.cfg
2011-10-28 18:09:44,335 - gribbit - INFO - Set options.log_debug to False
2011-10-28 18:09:44,337 - gribbit - INFO - Automatic wrap width, getting terminal size
2011-10-28 18:09:44,355 - gribbit - CRITICAL - Uncaught exception
Traceback (most recent call last):
File "./gribbit", line 287, in main
load_config(logger)
File "./gribbit", line 166, in load_config
apply_config(cfg, logger)
File "./gribbit", line 147, in apply_config
options["text_wrap"] = get_wrap_width(cfg.get(section, option), logger)
File "./gribbit", line 89, in get_wrap_width
width, height = get_terminal_size()
File "./gribbit", line 70, in get_terminal_size
cr[0] = os.environ.get("LINES", "25")
TypeError: 'NoneType' object does not support item assignment

Migrate to Tweepy 2.0

Update to tweepy 2.0 - Twitter has deprecated API 1.0 and it will stop working in early March.

Improve word wrap

  • offer config option (default to auto)

For auto, need to find terminal width

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.