Coder Social home page Coder Social logo

ccl-asl's People

Contributors

bochoven avatar

Stargazers

 avatar

Watchers

 avatar  avatar

ccl-asl's Issues

Error: invalid literal for int

What steps will reproduce the problem?
1. Clone current code: git clone https://code.google.com/p/ccl-asl/
2. cd ccl-asl
3. python OSX_asl_login_timeline.py /var/log/asl login.csv

What is the expected output? What do you see instead?
Expected an output file login.csv

instead saw this error:
Reading: "/var/log/asl/2012.08.09.G80.asl"
Traceback (most recent call last):
  File "OSX_asl_login_timeline.py", line 194, in <module>
    __main__()
  File "OSX_asl_login_timeline.py", line 191, in __main__
    __dowork__(work_input, work_output)
  File "OSX_asl_login_timeline.py", line 112, in __dowork__
    for record in db:
  File "/Users/asalamon/Dev/ExternalProjects/ccl-asl/ccl_asldb.py", line 177, in __iter__
    yield self._parse_record(o)
  File "/Users/asalamon/Dev/ExternalProjects/ccl-asl/ccl_asldb.py", line 138, in _parse_record
    facility = self._parse_asl_str(facility_ref)
  File "/Users/asalamon/Dev/ExternalProjects/ccl-asl/ccl_asldb.py", line 115, in _parse_asl_str
    str_len = int(str_bytes[0]) & 0x7F
ValueError: invalid literal for int() with base 10: '\x86'


What version of the product are you using? On what operating system?
Mac OS X 10.7.4
Python 2.7.1
OSX_asl_login_timeline.py  0.1.1
ccl_asldb.py 0.2.1

Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 15 Aug 2012 at 6:12

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.