Re: [racket-users] drracket / postgresql error when opening connection for syntax

2016-04-06 Thread Matthew Flatt
I think `(system-type 'machine)` should use the root security guard when trying to start "/bin/uname". I'll make that change unless someone sees a problem with it. At Wed, 6 Apr 2016 17:08:00 +0200, Sam Tobin-Hochstadt wrote: > If you're getting the error in the status line, but not when you hit >

Re: [racket-users] drracket / postgresql error when opening connection for syntax

2016-04-06 Thread Tim Brown
Sensible. Thanks all. Tim On 06/04/16 16:08, Sam Tobin-Hochstadt wrote: > If you're getting the error in the status line, but not when you hit > the Run button, then it's because background expansion in DrRacket is > run in a sandbox that can't execute programs (among other things). > > Sam >

Re: [racket-users] drracket / postgresql error when opening connection for syntax

2016-04-06 Thread Sam Tobin-Hochstadt
If you're getting the error in the status line, but not when you hit the Run button, then it's because background expansion in DrRacket is run in a sandbox that can't execute programs (among other things). Sam On Wed, Apr 6, 2016 at 5:05 PM, Tim Brown wrote: > Not so quick! :-) > > I’m allowed t

Re: [racket-users] drracket / postgresql error when opening connection for syntax

2016-04-06 Thread Tim Brown
Not so quick! :-) I’m allowed to run /bin/uname (-rwxr-xr-x permissions) So why do I get a permissions error from racket? Tim On 06/04/16 14:43, Ryan Culpepper wrote: > The problem was a use of (system-type 'machine) in racket/unix-socket. > I've pushed a fix. > > Ryan > > > On 04/06/2016 08

Re: [racket-users] drracket / postgresql error when opening connection for syntax

2016-04-06 Thread Tim Brown
Thanks Ryan On 06/04/16 14:43, Ryan Culpepper wrote: > The problem was a use of (system-type 'machine) in racket/unix-socket. > I've pushed a fix. > > Ryan > > > On 04/06/2016 08:06 AM, WarGrey Gyoudmon Ju wrote: >> I met this problem before. >> (system-type 'machine) uses the output of `uname

Re: [racket-users] drracket / postgresql error when opening connection for syntax

2016-04-06 Thread Ryan Culpepper
The problem was a use of (system-type 'machine) in racket/unix-socket. I've pushed a fix. Ryan On 04/06/2016 08:06 AM, WarGrey Gyoudmon Ju wrote: I met this problem before. (system-type 'machine) uses the output of `uname`. On Wed, Apr 6, 2016 at 5:47 PM, Tim Brown mailto:tim.br...@cityc.co.

Re: [racket-users] drracket / postgresql error when opening connection for syntax

2016-04-06 Thread WarGrey Gyoudmon Ju
I met this problem before. (system-type 'machine) uses the output of `uname`. On Wed, Apr 6, 2016 at 5:47 PM, Tim Brown wrote: > Folks, > > I’m experimenting with creating functions from a PostgreSQL database. > [Frankly, I’m still getting my head around what I _actually_ want to do > here, but.

[racket-users] drracket / postgresql error when opening connection for syntax

2016-04-06 Thread Tim Brown
Folks, I’m experimenting with creating functions from a PostgreSQL database. [Frankly, I’m still getting my head around what I _actually_ want to do here, but...] When I load the following into DrRacket: ;; - #lang racket/base (require (for-syntax db racket/ba