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

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

Open
ShapeShifter499 opened this issue Jul 24, 2014 · 11 comments
Open

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

ShapeShifter499 opened this issue Jul 24, 2014 · 11 comments

Comments

@ShapeShifter499
Copy link

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
Copy link
Owner

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
Copy link
Author

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
Copy link
Owner

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
Copy link
Author

I tired that already and nothing

@harayz
Copy link

harayz commented Aug 26, 2014

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
Copy link
Owner

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

@awiiea
Copy link

awiiea commented Aug 27, 2016

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

@tYYGH
Copy link
Contributor

tYYGH commented Aug 31, 2016

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
Copy link

Same problem here.

@DaeMonSx
Copy link

DaeMonSx commented May 24, 2018

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
Copy link

Got the same problem...

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

No branches or pull requests

8 participants