vitor Posted February 26, 2018 Author Share Posted February 26, 2018 Update. Fix list displaying by eliminating surrounding whitespace. To update, download the latest version (same URL) or wait a few days and it’ll prompt you to on next usage, since it uses OneUpdater. Link to comment
xilopaint Posted February 27, 2018 Share Posted February 27, 2018 I'm getting this with the latest version: [2018-02-26 22:14:57][ERROR: action.script] /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require': dlopen(/Users/****/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.A1917321-BE3A-4788-9739-881D004B077D/_licensed/Redcarpet/gems/redcarpet-3.4.0/lib/redcarpet.bundle, 0x0009): required dylib '/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/libruby.2.0.0.dylib' not found, needed by '/Users/****/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.A1917321-BE3A-4788-9739-881D004B077D/_licensed/Redcarpet/gems/redcarpet-3.4.0/lib/redcarpet.bundle'. Did try: file not found '/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/libruby.2.0.0.dylib', file not found '/usr/lib/libruby.2.0.0.dylib', file not found '/usr/local/lib/libruby.2.0.0.dylib' - /Users/****/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.A1917321-BE3A-4788-9739-881D004B077D/_licensed/Redcarpet/gems/redcarpet-3.4.0/lib/redcarpet.bundle (LoadError) from /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require' from /Users/****/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.A1917321-BE3A-4788-9739-881D004B077D/_licensed/Redcarpet/gems/redcarpet-3.4.0/lib/redcarpet.rb:1:in `<top (required)>' from /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require' from /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require' from ./html:4:in `<main>' Tried to upgrade Homebrew Ruby with no success. Link to comment
xilopaint Posted February 27, 2018 Share Posted February 27, 2018 (edited) Nevermind. I just saw some posts above I could fix the issue rebuilding redcarpet. Edited February 27, 2018 by xilopaint Link to comment
Guy Stan Posted February 28, 2018 Share Posted February 28, 2018 On 03/01/2018 at 4:42 PM, vitor said: Just as a note, I think the commands need to be modified with a / after ${HOME} to work properly: mv "${HOME}/Desktop/Dropbox/Alfred3_Sync_Folder/Alfred.alfredpreferences/workflows/user.workflow.1A72E7E5-AF98-4BB3-9C50-2E1BE8F769F2/_licensed/Redcarpet" "${HOME}/.Trash" /usr/bin/gem install --install-dir "${HOME}/Desktop/Dropbox/Alfred3_Sync_Folder/Alfred.alfredpreferences/workflows/user.workflow.1A72E7E5-AF98-4BB3-9C50-2E1BE8F769F2/_licensed/Redcarpet" --no-document redcarpet vitor 1 Link to comment
vitor Posted February 28, 2018 Author Share Posted February 28, 2018 Good catch, @Guy Stan, thank you. Fixed. Link to comment
vitor Posted April 29, 2018 Author Share Posted April 29, 2018 Update. Auto-fix when needing to reinstall redcarpet. To update, download the latest version (same URL) or wait a few days and it’ll prompt you to on next usage, since it uses OneUpdater. Link to comment
jacoblo Posted October 9, 2018 Share Posted October 9, 2018 Might be a stupid question but when I do the the mk > rtf I lose all my line breaks. Probably some poor handling on my site but any way around it and fix it? Link to comment
vitor Posted October 9, 2018 Author Share Posted October 9, 2018 1 hour ago, jacoblo said: Might be a stupid question but when I do the the mk > rtf I lose all my line breaks. Probably some poor handling on my site but any way around it and fix it? Unfortunately that somewhat depends on the target application. But try the newest version (jus updated) as it may work for you. Link to comment
jacoblo Posted October 10, 2018 Share Posted October 10, 2018 8 hours ago, vitor said: Unfortunately that somewhat depends on the target application. But try the newest version (jus updated) as it may work for you. Got 1.23.1 and still the same issue. Is that the latest? Link to comment
vitor Posted October 10, 2018 Author Share Posted October 10, 2018 3 hours ago, jacoblo said: Got 1.23.1 and still the same issue. Is that the latest? Yes. What application are you trying to paste into? Link to comment
jacoblo Posted October 10, 2018 Share Posted October 10, 2018 1 hour ago, vitor said: Yes. What application are you trying to paste into? Evernote and Textedit on mac...does it work for you? Link to comment
vitor Posted October 10, 2018 Author Share Posted October 10, 2018 26 minutes ago, jacoblo said: does it work for you? Yes. Link to comment
vitor Posted May 27, 2019 Author Share Posted May 27, 2019 Update. Add workaround to not expand Alfred Dynamic Placeholders. To update, download the latest version (same URL) or wait a few days and it’ll prompt you to on next usage, since it uses OneUpdater. Link to comment
vitor Posted May 30, 2019 Author Share Posted May 30, 2019 Update. Improvements to Rich Text rendering. Only available for Alfred 4. To update, download the latest version (same URL) or wait a few days and it’ll prompt you to on next usage, since it uses OneUpdater. Link to comment
vitor Posted June 20, 2019 Author Share Posted June 20, 2019 Update. Further improvements to Rich Text rendering. To update, download the latest version (same URL) or wait a few days and it’ll prompt you to on next usage, since it uses OneUpdater. Link to comment
xilopaint Posted December 25, 2019 Share Posted December 25, 2019 Hey Vitor, I'm getting this: [03:47:25.544] MarkdownTransform[Hotkey] Processing complete [03:47:25.547] MarkdownTransform[Hotkey] Passing output 'ksfklsdjfklsdjfl[ksd]jfl' to Run Script [03:47:32.491] STDERR: MarkdownTransform[Run Script] /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require': cannot load such file -- redcarpet (LoadError) from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require' from /Users/***/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.87D997CD-0A30-4355-96DB-A45BBAE573A6/ipboard_bbcode_renderer.rb:1:in `<top (required)>' from ./bbcode:4:in `require_relative' from ./bbcode:4:in `<main>' [03:47:32.498] MarkdownTransform[Run Script] Processing complete [03:47:32.499] MarkdownTransform[Run Script] Passing output '' to Copy to Clipboard [03:47:32.500] MarkdownTransform[Copy to Clipboard] Processing complete [03:47:32.502] MarkdownTransform[Copy to Clipboard] Passing output '' to Run Script Link to comment
xilopaint Posted December 25, 2019 Share Posted December 25, 2019 I should add that I followed this procedure with no success. On 1/11/2018 at 8:43 PM, vitor said: @_atanas Try this in a terminal: mv '/Users/atanasjanackovski/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.C2D7D30E-F51F-489C-AB45-C098803A3AD0/_licensed/Redcarpet' "${HOME}/.Trash" /usr/bin/gem install --install-dir '/Users/atanasjanackovski/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.C2D7D30E-F51F-489C-AB45-C098803A3AD0/_licensed/Redcarpet' --no-document redcarpet The same caveat as before applies. Since redcarpet seems to require rebuilding depending on the macOS version, I should integrate the fix into the Workflow. Link to comment
vitor Posted December 25, 2019 Author Share Posted December 25, 2019 @xilopaint Are you on Catalina? I’m not and won’t be for a long while (likely ever, considering how buggy and problematic it is), so I won’t be able to debug it for now. Link to comment
xilopaint Posted December 25, 2019 Share Posted December 25, 2019 (edited) 24 minutes ago, vitor said: @xilopaint Are you on Catalina? I’m not and won’t be for a long while (likely ever, considering how buggy and problematic it is), so I won’t be able to debug it for now. Yes. I guess Catalina is frowned upon because of the hard Beta program which was surrounded by a lot of criticism. Yet I haven't been facing issues since the release of the first stable version, it's been really pretty stable for me. Edited December 25, 2019 by xilopaint Link to comment
vitor Posted December 25, 2019 Author Share Posted December 25, 2019 29 minutes ago, xilopaint said: I guess Catalina is frowned upon because of the hard Beta program which was surrounded by a lot of criticism. It was not just the beta period. I still find credible reports of issues—in both Catalina and iOS 13—including in first-party apps. On Homebrew Cask, it’s common to have problems reported that happen only in Catalina. Multiple casks required updates because of it. Had the problems been ironed out in the betas (they were not, which is why Apple is making more releases than usual), they wouldn’t have felt the need to revamp their own testing methods for future versions. 31 minutes ago, xilopaint said: Yet I haven't been facing issues since the release of the first stable version, it's been really pretty stable for me. We’re having this conversation because you reported an issue that is likely to be caused by a mess up in Catalina. deanishe 1 Link to comment
deanishe Posted April 15, 2020 Share Posted April 15, 2020 Having the same issue on my new iMac (it's got Catalina ). Wish I knew enough about Ruby to fix it. I guess I'll have to dust off my old Pandoc-based Markdown->BBCode converter I used before you added a proper Markdown parser to this workflow, and add your much nicer styles to it. Link to comment
vitor Posted May 8, 2020 Author Share Posted May 8, 2020 Had a few ideas and did a bit of investigating, and the failure seems to be related to a macOS bug. Can anyone try running:/usr/bin/gem install --no-document --install-dir "${HOME}/Desktop/Redcarpet" redcarpet That should place a Redcarpet directory on your Desktop. Does it? Does it give any errors? Link to comment
xilopaint Posted May 8, 2020 Share Posted May 8, 2020 6 hours ago, vitor said: Had a few ideas and did a bit of investigating, and the failure seems to be related to a macOS bug. Can anyone try running: /usr/bin/gem install --no-document --install-dir "${HOME}/Desktop/Redcarpet" redcarpet That should place a Redcarpet directory on your Desktop. Does it? Does it give any errors? The latest version of the workflow is working for me on Catalina. Link to comment
vitor Posted May 8, 2020 Author Share Posted May 8, 2020 8 hours ago, xilopaint said: The latest version of the workflow is working for me on Catalina. Ah, yes, I forgot to mention that just before that comment I updated the Workflow’s dependencies. Though I was expecting it to still need further fixing for Catalina, but great that it’s working for you! Let’s see if it’s working for @deanishe as well. deanishe and xilopaint 2 Link to comment
deanishe Posted May 8, 2020 Share Posted May 8, 2020 Yes, it works fine on Catalina for me. Unfortunately, it doesn't work properly with Firefox It adds a bunch of extra line breaks. (IIRC, you added them on purpose to fix the skanky behaviour of the forum editor in Safari & Chrome?) But don't worry about me. I have my own MD -> BBCode converter workflow based on a Pandoc script I found (which I've messed around with to fix the skanky behaviour of the forum editor in Firefox). Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now