Author Topic: Cannot sync with SD card formatted as Portable/Internal split  (Read 1629 times)

Minerz0

  • Newbie
  • *
  • Posts: 1
This may be somewhat of an obscure case, but I'll explain it best I can.

Since Android 6, you must format an SD card as Internal to store apps onto it, however this prevents it from being used elsewhere. To workaround this, I have formatted my SD card (32GB) as approx 3/4 portable (FAT32), and 1/4 internal (encrypted ext4). Using the method described here and here.

This actually works fine and the phone handles it perfectly. However, the two partitions have the same label, which leads to:



This hasn't been a problem until I tried syncing my music to my phone with MusicBee, which showed this in the sync settings:



Neither of those options work. When pressing Synchronise, an error appears.

Error when using SanDisk SD Card (from error log in Help menu):

It looks like there's a clash between a key of a Dictionary because of the repeated names.

Code
30/12/2016 16:27:34 - 10.0.14393.0 - 3.0.6132.15853 - System.ArgumentException: An item with the same key has already been added.
   at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
   at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
   at #=qAhpBkeE1O5pWpQ1i2f0$dCn9$JSXK1IS9yz6dWTpEuq9b13_LJWxiBzxC0vasJds.#=qJtlWKdI67oiKpnGciYZ10Q==(String #=qaEMPIOx9d18E0zTqUghMsg==)
   at #=qAhpBkeE1O5pWpQ1i2f0$dCn9$JSXK1IS9yz6dWTpEuq9b13_LJWxiBzxC0vasJds.#=qch8MD_PVvVMbAcKIa3wJH4vZN04T2CM5e9jLMUHywno=(Boolean #=qqQiBHLNWUEly9vp8CTj17w==)
   at MusicBee.Media.Storage.#=q3paACOLVPglz$IPMSdgWyA==(Boolean #=qVFq98jKpD_nYbQKN1BmNDw==, Boolean #=qEr0NWedYxD1hL57R6JNaiA==, Dictionary`2 #=qLbr_h7nPHXlicI1SZHdTbL6vjUcnamp0rXYrl5jbDT4=, List`1 #=qRPtDJve3BJbx8DHGzGR2SASXMQMh4jtKWXHLbnr96RQ=, Object #=qsc8h5HjYGDdHt9T31zcenWDdxYwGnDI8LPz84pbd$uc=)
   at MusicBee.Media.Storage.#=qiaNYGW61wXypH019Ax_c2A==(Boolean #=qhZrNgMoFtp1Xt4xQzRF3BA==, #=qRo9BMvebBCa$_whkMEV0_tXo$$nUHMmM$SUbz043_Dg= #=qkDjR5$cjVSeZfbBQRqdRJw==, Object #=qqckhCn$0bJeemo7LqtqBLSPx1PYEmfYAtv1oGqLXPqI=)
   at MusicBee.Media.Storage.#=qqKQ7BWLQo8LfyCV6EDuEMQ==(Object #=qK1QpdMNFpmCQDdkfRoe_wKuPmeuov3q6Vn1gJLWCXnQ=)
   at #=qSmsCKAIpwZ6zf3hGTiH334fjEjJSmfDh9mM76YeTBwI=.#=qYkJknxnaTzrN38YOJwS$GnvgjD3IPci3OPoZJPuBSCU=(Object #=q0y969Y$tJsDUuXGel3KVzA==)

Error when using SanDisk SD Cards10001:

This just looks like a not found error, because the "SanDisk SD Cards10001" path doesn't exist. (I don't know where the s10001 could be coming from, since it doesn't show in any other program as that)

Code
30/12/2016 16:28:34 - CreateFolder=Lenovo A7000-a\SanDisk SD cards10001\ (SanDisk SD cards10001)
30/12/2016 16:28:34 - CreateFolder=Lenovo A7000-a\SanDisk SD cards10001\Music\ (Music)
30/12/2016 16:28:34 - 10.0.14393.0 - 3.0.6132.15853 - System.IO.DirectoryNotFoundException: Attempted to access a path that is not on the disk.
   at #=qAhpBkeE1O5pWpQ1i2f0$dCn9$JSXK1IS9yz6dWTpEuq9b13_LJWxiBzxC0vasJds.#=qIg5J8zIg7mJLdL3MpX2fm6JN9AEVxYMn0ZyM0kqrmpQ=(#=qyXmV84TNZ9kJvSLzbwE0vBrPx$BhuHFnDIuB$gA8q54= #=qN_vS56URRk$tWjneltmRGg==)
   at #=qAhpBkeE1O5pWpQ1i2f0$dCn9$JSXK1IS9yz6dWTpEuq9b13_LJWxiBzxC0vasJds.#=qIg5J8zIg7mJLdL3MpX2fm6JN9AEVxYMn0ZyM0kqrmpQ=(#=qyXmV84TNZ9kJvSLzbwE0vBrPx$BhuHFnDIuB$gA8q54= #=qN_vS56URRk$tWjneltmRGg==)
   at #=qAhpBkeE1O5pWpQ1i2f0$dCn9$JSXK1IS9yz6dWTpEuq9b13_LJWxiBzxC0vasJds.#=qIg5J8zIg7mJLdL3MpX2fm6JN9AEVxYMn0ZyM0kqrmpQ=(#=qyXmV84TNZ9kJvSLzbwE0vBrPx$BhuHFnDIuB$gA8q54= #=qN_vS56URRk$tWjneltmRGg==)
   at #=qAhpBkeE1O5pWpQ1i2f0$dCn9$JSXK1IS9yz6dWTpEuq9b13_LJWxiBzxC0vasJds.#=qKJKdDcnc6MZjGBm8dz5AJQ==(#=qyXmV84TNZ9kJvSLzbwE0vBrPx$BhuHFnDIuB$gA8q54= #=q_AYT7O2UjENq1m_8FXgYcw==)
   at MusicBee.Media.Storage.#=q3paACOLVPglz$IPMSdgWyA==(Boolean #=qVFq98jKpD_nYbQKN1BmNDw==, Boolean #=qEr0NWedYxD1hL57R6JNaiA==, Dictionary`2 #=qLbr_h7nPHXlicI1SZHdTbL6vjUcnamp0rXYrl5jbDT4=, List`1 #=qRPtDJve3BJbx8DHGzGR2SASXMQMh4jtKWXHLbnr96RQ=, Object #=qsc8h5HjYGDdHt9T31zcenWDdxYwGnDI8LPz84pbd$uc=)
   at MusicBee.Media.Storage.#=qiaNYGW61wXypH019Ax_c2A==(Boolean #=qhZrNgMoFtp1Xt4xQzRF3BA==, #=qRo9BMvebBCa$_whkMEV0_tXo$$nUHMmM$SUbz043_Dg= #=qkDjR5$cjVSeZfbBQRqdRJw==, Object #=qqckhCn$0bJeemo7LqtqBLSPx1PYEmfYAtv1oGqLXPqI=)
   at MusicBee.Media.Storage.#=qqKQ7BWLQo8LfyCV6EDuEMQ==(Object #=qK1QpdMNFpmCQDdkfRoe_wKuPmeuov3q6Vn1gJLWCXnQ=)
   at #=qSmsCKAIpwZ6zf3hGTiH334fjEjJSmfDh9mM76YeTBwI=.#=qYkJknxnaTzrN38YOJwS$GnvgjD3IPci3OPoZJPuBSCU=(Object #=q0y969Y$tJsDUuXGel3KVzA==)

Thanks for reading this. I know this may be a rare issue, but I'd really appreciate it if you could have a look at it.

Also, this is what it looks like in the sidebar menu. The blank folder is the portable partition, and the "Storage" is the internal storage. I am able to click the arrows and browse either one fine and even play music off them.

Last Edit: December 30, 2016, 06:45:17 AM by Minerz0