Re: [racket-users] DrRacket internal error

2015-04-24 Thread Robby Findler
Are you sure you have the latest version of the code? That line number
isn't a function in my version.

Robby

On Fri, Apr 24, 2015 at 6:40 PM, Alexander D. Knauth
alexan...@knauth.org wrote:
 Restarting didn’t help, and running raco setup and then restarting didn’t 
 help either.

 On Apr 24, 2015, at 7:34 PM, Alexander D. Knauth alexan...@knauth.org wrote:

 I’m getting similar internal errors again:
 hash-ref: contract violation
  expected: hash?
  given: #f
  argument position: 1st
  other arguments...:
   '|let |
   '()
  context...:
   /Applications/Racket/April-16/Racket 
 v6.2.0.2/share/pkgs/drracket/drracket/private/syncheck/blueboxes-gui.rkt:450:4:
  compute-tag+rng method in ...ck/blueboxes-gui.rkt:175:2
   /Applications/Racket/April-16/Racket 
 v6.2.0.2/share/pkgs/gui-lib/framework/private/coroutine.rkt:47:20
   /Applications/Racket/April-16/Racket 
 v6.2.0.2/share/pkgs/gui-lib/framework/private/coroutine.rkt:56:0: 
 coroutine-run
   /Applications/Racket/April-16/Racket 
 v6.2.0.2/collects/racket/contract/private/arrow-val-first.rkt:265:18
   /Applications/Racket/April-16/Racket 
 v6.2.0.2/share/pkgs/drracket/drracket/private/syncheck/blueboxes-gui.rkt:414:4:
  update-the-strs method in ...ck/blueboxes-gui.rkt:175:2
   /Applications/Racket/April-16/Racket 
 v6.2.0.2/share/pkgs/gui-lib/framework/private/logging-timer.rkt:41:0: 
 log-timeline/proc
   /Applications/Racket/April-16/Racket 
 v6.2.0.2/share/pkgs/gui-lib/mred/private/wx/common/timer.rkt:34:38
   /Applications/Racket/April-16/Racket 
 v6.2.0.2/share/pkgs/gui-lib/mred/private/wx/common/queue.rkt:454:6
   /Applications/Racket/April-16/Racket 
 v6.2.0.2/share/pkgs/gui-lib/mred/private/wx/common/queue.rkt:505:32
   /Applications/Racket/April-16/Racket 
 v6.2.0.2/share/pkgs/gui-lib/mred/private/wx/common/queue.rkt:653:3

 I’m not sure if this could be relevant, but these first started showing up 
 when I was trying to do stuff like this, but they have continued after that:
 #lang at-exp racket
 (begin-for-syntax
  (define stx #'@{hello})
  (define hello-stx (car (syntax-e stx)))
  (define (orig stx) (syntax-property stx 'original-for-check-syntax #t)))
 (define-syntax (m _)
  (with-syntax ([x1 (syntax/loc hello-stx x)]
[x2 (syntax/loc #'here x)])
#'(let ([x1 #f])
x2)))
 (m)

 I’ll try restarting and running raco setup again, and see if that fixes it.


 On Apr 22, 2015, at 10:16 PM, Robby Findler ro...@eecs.northwestern.edu 
 wrote:

 I'm glad to hear that helped.

 Looking at the code, I'm puzzled because I don't see how
 configure-runtime can show up in the code that is in that stacktrace.
 I'd expect configure-runtime to show up in code that was initializing
 an environment for running a language, but that code is the new
 blueboxes code. It's possible it is using a function that is somehow
 doing that, I guess? It calls path-module-path and
 xref-binding-definition-tag (that does some stuff with module paths).
 I'm stumped.

 Robby


 On Wed, Apr 22, 2015 at 8:36 PM, Alexander D. Knauth
 alexan...@knauth.org wrote:
 Restarting didn’t help, but then raco setup hanged because of an infinite 
 loop in a package of mine, which I then fixed, and then I tried raco setup 
 again, and then it was working again.  So the problem, for me, right now, 
 is fixed.

 On Apr 22, 2015, at 9:23 PM, Robby Findler ro...@eecs.northwestern.edu 
 wrote:

 Does restarting help? How about re-running 'raco setup'?

 Robby

 On Wed, Apr 22, 2015 at 6:21 PM, Alexander D. Knauth
 alexan...@knauth.org wrote:
 I’m not sure how it got into this state, but now every time I start 
 typing something or anything like that I get a DrRacket internal error 
 window saying:
 hash-ref: contract violation
 expected: hash?
 given: #f
 argument position: 1st
 other arguments...:
 'configure-runtime
 '()
 context...:
 /Applications/Racket/April-16/Racket 
 v6.2.0.2/share/pkgs/drracket/drracket/private/syncheck/blueboxes-gui.rkt:450:4:
  compute-tag+rng method in ...ck/blueboxes-gui.rkt:175:2
 /Applications/Racket/April-16/Racket 
 v6.2.0.2/share/pkgs/gui-lib/framework/private/coroutine.rkt:47:20
 /Applications/Racket/April-16/Racket 
 v6.2.0.2/share/pkgs/gui-lib/framework/private/coroutine.rkt:56:0: 
 coroutine-run
 /Applications/Racket/April-16/Racket 
 v6.2.0.2/collects/racket/contract/private/arrow-val-first.rkt:265:18
 /Applications/Racket/April-16/Racket 
 v6.2.0.2/share/pkgs/drracket/drracket/private/syncheck/blueboxes-gui.rkt:414:4:
  update-the-strs method in ...ck/blueboxes-gui.rkt:175:2
 /Applications/Racket/April-16/Racket 
 v6.2.0.2/share/pkgs/gui-lib/framework/private/logging-timer.rkt:41:0: 
 log-timeline/proc
 /Applications/Racket/April-16/Racket 
 v6.2.0.2/share/pkgs/gui-lib/mred/private/wx/common/timer.rkt:34:38
 /Applications/Racket/April-16/Racket 
 v6.2.0.2/share/pkgs/gui-lib/mred/private/wx/common/queue.rkt:454:6
 /Applications/Racket/April-16/Racket 
 v6.2.0.2/share/pkgs/gui-lib/mred/private/wx/common/queue.rkt:505:32
 

Re: [racket-users] DrRacket internal error

2015-04-22 Thread Robby Findler
Does restarting help? How about re-running 'raco setup'?

Robby

On Wed, Apr 22, 2015 at 6:21 PM, Alexander D. Knauth
alexan...@knauth.org wrote:
 I’m not sure how it got into this state, but now every time I start typing 
 something or anything like that I get a DrRacket internal error window saying:
 hash-ref: contract violation
   expected: hash?
   given: #f
   argument position: 1st
   other arguments...:
'configure-runtime
'()
   context...:
/Applications/Racket/April-16/Racket 
 v6.2.0.2/share/pkgs/drracket/drracket/private/syncheck/blueboxes-gui.rkt:450:4:
  compute-tag+rng method in ...ck/blueboxes-gui.rkt:175:2
/Applications/Racket/April-16/Racket 
 v6.2.0.2/share/pkgs/gui-lib/framework/private/coroutine.rkt:47:20
/Applications/Racket/April-16/Racket 
 v6.2.0.2/share/pkgs/gui-lib/framework/private/coroutine.rkt:56:0: 
 coroutine-run
/Applications/Racket/April-16/Racket 
 v6.2.0.2/collects/racket/contract/private/arrow-val-first.rkt:265:18
/Applications/Racket/April-16/Racket 
 v6.2.0.2/share/pkgs/drracket/drracket/private/syncheck/blueboxes-gui.rkt:414:4:
  update-the-strs method in ...ck/blueboxes-gui.rkt:175:2
/Applications/Racket/April-16/Racket 
 v6.2.0.2/share/pkgs/gui-lib/framework/private/logging-timer.rkt:41:0: 
 log-timeline/proc
/Applications/Racket/April-16/Racket 
 v6.2.0.2/share/pkgs/gui-lib/mred/private/wx/common/timer.rkt:34:38
/Applications/Racket/April-16/Racket 
 v6.2.0.2/share/pkgs/gui-lib/mred/private/wx/common/queue.rkt:454:6
/Applications/Racket/April-16/Racket 
 v6.2.0.2/share/pkgs/gui-lib/mred/private/wx/common/queue.rkt:505:32
/Applications/Racket/April-16/Racket 
 v6.2.0.2/share/pkgs/gui-lib/mred/private/wx/common/queue.rkt:653:3

 --
 You received this message because you are subscribed to the Google Groups 
 Racket Users group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to racket-users+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
Racket Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [racket-users] DrRacket internal error

2015-04-22 Thread Robby Findler
I'm glad to hear that helped.

Looking at the code, I'm puzzled because I don't see how
configure-runtime can show up in the code that is in that stacktrace.
I'd expect configure-runtime to show up in code that was initializing
an environment for running a language, but that code is the new
blueboxes code. It's possible it is using a function that is somehow
doing that, I guess? It calls path-module-path and
xref-binding-definition-tag (that does some stuff with module paths).
I'm stumped.

Robby


On Wed, Apr 22, 2015 at 8:36 PM, Alexander D. Knauth
alexan...@knauth.org wrote:
 Restarting didn’t help, but then raco setup hanged because of an infinite 
 loop in a package of mine, which I then fixed, and then I tried raco setup 
 again, and then it was working again.  So the problem, for me, right now, is 
 fixed.

 On Apr 22, 2015, at 9:23 PM, Robby Findler ro...@eecs.northwestern.edu 
 wrote:

 Does restarting help? How about re-running 'raco setup'?

 Robby

 On Wed, Apr 22, 2015 at 6:21 PM, Alexander D. Knauth
 alexan...@knauth.org wrote:
 I’m not sure how it got into this state, but now every time I start typing 
 something or anything like that I get a DrRacket internal error window 
 saying:
 hash-ref: contract violation
  expected: hash?
  given: #f
  argument position: 1st
  other arguments...:
   'configure-runtime
   '()
  context...:
   /Applications/Racket/April-16/Racket 
 v6.2.0.2/share/pkgs/drracket/drracket/private/syncheck/blueboxes-gui.rkt:450:4:
  compute-tag+rng method in ...ck/blueboxes-gui.rkt:175:2
   /Applications/Racket/April-16/Racket 
 v6.2.0.2/share/pkgs/gui-lib/framework/private/coroutine.rkt:47:20
   /Applications/Racket/April-16/Racket 
 v6.2.0.2/share/pkgs/gui-lib/framework/private/coroutine.rkt:56:0: 
 coroutine-run
   /Applications/Racket/April-16/Racket 
 v6.2.0.2/collects/racket/contract/private/arrow-val-first.rkt:265:18
   /Applications/Racket/April-16/Racket 
 v6.2.0.2/share/pkgs/drracket/drracket/private/syncheck/blueboxes-gui.rkt:414:4:
  update-the-strs method in ...ck/blueboxes-gui.rkt:175:2
   /Applications/Racket/April-16/Racket 
 v6.2.0.2/share/pkgs/gui-lib/framework/private/logging-timer.rkt:41:0: 
 log-timeline/proc
   /Applications/Racket/April-16/Racket 
 v6.2.0.2/share/pkgs/gui-lib/mred/private/wx/common/timer.rkt:34:38
   /Applications/Racket/April-16/Racket 
 v6.2.0.2/share/pkgs/gui-lib/mred/private/wx/common/queue.rkt:454:6
   /Applications/Racket/April-16/Racket 
 v6.2.0.2/share/pkgs/gui-lib/mred/private/wx/common/queue.rkt:505:32
   /Applications/Racket/April-16/Racket 
 v6.2.0.2/share/pkgs/gui-lib/mred/private/wx/common/queue.rkt:653:3

 --
 You received this message because you are subscribed to the Google Groups 
 Racket Users group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to racket-users+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.

 --
 You received this message because you are subscribed to the Google Groups 
 Racket Users group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to racket-users+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.


-- 
You received this message because you are subscribed to the Google Groups 
Racket Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [racket-users] DrRacket internal error

2015-04-22 Thread Alexander D. Knauth
Restarting didn’t help, but then raco setup hanged because of an infinite loop 
in a package of mine, which I then fixed, and then I tried raco setup again, 
and then it was working again.  So the problem, for me, right now, is fixed.  

On Apr 22, 2015, at 9:23 PM, Robby Findler ro...@eecs.northwestern.edu wrote:

 Does restarting help? How about re-running 'raco setup'?
 
 Robby
 
 On Wed, Apr 22, 2015 at 6:21 PM, Alexander D. Knauth
 alexan...@knauth.org wrote:
 I’m not sure how it got into this state, but now every time I start typing 
 something or anything like that I get a DrRacket internal error window 
 saying:
 hash-ref: contract violation
  expected: hash?
  given: #f
  argument position: 1st
  other arguments...:
   'configure-runtime
   '()
  context...:
   /Applications/Racket/April-16/Racket 
 v6.2.0.2/share/pkgs/drracket/drracket/private/syncheck/blueboxes-gui.rkt:450:4:
  compute-tag+rng method in ...ck/blueboxes-gui.rkt:175:2
   /Applications/Racket/April-16/Racket 
 v6.2.0.2/share/pkgs/gui-lib/framework/private/coroutine.rkt:47:20
   /Applications/Racket/April-16/Racket 
 v6.2.0.2/share/pkgs/gui-lib/framework/private/coroutine.rkt:56:0: 
 coroutine-run
   /Applications/Racket/April-16/Racket 
 v6.2.0.2/collects/racket/contract/private/arrow-val-first.rkt:265:18
   /Applications/Racket/April-16/Racket 
 v6.2.0.2/share/pkgs/drracket/drracket/private/syncheck/blueboxes-gui.rkt:414:4:
  update-the-strs method in ...ck/blueboxes-gui.rkt:175:2
   /Applications/Racket/April-16/Racket 
 v6.2.0.2/share/pkgs/gui-lib/framework/private/logging-timer.rkt:41:0: 
 log-timeline/proc
   /Applications/Racket/April-16/Racket 
 v6.2.0.2/share/pkgs/gui-lib/mred/private/wx/common/timer.rkt:34:38
   /Applications/Racket/April-16/Racket 
 v6.2.0.2/share/pkgs/gui-lib/mred/private/wx/common/queue.rkt:454:6
   /Applications/Racket/April-16/Racket 
 v6.2.0.2/share/pkgs/gui-lib/mred/private/wx/common/queue.rkt:505:32
   /Applications/Racket/April-16/Racket 
 v6.2.0.2/share/pkgs/gui-lib/mred/private/wx/common/queue.rkt:653:3
 
 --
 You received this message because you are subscribed to the Google Groups 
 Racket Users group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to racket-users+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.
 
 -- 
 You received this message because you are subscribed to the Google Groups 
 Racket Users group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to racket-users+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
Racket Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[racket-users] DrRacket internal error

2015-04-22 Thread Alexander D. Knauth
I’m not sure how it got into this state, but now every time I start typing 
something or anything like that I get a DrRacket internal error window saying:
hash-ref: contract violation
  expected: hash?
  given: #f
  argument position: 1st
  other arguments...:
   'configure-runtime
   '()
  context...:
   /Applications/Racket/April-16/Racket 
v6.2.0.2/share/pkgs/drracket/drracket/private/syncheck/blueboxes-gui.rkt:450:4: 
compute-tag+rng method in ...ck/blueboxes-gui.rkt:175:2
   /Applications/Racket/April-16/Racket 
v6.2.0.2/share/pkgs/gui-lib/framework/private/coroutine.rkt:47:20
   /Applications/Racket/April-16/Racket 
v6.2.0.2/share/pkgs/gui-lib/framework/private/coroutine.rkt:56:0: coroutine-run
   /Applications/Racket/April-16/Racket 
v6.2.0.2/collects/racket/contract/private/arrow-val-first.rkt:265:18
   /Applications/Racket/April-16/Racket 
v6.2.0.2/share/pkgs/drracket/drracket/private/syncheck/blueboxes-gui.rkt:414:4: 
update-the-strs method in ...ck/blueboxes-gui.rkt:175:2
   /Applications/Racket/April-16/Racket 
v6.2.0.2/share/pkgs/gui-lib/framework/private/logging-timer.rkt:41:0: 
log-timeline/proc
   /Applications/Racket/April-16/Racket 
v6.2.0.2/share/pkgs/gui-lib/mred/private/wx/common/timer.rkt:34:38
   /Applications/Racket/April-16/Racket 
v6.2.0.2/share/pkgs/gui-lib/mred/private/wx/common/queue.rkt:454:6
   /Applications/Racket/April-16/Racket 
v6.2.0.2/share/pkgs/gui-lib/mred/private/wx/common/queue.rkt:505:32
   /Applications/Racket/April-16/Racket 
v6.2.0.2/share/pkgs/gui-lib/mred/private/wx/common/queue.rkt:653:3

-- 
You received this message because you are subscribed to the Google Groups 
Racket Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.