holzschu / Carnets

Carnets is a stand-alone Jupyter notebook server and client. Edit your notebooks on the go, even where there is no network.
https://holzschu.github.io/Carnets_Jupyter/
BSD 3-Clause "New" or "Revised" License
561 stars 32 forks source link

Issue in selecting google drive as active directory #170

Open Dharuv opened 3 years ago

Dharuv commented 3 years ago

I am able to open the python notebook, but datasets in same folder weren’t read in. I saw the solution and tried to give the access to google drive by clicking folder icon on right but google drive cannot be selected as active directory. Please help. 30A8FBA0-6ED3-4D0B-BD9F-0E8D5FBF943D

holzschu commented 3 years ago

Hi, yes, Carnets only supports file providers that follow Apple's FileProvider standard API. Google Drive (and also Dropbox, OneDrive...) use their own, proprietary API. Implementing support for these proprietary APIs would require a lot of time and effort (there is little documentation, and even less information on how to make them coexist together), and sometimes would even require me to pay a fee for each app using the API.

It is on the TODO list: https://github.com/holzschu/Carnets/projects/1 but each time I've tried to implement it I've completely failed.

File Providers that follow Apple's FileProvider standard API include: iCloud (of course), WorkingCopy, ShellFish.

ifuchs commented 3 years ago

Please add NextCloud (open source cloud sw) to your list.

holzschu commented 3 years ago

I have tried it too. I didn't have any more success.

junker-joerg commented 3 years ago

On my IPad the „Carnets“ Folder was deleted during the update and I am not able to use iCloud as a working directory.

holzschu commented 3 years ago

I'm terribly sorry to hear that. Is that the "On my iPad/Carnets" folder that was deleted, or the "iCloud/Carnets" folder? Also, what do you mean by update?

junker-joerg commented 3 years ago

I'm terribly sorry to hear that. Is that the "On my iPad/Carnets" folder that was deleted, or the "iCloud/Carnets" folder? Also, what do you mean by update?

:-) no big issue ... update: yesterday via AppStore. Cloud/Carnets folder was deleted - all notebooks are executed in a Folder named "tmp/NSDRFCarnets....." so loading local datafiles isn't possible. Best Regards, Martin

Stgabsnt commented 3 years ago

Same for me after iOS update, my iCloud/Carnets folder was deleted. Any idea to put it back? Thank you

holzschu commented 3 years ago

I would first check if the folder is still present on iCloud.com I've seen folders that were not displayed on the iPad but still present in the system. If that's the case, you can backup all your files. Also the folder should reappear at some point (possibly after a number of reboots). There was no change in the iCloud folder handling in recent history, so I'm completely at a loss about what is happening.

Stgabsnt commented 3 years ago

Thank You,

The folder is not anymore present on iCloud.com. The App frequently crash on the iPad or don’t save the current file. All start’s with the iPadOS 14.6 update

Thank you for what you can do

holzschu commented 3 years ago

This is a serious issue; I'm investigating. It's a bit difficult because I'm unable to reproduce the issue. I think the disparition of the iCloud folder is related to the other issues (and the most pressing one).

Stgabsnt commented 3 years ago

it’s the same problem with my colleagues and our students. With mdm enrolled ipad or non-enrolled ipad when we use Carnets. The folder is not present on iCloud. Thank you

holzschu commented 3 years ago

It's a bit more difficult than usual because I haven't been able to reproduce the issue. In the latest TestFlight version, I strengthened the requests for authorization for iCloud folder, to ensure that it is always created and present. Can you give it a try? https://testflight.apple.com/join/yevwlUs1

Stgabsnt commented 3 years ago

I use Carnets and Carnets Plus on my iPad. With the use of Carnets TestFlight version all my files are back on a Carnets Plus Folder on my iPad. Which are good news. There is no Carnets folder. The new files create by the Carnets TestFlight version are on iCloud root on my iPad. There is no Carnets Plus nor Carnets Folder on the online version of iCloud, but the new files are also on the online version of iCloud.


De : Nicolas Holzschuch @.> Envoyé : mardi 22 juin 2021 19:06 À : holzschu/Carnets @.> Cc : Le Nain Gilles @.>; Comment @.> Objet : Re: [holzschu/Carnets] Issue in selecting google drive as active directory (#170)

It's a bit more difficult than usual because I haven't been able to reproduce the issue. In the latest TestFlight version, I strengthened the requests for authorization for iCloud folder, to ensure that it is always created and present. Can you give it a try? https://testflight.apple.com/join/yevwlUs1

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/holzschu/Carnets/issues/170#issuecomment-866169655, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AUP2RSPB4O7G67O7RTCJ72LTUC7K3ANCNFSM44FOAS2A.

Stgabsnt commented 3 years ago

I use Carnets and Carnets Plus on my iPad. With the use of Carnets TestFlight version all my files are back on a Carnets Plus Folder on my iPad. Which are good news. There is no Carnets folder. The new files create by the Carnets TestFlight version are on iCloud root on my iPad. There is no Carnets Plus nor Carnets Folder on the online version of iCloud, but the new files are also on the online version of iCloud.