Open joshirio opened 5 years ago
Hi joshirio. thanks for reporting that. That's a really odd thing. I had been able to reproduced it once with a particularly slow Win 7, not in Win 10. It might be a time issue (the second time you initialize the server some disk reading might be cached and it being faster could solve the time issue). We will review the initialization process and see if there's something wrong. However, can you try to execute it with increased verbosity:
MEGAclient.exe get Test/test.txt -vvv
and see what is the output and if the issue persists in that case.
Yes really odd because the other day I was able to reproduce this consistently every time on 2 machines. Today it works flawlessly, 🤔
C:\Users\user\AppData\Local\MEGAcmd>MEGAclient.exe get Symphytum/sync.meta -vvv
Server not running. Initiating in the background...
[API:debug: 11:13:38] Starting download: sync.meta to : \\?\C:\Users\user\AppDat
a\Local\MEGAcmd\
[API:verbose: 11:13:39] Procesed get Symphytum/sync.meta -vvv \\?\C:\Users\user
\AppData\Local\MEGAcmd in thread: 3380 namedPipe output: 00000244
[API:verbose: 11:13:39] Output to write in namedPipe 00000244: <<[API:debug: 11:
13:38] Starting download: sync.meta to : \\?\C:\Users\user\AppData\Local\MEGAcmd
\
[API:verbose: 11:13:39] Procesed get Symphytum/sync.meta -vvv \\?\C:\Users\user
\AppData\Local\MEGAcmd in thread: 3380 namedPipe output: 00000244
>>
[API:verbose: 11:13:39] Client arrived first when connecting to namedPipe 000002
44
C:\Users\user\AppData\Local\MEGAcmd>
Thanks for your response, I'll give it another try later to see if I am able to reproduce this.
MEGAcmd version: 1.0.0 Affected OS: tested on Windows 7 and Windows 10 (works fine on Linux)
MEGAcmd.exe (or mega-get.bat) doesn't download specified files when it is started for the first time (cold boot) after a system reboot. The output is
Server not running. Initiating in the background...
but then the program exits without any error yet the file is not downloaded.Now it gets interesting because if you repeat the command again then it works and the file is downloaded, even if you kill the mega-cmd-server process. So this bug appears only on a cold boot.
How to reproduce:
reboot
from the start menu)Test
with just atest.txt
file containing sample text and then download it by the following the next steps:cmd.exe
from the start menuC:\Users\user\AppData\Local\MEGAcmd
MEGAclient.exe get Test/test.txt
Server not running. Initiating in the background...
test.txt
file in the MEGAcmd directoryMEGAclient.exe get Test/test.txt
command the file gets downloaded for real this time