Support

UNiTE, Remote CLI, eXtract Wizard

#30107 extractCLI drops Error on Win 10

Posted in ‘UNiTE and Remote CLI’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

PHP version
n/a
Tool
UNiTE
Tool version
n/a

Latest post by seoBOXX on Tuesday, 04 September 2018 11:19 CDT

seoBOXX
Hi Nicholas,
the extractCLI.exe drops Error on Win 10 on my system and i cannot figure out what exactly the problem is.

This is what i call -> "C:\Program Files (x86)\Akeeba\Extract Wizard\extractCLI.exe" "\\WD-8TB-NAS\Backups\Backup-25.08.2018 00-53-29\site-jusos-voerde.org-20180818-185054cest.jpa" C:\Users\seoBOXX\AppData\Local\Temp --test 1>>"E:\seoBOXX\Projekte\FTPAutoDownloader\bin\LOGFile.log"

all files, except the piped logfile exist

That is what i get - an unhandled exception -> Unhandled exception: System.IO.FileNotFoundException: The file or assembly "CommandLine, Version=1.9.71.2, Culture=neutral, PublicKeyToken=de6f01bd326f8c32" or a dependency on it was not found. The system cannot find the specified file in Akeeba.extractCLI.ExtractCliProgram.Main(String[] args)

Maybe you can help.
Best regards and greets from germany,
Andreas

nicholas
Akeeba Staff
Manager
The message says that the backup archive does not exist. Can you please try assigning a drive letter to your NAS and use the drive letter to access the file? Please let me know if that worked.

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

seoBOXX
Hi Nicholas,

seems to be the same error as far as i see ... connected the NAS to Z: and the call is now:

This is what i call -> "C:\Program Files (x86)\Akeeba\Extract Wizard\extractCLI.exe" "Z:\Backup-27.08.2018 11-33-09\site-seoboxx.de-20180826-122150cest.jpa" C:\Users\seoBOXX\AppData\Local\Temp --test 1>>"E:\seoBOXX\Projekte\FTPAutoDownloader\bin\LOGFile.log"

all files, except the piped logfile exist

That is what i get - an unhandled exception -> Unhandled exception: System.IO.FileNotFoundException: The file or assembly "CommandLine, Version=1.9.71.2, Culture=neutral, PublicKeyToken=de6f01bd326f8c32" or a dependency on it was not found. The system cannot find the specified file in Akeeba.extractCLI.ExtractCliProgram.Main(String[] args)

So no changes ... i tried to just call the extractCLI.exe and it drops the same error ... so it has nothing to do with the drive or backup files

Best regards and greets from germany,

Andreas



nicholas
Akeeba Staff
Manager
When you run eXtract CLI it tries to validate its command line parameters. This happens through a third party framework. For file parameters the third party framework is asking Windows whether the file exists. In your case Windows replies negatively. I don't know why since the root cause is somewhere outside our code (either inside .NET itself or between Windows and your NAS).

Try confirming that the path you are entering is correct by running
IF EXIST "Z:\Backup-27.08.2018 11-33-09\site-seoboxx.de-20180826-122150cest.jpa" ECHO File exists
from a Command Prompt (CMD.EXE). It should print "File exists". If you are using PowerShell you can run
Test-Path -Path "Z:\Backup-27.08.2018 11-33-09\site-seoboxx.de-20180826-122150cest.jpa"
and check the result.

If Windows confirms the path exists something is wrong with .NET and I have no idea how to help you :( In this case you can use Kickstart from a command line, e.g.:
php c:\path\to\kickstart.php z:\path\to\archive.jpa c:\path\to\temporary\folder --dry-run
So far I have not seen PHP failing to report a file that's really there.

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

seoBOXX
Hi Nicholas,

i tried that and the file really exists. The i tried to stroe the files on the local space and there we have the same problem ... so it has to be a .NET error or somethign like that

So i will try kickstart :-)

Thanks a lot so far Nicholas and greets from Germany,

Andreas

nicholas
Akeeba Staff
Manager
I have tried reproducing this on various Windows 10 configurations without success. I think it's really something weird with the NAS not correctly reporting whether the file exists.

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

seoBOXX
Hi Nicholas,

as i said ... same error when only calling the extractCLI.exe and also the same error when doing this without the NAS on a local SSD ... so definetly not a NAS issue.

Greets from Germany,

Andreas

nicholas
Akeeba Staff
Manager
I've tried using both extract CLI and extract wizard. I really cannot reproduce this issue on both Windows 10 machines I have. In fact it took me so long to reply because one of the machines was at my summer house (where I was on vacation) and the other one, my development Windows machine, back home. I wanted to try both since they have different setups.

I don't know why it keeps telling you that the file does not exist. Sorry :(

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

seoBOXX
Hi Nicholas,

thanks a lot for your reply. Summer house sounds great to me ;-) ... i will give that a try on my son's windows 10 machine and on my friends windows 8.1 machine and give you a feedback after i checked that ... maybe its a problem with my configuration ... i have a lot of development stuff like Delphi in several versions and some debugging stuff on my system including Win 10 SDK and other sutff ... so maybe thats a problem ...

So Nicholas ... have a nice and relaxing weekend and i will post what i figured out within the next days.

Best regards and greets from Germany,

Andreas

seoBOXX
Hi Nicholas,

i checked this and you are right ... it seems to be a rpoblem on my development machine ... so i am really sorry you spent time on that problem ... thanks a lot

Best regards and greets from Germany,

Andreas

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!