npbackup icon indicating copy to clipboard operation
npbackup copied to clipboard

Windows install doesn't install -- Errno 22 Invalid argument

Open Ethanol6 opened this issue 1 year ago • 5 comments

Running the installer NPBackupInstaller.x64.exe yields this log file.

2023-11-08 21:26:44,289 :: INFO :: Running npbackup.installer 1.1.7
2023-11-08 21:26:44,387 :: ERROR :: Could not terminate currant scheduled task Client Sauvegarde NetPerfect:\ERROR: The system cannot find the file specified.


2023-11-08 21:26:44,388 :: INFO :: Copying C:\Users\<user>\AppData\Local\Temp\onefile_14732_133439776035659634\npbackup.exe to C:\Program Files\NetPerfect Backup Client\npbackup.exe
2023-11-08 21:26:46,894 :: ERROR :: Could not copy file C:\Users\<user>\AppData\Local\Temp\onefile_14732_133439776035659634\npbackup.exe to C:\Program Files\NetPerfect Backup Client\npbackup.exe: [Errno 22] Invalid argument: 'C:\\Users\\<user>\\AppData\\Local\\Temp\\onefile_14732_133439776035659634\\npbackup.exe'

Is there a hard coded path in the installer? When I look in the temp folder there is no folder onefile_14732_133439776035659634

Ethanol6 avatar Nov 09 '23 04:11 Ethanol6

Nothing is hardcoded here, that's the tmp dir Nuitka compiled binaries execute in. What OS are you running please ?

deajan avatar Nov 23 '23 16:11 deajan

Windows 10

Ethanol6 avatar Nov 23 '23 16:11 Ethanol6

Ok, can reproduce. I'll fix this shortly.

deajan avatar Nov 23 '23 16:11 deajan

Sorry for being late, currently investigating the AV issues with nuitka compiled executables. I'll ping back as soon as I got this sorted out.

deajan avatar Nov 29 '23 21:11 deajan

Installer has been removed since "onefile" executables are more prone to AV detection. The GUI has been fitted with a scheduled task creator, so wherever you drop the files, it will work.

Maybe I'll do an installer later, but for now I need to make sure v3 works flawlessly.

deajan avatar Jun 04 '24 10:06 deajan