I'm trying to run log2timeline.py which I have packaged in
security:forensics as part of the python-plaso package.
When I try to run it, it immediately fails:
=====
> log2timeline.py
Traceback (most recent call last):
File "/usr/bin/log2timeline.py", line 24, in <module>
from plaso.frontend import log2timeline
ImportError: cannot import name log2timeline
======
It should be giving me a syntax error since it requires arguments, but
its not getting that far in the code.
I've used it in the past, but it may have been a year or more under oS
13.2. This is with LEAP 42.2
It's obviously croaking on line 24. The first 30 lines of log2timeline.py are:
==================================
> head -30 /usr/bin/log2timeline.py
#!/usr/bin/python
# -*- coding: utf-8 -*-
"""The log2timeline command line tool."""
import argparse
import logging
import multiprocessing
import sys
import time
import textwrap
try:
import win32console
except ImportError:
win32console = None
from dfvfs.lib import definitions as dfvfs_definitions
import plaso
from plaso import dependencies
from plaso.cli import extraction_tool
from plaso.cli import tools as cli_tools
from plaso.cli import views as cli_views
from plaso.frontend import log2timeline
from plaso.lib import definitions
from plaso.lib import errors
from plaso.lib import pfilter
=====================================
Thanks for any insight.
Thanks
Greg
--
Greg Freemyer
--
To unsubscribe, e-mail: opensuse-programming+unsubscribe(a)opensuse.org
To contact the owner, e-mail: opensuse-programming+owner(a)opensuse.org