Comments (18)
I ve tried to do it with your changes, but it doesnt help.
- I've built main.js
- I've removed previous version of plugin
- I am using desktop sample project, I've added new plugin and copied this project to ipad
- I've added new key, new upload, but after next reload I didn't see settings for plugin. I think that I still has same error
On desktop it is working (and previous version is working too)
from obsidian-gdrive-sync.
capacitor is used to make cross platform apps, i guess it was used to make the iOS app.
for some reason getFilesList function is trying to make a request for capacitor://localhost/app.js
but it's obviously not a valid/usable URL, atleast for the plug-in (it's not even an HTTP request) so it throws that error.
this is especially weird because you can look at actions.js
and look at the getFilesList function, the URL is hardcoded, it should never be capacitor://localhost/app.js
my guess is the requestUrl function which is used in getFilesList (replacement for fetch in obsidian plug-ins) tries to fetch it's content from the app.js file. the catch is that the requestUrl function is used in all other functions too, so they should also throw the same error.
conclusion? i have no clue what is going on and why this is happening :')
from obsidian-gdrive-sync.
made a few changes, can you check again?
i would suggest starting from the beginning, downloading the zip file, replacing the plugin folder in .obisidian/plugins
and deleting the "obsidian" folder in your Drive (even from Bin). then log-in and start setting up.
from obsidian-gdrive-sync.
What is changing with settings between 0.9.5 and 0.9.9?
btw: Happy New Year 🥳
from obsidian-gdrive-sync.
screen-20240102-144359.mp4
nothing much has changed for settings from 0.9.5, but a lot else has changed. i tested it on other devices and couldn't replicate the issue.
this is how it looks on my phone. in which step does it fail for you?
happy new year :)
from obsidian-gdrive-sync.
- I've built main.js
- I've removed previous version of plugin
- I am using desktop sample project, I've added new plugin and copied this project to ipad
- I've added new key, new upload, but after next reload I didn't see settings for plugin. I think that I still has same error
if i am understanding it correctly then you are starting a project on the desktop and then copying it over to your iPad, are you logging in (and initializing the vault) on the desktop before you're copying the project? if so then the refreshToken (key) that you used in your desktop should carry over to the iPad
can you provide a video recording/screen recording of the issue?
from obsidian-gdrive-sync.
I removed data.json file from desktop before copy. (I dont find any ways to install plugin on ipad except copy project from desktop). I will try to record
from obsidian-gdrive-sync.
hm, this time I cant upload initial files at all (I dont know why), usually I see that after click "proceed" button and reload plugin.
RPReplay_Final1704188683.mov
from obsidian-gdrive-sync.
can you check whether the files have already been uploaded to Drive? is there a folder named "obsidian" in your drive? does it have anything in it?
from obsidian-gdrive-sync.
The "obsidian" folder exists from previous loads. And it has folders, from previous attempts. But in this case - no new folder
from obsidian-gdrive-sync.
by any chance are there two folders with the same name in your Drive's obsidian folder? I have tried my best to replicate the issue but couldn't. I would suggest you to use the latest release zip and try once more :(
the plugin is properly working on the desktop correct?
i will try and add error logging (in a .md file) so that people can view the logs even on mobile devices
from obsidian-gdrive-sync.
Hm, about 2 folders, maybe, but it is not main cause. I had the same behaviour before recording and with different vault names.
yep, the plugin is working properly on the desktop
yes, logging in file will be great, thanks
from obsidian-gdrive-sync.
added error logging on the latest release:
https://github.com/stravo1/obsidian-gdrive-sync/releases/tag/v0.9.9-beta-5
enable in settings
from obsidian-gdrive-sync.
added normal verbose logging also, this helps even if there's no error:
https://github.com/stravo1/obsidian-gdrive-sync/releases/tag/v0.9.9-beta-6
enable them in settings, and please provide both the error-log and verbose-log files
from obsidian-gdrive-sync.
Hi, in the beta-6 version I can see the settings page. But I had some errors in logs. Clip the logs below
verbose-log-gdrive-plugin.md
from obsidian-gdrive-sync.
so now everything is fine? weird man :')
looked at the logs, doesn't seem like anything i can fix, might be an issue with obsidian itself or some conflicts with other plug-ins, honestly i have no idea
but if the plug-in is functional then i will close this issue
glad to help :)
from obsidian-gdrive-sync.
Last question) What is this error "ERROR: Unable to complete action: - getFilesList => Error - Bad URL. - M@capacitor://localhost/app.js:1:239326"
from obsidian-gdrive-sync.
fixed at https://github.com/stravo1/obsidian-gdrive-sync/releases/tag/v0.9.9-beta-9
from obsidian-gdrive-sync.
Related Issues (20)
- "readwise folder" in vault's root doesnt sync HOT 4
- Text cursor teleports to top of page
- Not possible on iOS right ? HOT 4
- Initial upload: no folder creaded HOT 1
- Newer file overwritten HOT 2
- Clicking "open this link to login" doesn't work HOT 4
- iOS broken HOT 7
- same folder across pc and android HOT 10
- sync issue: upload on desktop works great, download on android fails 3/4 through HOT 2
- Synchronization interval HOT 3
- sync has issues HOT 2
- Download updated files not working. HOT 3
- Cannot read properties of undefined (reading 'modifiedTime') HOT 1
- Failed to load plugin HOT 5
- Security concern HOT 4
- how could i access the google-drive-sync-enabled-vault on my ipad? HOT 4
- Desktop and Mobile: same folder on GDrive HOT 12
- Crash during initial upload HOT 29
- so good !!! thank you. and question on updates HOT 4
- adds "lastsync: Fri Mar 29 2024 03:48:32 GMT+0100 " after every note, and crash bug in comments HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from obsidian-gdrive-sync.