Git Product home page Git Product logo

traffic_analyser's People

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar

traffic_analyser's Issues

gzip exit error

  File "<stdin>", line 1854, in main
  File "<stdin>", line 792, in grab_log_data
  File "<stdin>", line 957, in get_data_from_logs
AttributeError: GzipFile instance has no attribute '__exit__'

Need to investigate this further, but it seems with statement doesn't work with gzip in python 2.6.

Bug: Unicode headers prevent script from running

Hey.

We regularly get issues with the traffic analyser not running on device with errors similar to:

Traceback (most recent call last):
  File "<stdin>", line 1885, in <module>
  File "<stdin>", line 1854, in main
  File "<stdin>", line 1652, in print_main_header
UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-10: ordinal not in range(128)

A very simple solution of emptying the headers works. Eg:

class Title(object):
    line = u''
    traffic_analyser = u''
    log_info = u''
    log_result = u''
    general_info = u''

Ill look into more appropriate fix when I get a chance.

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.