• [^] # Re: Ah ben ça tombe bien !

    Posté par . En réponse au journal Document de cours : "Python for science". Évalué à 2. Dernière modification le 14 mai 2019 à 22:22.

    Ca m'est marrant, quand on exécute le main, on vois une petite fenêtre dans le navigateur comme si on exécutait le programme python localement.

    Bon travail!

    Mais ça fait quoi exactement?

    Sinon j'ai quand même des erreurs qui apparaissent dans la console. Ca doit être des logs de ton serveur:

    Collecting atlastk==0.9.6 (from -r requirements.txt (line 1))
     Downloading https://files.pythonhosted.org/packages/04/35/a78eaee0555124fdd6105d5fca0efe5b65e5ef6bee25b0cb1d3643fd65cf/atlastk-0.9.6-py3-none-any.whl
    Installing collected packages: atlastk
    Successfully installed atlastk-0.9.6
     bash -c polygott-x11-vnc q && DISPLAY=:0 run-project
    nohup: redirecting stderr to stdout
    xset: unable to open display ":0"
    Keyboard Control:
     auto repeat: on key click percent: 0 LED mask: 00000000
     XKB indicators:
     00: Caps Lock: off 01: Num Lock: off 02: Scroll Lock: off
     03: Shift Lock: off 04: Group 2: off 05: Mouse Keys: off
     auto repeat delay: 660 repeat rate: 25
     auto repeating keys: 00feffffdffffbbf
     fadfffffffdfe5ef
     ffffffffffffffff
     ffffffffffffffff
     bell percent: 50 bell pitch: 400 bell duration: 100
    Pointer Control:
     acceleration: 2/1 threshold: 4
    Screen Saver:
     prefer blanking: yes allow exposures: yes
     timeout: 600 cycle: 600
    Colors:
     default colormap: 0x20 BlackPixel: 0x0 WhitePixel: 0xffffff
    Font Path:
     /usr/share/fonts/X11/misc,built-ins
    DPMS (Energy Star):
     Display is not capable of DPMS
    nohup: ignoring input and appending output to 'nohup.out'
    nohup: appending output to 'nohup.out'
    Connection to 'atlastk.org:53800'...
    ****************************************************************************
     Your application is connected to the free public server. Welcome!
    ****************************************************************************
    http://atlastk.org/xdh.php?_token=3d4b8e98-cf4a-4d3e-af0f-856477c9d408
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    Open above URL in a web browser. Enjoy!
    Failed to move to new namespace: PID namespaces supported, Networknamespace supported, but failed: errno = Operation not permitted
    Trace/breakpoint trap (core dumped)
    Failed to move to new namespace: PID namespaces supported, Networknamespace supported, but failed: errno = Operation not permitted
    Trace/breakpoint trap (core dumped)
    /usr/bin/xdg-open: 851: /usr/bin/xdg-open: firefox: not found
    /usr/bin/xdg-open: 851: /usr/bin/xdg-open: iceweasel: not found
    /usr/bin/xdg-open: 851: /usr/bin/xdg-open: seamonkey: not found
    /usr/bin/xdg-open: 851: /usr/bin/xdg-open: mozilla: not found
    /usr/bin/xdg-open: 851: /usr/bin/xdg-open: epiphany: not found
    /usr/bin/xdg-open: 851: /usr/bin/xdg-open: konqueror: not found
    /usr/bin/xdg-open: 851: /usr/bin/xdg-open: chromium: not found
    Failed to move to new namespace: PID namespaces supported, Networknamespace supported, but failed: errno = Operation not permitted
    Trace/breakpoint trap (core dumped)
    /usr/bin/xdg-open: 851: /usr/bin/xdg-open: google-chrome: not found
    /usr/bin/xdg-open: 851: /usr/bin/xdg-open: www-browser: not found
    /usr/bin/xdg-open: 851: /usr/bin/xdg-open: links2: not found
    /usr/bin/xdg-open: 851: /usr/bin/xdg-open: elinks: not found
    /usr/bin/xdg-open: 851: /usr/bin/xdg-open: links: not found
    /usr/bin/xdg-open: 851: /usr/bin/xdg-open: lynx: not found
    /usr/bin/xdg-open: 851: /usr/bin/xdg-open: w3m: not found
    xdg-open: no method available for opening 'http://atlastk.org/xdh.php?_token=3d4b8e98-cf4a-4d3e-af0f-856477c9d408'