Skip to content

Enfugue error in windows 11 #146

@Andru115

Description

@Andru115

I downloaded the application from enfugue.bat and ran enfugue-server.exe and it keeps giving me unhandled exception in script error and webpage wont load

First error:

Failed to execute script 'enfugue' due to unhandled exception:
'Nonetype' object has no attribute 'write'

Traceback (most recent call last):
File "enfugue\util\installation.py", line 79, in check_make_directory
os.makedirs(directory)
File "os.py", line 215, in makedirs
File "os.py", line 215, in makedirs
File "os.py", line 225, in makedirs
FileNotFoundError: [WinError 3] The system cannot find the path specified: 'I:\'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "pibble\api\base.py", line 84, in configure
File "enfugue\api\server.py", line 503, in on_configure
self.check_emergency_password_reset()
File "enfugue\api\server.py", line 524, in check_emergency_password_reset
password_file = os.path.join(self.engine_root, "password_reset.txt")
File "enfugue\api\server.py", line 215, in engine_root
check_make_directory(root)
File "enfugue\util\installation.py", line 83, in check_make_directory
raise IOError(f"Couldn't create directory {directory}: {type(ex).name}({ex})")
OSError: Couldn't create directory I:\AI\Enfuge: FileNotFoundError([WinError 3] The system cannot find the path specified: 'I:\')

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "multiprocessing\process.py", line 314, in _bootstrap
File "pibble\api\server\base.py", line 25, in run
File "enfugue\server.py", line 46, in configure
super(EnfugueSecureServer, self).configure(server=server, **kwargs)
File "enfugue\api\server.py", line 538, in configure
super(EnfugueAPIServerBase, self).configure(rest=EnfugueAPIRESTConfiguration, **configuration)
File "enfugue\interface\server.py", line 157, in configure
super(EnfugueInterfaceServer, self).configure(**configuration)
File "pibble\api\base.py", line 86, in configure
pibble.api.exceptions.ConfigurationError: Couldn't create directory I:\AI\Enfuge: FileNotFoundError([WinError 3] The system cannot find the path specified: 'I:\')

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "enfugue\enfugue.py", line 7, in
multiprocessing.freeze_support() # pyinstaller fix
File "Lib\site-packages\PyInstaller\hooks\rthooks\pyi_rth_multiprocessing.py", line 52, in _freeze_support
File "multiprocessing\spawn.py", line 116, in spawn_main
File "multiprocessing\spawn.py", line 129, in _main
File "multiprocessing\process.py", line 329, in _bootstrap
AttributeError: 'NoneType' object has no attribute 'write'

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