-
-
Notifications
You must be signed in to change notification settings - Fork 7
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] #10
Comments
Thanks for reporting the issue. Can you please share the error message that you get when you try to install the plugin?
Get Outlook for Android<https://aka.ms/ghei36>
…________________________________
From: koldex ***@***.***>
Sent: Wednesday, February 23, 2022 10:57:18 AM
To: ganesshkumar/obsidian-excel-to-markdown-table ***@***.***>
Cc: Ganessh Kumar ***@***.***>; Assign ***@***.***>
Subject: [ganesshkumar/obsidian-excel-to-markdown-table] [BUG] (Issue #10)
Describe the bug
This plugin gives an error and fails to load on Obsidian for iOS
Screenshots
If applicable, add screenshots to help explain your problem.
Smartphone (please complete the following information):
* Device: [iPhone13]
* OS: [iOS 15.3.1]
* Version [Obsidian 1.1.0 (38), Plugin 0.2.2]
—
Reply to this email directly, view it on GitHub<#10>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AAQJIMPSDDRNEIBOWTV3EPDU4RV3NANCNFSM5PDK2U2Q>.
You are receiving this because you were assigned.Message ID: ***@***.***>
|
Hi! I ran into the same issue on iOS 15.4.1 (tested on iPad and iPhone) The error message displayed at the bottom of the screen is Is there any way to get more information that would be helpful? Thanks! Edit: I updated the error message. I missed part of it the first time. |
I was able to get a console log from iOS via the obsidian-mobile-logging plugin. Here is what is logged when trying to enable the plugin:
|
I was issue-diving other repos and this comment caught my eye which says that regex lookbehinds aren't supported in iOS. Could this line be the issue:
|
Open an issue in the upstream dependency package, csholmq/vscode-excel-to-markdown-table#28 |
When I was looking for an easy way to paste tables, @ganesshkumar your plugin looked like the perfect solution 🙂 But if looks like I have the same issue
When I try to enable the installed plugin I get the following error:
|
Thanks to @marcusmoore for figuring out it was about regex issue. I've modified the positive lookbehind to negative lookahead, like this below.
to // .obsidian/plugins/obsidian-excel-to-markdown-table/main.js#L104
var EXCEL_NEWLINE_ESCAPED_CELL_REGEX = /"([^\t]*(?!\r)\n[^\t]*)"/g; Not sure that this regex is enough to do its' all jobs, but works pretty well for me. :) |
For those who doesn't need this plugin to work in IOS, just change // .obsidian/plugins/obsidian-excel-to-markdown-table/manifest.json
{
"id": "obsidian-excel-to-markdown-table",
"name": "Excel to Markdown Table",
...,
"isDesktopOnly": true // <-- set to true
} |
Mentioned in this issue ganesshkumar#10
Describe the bug
This plugin gives an error and fails to load on Obsidian for iOS
Screenshots
If applicable, add screenshots to help explain your problem.
Smartphone (please complete the following information):
The text was updated successfully, but these errors were encountered: