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

hs.task:new() does not validate all task arguments are strings #2337

Open
von opened this issue Apr 5, 2020 · 1 comment
Open

hs.task:new() does not validate all task arguments are strings #2337

von opened this issue Apr 5, 2020 · 1 comment

Comments

@von
Copy link
Contributor

von commented Apr 5, 2020

If one passes a value in the arguments array for hs.task.new() that is not a string, one gets a highly unclear error when invoking start():

2017-05-10 13:27:10: 13:27:10 ** Warning: LuaSkin: hs.task:launch() Unable to launch hs.task process: -[__NSCFNumber fileSystemRepresentation]: unrecognized selector sent to instance 0x337

Referencing #1418 as that is where one ends up if one searches for the above error.

@von von changed the title hs.task.launch() Unable to launch hs.task process: ... unrecognized selector sent to instance hs.task:launch() Unable to launch hs.task process: ... unrecognized selector sent to instance Apr 17, 2020
@cmsj cmsj changed the title hs.task:launch() Unable to launch hs.task process: ... unrecognized selector sent to instance hs.task:new() does not validate all task arguments are strings May 20, 2020
@cmsj cmsj added this to the 0.9.79 milestone May 20, 2020
@cmsj
Copy link
Member

cmsj commented May 20, 2020

Thanks @von this is a good bug discovery!

@cmsj cmsj removed this from the 0.9.79 milestone Sep 20, 2020
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

2 participants