question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Failure during test: 'pytsk3.TSK_FS_INFO' object has no attribute 'ftype'

See original GitHub issue

Hello,

The package dfvfs fails to build in Debian during the tests with the error:

  File "./dfvfs/vfs/tsk_file_entry.py", line 454, in __init__
    self._file_system_type = tsk_file.info.fs_info.ftype
AttributeError: 'pytsk3.TSK_FS_INFO' object has no attribute 'ftype'

It has been reported in Debian (with full log): https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=971149

The dfvfs build fails in version 20190128 currently in Debian and also in more recent version 20211219. I supposed it is related to pytsk (currently we have version 20200117 in Debian). Thanks

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:15 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
joachimmetzcommented, Jan 26, 2021

@sbrun I’ll continue traking this issue in https://github.com/py4n6/pytsk/issues/71, seeing this is not a dfVFS issue but a pytsk/libtsk one

0reactions
joachimmetzcommented, Jan 26, 2021

From another pytsk3.c of a libtsk 4.10.1 build:

Struct TSK_FS_INFO:
    int : tag


    Enum TSK_FS_INFO_FLAG_ENUM:
    TSK_FS_INFO_FLAG_NONE
    TSK_FS_INFO_FLAG_HAVE_SEQ
    TSK_FS_INFO_FLAG_HAVE_NANOSEC
    TSK_FS_INFO_FLAG_ENCRYPTED

    Enum TSK_FS_ISTAT_FLAG_ENUM:
    TSK_FS_ISTAT_NONE
    TSK_FS_ISTAT_RUNLIST

So looks like this is an issue as of libtsk 4.8.0

Read more comments on GitHub >

github_iconTop Results From Across the Web

DNNClassifier: 'DataFrame' object has no attribute 'dtype'
Even though I converted the datatype of each column to float32, I keeo getting the 'DataFrame' object has no attribute 'dtype' Error.
Read more >
971149 - dfvfs: FTBFS: AttributeError: 'pytsk3.TSK_FS_INFO ...
TSK_FS_INFO' object has no attribute 'ftype' ... During a rebuild of all packages in sid, your package failed to build on amd64.
Read more >
BUG: AttributeError: type object 'object' has no attribute 'dtype ...
Found the same issue this morning due to some CI tests failing. Python==3.8.2 and pandas==1.0.1. CI tests ran again successfully after bumping ......
Read more >
AttributeError: 'DataFrame' object has no attribute 'dtype' when ...
Hi Guys, I received the following error when implementing extension of imputer. I wanted to implement extension to Imputation to replace missing value...
Read more >
tsk/fs/tsk_fs.h · master · Tobias Groß / Sleuthkit Ext4 FBE - GitLab
has only a single attribute that stores the file content. ... Check attr_state to determine if data in here is valid because not...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found