Comments (3)
This will also happen within psort, when attempting to read the timeline data produced by plaso (hot patched dfdatetime to be able to run plaso on the dataset, but when attempting to import into Timesketch I run into this issue again, since that version is not hot patched)
Traceback (most recent call last):
File "/usr/bin/psort.py", line 101, in <module>
if not Main():
File "/usr/bin/psort.py", line 74, in Main
tool.ProcessStorage()
File "/usr/lib/python3/dist-packages/plaso/cli/psort_tool.py", line 522, in ProcessStorage
output_engine.ExportEvents(
File "/usr/lib/python3/dist-packages/plaso/multi_process/output_engine.py", line 490, in ExportEvents
self._ExportEvents(
File "/usr/lib/python3/dist-packages/plaso/multi_process/output_engine.py", line 293, in _ExportEvents
for event in storage_reader.GetSortedEvents(time_range=time_slice_range):
File "/usr/lib/python3/dist-packages/plaso/storage/sqlite/sqlite_file.py", line 405, in _GetAttributeContainersWithFilter
container = self._CreatetAttributeContainerFromRow(
File "/usr/lib/python3/dist-packages/plaso/storage/sqlite/sqlite_file.py", line 337, in _CreatetAttributeContainerFromRow
attribute_value = self._serializer.ReadSerialized(attribute_value)
File "/usr/lib/python3/dist-packages/plaso/serializer/json_serializer.py", line 493, in ReadSerialized
return cls.ReadSerializedDict(json_dict)
File "/usr/lib/python3/dist-packages/plaso/serializer/json_serializer.py", line 517, in ReadSerializedDict
json_object = cls._ConvertJSONToValue(json_dict)
File "/usr/lib/python3/dist-packages/plaso/serializer/json_serializer.py", line 294, in _ConvertJSONToValue
return convert_function(json_dict)
File "/usr/lib/python3/dist-packages/dfdatetime/serializer.py", line 34, in ConvertDictToDateTimeValues
return cls.ConvertJSONToDateTimeValues(json_dict)
File "/usr/lib/python3/dist-packages/dfdatetime/serializer.py", line 178, in ConvertJSONToDateTimeValues
date_time = factory.Factory.NewDateTimeValues(class_name, **json_dict)
File "/usr/lib/python3/dist-packages/dfdatetime/factory.py", line 46, in NewDateTimeValues
return date_time_values_type(**kwargs)
TypeError: __init__() got an unexpected keyword argument 'time_zone_offset'
from dfdatetime.
thx for the report, can you give the changes in the PR a try
from dfdatetime.
works like a charm
from dfdatetime.
Related Issues (20)
- Add support for OLE Automation date (aka Floatingtime or Application Time)
- AppVeyor Python 3.6 tests are failing HOT 1
- Fix failing dfvfs tests HOT 1
- code clean up
- Add CopyFromDatetime to TimeElements
- Add set precision method
- Add CopyToDateTimeStringISO8601 method
- add posix support for milliseconds timestamps HOT 3
- add APFS time support HOT 7
- Consider adding functionality to set date and time elements from ctime string HOT 3
- Formatting dates sometimes returns January zeroth HOT 4
- Add copy from RFC 822 / 1123 / 2822 string functions HOT 1
- Generate date and time values documentation from source
- DelphiDateTime check for maximum supported date time
- Add public GetDateWithTimeOfDay method HOT 1
- set fat_date_time attribute when FatDateTime is set from string
- Add support for Golang binary timestamps
- Add support for Windows ticks
- Add support to parse nanoesecond timestamp formats to GolangTime
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dfdatetime.