pcbje / pyad1 Goto Github PK
View Code? Open in Web Editor NEWPython library for parsing AccessData AD1 images
License: Apache License 2.0
Python library for parsing AccessData AD1 images
License: Apache License 2.0
Hi, i started the usage script, and got this error:
Traceback (most recent call last):
File "demo.py", line 15, in
with open(os.path.join(output_folder, filename), 'wb') as out:
File "/usr/lib/python3.7/posixpath.py", line 94, in join
genericpath._check_arg_types('join', a, *p)
File "/usr/lib/python3.7/genericpath.py", line 151, in _check_arg_types
raise TypeError("Can't mix strings and bytes in path components") from None
TypeError: Can't mix strings and bytes in path components
My proposal is in this line:
with open(os.path.join(output_folder, filename.decode()), 'wb') as out:
Thanks, kaci
Getting an ImportError for No module named writer
Line 254 and line 232 both have calls to loader.py under unittest. Those modules are installed and import successfully from IDE.
If is a csv file in the ad1 directory (FTK Imager create file list in csv format, in the same dir), i get this error:
Traceback (most recent call last):
File "demo.py", line 7, in
with pyad1.reader.AD1Reader(sys.argv[1]) as ad1:
File "/usr/lib/python3.7/site-packages/pyad1-0.1-py3.7.egg/pyad1/reader.py", line 19, in init
File "/usr/lib/python3.7/site-packages/pyad1-0.1-py3.7.egg/pyad1/reader.py", line 83, in _Glob
ValueError: invalid literal for int() with base 10: '1.csv'
In reader.py, 80. line:
if ad_path.endswith('.txt'):
replace it with this:
if ad_path.endswith('.txt', '.csv'):
Thanks, kaci
When a file size exceeds 2GB the read() method throws an overflow exception
I really like your pyad1 library. But its a bit tedious to install.
So i wonder if there is a reason why there is no Anaconda or pip package.
Simply lack of time? Do you need help?
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.