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

the index 'per' does not exist #1

Open
myoung34 opened this issue Sep 19, 2019 · 2 comments
Open

the index 'per' does not exist #1

myoung34 opened this issue Sep 19, 2019 · 2 comments

Comments

@myoung34
Copy link

Im a newb to attract, but I installed it, helpers and shuffle.

Attract errors on startup with:

AN ERROR HAS OCCURED [the index 'per' does not exist]

CALLBACK 
*FUNCTION [main()] /home/barcade/.attract/layouts/mvscomplete/layout.nut line [102]
...

local overscan = per(2, flh); is the corresponding line.

Versions:
OS - ubuntu 18.04 LTS
Attract - 2.5.1
mvscomplete/helpers/shuffle - master branches

@myoung34
Copy link
Author

found theh function https://github.com/keilmillerjr/helpers-module/blob/master/module.nut#L19
Looking into why its not loaded

@myoung34
Copy link
Author

Figured it out

The documentation for this shows to install Helpers which shows $HOME/.attract/modules/Helpers/
and Shuffle which shows $HOME/.attract/modules/Shuffle but this module loads helpers and shuffle which is a bit confusing for new comers. Would you like a PR here to update .nut file to show Helpers and Shuffle or a PR to each of those other repos to show $HOME/.attract/modules/shuffle and $HOME/.attract/modules/helpers ?

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

1 participant