[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-discuss] ARM: timedelta # of days is too large: 1000000000
From: |
Nerijus Baliunas |
Subject: |
[Qemu-discuss] ARM: timedelta # of days is too large: 1000000000 |
Date: |
Mon, 2 Jul 2018 15:27:48 +0300 |
Hello,
when running virt-2.9 machine with /usr/bin/qemu-system-arm on Fedora 28,
I get this on F28 arm VM:
# dnf update
Traceback (most recent call last):
File "/usr/bin/dnf", line 57, in <module>
from dnf.cli import main
File "/usr/lib/python3.6/site-packages/dnf/__init__.py", line 23, in <module>
import dnf.exceptions
File "/usr/lib/python3.6/site-packages/dnf/exceptions.py", line 21, in
<module>
from dnf.i18n import ucd
File "/usr/lib/python3.6/site-packages/dnf/i18n.py", line 22, in <module>
from dnf.pycomp import unicode
File "/usr/lib/python3.6/site-packages/dnf/pycomp.py", line 24, in <module>
import email.mime.text
File "/usr/lib/python3.6/email/mime/text.py", line 10, in <module>
from email.mime.nonmultipart import MIMENonMultipart
File "/usr/lib/python3.6/email/mime/nonmultipart.py", line 10, in <module>
from email.mime.base import MIMEBase
File "/usr/lib/python3.6/email/mime/base.py", line 9, in <module>
import email.policy
File "/usr/lib/python3.6/email/policy.py", line 6, in <module>
from email._policybase import Policy, Compat32, compat32, _extend_docstrings
File "/usr/lib/python3.6/email/_policybase.py", line 9, in <module>
from email.utils import _has_surrogates
File "/usr/lib/python3.6/email/utils.py", line 30, in <module>
import datetime
File "/usr/lib/python3.6/datetime.py", line 655, in <module>
microseconds=999999)
File "/usr/lib/python3.6/datetime.py", line 447, in __new__
raise OverflowError("timedelta # of days is too large: %d" % d)
OverflowError: timedelta # of days is too large: 1000000000
I found in https://github.com/CopterExpress/clever/issues/21 that it is
"error between Python and C type conversion on use qemu-static interpreter. The
number 999999999 is rounded to 1000000000."
Regards,
Nerijus
- [Qemu-discuss] ARM: timedelta # of days is too large: 1000000000,
Nerijus Baliunas <=