Skip to content

WARNING: CPU random generator seem to be failing, disabling hardware random number generation #134

@Trung0246

Description

@Trung0246

As I'm having a CPU like https://askubuntu.com/questions/1264439/warning-cpu-random-generator-seem-to-be-failing-disable-hardware-random-number and this is a well known issue so far, is there a way to force the hardware RNG using alternative method for random number generation (due to some reason I cannot apply BIOS patch on my machine).

WARNING: CPU random generator seem to be failing, disabling hardware random number generation
WARNING: RDRND generated: 0xffffffff 0xffffffff 0xffffffff 0xffffffff
Traceback (most recent call last):
  File "runpy.py", line 196, in _run_module_as_main
  File "runpy.py", line 86, in _run_code
  File "C:\Program Files (Portable & CMD)\python\lib\site-packages\photini\__main__.py", line 25, in <module>
    sys.exit(main())
  File "C:\Program Files (Portable & CMD)\python\lib\site-packages\photini\editor.py", line 573, in main
    main = MainWindow(options, args)
  File "C:\Program Files (Portable & CMD)\python\lib\site-packages\photini\editor.py", line 180, in __init__
    full_screen = window_state & int(
TypeError: int() argument must be a string, a bytes-like object or a real number, not 'WindowState'
Exception ignored in atexit callback: <function shutdown at 0x000002674364AEF0>
Traceback (most recent call last):
  File "logging\__init__.py", line 2182, in shutdown
  File "logging\__init__.py", line 1084, in flush
  File "C:\Program Files (Portable & CMD)\python\lib\site-packages\photini\loggerwindow.py", line 61, in flush
    self.flush_text.emit()
RuntimeError: Internal C++ object (StreamProxy) already deleted.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions