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

can't read "::lastIdx": no such variable OSX 0.48.0 #199

Closed
megrimm opened this issue Aug 20, 2017 · 3 comments
Closed

can't read "::lastIdx": no such variable OSX 0.48.0 #199

megrimm opened this issue Aug 20, 2017 · 3 comments
Assignees
Labels
bug/fix either a bug (for issues) or a bugfix (for pull-requests) pending this issue is resolved, but not released/merged into master yet
Milestone

Comments

@megrimm
Copy link
Contributor

megrimm commented Aug 20, 2017

If I start Pd. Then Pd -> Preferences -> Startup -> New

If I "X" out of the "Add new Library" window I get the following error:

can't read "::lastIdx": no such variable
can't read "::lastIdx": no such variable
while executing
"if { $curIdx != $::lastIdx } {
# clear any current selection
$mytoplevel.listbox.box selection clear 0 end

    set oldIdx $::last..."
(procedure "::scrollbox::release" line 5)
invoked from within

"::scrollbox::release .gfxstub100574350 92 76"
(command bound to event)

If I type something, "Gem" for example, and "X" out of window I get a similar error AND "Gem" (or whatever) gets added to "Pd libraries to load on startup":

can't read "::lastIdx": no such variable
can't read "::lastIdx": no such variable
while executing
"if { $curIdx != $::lastIdx } {
# clear any current selection
$mytoplevel.listbox.box selection clear 0 end

    set oldIdx $::last..."
(procedure "::scrollbox::release" line 5)
invoked from within

"::scrollbox::release .gfxstub1006138e0 94 71"
(command bound to event)

@danomatika danomatika self-assigned this Aug 21, 2017
@danomatika danomatika added the bug/fix either a bug (for issues) or a bugfix (for pull-requests) label Aug 21, 2017
@danomatika
Copy link
Contributor

Does the scroll box have any items or is it empty?

I think this is because I added focus on the scrollbox when the window is opened so key events work right away. The variable might not be set until a click is performed, however.

@danomatika danomatika modified the milestone: 0.48-1 Aug 21, 2017
@megrimm
Copy link
Contributor Author

megrimm commented Aug 21, 2017

well.... right now i can in no way reproduce what was happening yesterday. i tried adding/removing items from box, etc. but everything seems now fine. i do not know what might have changed.

i will keep messing around and if i get error again I will add details to this thread.

@danomatika
Copy link
Contributor

Looks like IOhannes has a fix.

@umlaeute umlaeute reopened this Aug 22, 2017
@umlaeute umlaeute added the pending this issue is resolved, but not released/merged into master yet label Aug 22, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug/fix either a bug (for issues) or a bugfix (for pull-requests) pending this issue is resolved, but not released/merged into master yet
Projects
None yet
Development

No branches or pull requests

3 participants