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 <tim.br...@cityc.co.uk
<mailto:tim.br...@cityc.co.uk>> 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...]

    When I load the following into DrRacket:

    ;; -------------------------------------
    #lang racket/base
    (require (for-syntax db racket/base))

    (define-for-syntax pga
       (postgresql-connect
        #:user "tim"
        #:password "souper-secret-passwor*"
        #:port 5432
        #:database "tims_db"
        #:server "localhost"))
    ;; -------------------------------------

    I get the following in my status line:

    subprocess: forbidden (execute) access to /bin/uname

    This is causing my background execution to fail (red dot); although
    foreground execution is happy.

    I cannot find uname in the source; or in my .racketrc or anywhere in
    ~/.racket/ .

    Anyone have any clues?

    Tim

    Versions:

    $ racket
    Welcome to Racket v6.4.
     > (version)
    "6.4"

    $ uname -a
    Linux tim-8 4.4.0-1-amd64 #1 SMP Debian 4.4.6-1 (2016-03-17) x86_64
    GNU/Linux

    --
    Tim Brown CEng MBCS <tim.br...@cityc.co.uk
    <mailto:tim.br...@cityc.co.uk>>
    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
                     City Computing Limited · www.cityc.co.uk
    <http://www.cityc.co.uk>
           City House · Sutton Park Rd · Sutton · Surrey · SM1 2AE · GB
                     T:+44 20 8770 2110 <tel:%2B44%2020%208770%202110> ·
    F:+44 20 8770 2130 <tel:%2B44%2020%208770%202130>
    ────────────────────────────────────────────────────────────────────────
    City Computing Limited registered in London No:1767817.
    Registered Office: City House, Sutton Park Road, Sutton, Surrey, SM1 2AE
    VAT No: GB 918 4680 96

    --
    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
    <mailto:racket-users%2bunsubscr...@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
<mailto: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.

Reply via email to