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

wrong type argument : arrayp, nil #10

Closed
ethanabrooks opened this issue Jun 20, 2017 · 4 comments
Closed

wrong type argument : arrayp, nil #10

ethanabrooks opened this issue Jun 20, 2017 · 4 comments

Comments

@ethanabrooks
Copy link

I have autothemer.el on my load-path, but when I run M-x autothemer-generate-templates I get wrong type argument : arrayp, nil. I'm new to emacs, so apologies if I'm confusing some concepts here.

@sebastiansturm
Copy link
Collaborator

hmm, I guess you didn't call autothemer-deftheme before trying to generate the templates? In that case there is no color palette to choose from (but I should probably emit a user-friendly error message in that case). If that's not it, maybe you could post a backtrace?

@ethanabrooks
Copy link
Author

Sorry, can you walk me through this? M-x autothemer-deftheme does not appear to be a valid command. Do I need to add it to my .emacs?

Also, how do I get a backtrace? When I check messages, it just shows:
autothemer-generate-templates: type argument : arrayp, nil

@sebastiansturm
Copy link
Collaborator

please try to execute the code sample shown in autothemer's readme. That should work (at least it does on my machine), and you should also be able to use autothemer-generate-templates afterwards. If not, try again after calling toggle-debug-on-error; that should produce a backtrace on failure

@ethanabrooks
Copy link
Author

After copying that script into the .emacs file M-x autothemer-generate-templates works. Thanks.

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