ebook2audiobook: ebook2audiobook.exe errors
Script Mode
- Native
Command Line (headless mode only) ebook2audiobook.exe
Operating System:
- Windows 11
Describe the bug Running the new ebook2audiobook.exe results in a errror. It looks like the line $scriptDirectory = Split-Path -Parent $MyInvocation.MyCommand.Definition does not work when running from ps2exe. The following link gives other options https://stackoverflow.com/questions/77390704/ps2exe-resulting-file-gives-illegal-character-in-path-but-runs-fine-as-a-ps1-fil
D:\ebook2audiobook>ebook2audiobook.exe
The term '.ps1' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
Cannot find drive. A drive with the name '.ps1
# Script to run ebook2audiobook.cmd with administrator privileges
# Paste contents into https' does not exist.
Cannot bind argument to parameter 'Path' because it is null.
Running the ps1 script directly also does not seem to be setting the working directory correctly resulting in a error (The system cannot find the file specified) when retrieving the version number from VERSION.txt
The system cannot find the file specified.
v native mode
IPs available for connection:
['172.17.64.1', 'fe80::f1c8:cc48:e1ae:6687', '192.168.128.1', 'fe80::fa9f:2f8c:c77d:142c', '192.168.56.1', 'fe80::6d73:8bee:4538:6a0a', '169.254.42.23', 'fe80::f9c2:f718:35f:b417', '192.168.137.1', 'fe80::f988:f532:dd13:a99e', '169.254.49.211', 'fe80::7b32:6afa:33b5:7af0', '192.168.91.1', 'fe80::a160:913:15c2:c533', '192.168.48.1', 'fe80::152f:42a0:8e6f:c875', '192.168.3.80', 'fe80::5925:c231:7d77:212d', '169.254.249.96', 'fe80::eb20:c0c1:c19e:39b2', '127.0.0.1', '::1']
Note: 0.0.0.0 is not the IP to connect. Instead use an IP above to connect.
* Running on local URL: http://0.0.0.0:7860
To create a public link, set `share=True` in `launch()`.
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 16 (8 by maintainers)
Commits related to this issue
- Update createEXE.ps1 for issue: #425 Update createEXE.ps1 for issue: #425 https://github.com/DrewThomasson/ebook2audiobook/issues/425 — committed to DrewThomasson/ebook2audiobook by DrewThomasson 2 years ago
- Update createEXE.ps1 for issue: #425 Update createEXE.ps1 for issue: #425 https://github.com/DrewThomasson/ebook2audiobook/issues/425 — committed to DrewThomasson/ebook2audiobook by DrewThomasson 2 years ago
- Rename ebook2audiobook.py to ebook2audiobook.exe should fix it as said here https://github.com/DrewThomasson/ebook2audiobook/issues/425#issuecomment-2702276120 — committed to DrewThomasson/ebook2audiobook by DrewThomasson 2 years ago
- Merge pull request #427 from DrewThomasson/Windows-patch-1 Update createEXE.ps1 for issue: #425 — committed to DrewThomasson/ebook2audiobook by DrewThomasson 2 years ago
Just updated the exe to launch without admin privileges
PR: https://github.com/DrewThomasson/ebook2audiobook/pull/430