Giter Club home page Giter Club logo

pyad1's People

Contributors

pcbje avatar

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pyad1's Issues

README.md, Usage script, TypeError

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

no module pyad1.writer

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

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

pyad1 - Conda or pip package

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?

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.