Skip to content
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

Packal Updater returns zero results #6

Open
Jyqft opened this issue Dec 17, 2015 · 6 comments
Open

Packal Updater returns zero results #6

Jyqft opened this issue Dec 17, 2015 · 6 comments

Comments

@Jyqft
Copy link

Jyqft commented Dec 17, 2015

For the last month or so, Packal Updater hasn't been returning any results on my end. When I type the keyword "packal", I briefly see the placeholder menu item (Update your packages — Talking to server and processing data), and then it disappears totally, with no results to show.

Here's the log for the workflow upon being run:

[ERROR: input.scriptfilter] XML Parse Error 'The operation couldn’t be completed.    (NSXMLParserErrorDomain error 4.)'. Row (null), Col (null): 'Document is empty' in XML:
Warning: simplexml_load_file(): ../user.workflow.888A7996-63E8-4875-8961-DD04ACC8A6C3/packal/package.xml:3: parser error : xmlParseEntityRef: no name in ~/Dropbox/Alfred/Alfred.alfredpreferences/workflows/user.workflow.8B7B0794-B543-4F6E-A4BE-10A486094D49/script.php on line 156

Warning: simplexml_load_file():   <name>Files & Folders</name> in ~/Dropbox/Alfred/Alfred.alfredpreferences/workflows/user.workflow.8B7B0794-B543-4F6E-A4BE-10A486094D49/script.php on line 156

Warning: simplexml_load_file():                ^ in ~/Dropbox/Alfred/Alfred.alfredpreferences/workflows/user.workflow.8B7B0794-B543-4F6E-A4BE-10A486094D49/script.php on line 156
@Jyqft
Copy link
Author

Jyqft commented May 21, 2016

@shawnrice: Any updates on this? I just started using Alfred 3 and the log is also from Alfred 3.

@benjamintconnelly
Copy link

+1

@SeeHavens
Copy link

I also have no Packal Updater functionality right now. I am running El Capitan and Alfred 3.

@shawnrice
Copy link
Owner

If it's still the problem above, then try clearing the cache and running again. There was a bad character in there that the current updater didn't account for. I took care of it in the repo side.

I did log several hours on the new version this weekend, so rest assured that progress is happening.

@Jyqft
Copy link
Author

Jyqft commented Jun 27, 2016

What are the steps for clearing the cache?

I tried going to Alfred Preferences > Advanced > Files/Apps > Clear Application Cache, but that didn't work.

Here's the new error log:

Starting debug for 'Packal Updater'

[2016-06-28 12:20:03][ERROR: input.scriptfilter] JSON error: JSON text did not start with array or object and option to allow fragments not set. in JSON:
Warning: simplexml_load_file(): ../user.workflow.888A7996-63E8-4875-8961-DD04ACC8A6C3/packal/package.xml:3: parser error : xmlParseEntityRef: no name in /Users/username/Dropbox/Alfred/Alfred.alfredpreferences/workflows/user.workflow.81E04915-2CD5-454F-A958-1F9EB45CFD11/script.php on line 156

Warning: simplexml_load_file():   <name>Files & Folders</name> in /Users/username/Dropbox/Alfred/Alfred.alfredpreferences/workflows/user.workflow.81E04915-2CD5-454F-A958-1F9EB45CFD11/script.php on line 156

Warning: simplexml_load_file():                ^ in /Users/username/Dropbox/Alfred/Alfred.alfredpreferences/workflows/user.workflow.81E04915-2CD5-454F-A958-1F9EB45CFD11/script.php on line 156
<?xml version="1.0"?>
<items><item uid="updates" arg="updates" valid="no" autocomplete="update"><arg>updates</arg><title>Updates available</title><subtitle>There are 12 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 over a week 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 575 workflows in the manifest, of which, you have 77 installed, and you wrote 0 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><item arg="install-cron-script" valid="yes"><arg>install-cron-script</arg><title>Install Alfred Cron Script</title><subtitle>Make Alfred Cron check for updates for you.</subtitle><icon>..//icons/timer.png</icon></item></items>

@derimagia
Copy link

It doesn't look like this supports Alfred 3 - the plugin is riddled with direct paths to "Alfred 2" directories... I'm unsure shawnrice didn't realize that's what this post is about, I may be missing something.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants