wagga40 / Zircolite

A standalone SIGMA-based detection tool for EVTX, Auditd and Sysmon for Linux logs
677 stars 91 forks source link

zircolite V3 windows problem #95

Open MyraBaba opened 1 day ago

MyraBaba commented 1 day ago

Hi,

V3 zircolite_dev.py working fast and without problem in linux and mac. But in windows we have many strange errors which master zircolite_dev.py working smootly.

PS: first run worked , dont know how but but after that 3 of our windows machine gives same error for V3 dev.py I suspect multiprocessing and accessing to sqlite is problematic in windowsOS

[+] Extracting events using 'tmp-I9YY5SPV' directory 100%|██████████████████████████████████████████████████████████████████████████████████| 89/89 [00:05<00:00, 15.26it/s] [+] Processing events and applying 0 rules 0%| | 0/89 [00:00<?, ?it/s] [-] unable to open database file [-] No connection to Db [-] Unable to create table [-] unable to open database file [-] No connection to Db [-] Unable to create table [-] unable to open database file [-] No connection to Db [-] Unable to create table [-] unable to open database file [-] No connection to Db [-] Unable to create table [-] unable to open database file [-] No connection to Db [-] Unable to create table [-] unable to open database file [-] No connection to Db [-] Unable to create table [-] unable to open database file [-] No connection to Db [-] Unable to create table [-] unable to open database file [-] No connection to Db [-] Unable to create table [-] unable to open database file [-] No connection to Db [-] Unable to create table [-] unable to open database file [-] No connection to Db [-] Unable to create table [-] unable to open database file [-] No connection to Db [-] Unable to create table Traceback (most recent call last): File "", line 1, in Process SpawnPoolWorker-10: Traceback (most recent call last): File "", line 1, in File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\multiprocessing\spawn.py", line 116, in spawn_main File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64__qbz5n2kfra8p0\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\multiprocessing\spawn.py", line 125, in _main Process SpawnPoolWorker-1: exitcode = _main(fd, parent_sentinel) File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\multiprocessing\spawn.py", line 125, in _main prepare(preparation_data) File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\multiprocessing\spawn.py", line 236, in prepare Traceback (most recent call last): _fixup_main_from_path(data['init_main_from_path']) File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\multiprocessing\spawn.py", line 287, in _fixup_main_from_path main_content = runpy.run_path(main_path, File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64__qbz5n2kfra8p0\lib\runpy.py", line 288, in run_path File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() prepare(preparation_data) Traceback (most recent call last): File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64__qbz5n2kfra8p0\lib\multiprocessing\spawn.py", line 236, in prepare return _run_module_code(code, init_globals, run_name, File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\runpy.py", line 97, in _run_module_code _fixup_main_from_path(data['init_main_from_path']) File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\multiprocessing\spawn.py", line 287, in _fixup_main_from_path main_content = runpy.run_path(main_path, File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64__qbz5n2kfra8p0\lib\runpy.py", line 288, in run_path File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() _run_code(code, mod_globals, init_globals, File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\runpy.py", line 87, in _run_code File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, *self._kwargs) return _run_module_code(code, init_globals, run_name, File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64__qbz5n2kfra8p0\lib\runpy.py", line 97, in _run_module_code File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64__qbz5n2kfra8p0\lib\multiprocessing\pool.py", line 125, in worker result = (True, func(args, kwds)) File "C:\PURE7\ZircoliteV3\zircolieOrg_dev.py", line 1251, in runner_wrapper return runner(args) File "C:\PURE7\ZircoliteV3\zircolieOrg_dev.py", line 1215, in runner flattener.run([file]) File "C:\PURE7\ZircoliteV3\zircolieOrg_dev.py", line 367, in run results = self.process_file(evtxJSON) File "C:\PURE7\ZircoliteV3\zircolieOrg_dev.py", line 349, in process_file timestamp = time.strptime(JSONLine[self.timeField].split(".")[0].replace("Z",""), '%Y-%m-%dT%H:%M:%S') File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib_strptime.py", line 562, in _strptime_time tt = _strptime(data_string, format)[0] File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib_strptime.py", line 347, in _strptime found = format_regex.match(data_string) KeyboardInterrupt File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64__qbz5n2kfra8p0\lib\multiprocessing\pool.py", line 125, in worker result = (True, func(args, kwds)) File "C:\PURE7\ZircoliteV3\zircolieOrg_dev.py", line 1251, in runner_wrapper return runner(*args) File "C:\PURE7\ZircoliteV3\zircolieOrg_dev.py", line 1215, in runner flattener.run([file]) File "C:\PURE7\ZircoliteV3\zircolieOrg_dev.py", line 367, in run results = self.process_file(evtxJSON) exec(code, run_globals) _run_code(code, mod_globals, init_globals, File "C:\PURE7\ZircoliteV3\zircolieOrg_dev.py", line 343, in process_file flatten(dictToFlatten) File "C:\PURE7\ZircoliteV3\zircolieOrg_dev.py", line 243, in flatten flatten(x[a], name + a + '.') File "C:\PURE7\ZircoliteV3\zircolieOrg_dev.py", line 243, in flatten flatten(x[a], name + a + '.') File "C:\PURE7\ZircoliteV3\zircolieOrg_dev.py", line 243, in flatten flatten(x[a], name + a + '.') File "C:\PURE7\ZircoliteV3\zircolieOrg_dev.py", line 261, in flatten key = ''.join(e for e in rawFieldName.split(".")[-1] if e.isalnum()) File "C:\PURE7\ZircoliteV3\zircolieOrg_dev.py", line 51, in File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\runpy.py", line 87, in _run_code KeyboardInterrupt from sigma.plugins import InstalledSigmaPlugins File "C:\PURE7\ZircoliteV3\venvZircoV3\lib\site-packages\sigma\plugins.py", line 15, in exec(code, run_globals) File "C:\PURE7\ZircoliteV3\zircolieOrg_dev.py", line 58, in from packaging.specifiers import Specifier File "C:\PURE7\ZircoliteV3\venvZircoV3\lib\site-packages\packaging\specifiers.py", line 99, in from evtx import PyEvtxParser File "", line 1007, in _find_and_load class Specifier(BaseSpecifier): File "C:\PURE7\ZircoliteV3\venvZircoV3\lib\site-packages\packaging\specifiers.py", line 206, in Specifier File "", line 982, in _find_and_load_unlocked _regex = re.compile( File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\re.py", line 252, in compile File "", line 925, in _find_spec return _compile(pattern, flags) File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\re.py", line 305, in _compile if not (flags & DEBUG): KeyboardInterrupt File "", line 1423, in find_spec File "", line 1395, in _get_spec File "", line 1522, in find_spec File "", line 142, in _path_stat KeyboardInterrupt Traceback (most recent call last): File "", line 1, in File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\multiprocessing\init.py", line 16, in from . import context File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\multiprocessing\context.py", line 3, in import threading File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\threading.py", line 6, in import functools File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\functools.py", line 22, in from types import GenericAlias File "", line 1007, in _find_and_load File "", line 986, in _find_and_load_unlocked File "", line 680, in _load_unlocked File "", line 846, in exec_module File "", line 958, in get_code File "", line 1040, in get_data KeyboardInterrupt Fatal Python error: init_import_site: Failed to import the site module Python runtime state: initialized Traceback (most recent call last): Traceback (most recent call last): Traceback (most recent call last): Traceback (most recent call last): File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\site.py", line 73, in File "", line 1, in File "", line 1, in File "", line 1, in File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\multiprocessing__init.py", line 16, in File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\multiprocessing\spawn.py", line 116, in spawn_main import os File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\os.py", line 29, in exitcode = _main(fd, parent_sentinel) File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\multiprocessing\spawn.py", line 125, in _main from . import context File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\multiprocessing\context.py", line 3, in File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\multiprocessing__init.py", line 16, in import threading File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\threading.py", line 6, in from _collections_abc import _check_methods import functools File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64__qbz5n2kfra8p0\lib\functools.py", line 18, in File "", line 1007, in _find_and_load prepare(preparation_data) File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\multiprocessing\spawn.py", line 236, in prepare File "", line 986, in _find_and_load_unlocked from . import context File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\multiprocessing\context.py", line 6, in _fixup_main_from_path(data['init_main_from_path']) File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\multiprocessing\spawn.py", line 287, in _fixup_main_from_path File "", line 680, in _load_unlocked from . import reduction File "", line 846, in exec_module from collections import namedtuple File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\collections__init.py", line 36, in File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\multiprocessing\reduction.py", line 15, in from keyword import iskeyword as _iskeyword File "", line 1007, in _find_and_load main_content = runpy.run_path(main_path, Traceback (most recent call last): File "", line 941, in get_code import pickle File "", line 1039, in get_data File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64__qbz5n2kfra8p0\lib\runpy.py", line 288, in run_path KeyboardInterrupt File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\pickle.py", line 33, in File "", line 982, in _find_and_load_unlocked File "", line 1, in return _run_module_code(code, init_globals, run_name, File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\runpy.py", line 97, in _run_module_code from struct import pack, unpack File "", line 1007, in _find_and_load File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\multiprocessing\spawn.py", line 116, in spawn_main File "", line 925, in _find_spec exitcode = _main(fd, parent_sentinel) File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\multiprocessing\spawn.py", line 125, in _main _run_code(code, mod_globals, init_globals, File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\runpy.py", line 87, in _run_code File "", line 1423, in find_spec exec(code, run_globals) File "C:\PURE7\ZircoliteV3\zircolieOrg_dev.py", line 6, in File "", line 982, in _find_and_load_unlocked import chardet File "C:\PURE7\ZircoliteV3\venvZircoV3\lib\site-packages\chardet__init.py", line 24, in File "", line 925, in _find_spec File "", line 1395, in _get_spec File "", line 1423, in find_spec from .universaldetector import UniversalDetector prepare(preparation_data) File "", line 1522, in find_spec File "C:\PURE7\ZircoliteV3\venvZircoV3\lib\site-packages\chardet\universaldetector.py", line 50, in File "", line 1395, in _get_spec File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\multiprocessing\spawn.py", line 236, in prepare File "", line 142, in _path_stat from .mbcsgroupprober import MBCSGroupProber File "C:\PURE7\ZircoliteV3\venvZircoV3\lib\site-packages\chardet\mbcsgroupprober.py", line 36, in _fixup_main_from_path(data['init_main_from_path']) File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\multiprocessing\spawn.py", line 287, in _fixup_main_from_path KeyboardInterrupt File "", line 1550, in find_spec main_content = runpy.run_path(main_path, File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\runpy.py", line 287, in run_path File "", line 99, in _path_join code, fname = _get_code_from_file(run_name, path_name) File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\runpy.py", line 257, in _get_code_from_file KeyboardInterrupt code = compile(f.read(), fname, 'exec') KeyboardInterrupt from .euctwprober import EUCTWProber File "", line 1007, in _find_and_load File "", line 986, in _find_and_load_unlocked File "", line 666, in _load_unlocked File "", line 571, in module_from_spec File "", line 550, in _init_module_attrs File "", line 391, in cached File "", line 494, in _get_cached File "", line 429, in cache_from_source File "", line 112, in _path_join KeyboardInterrupt Traceback (most recent call last): Traceback (most recent call last): Traceback (most recent call last): Traceback (most recent call last): File "", line 1, in File "", line 1, in Traceback (most recent call last): Traceback (most recent call last): File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\multiprocessing\spawn.py", line 116, in spawn_main File "", line 1, in Traceback (most recent call last): exitcode = _main(fd, parent_sentinel) File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\multiprocessing\spawn.py", line 116, in spawn_main File "", line 1, in File "", line 1, in File "", line 1, in File "", line 1, in File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64__qbz5n2kfra8p0\lib\multiprocessing\spawn.py", line 125, in _main File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\multiprocessing\spawn.py", line 125, in _main File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64__qbz5n2kfra8p0\lib\multiprocessing\spawn.py", line 116, in spawn_main File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\multiprocessing\spawn.py", line 116, in spawn_main File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\multiprocessing\spawn.py", line 116, in spawn_main prepare(preparation_data) File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\multiprocessing\spawn.py", line 236, in prepare exitcode = _main(fd, parent_sentinel) File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\multiprocessing\spawn.py", line 125, in _main exitcode = _main(fd, parent_sentinel) File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64__qbz5n2kfra8p0\lib\multiprocessing\spawn.py", line 125, in _main File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) prepare(preparation_data) exitcode = _main(fd, parent_sentinel) File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\multiprocessing\spawn.py", line 125, in _main prepare(preparation_data) File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\multiprocessing\spawn.py", line 236, in prepare _fixup_main_from_path(data['init_main_from_path']) File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\multiprocessing\spawn.py", line 287, in _fixup_main_from_path prepare(preparation_data) exitcode = _main(fd, parent_sentinel) File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\multiprocessing\spawn.py", line 125, in _main prepare(preparation_data) File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\multiprocessing\spawn.py", line 236, in prepare _fixup_main_from_path(data['init_main_from_path']) File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\multiprocessing\spawn.py", line 236, in prepare _fixup_main_from_path(data['init_main_from_path']) File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\multiprocessing\spawn.py", line 287, in _fixup_main_from_path _fixup_main_from_path(data['init_main_from_path']) File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64__qbz5n2kfra8p0\lib\multiprocessing\spawn.py", line 287, in _fixup_main_from_path main_content = runpy.run_path(main_path, File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\runpy.py", line 288, in run_path File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\multiprocessing\spawn.py", line 125, in _main File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64__qbz5n2kfra8p0\lib\multiprocessing\spawn.py", line 236, in prepare prepare(preparation_data) File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\multiprocessing\spawn.py", line 287, in _fixup_main_from_path main_content = runpy.run_path(main_path, main_content = runpy.run_path(main_path, return _run_module_code(code, init_globals, run_name, File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\runpy.py", line 97, in _run_module_code File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64__qbz5n2kfra8p0\lib\multiprocessing\spawn.py", line 236, in prepare _fixup_main_from_path(data['init_main_from_path']) File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\multiprocessing\spawn.py", line 287, in _fixup_main_from_path main_content = runpy.run_path(main_path, File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\runpy.py", line 288, in run_path prepare(preparation_data) _run_code(code, mod_globals, init_globals, return _run_module_code(code, init_globals, run_name, File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64__qbz5n2kfra8p0\lib\runpy.py", line 97, in _run_module_code File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\runpy.py", line 288, in run_path main_content = runpy.run_path(main_path, File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\multiprocessing\spawn.py", line 236, in prepare return _run_module_code(code, init_globals, run_name, File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\runpy.py", line 97, in _run_module_code _fixup_main_from_path(data['init_main_from_path']) File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\multiprocessing\spawn.py", line 287, in _fixup_main_from_path File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64__qbz5n2kfra8p0\lib\runpy.py", line 288, in run_path File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\runpy.py", line 87, in _run_code File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\runpy.py", line 288, in run_path _fixup_main_from_path(data['init_main_from_path']) _run_code(code, mod_globals, init_globals, File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\runpy.py", line 87, in _run_code main_content = runpy.run_path(main_path, File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\runpy.py", line 288, in run_path exec(code, run_globals) File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\multiprocessing\spawn.py", line 287, in _fixup_main_from_path _run_code(code, mod_globals, init_globals, File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\runpy.py", line 87, in _run_code main_content = runpy.run_path(main_path, File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\runpy.py", line 288, in run_path File "C:\PURE7\ZircoliteV3\zircolieOrg_dev.py", line 30, in return _run_module_code(code, init_globals, run_name, return _run_module_code(code, init_globals, run_name, File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\runpy.py", line 97, in _run_module_code exec(code, run_globals) File "C:\PURE7\ZircoliteV3\zircolieOrg_dev.py", line 6, in File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\runpy.py", line 97, in _run_module_code import chardet File "C:\PURE7\ZircoliteV3\venvZircoV3\lib\site-packages\chardet__init.py", line 24, in return _run_module_code(code, init_globals, run_name, File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64__qbz5n2kfra8p0\lib\runpy.py", line 97, in _run_module_code _run_code(code, mod_globals, init_globals, File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\runpy.py", line 87, in _run_code from colorama import Fore File "C:\PURE7\ZircoliteV3\venvZircoV3\lib\site-packages\colorama__init.py", line 2, in exec(code, run_globals) File "C:\PURE7\ZircoliteV3\zircolieOrg_dev.py", line 16, in return _run_module_code(code, init_globals, run_name, _run_code(code, mod_globals, init_globals, File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\runpy.py", line 87, in _run_code exec(code, run_globals) File "C:\PURE7\ZircoliteV3\zircolieOrg_dev.py", line 42, in from .initialise import init, deinit, reinit, colorama_text, just_fix_windows_console File "C:\PURE7\ZircoliteV3\venvZircoV3\lib\site-packages\colorama\initialise.py", line 6, in import shutil File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\shutil.py", line 10, in from .universaldetector import UniversalDetector File "C:\PURE7\ZircoliteV3\venvZircoV3\lib\site-packages\chardet\universaldetector.py", line 52, in File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\runpy.py", line 97, in _run_module_code import requests File "C:\PURE7\ZircoliteV3\venvZircoV3\lib\site-packages\requests__init__.py", line 43, in exec(code, run_globals) import fnmatch import urllib3 File "C:\PURE7\ZircoliteV3\venvZircoV3\lib\site-packages\urllib3\init.py", line 14, in _run_code(code, mod_globals, init_globals, File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\runpy.py", line 87, in _run_code from . import exceptions File "C:\PURE7\ZircoliteV3\venvZircoV3\lib\site-packages\urllib3\exceptions.py", line 7, in from .ansitowin32 import AnsiToWin32 File "C:\PURE7\ZircoliteV3\venvZircoV3\lib\site-packages\colorama\ansitowin32.py", line 7, in _run_code(code, mod_globals, init_globals, File "C:\PURE7\ZircoliteV3\zircolieOrg_dev.py", line 32, in File "", line 1004, in _find_and_load exec(code, run_globals) File "C:\PURE7\ZircoliteV3\zircolieOrg_dev.py", line 18, in from .sbcsgroupprober import SBCSGroupProber File "C:\PURE7\ZircoliteV3\venvZircoV3\lib\site-packages\chardet\sbcsgroupprober.py", line 30, in from RestrictedPython import compile_restricted File "C:\PURE7\ZircoliteV3\venvZircoV3\lib\site-packages\RestrictedPython__init.py", line 22, in from .hebrewprober import HebrewProber File "C:\PURE7\ZircoliteV3\venvZircoV3\lib\site-packages\chardet\hebrewprober.py", line 32, in import sqlite3 File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\sqlite3__init__.py", line 57, in File "", line 157, in enter File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\runpy.py", line 87, in _run_code from http.client import IncompleteRead as httplib_IncompleteRead File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\http\client.py", line 71, in from sqlite3.dbapi2 import * from .sbcharsetprober import SingleByteCharSetProber File "C:\PURE7\ZircoliteV3\venvZircoV3\lib\site-packages\chardet\sbcharsetprober.py", line 35, in exec(code, run_globals) File "C:\PURE7\ZircoliteV3\zircolieOrg_dev.py", line 5, in File "", line 183, in _get_module_lock from .winterm import enable_vt_processing, WinTerm, WinColor, WinStyle import base64 File "", line 1007, in _find_and_load import email.parser File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\email\parser.py", line 12, in File "C:\PURE7\ZircoliteV3\venvZircoV3\lib\site-packages\colorama\winterm.py", line 9, in File "", line 59, in init File "", line 1007, in _find_and_load class SingleByteCharSetModel(NamedTuple): File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\typing.py", line 1878, in new from email.feedparser import FeedParser, BytesFeedParser File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\email\feedparser.py", line 27, in File "", line 986, in _find_and_load_unlocked File "", line 986, in _find_and_load_unlocked KeyboardInterrupt File "", line 680, in _load_unlocked from email._policybase import compat32 nm_tpl = _make_nmtuple(typename, types.items(), File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\typing.py", line 1850, in _make_nmtuple File "", line 680, in _load_unlocked from RestrictedPython.compile import compile_restricted # isort:skip File "", line 1007, in _find_and_load from . import win32 nm_tpl = collections.namedtuple(name, fields, File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\email_policybase.py", line 7, in File "", line 846, in exec_module File "C:\PURE7\ZircoliteV3\venvZircoV3\lib\site-packages\colorama\win32.py", line 10, in File "", line 846, in exec_module File "", line 986, in _find_and_load_unlocked File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\collections__init.py", line 431, in namedtuple from email import header File "", line 935, in get_code File "", line 680, in _load_unlocked File "", line 1079, in path_stats File "", line 978, in get_code new = eval(code, namespace) File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\email\header.py", line 16, in File "", line 846, in exec_module File "", line 1, in File "", line 142, in _path_stat File "", line 647, in _compile_bytecode File "", line 978, in get_code import ctypes KeyboardInterrupt import email.quoprimime KeyboardInterrupt KeyboardInterrupt File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\ctypes\init__.py", line 548, in File "", line 647, in _compile_bytecode File "", line 1007, in _find_and_load from ctypes._endian import BigEndianStructure, LittleEndianStructure File "", line 986, in _find_and_load_unlocked KeyboardInterrupt File "", line 1007, in _find_and_load File "", line 666, in _load_unlocked File "", line 986, in _find_and_load_unlocked File "", line 571, in module_from_spec File "", line 666, in _load_unlocked File "", line 550, in _init_module_attrs File "", line 571, in module_from_spec File "", line 391, in cached File "", line 550, in _init_module_attrs File "", line 494, in _get_cached File "", line 391, in cached File "", line 394, in cache_from_source File "", line 494, in _get_cached KeyboardInterrupt File "", line 387, in cache_from_source File "", line 129, in _path_split KeyboardInterrupt Traceback (most recent call last): Traceback (most recent call last): File "", line 1, in File "", line 1, in Traceback (most recent call last): Fatal Python error: init_import_site: Failed to import the site module Python runtime state: initialized File "", line 1, in File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\multiprocessing__init.py", line 16, in File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\multiprocessing__init.py", line 16, in Traceback (most recent call last): Traceback (most recent call last): File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\site.py", line 589, in File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\multiprocessing__init.py", line 16, in from . import context File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\multiprocessing\context.py", line 3, in from . import context main() from . import context File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\multiprocessing\context.py", line 6, in File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\multiprocessing\context.py", line 6, in from . import reduction File "", line 1007, in _find_and_load import threading File "", line 1007, in _find_and_load File "", line 982, in _find_and_load_unlocked from . import reduction File "", line 982, in _find_and_load_unlocked File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\site.py", line 572, in main File "", line 1, in File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\multiprocessing\reduction.py", line 15, in known_paths = venv(known_paths) File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\site.py", line 504, in venv File "", line 925, in _find_spec File "", line 925, in _find_spec File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\multiprocessing\spawn.py", line 13, in Traceback (most recent call last): File "", line 1, in addsitepackages(known_paths, [sys.prefix]) File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\site.py", line 359, in addsitepackages File "", line 1423, in find_spec import pickle import runpy File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\runpy.py", line 14, in File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\multiprocessing\spawn.py", line 116, in spawn_main File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\pickle.py", line 34, in addsitedir(sitedir, known_paths) File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\site.py", line 208, in addsitedir File "", line 1423, in find_spec import importlib.machinery # importlib first so we can test #15386 via -m addpackage(sitedir, name, known_paths) File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\site.py", line 160, in addpackage import re File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\re.py", line 125, in f = io.TextIOWrapper(io.open_code(fullname)) File "", line 1007, in _find_and_load File "", line 1395, in _get_spec import sre_compile File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\sre_compile.py", line 14, in File "", line 1555, in find_spec File "", line 1007, in _find_and_load File "", line 986, in _find_and_load_unlocked File "", line 156, in _path_isfile File "", line 1395, in _get_spec import sre_parse File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64__qbz5n2kfra8p0\lib\sre_parse.py", line 15, in File "", line 986, in _find_and_load_unlocked File "", line 680, in _load_unlocked File "", line 148, in _path_is_mode_type exitcode = _main(fd, parent_sentinel) File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\multiprocessing\spawn.py", line 125, in _main from sre_constants import * File "", line 1007, in _find_and_load File "", line 846, in exec_module File "", line 1522, in find_spec File "", line 142, in _path_stat File "", line 680, in _load_unlocked File "", line 142, in _path_stat KeyboardInterrupt File "", line 935, in get_code KeyboardInterrupt File "", line 982, in _find_and_load_unlocked File "", line 1079, in path_stats prepare(preparation_data) File "", line 925, in _find_spec File "", line 846, in exec_module File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\multiprocessing\spawn.py", line 236, in prepare File "", line 142, in _path_stat KeyboardInterrupt File "", line 941, in get_code File "", line 1040, in get_data File "", line 1423, in find_spec _fixup_main_from_path(data['init_main_from_path']) File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\multiprocessing\spawn.py", line 287, in _fixup_main_from_path KeyboardInterrupt File "", line 1395, in _get_spec main_content = runpy.run_path(main_path, File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\runpy.py", line 287, in run_path File "", line 1522, in find_spec File "", line 142, in _path_stat code, fname = _get_code_from_file(run_name, path_name) File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\runpy.py", line 257, in _get_code_from_file KeyboardInterrupt code = compile(f.read(), fname, 'exec') KeyboardInterrupt Fatal Python error: init_sys_streams: can't initialize sys standard streams Python runtime state: core initialized Traceback (most recent call last): File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\io.py", line 52, in import abc File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\abc.py", line 48, in class abstractstaticmethod(staticmethod): KeyboardInterrupt Fatal Python error: init_sys_streams: Traceback (most recent call last): File "", line 1, in Fatal Python error: init_import_site: Failed to import the site modulecan't initialize sys standard streams Python runtime state: core initialized Traceback (most recent call last): File "", line 1, in Traceback (most recent call last): File "", line 1, in Traceback (most recent call last): File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\codecs.py", line 186, in init__

Python runtime state: initialized File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\multiprocessing\spawn.py", line 13, in File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\multiprocessing__init.py", line 16, in import runpy File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\runpy.py", line 15, in Traceback (most recent call last): File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\site.py", line 589, in def init(self, errors='strict'): KeyboardInterrupt File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\multiprocessing__init.py", line 16, in import importlib.util from . import context main() File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\site.py", line 566, in main File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\importlib\util.py", line 2, in File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\multiprocessing\context.py", line 6, in from . import context File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\multiprocessing\context.py", line 3, in from . import reduction File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\multiprocessing\reduction.py", line 15, in from . import abc File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\importlib\abc.py", line 17, in import threading File "", line 1007, in _find_and_load import pickle File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64qbz5n2kfra8p0\lib\pickle.py", line 103, in from typing import Protocol, runtime_checkable File "", line 1007, in _find_and_load known_paths = removeduppaths() File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64__qbz5n2kfra8p0\lib\site.py", line 127, in removeduppaths File "", line 986, in _find_and_load_unlocked from org.python.core import PyStringMap File "", line 1007, in _find_and_load File "", line 666, in _load_unlocked dir, dircase = makepath(dir) File "", line 982, in _find_and_load_unlocked Traceback (most recent call last): File "", line 1, in

MyraBaba commented 1 day ago

@wagga40 if we set to ondiskdb there is no error.

obviously its sqlite inmemory windows os problem. shared memory..