juliosecco
Member-
Posts
120 -
Joined
-
Last visited
-
Days Won
4
juliosecco last won the day on June 30 2022
juliosecco had the most liked content!
Profile Information
-
Location
Rome
juliosecco's Achievements
Member (4/5)
23
Reputation
-
juliosecco reacted to a post in a topic: osascript: no such component "JavaScript"
-
osascript: no such component "JavaScript"
juliosecco replied to juliosecco's topic in Discussion & Help
Command not found! -
osascript: no such component "JavaScript"
juliosecco replied to juliosecco's topic in Discussion & Help
where? thanks -
osascript: no such component "JavaScript"
juliosecco replied to juliosecco's topic in Discussion & Help
yes reooted, but I have noticed this problem before switching to Ventura if in terminal I do the following: osalang -l I have asDB lns cgxerv-h AppleScript Debugger ascr appl cgxervdh AppleScript jscr appl cgxe-v-h AppleScript scpt appl cgxervdh Generic Scripting System I imagine I should see also Javascript... -
osascript: no such component "JavaScript"
juliosecco replied to juliosecco's topic in Discussion & Help
Hi Vitor, I don't have such file were you said, I have only a com.apple.ScriptEditor2.LSSharedFileList.plist. that's an empty plist I have Alfred 5.0.6, the system is Ventura 13.1 The plugin is Pause Tabs (is yours, I suppose), version 2002.2 testing on Safari with Allow JavaScript from Apple Events enabled thank you! -
I can't use workflows using osascript/javascript, must the javascript component be installed and how? using Ventura thanks
-
juliosecco started following Vero
-
juliosecco started following Andrew
-
juliosecco started following deanishe
-
juliosecco started following vitor
-
OAL reacted to a post in a topic: Alfred snippets with trailing space or tab.
-
Multilingual translation dictionary with Glosbe.com
juliosecco replied to deanishe's topic in Share your Workflows
THank you anyway!- 18 replies
-
- translation
- dictionary
-
(and 6 more)
Tagged with:
-
Multilingual translation dictionary with Glosbe.com
juliosecco replied to deanishe's topic in Share your Workflows
Yes, I supposed that- 18 replies
-
- translation
- dictionary
-
(and 6 more)
Tagged with:
-
Multilingual translation dictionary with Glosbe.com
juliosecco replied to deanishe's topic in Share your Workflows
I use and like Glosbe workflow a lot, but it has has suddenly stopped working the workflow outputs 'error contacting glosbe.com' here the debug: Starting debug for 'Glosbe Translation' [2019-02-27 11:10:41][ERROR: input.scriptfilter] Code 1: 11:10:41 translate.py:133 DEBUG script args : [u'eng', u'ita', u'c'] 11:10:41 translate.py:135 DEBUG docopt args : {u'--help': False, u'--langs': False, u'--openhelp': False, u'--text': False, u'<dest>': u'ita', u'<query>': u'c', u'<source>': u'eng'} 11:10:41 translate.py:60 DEBUG Calling http://glosbe.com/gapi_v0_1/translate with args : {u'dest': u'ita', u'phrase': u'c', u'from': u'eng', u'pretty': u'true', u'format': u'json'} 11:10:41 workflow.py:1894 DEBUG Cached data saved at : /Users/juliomacr/Library/Caches/com.runningwithcrayons.Alfred-3/Workflow Data/net.deanishe.alfred-glosbe/4f19be0f2b1109e6fcec4edfc976b244.cpickle 11:10:41 workflow.py:2243 ERROR object of type 'int' has no len() Traceback (most recent call last): File "/Users/juliomacr/Dropbox/Alfred/Alfred.alfredpreferences/workflows/user.workflow.F9FF7FEC-7E02-4F79-8A95-EFE9A465638C/workflow/workflow.py", line 2236, in run func(self) File "translate.py", line 180, in main if not len(results): TypeError: object of type 'int' has no len() 11:10:41 workflow.py:2267 DEBUG Workflow finished in 0.270 seconds. [2019-02-27 11:10:41][WARNING: input.scriptfilter] XML Parse Error 'The operation couldn’t be completed. (NSXMLParserErrorDomain error 64.)'. Row 2, Col 195: 'XML declaration allowed only at the start of the document' in XML: <?xml version="1.0" encoding="utf-8"?> <items><item valid="no"><title>Error contacting Glosbe.com</title><subtitle /><icon>/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/AlertStopIcon.icns</icon></item></items><?xml version="1.0" encoding="utf-8"?> <items><item valid="no"><title>Error in workflow 'net.deanishe.alfred-glosbe'</title><subtitle>object of type 'int' has no len()</subtitle><icon>/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/AlertStopIcon.icns</icon></item></items> [2019-02-27 11:10:42][ERROR: input.scriptfilter] Code 1: 11:10:41 translate.py:133 DEBUG script args : [u'eng', u'ita', u'chai'] 11:10:41 translate.py:135 DEBUG docopt args : {u'--help': False, u'--langs': False, u'--openhelp': False, u'--text': False, u'<dest>': u'ita', u'<query>': u'chai', u'<source>': u'eng'} 11:10:41 translate.py:60 DEBUG Calling http://glosbe.com/gapi_v0_1/translate with args : {u'dest': u'ita', u'phrase': u'chai', u'from': u'eng', u'pretty': u'true', u'format': u'json'} 11:10:41 workflow.py:1894 DEBUG Cached data saved at : /Users/juliomacr/Library/Caches/com.runningwithcrayons.Alfred-3/Workflow Data/net.deanishe.alfred-glosbe/61142e8582e6d754836e7b7c06eba7bd.cpickle 11:10:41 workflow.py:2243 ERROR object of type 'int' has no len() Traceback (most recent call last): File "/Users/juliomacr/Dropbox/Alfred/Alfred.alfredpreferences/workflows/user.workflow.F9FF7FEC-7E02-4F79-8A95-EFE9A465638C/workflow/workflow.py", line 2236, in run func(self) File "translate.py", line 180, in main if not len(results): TypeError: object of type 'int' has no len() 11:10:41 workflow.py:2267 DEBUG Workflow finished in 0.307 seconds. [2019-02-27 11:10:43][ERROR: input.scriptfilter] Code 1: 11:10:42 translate.py:133 DEBUG script args : [u'eng', u'ita', u'chair'] 11:10:42 translate.py:135 DEBUG docopt args : {u'--help': False, u'--langs': False, u'--openhelp': False, u'--text': False, u'<dest>': u'ita', u'<query>': u'chair', u'<source>': u'eng'} 11:10:42 translate.py:60 DEBUG Calling http://glosbe.com/gapi_v0_1/translate with args : {u'dest': u'ita', u'phrase': u'chair', u'from': u'eng', u'pretty': u'true', u'format': u'json'} 11:10:43 workflow.py:1894 DEBUG Cached data saved at : /Users/juliomacr/Library/Caches/com.runningwithcrayons.Alfred-3/Workflow Data/net.deanishe.alfred-glosbe/315b3bffae742b7bebdf80c9dfcc2f75.cpickle 11:10:43 workflow.py:2243 ERROR object of type 'int' has no len() Traceback (most recent call last): File "/Users/juliomacr/Dropbox/Alfred/Alfred.alfredpreferences/workflows/user.workflow.F9FF7FEC-7E02-4F79-8A95-EFE9A465638C/workflow/workflow.py", line 2236, in run func(self) File "translate.py", line 180, in main if not len(results): TypeError: object of type 'int' has no len() 11:10:43 workflow.py:2267 DEBUG Workflow finished in 0.438 seconds.- 18 replies
-
- translation
- dictionary
-
(and 6 more)
Tagged with:
-
solved [SOLVED] Glosbe workflow stopped working
juliosecco replied to juliosecco's topic in Workflow Help & Questions
Hi Vero, OK you are right! have a good day Giulio -
solved [SOLVED] Glosbe workflow stopped working
juliosecco posted a topic in Workflow Help & Questions
I use your glosbe workflow a lot, and like it very much, but it has suddenly stopped working... I have checked all the 'Mojave' suggestions, but anyway it was working in Mojave until some time ago. -
Hi, I have never used python , but I have arranged a little update to the fuzzylist.py script. at line 25 you can see a line like this: r['uid']=r['arg'] now you should insert two new lines before it: r['arg']=r['title'] r['subtitle']="" the first command will set the 'arg' (the value that will be pasted if you attach a 'Copy to clipboard' action to the Script filter) in the output json file with the same value of the 'title' the second command simply sets 'subtitle' to empty. so you don't see <null> with this update the list.csv file to drag into the workflow folder does not need anymore to be a three column text file but can be a single column file, with the single column value assigned both to the 'title', 'uid' and 'arg' values of the created json file. hope this helps you, Giulio
-
juliosecco reacted to a post in a topic: Fuzzy, self-updating list filter workflow template (working in 12.3)
-
well, using BBedit or another text editor thst accepts regular expressions, you could do a search replace this way: search string: ^([^\n]+)$ replace string: \1,,\1 (tested with BBedit and it works)
-
Why is the alfred prefence file so monstrously large?
juliosecco replied to wengwengweng's topic in Discussion & Help
well, in the case of workflows, they could contain just everything, but especially text and maybe images -
solved [SOLVED] Screenshots to preview. Is this possible?
juliosecco replied to MarcG's topic in Discussion & Help
Great!