bochoven / ccl-asl Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/ccl-asl
Automatically exported from code.google.com/p/ccl-asl
do a lower case check for record.key_value_dict. Without the case-insensitive
check ALL the records are skipped because the actual values from the asl files
have 'com.apple.powermanagement.Sleep' etc.
Original issue reported on code.google.com by [email protected]
on 14 Nov 2013 at 9:20
Attachments:
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.