MEGAcmd icon indicating copy to clipboard operation
MEGAcmd copied to clipboard

API error with accessing statecache

Open jeback1 opened this issue 1 year ago • 10 comments

I'm running mega-cmd-server and mega-cmd on debian linux 12 (bookworm) MEGAcmd version: 1.6.3.0: code 1060300

I am getting multiple errors like: [API:err: 18:51:26] Unable to FileAccess::fopen('/home/my_user_name/.megaCmd/megaclient_statecache12_status_OUczVVltRERyTTBo-KFR-VoDdg3b2Fp-fub8.db'): sysstat() failed: error code: 2: No such file or directory.

All of the errors relate to accessing files named megaclient_statecache12....

looking in the .megaCmd directory, all of the files are labeled statecache13. There are no files with statecache12

I built with: ./configure --without-freeimage --without-ffmpeg --without-mediainfo

Thanks, Jan Erik

jeback1 avatar Jul 16 '23 19:07 jeback1

Same for me but on Windows 10.

API:err: 23:05:58] Unable to FileAccess::fopen('C:\tools\Web\MEGAcmd.megaCmd\megaclient_statecache12_transfers_dkxOMVByZ213bzjrN97RuUdPNUqn1KV400mw.db'): sysstat() failed: error code: 2: The system cannot find the file specified.

Same for statecache13...

ViperCode7 avatar Jul 16 '23 23:07 ViperCode7

Which MEGAcmd/SDK submodule commits are you using?

State cache version 12 (legacy one) is attempted to be open at startup, whoever if it is not available, it shouldn't be logged as an error.

polmr avatar Jul 17 '23 10:07 polmr

On Windows I got the latest available download from mega.io/cmd

MEGAcmd version: 1.6.3.0: code 1060300 (64 bits) MEGA SDK version: 4.17.1

ViperCode7 avatar Jul 17 '23 11:07 ViperCode7

On Debian I downloaded from the git repository 2 days ago:

SDK: HEAD, tag: v4.17.1d MEGAcmd: commit 78fc49ea98b896e19a891d4c2b614fda684bbee3 (HEAD -> master, origin/master, origin/HEAD) Merge: 95dd83d 59d0b31 Author: David Ward [email protected] Date: Thu Jul 13 07:58:10 2023 +1200

Merge branch 'release/1.6.3-synology' into 'master'

jeback1 avatar Jul 17 '23 16:07 jeback1

I have the same issue with megacmd 1.6.3-1.1 download from the official repo, Ubuntu 23.04.

thurask avatar Sep 06 '23 19:09 thurask

same thing with latest version on Ubuntu 18.04. fresh install of OS and Mega. i cannot get it to sync any files. this used to work and suddenly stopped. disappointed that starting from scratch didn't get me going again.

carlosaya avatar Nov 26 '23 02:11 carlosaya

same issue over here :(

[API:err: 23:01:14] Unable to FileAccess::fopen('~/.megaCmd/megaclient_statecache12_eHN6LTVkemQ0LTDboJGUThUSZCLR5PC0enI4.db'): sysstat() failed: error code: 2: No such file or directory [API:err: 23:01:14] Unable to FileAccess::fopen('~/.megaCmd/megaclient_statecache12_status_eHN6LTVkemQ0LTDboJGUThUSZCLR5PC0enI4.db'): sysstat() failed: error code: 2: No such file or directory [API:err: 23:01:15] Unable to FileAccess::fopen('~/.megaCmd/megaclient_statecache12_transfers_eHN6LTVkemQ0LTDboJGUThUSZCLR5PC0enI4.db'): sysstat() failed: error code: 2: No such file or directory [API:err: 23:01:15] Unable to FileAccess::fopen('~/.megaCmd/megaclient_statecache12_AQAIAwAAAADDjTNcrtoAAMbM_uXc3ePt.db'): sysstat() failed: error code: 2: No such file or directory

the folder for .megaCmd only has files that begin with megaclient_statecache13

marceloexc avatar Dec 29 '23 23:12 marceloexc

Same issue on 22.04 with 1.6.3 downloaded from the official site. No problems on 1.6.1

tinmanjk avatar Jan 13 '24 20:01 tinmanjk

I have started to notice this issue as well. 1.6.3-2.1 with Ubuntu 23.10.

sam-pf avatar Jan 20 '24 20:01 sam-pf

same issue [API:err: 06:38:45] Unable to FileAccess::fopen('/home/pi/.megaCmd/megaclient_statecache12_eHR1N21SNXp2ME1WnEkVoCPqwYEugXh4KSsl.db'): sysstat() failed: error code: 2: No such file or directory

MEGAcmd version: 1.6.3.1: code 1060301 OS: Raspbian GNU/Linux 12 (bookworm) armv7l

xavierskip avatar Mar 14 '24 06:03 xavierskip