• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Files missing
#1
I set up MS Pro to store the files on the sd card. When i add a song via the Companion, the file is uploaded to the tablet and i can see the file in the filesystem, when i use a filemanager. When i edit the song on my tablet it tells me, that the file is missing.
What am i doing wrong?

Here are some screenshots. Sorry, they are german, but i hope you can follow what's going on:
https://drive.google.com/folderview?id=0...sp=sharing
Reply
#2
I'm not sure exactly how it's happening, but based on those screenshots, I can see the following:

1) The companion indicates that it wants to create a new song and write the file to the storage location
2) Tablet transfers the file and writes it to the storage location
3) When you edit the song, it's either trying to get to the SD card and failing, or the database says that the song is in the internal storage (/data/data/com.zubersoft/mobilesheetspro/files which you can't get to) instead of the storage location

I'm going to see if I can reproduce this problem on my end.

Thanks,
Mike
Reply
#3
As a side note, what version of the Android OS is your tablet running? If it's running 4.4 or greater, that storage location should not have been allowed.
Reply
#4
I just tested on my Samsung Galaxy Tab running Android 4.2 with my storage location set to the SD card. I did not encounter any issues... I'll keep looking for answers.
Reply
#5
I'm using a Lenovo IdeaTab S6000-F with Android 4.2.2
Reply
#6
Alright, I think I'm going to just add some sanity checking code to handle this issue. I really don't like not knowing what is causing the problem, but if I can just prevent the files from failing to load, I'll be satisfied.

Mike
Reply
#7
I have a big favor to ask. Please do the following:

1) Load up the companion app, then go to Help->Enable Diagnostic Logging
2) Connect to the tablet
3) When everything is connected, uncheck the Help->Enable Diagnostic Logging option
4) Go to "%APPDATA%\MobileSheetsCompanion" and you will see a log file there with today's date. Please copy and paste the contents of that here so I can see what's going.

Thanks!
Mike
Reply
#8
No problem. Here it is:

Code:
Initializing new logger on: 21:32:28 Mittwoch, 15. April 2015
21:33:07: Sending request for version
21:33:07: Request for version sent
21:33:07: SocketConnector::Packet received with id: 1
21:33:07: SocketConnector::Connection accepted
21:33:07: SocketConnector::Packet received with id: 20
21:33:07: Received tablet version: 100
21:33:07: SocketConnector::Packet received with id: 21
21:33:07: Sending my version which is: 10603
21:33:07: SocketConnector::Sending my version, which is 10603
21:33:07: SocketConnector::Packet received with id: 4
21:33:07: Processing database reply
21:33:08: Database successfully received, making backup at C:\Users\ME\AppData\Roaming\Zubersoft\MobileSheetsCompanion\mobilesheets.db_backup
Reply
#9
Well, my fear was confirmed - the tablet is sending a blank storage directory to the companion app. It normally should print it out in the diagnostic file unless nothing is sent. Why it would do that... I'm not sure. Can you go on the tablet, set your storage directory again in the settings, and try reconnecting?
Reply
#10
As a side note, do you have any sort ignore words set? or did you happen to delete all the sort ignore words?
Reply
#11
And here a log after adding a song:

Code:
Initializing new logger on: 21:36:47 Mittwoch, 15. April 2015
21:36:56: Sending request for version
21:36:56: Request for version sent
21:36:56: SocketConnector::Packet received with id: 1
21:36:56: SocketConnector::Connection accepted
21:36:56: SocketConnector::Packet received with id: 20
21:36:56: Received tablet version: 100
21:36:56: SocketConnector::Packet received with id: 21
21:36:56: Sending my version which is: 10603
21:36:56: SocketConnector::Sending my version, which is 10603
21:36:56: SocketConnector::Packet received with id: 4
21:36:56: Processing database reply
21:37:06: Database successfully received, making backup at C:\Users\ME\AppData\Roaming\Zubersoft\MobileSheetsCompanion\mobilesheets.db_backup
21:37:12: Checking if file exists on tablet: /Prager Leben/Prager Leben.pdf
21:37:15: SocketConnector::Packet received with id: 34
21:37:32: Sending song: Prager Leben
21:37:32: Sent file (1 of 1) for Prager Leben
21:37:32: Sent file (1 of 1) for Prager Leben
21:37:32: Sending database
21:37:32: Backup being made to: C:\Users\ME\AppData\Roaming\Zubersoft\MobileSheetsCompanion\mobilesheets.db_backup
21:37:33: Successfully sent database file to tablet (372736 bytes)
21:37:33: SocketConnector::Packet received with id: 28
Reply
#12
You see how the file paths are starting with /Song Title/FileName? It normally should be /Storage directory/Song Title/FileName. I'm still trying to figure out how a blank directory is being sent, as I have all sorts of checks in my code to prevent that...

Mike
Reply
#13
You have "Manage My Files" checked, right?
Reply
#14
(04-16-2015, 05:44 AM)Zuberman Wrote: You have "Manage My Files" checked, right?
Correct.

Edit: Disabled this option, but its still the same.
Reply
#15
As the files are correctly stored in the folders maybe it's an issue in the viewer part?
Reply




Users browsing this thread:
1 Guest(s)


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2024 MyBB Group.