matteoserva / MegaFuse

MEGA client for linux, based on FUSE
Other
249 stars 79 forks source link

MegaFuse doesn't work with megafuse.conf anymore #17

Open ShapeShifter499 opened 10 years ago

ShapeShifter499 commented 10 years ago

When I make use of the included conf it doesn't work, the following is my terminal output of the error. I edited out my personal info. Also I noticed the output is in another language (is that Italian?) maybe it's something to do with the PKGBUILD from the AUR package I used to install MegaFuse? AUR link here https://aur.archlinux.org/packages/megafuse/

Everything appears to work fine if I don't use a config file and manually enter my email and password except I noticed that MegaFuse doesn't ask for a APPKEY in manual mode, why?

[lance@Arch-Chromebook ~]$ MegaFuse -c /usr/share/MegaFuse/megafuse.conf -f -o rw ss /usr/share/MegaFuse/megafuse.conf caricata la variabile USERNAME con il valore [E-Mail] caricata la variabile PASSWORD con il valore [mySpecialPass] caricata la variabile APPKEY con il valore [mySecretKey] caricata la variabile MOUNTPOINT con il valore /media/mega login failed. exiting... [lance@Arch-Chromebook ~]$

matteoserva commented 10 years ago

I don't know aur well but you can compile it directly from the source code. If it cannot find a APPKEY, it defaults to MEGASDK, which is the default key. Apparently mega doesn't even check if you are providing a valid key. You can remove lines from the config files and megafuse will ask you only the missing parameters. You can for example remove all the config lines except the APPKEY one and launch megafuse. The language you see is italian, I didn't translate it because it's debug code that will be removed soon.

ShapeShifter499 commented 10 years ago

A lot of packages in the AUR are just clever scripts that compile the program from git or source tar-ball. In this case the AUR package "MegaFuse" just grabs your code from git and compiles it. I cannot seem to get MegaFuse to use the config file at all, always "login failed", even when I uncomment or remove the "APPKEY" line. Does the megafuse.conf have to have certain permissions to work with MegaFuse?

matteoserva commented 10 years ago

please remove all lines EXCEPT the APPKEY one and see if it works. the only requirement is that megafuse should be launched from the same directory where the conf file is located. The config file parser is very strict and you should enter the lines in the format "name = value". are there spaces or strange characters in your password?

ShapeShifter499 commented 10 years ago

I tired that already and nothing

harayz commented 10 years ago

same same... "login failed" for me too my password had characters such as '@' and '%' but still unable to login after changing them. i have not been able to login since installation and the once in a while the it would show the following: ~ API request failed, retrying in 100 ms - Use 'retry' to retry immediately... ~ API request failed, retrying in 200 ms - Use 'retry' to retry immediately... ~ API request failed, retrying in 400 ms - Use 'retry' to retry immediately... ~ API request failed, retrying in 800 ms - Use 'retry' to retry immediately... ~ API request failed, retrying in 1600 ms - Use 'retry' to retry immediately... ~ API request failed, retrying in 3200 ms - Use 'retry' to retry immediately... ~ API request failed, retrying in 6400 ms - Use 'retry' to retry immediately...

when trying to unmount using 'fusermount -u /tmp/fuse' i receive the following error message: ~ fusermount: failed to unmount /tmp/fuse: Invalid argument

hope these helps and i will update if there are more information that could help the troubleshooting.

matteoserva commented 10 years ago

the MEGA api server is sometimes temporarily unusable. it happened to me too then worked again after a few hours

awiiea commented 8 years ago

I cannot login MegaFushe::MegaFuse. Constructor finished. API request failed, retrying in 100 ms - Use 'retry' to retry immediately... login failed. exiting...

tYYGH commented 8 years ago

FYI, I’m using MegaFuse on a regular basis, and I only have these in my conf file: USERNAME, PASSWORD, MOUNTPOINT, and CACHEPATH. I mean: APPKEY is commented out in my conf file, and it works fine.

Rand-Hunt commented 7 years ago

Same problem here.

DaeMonSx commented 6 years ago

Same here. any solution yet?

 ./MegaFuse
caricata la variabile USERNAME con il valore xxxx
caricata la variabile PASSWORD con il valore xxxx
caricata la variabile MOUNTPOINT con il valore /tmp/s
Specify a valid mountpoint (an empty directory): /mnt/mega
Specify a valid cache path (eg: /tmp): /tmp
MegaFushe::MegaFuse. Constructor finished.
login failed. exiting...
tobiasfiechter commented 3 years ago

Got the same problem...