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

can not mount sdcard #50

Open
cj360 opened this issue Jan 7, 2013 · 5 comments
Open

can not mount sdcard #50

cj360 opened this issue Jan 7, 2013 · 5 comments

Comments

@cj360
Copy link

cj360 commented Jan 7, 2013

Using an xperia play 4.1.2 JB with ubuntu 12.04 Python 2.7.3. When I connect my phone and start the gui I get these outputs and no folders are visible on the phone's side of the gui.

EXECUTE= adb shell ls -l -a /mnt/
drwxrwxr-x 5 root system 0 Jan 6 18:39 . wasn't matched, please report to the developer!
drwxrwxr-x 16 system system 0 Jan 6 18:39 .. wasn't matched, please report to the developer!
drwxr-xr-x 7 root system 140 Jan 6 20:45 asec wasn't matched, please report to the developer!
drwxr-xr-x 2 root system 40 Jan 6 18:39 obb wasn't matched, please report to the developer!
lrwxrwxrwx 1 root root 16 Jan 6 18:39 sdcard -> /storage/sdcard0 wasn't matched, please report to the developer!
drwx------ 4 root root 0 Jan 6 18:39 secure wasn't matched, please report to the developer!

I believe the mount point for my device has changed since JB and is now /storage/sdcard0 and adb may have issues with that as well as this app.

@joho500
Copy link

joho500 commented Feb 7, 2013

I have the same problem. My Archos 101 G9 device with Android 4.1 uses /sdcard, /storage or /mnt/storage. /mnt/sdcard is empty. It would be nice to be able to choose between different options or have a configuration file. I'll see if I can update the source.

@sole
Copy link
Owner

sole commented Feb 7, 2013

Sorry for not answering before... somehow this slipped in my notifications.

I'm not sure how we could solve this; modifying the source and make it point to a different directory altogether will break it for older tablets. Maybe the answer is to probe the system for several mounting points before 'starting' the app for good, if you know what I mean.

Answering to @cj360 : I don't think adb will have any trouble, in any case it's aafm which is trying to access something that doesn't exist :-)

So --let's brainstorm (I am all ears 👂👂👂) or even better, let's get some patches :D

@joho500
Copy link

joho500 commented Feb 7, 2013

I've added the possibility to read the location from an ini-file. I will make it more robust with error checking before posting a patch.

@sole
Copy link
Owner

sole commented Feb 7, 2013

thank you 👍

@sole
Copy link
Owner

sole commented Feb 2, 2014

@joho500 so...? :-)

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

3 participants