-
-
Notifications
You must be signed in to change notification settings - Fork 62
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
[Bug]: Error during database creation #826
Comments
Hello @gbeyrend , |
Thank you very much @RafaelGB for your swift answer. I tried it and it didn't work. It was misleading because I actually didn't paste the whole log. Here is the correct log : ParseService.ts:59 Uncaught (in promise) TypeError: kr.getDataviewAPI(...).isDataArray is not a function I also disabled all plugins except dataview to see if there was a conflict with other plug ins, but it still does not work. I don't know how to solve this error. Your help is very much welcome since I am really looking forward to using this plug in. I am very excited to be able to use your plug in. EDIT = The work-around of right clicking on the folder and "new database folder" works but lots of errors happen. Cannot for example define maximum of row to see on the table, automatically come back to 10. Impossible to add a column, it doesn't take the value form the metadata and then remove the column on its own.... Uncaught (in promise) TypeError: kr.getDataviewAPI(...).isDataArray is not a function It looks that this is such a good tool, but not able to use it at the moment, would like to know how to solve it. |
The lines:
|
Neither do I, even if I am more an R user. I don't see what I am doing wrong, I have the same version as others, no conflicts with other plugins. Maybe, if possible, would you have 15 minutes one day to check with me remotely in private @RafaelGB ? I don't see the reason why the plugin is not working for me. |
I got the same error; I'm using the latest software and plugins: From the error, it seems that it has something to do with Dataview, seems that it did not get its parameter? It's worth mentioning that I also fail to use MetadataMenu 0.4.21 properly, a plugin that I just tried out today, which relies on dataview. This plugin tells me "plugin is not a valid fileClass" when I follow the tutorial. |
Update: I installed the latest mobile version on android, then the database file can be created properly, and I can add rows to create files; however, seems that I can't add column, even though a message showing that it has been created successfully, I can't see the column appearing in the table. Moreover, if I try to type something in the a cell within the table, the same error message as on the desktop version appears. FYI, the vault folder on the android was copied from my desktop. |
After uninstalling dataview and reinstall it (perhaps also after I reinstall db folder), now I can use the plugin without the error message, though somehow each cell of the "Text" format contains a file icon, besides the first column: However, this issue doesn't appear if I create a new vault and create a database. |
I'm wrong in saying that the above bug does not appear in a new vault; however, I found a solution to this problem, though I believe that there still might be a bug here. Please see the relevant post: |
I will create a custom isDataArray function to control this kind of error. I'm sorry for the delay in responding, I moved house |
as I said in the previous reply, this bug disappears after I uninstall dataview totally and reinstall it, though I found another relevant bug. Please see #850 |
to summarize, the dataview issue disappears after I uninstall dataview and install it again, though the icon issue as shown in the previous reply can occur in my previous vault, though it does not appear in a clean new vault. BTW, I found that I'm not the only one that suffers of the icon issue; I saw a tutorial video on db-folder on internet, and I notice that the icon issue also appears in that tutorial video, though the poster didn't realize this as a bug. The second relevant issue here is the #850, which is associated with creating and using tags in a database file. |
this issue and the control of the dataArray will be controlled with #850 , about the icon problem will be investigate independently, thanks for your testing, I really appreciate it |
@RafaelGB I found another potential issue related to this. If I copy the folders in the obsidian plugin folder of my previous vault into the clean vault I created (in which, I have installed db folder and used it successfully), the said error message again shows up. So this issue might be caused by some other plugins? Not sure. |
Can you share a zip with your .obsidian folder to reproduce the problem? without debug it could be difficult to find the source of this mysterious problem |
Above are the plugin files within the plugin folder of the new vault, which is created upon copying those within my previous vault into this new vault (tha latter has dataview and dbfoler installed properly). Of course, I didn't copy the dataview and dbfolder during the above operation). Notice that, the new vault (with dataview and dbfolder installed properly) worked properly at first, but after this paste and restart the vault (I noticed that the newly imported plugins are all disabled by default, which I didn't touch), the previous rows within a database file got lost, and it reports the following error when I create a new row: After I delete those newly pasted plugin folders and restart the vault, the missing rows come back, and I can continue creating new rows. |
Contact Details
guillaume.beyrend@gmail.com
What happened?
While trying to create a database, I got this error:
Error creating database "" : TypeError: kr.getDataviewAPI(....).isDataArray is not a function
No database is created.
What platform were you using?
Desktop
Version of the plugin
3.3.1
Relevant log output
Are you using the latest version of the plugin in your Obsidian vault?
Are you check if there is a similar issue?
The text was updated successfully, but these errors were encountered: