Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with Megacmd #981

Open
MegaZill opened this issue Jun 26, 2024 · 2 comments
Open

Problem with Megacmd #981

MegaZill opened this issue Jun 26, 2024 · 2 comments
Labels

Comments

@MegaZill
Copy link

MEGAcmd version

1.7.0

Operating System/Platform

Windows

Platform version. In the case of Linux, please enter the Linux distribution you are using.

Windows 11 PRO 64BIT

Steps

open megacms

Expected behavior

work?

Actual behavior

Good Day,

today i bought a Pro package for 1 year on my account

so i bough mainly to use with filezilla

i downloaded megaCmd followed all instruction and worked fine.

So i uploaded one big folder ( 33GB ) from another of my VM

after the upload i tried to login from my pc with megacmd but it get stuck here.


MEGAcmd Server not running. Initiating in the background...
MEGA CMD> login [email protected]
Password:

and it wont do nothing.

i tried even to reinstall mega cmd , reboot my pc and do everything

even when it get stuck if i press CTRL-C

it exit this error Reached CtrlHandler: 0

so the only thing to do now is to close megacmd and reopen it.

Ok once done and reopened it will exit

 MEGAcmd Server is still trying to log in. Still, some commands are available.                    |

| Type "help", to list them. |


if i try any other command such example

MEGA CMD> ls
[err: 18:41:13] Command not valid while login in: ls

seems like if im logged in but im not.

looks.

[err: 18:42:22] Command not valid while login in: login
MEGA CMD> login [email protected]
Password:

[err: 18:42:34] Command not valid while login in: login
MEGA CMD>

i insert password but it gave command not valid?????

so i enter logout command..

but it get stuck

MEGA CMD> logout
Logging out...

MEGA CMD> ---------------------------------------------------------------------------------------------------------------------
| MEGAcmd Server is still trying to log in. Still, some commands are available. |
| Type "help", to list them. |

it get stuck here.

killing megacmd server process wont help ,

this is megacmd server bash

[API:err: 15:22:19] Unable to FileAccess::fopen('C:\Users\abele\AppData\Local\MEGAcmd.megaCmd\jid'): sysstat() failed: error code: 2: The system cannot find the file specified.
[API:err: 15:22:19] Unable to FileAccess::fopen('C:\Users\abele\AppData\Local\MEGAcmd.megaCmd\apiFolder_0\jid'): sysstat() failed: error code: 2: The system cannot find the file specified.
[API:err: 15:22:19] Unable to FileAccess::fopen('C:\Users\abele\AppData\Local\MEGAcmd.megaCmd\apiFolder_1\jid'): sysstat() failed: error code: 2: The system cannot find the file specified.
[API:err: 15:22:19] Unable to FileAccess::fopen('C:\Users\abele\AppData\Local\MEGAcmd.megaCmd\apiFolder_2\jid'): sysstat() failed: error code: 2: The system cannot find the file specified.
[API:err: 15:22:19] Unable to FileAccess::fopen('C:\Users\abele\AppData\Local\MEGAcmd.megaCmd\apiFolder_3\jid'): sysstat() failed: error code: 2: The system cannot find the file specified.
[API:err: 15:22:19] Unable to FileAccess::fopen('C:\Users\abele\AppData\Local\MEGAcmd.megaCmd\apiFolder_4\jid'): sysstat() failed: error code: 2: The system cannot find the file specified.

.=====================================================================================================================.
| __ __ _____ ____ _ _ |
| | / | |/ | / \ ___ _ __ ___ _| | |
| | |/| | \ / | _ / _ \ / | ' _ \ / _ | |
| | | | | /
\ |
| |/ ___ \ (
| | | | | | (
| | |
| |
| |
||_// ____|| || ||_,_| |
| |
| SERVER |
`====================================================================================================================='
[info: 15:22:19] Listening to petitions ...
[info: 15:22:32] Starting autoupdate check mechanism
[err: 15:22:34] login [--auth-code=XXXX] [email [password]] | exportedfolderurl#key [--auth-key=XXXX] | passwordprotectedlink [--password=PASSWORD] | session

i also tried by opening with administrator power ( even if i already gave the permission )

Please help Thanks !!!

@MegaZill MegaZill added the bug label Jun 26, 2024
@polmr
Copy link
Collaborator

polmr commented Jun 27, 2024

Hi @MegaZill
From the looks of it, you may be simply experiencing a slow initial login (which could take a while if there has been a lot of new files in your account) ...
A more verbose log would give us a hint of what's going on. Steps in order to get it:

  • Using the task manager, ensure that no process with the name MEGAcmdServer.exe is running. Alternatively, use the quit command from the interactive MEGAcmd shell.
  • Since you don't have any sync configured whatsoever, you can do the following in order to get a clean start (reinstalling MEGAcmd won't clean that by default):
    remove C:\Users\<User>\AppData\Local\MEGAcmd\.megaCmd. With <User> replaced with your user name.
  • Running the MEGAcmd server with debugging logs enabled, which helps us with analyzing your problem:
    In a PowerShell prompt (you can also use a bash one if you prefer), run:
 C:\Users\<User>\AppData\Local\MEGAcmd\MEGAcmdServer.exe --debug-full > megacmd_debug.log

with <User> replaced with your user name.

  • In a separate window, perform the same steps that led to the issue you have encountered (login). Give it some good 10 minutes.
  • With the issue reproduced, the MEGAcmd server instance should create a log file with the name megacmd_debug.log in the directory where the PowerShell instance is running.
  • Shut down the server instance, either with Ctrl+C, or by using the quit command in MEGAcmd Shell.
  • The file megacmd_debug.log may either be attached to the GitHub issue, or sent to [email protected] (recommended) given logs could contain sensitive data. Reference this issue in your email.

@MegaZill
Copy link
Author

Hello,

today for some strange reason started to work.

Anyway , from filezilla i'm able to save file of 10 / 15 MB but when i try to upload an excel file of 60MB it will hang it will go at 100% and later it will again start from 0 to 100 % and go on 10 / 15 times same thing and later the transfer wil fail with error " impossible to transfer " why does it happen?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants