shawnrice / packal-updater

Draft Code for the Alfred package manager
GNU General Public License v3.0
106 stars 14 forks source link

Cannot get GUI to work (Code 0: 134:141: syntax error: A identifier can’t go after this “"”. (-2740)) #1

Closed vdesabou closed 10 years ago

vdesabou commented 10 years ago

Hi Shawn,

First of all this workflow looks awesome! Thanks! I have a problem when trying to use GUI. After selecting the 'Open Graphical Application', I get the prompt window where I enter my admin password, and then I get in output:

Starting debug for 'Packal Updater'

[INFO: alfred.workflow.input.scriptfilter] <?xml version="1.0"?>
<items><item uid="updates" arg="updates" valid="no" autocomplete="update"><arg>updates</arg><title>Updates available</title><subtitle>There are 2 updates pending.</subtitle><icon></icon></item><item arg="manifest-update" valid="yes"><arg>manifest-update</arg><title>The manifest is up to date.</title><subtitle>Last updated 15 minutes and 21 seconds ago.</subtitle><icon>assets/icons/task-complete.png</icon></item><item uid="open-gui" arg="open-gui" valid="yes"><arg>open-gui</arg><title>Open Graphical 'Application'</title><subtitle>Configure this workflow, Update workflows, and learn about this workflow. (RECOMMENDED)</subtitle><icon>assets/icons/applications-education-miscellaneous.png</icon></item><item uid="blacklist" arg="blacklist" valid="no" autocomplete="blacklist"><arg>blacklist</arg><title>Manage Blacklist</title><subtitle>Configure which workflows Packal updates</subtitle><icon>assets/icons/flag-black.png</icon></item><item arg="" valid="no"><arg></arg><title>Informational</title><subtitle>There are 255 workflows in the manifest, of which, you have 58 installed, and you wrote 2 of those.</subtitle><icon>assets/icons/help-about.png</icon></item><item arg="setup" valid="no" autocomplete="setup"><arg>setup</arg><title>Configure</title><subtitle>Make this workflow work best for you.</subtitle><icon>assets/icons/applications-system.png</icon></item></items>
[INFO: alfred.workflow.input.scriptfilter] Processing output 'alfred.workflow.action.script' with arg 'open-gui'
[ERROR: alfred.workflow.action.script] Code 0: 134:141: syntax error: A identifier can’t go after this “"”. (-2740)
36:87: execution error: System Events got an error: Can’t set process "Application Stub" to true. (-10006)
[INFO: alfred.workflow.action.script] Processing output 'alfred.workflow.output.notification' with arg ''

Would you have any idea what's wrong and how I can debug that?

Thanks

vdesabou commented 10 years ago

Ok that was quick: I've removed the bundler directory in data and retried and it fixed the issue :) Sorry for the noise