You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's not a big issue, but I kept getting this error and I didn't understand why it wasn't working, so I'm sharing in case anyone else finds the same issue. After I changed the folder name from "42" to "c42" it started working. Just adding any letter is enough to solve this issue.
D:\FOLDER FOR MANGAAAAA\pixiv>mokuro 42 2024-12-20 23:09:53.231 | WARNING | mokuro.run:run:55 - Legacy HTML output is deprecated and will not be further developed. It's recommended to use .mokuro format and web reader instead. Legacy HTML will be disabled by default in the future. To explicitly enable it, run with option --legacy-html. 2024-12-20 23:09:53.232 | INFO | mokuro.run:run:63 - Scanning paths... Traceback (most recent call last): File "C:\Users\Diana\AppData\Local\Programs\Python\Python39\lib\runpy.py", line 197, in _run_module_as_main return _run_code(code, main_globals, None, File "C:\Users\Diana\AppData\Local\Programs\Python\Python39\lib\runpy.py", line 87, in _run_code exec(code, run_globals) File "C:\Users\Diana\AppData\Local\Programs\Python\Python39\Scripts\mokuro.exe\__main__.py", line 7, in <module> File "C:\Users\Diana\AppData\Local\Programs\Python\Python39\lib\site-packages\mokuro\__main__.py", line 7, in main fire.Fire(run) File "C:\Users\Diana\AppData\Local\Programs\Python\Python39\lib\site-packages\fire\core.py", line 141, in Fire component_trace = _Fire(component, args, parsed_flag_args, context, name) File "C:\Users\Diana\AppData\Local\Programs\Python\Python39\lib\site-packages\fire\core.py", line 475, in _Fire component, remaining_args = _CallAndUpdateTrace( File "C:\Users\Diana\AppData\Local\Programs\Python\Python39\lib\site-packages\fire\core.py", line 691, in _CallAndUpdateTrace component = fn(*varargs, **kwargs) File "C:\Users\Diana\AppData\Local\Programs\Python\Python39\lib\site-packages\mokuro\run.py", line 67, in run path_normalized = Path(path).expanduser().absolute() File "C:\Users\Diana\AppData\Local\Programs\Python\Python39\lib\pathlib.py", line 1082, in __new__ self = cls._from_parts(args, init=False) File "C:\Users\Diana\AppData\Local\Programs\Python\Python39\lib\pathlib.py", line 707, in _from_parts drv, root, parts = self._parse_args(args) File "C:\Users\Diana\AppData\Local\Programs\Python\Python39\lib\pathlib.py", line 691, in _parse_args a = os.fspath(a) TypeError: expected str, bytes or os.PathLike object, not int
The text was updated successfully, but these errors were encountered:
It's not a big issue, but I kept getting this error and I didn't understand why it wasn't working, so I'm sharing in case anyone else finds the same issue. After I changed the folder name from "42" to "c42" it started working. Just adding any letter is enough to solve this issue.
D:\FOLDER FOR MANGAAAAA\pixiv>mokuro 42 2024-12-20 23:09:53.231 | WARNING | mokuro.run:run:55 - Legacy HTML output is deprecated and will not be further developed. It's recommended to use .mokuro format and web reader instead. Legacy HTML will be disabled by default in the future. To explicitly enable it, run with option --legacy-html. 2024-12-20 23:09:53.232 | INFO | mokuro.run:run:63 - Scanning paths... Traceback (most recent call last): File "C:\Users\Diana\AppData\Local\Programs\Python\Python39\lib\runpy.py", line 197, in _run_module_as_main return _run_code(code, main_globals, None, File "C:\Users\Diana\AppData\Local\Programs\Python\Python39\lib\runpy.py", line 87, in _run_code exec(code, run_globals) File "C:\Users\Diana\AppData\Local\Programs\Python\Python39\Scripts\mokuro.exe\__main__.py", line 7, in <module> File "C:\Users\Diana\AppData\Local\Programs\Python\Python39\lib\site-packages\mokuro\__main__.py", line 7, in main fire.Fire(run) File "C:\Users\Diana\AppData\Local\Programs\Python\Python39\lib\site-packages\fire\core.py", line 141, in Fire component_trace = _Fire(component, args, parsed_flag_args, context, name) File "C:\Users\Diana\AppData\Local\Programs\Python\Python39\lib\site-packages\fire\core.py", line 475, in _Fire component, remaining_args = _CallAndUpdateTrace( File "C:\Users\Diana\AppData\Local\Programs\Python\Python39\lib\site-packages\fire\core.py", line 691, in _CallAndUpdateTrace component = fn(*varargs, **kwargs) File "C:\Users\Diana\AppData\Local\Programs\Python\Python39\lib\site-packages\mokuro\run.py", line 67, in run path_normalized = Path(path).expanduser().absolute() File "C:\Users\Diana\AppData\Local\Programs\Python\Python39\lib\pathlib.py", line 1082, in __new__ self = cls._from_parts(args, init=False) File "C:\Users\Diana\AppData\Local\Programs\Python\Python39\lib\pathlib.py", line 707, in _from_parts drv, root, parts = self._parse_args(args) File "C:\Users\Diana\AppData\Local\Programs\Python\Python39\lib\pathlib.py", line 691, in _parse_args a = os.fspath(a) TypeError: expected str, bytes or os.PathLike object, not int
The text was updated successfully, but these errors were encountered: