Open guaguaguaxia opened 9 months ago
PS C:\python311\lib\site-packages\rdbtools\cli> python rdb.py -c memory C:\Users\guagu\Desktop\redis_rdb\hins25205082_data_20231208042425.rdb --bytes 128 -f memory.csv Traceback (most recent call last): File "C:\python311\lib\site-packages\rdbtools\cli\rdb.py", line 112, in main() File "C:\python311\lib\site-packages\rdbtools\cli\rdb.py", line 106, in main parser.parse(options.dump_file[0]) File "C:\Python311\Lib\site-packages\rdbtools\parser.py", line 394, in parse self.parse_fd(open(filename, "rb")) File "C:\Python311\Lib\site-packages\rdbtools\parser.py", line 411, in parse_fd self._expiry = read_milliseconds_time(f) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Python311\Lib\site-packages\rdbtools\parser.py", line 1104, in read_milliseconds_time return to_datetime(read_unsigned_long(f) * 1000) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Python311\Lib\site-packages\rdbtools\parser.py", line 1067, in to_datetime dt = datetime.datetime.utcfromtimestamp(seconds_since_epoch) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ OSError: [Errno 22] Invalid argument
I had this problem use this command.please help me
您好,我已收到您的邮件,谢谢!!~~
PS C:\python311\lib\site-packages\rdbtools\cli> python rdb.py -c memory C:\Users\guagu\Desktop\redis_rdb\hins25205082_data_20231208042425.rdb --bytes 128 -f memory.csv Traceback (most recent call last): File "C:\python311\lib\site-packages\rdbtools\cli\rdb.py", line 112, in
main()
File "C:\python311\lib\site-packages\rdbtools\cli\rdb.py", line 106, in main
parser.parse(options.dump_file[0])
File "C:\Python311\Lib\site-packages\rdbtools\parser.py", line 394, in parse
self.parse_fd(open(filename, "rb"))
File "C:\Python311\Lib\site-packages\rdbtools\parser.py", line 411, in parse_fd
self._expiry = read_milliseconds_time(f)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Python311\Lib\site-packages\rdbtools\parser.py", line 1104, in read_milliseconds_time
return to_datetime(read_unsigned_long(f) * 1000)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Python311\Lib\site-packages\rdbtools\parser.py", line 1067, in to_datetime
dt = datetime.datetime.utcfromtimestamp(seconds_since_epoch)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
OSError: [Errno 22] Invalid argument
I had this problem use this command.please help me