Verified Commit 9228e3cd authored by Grégor JOUET's avatar Grégor JOUET 🔧
Browse files

V pre-alpha

parent 4a49463c
Loading
Loading
Loading
Loading

1

0 → 100644
+82 −0
Original line number Diff line number Diff line
execve("/usr/bin/cat", ["cat", "/etc/shadow"], 0x7ffd02ea9fd8 /* 111 vars */) = 0
brk(NULL)                               = 0x564f2e7a1000
arch_prctl(0x3001 /* ARCH_??? */, 0x7ffc70f3c9a0) = -1 EINVAL (Argument invalide)
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (Aucun fichier ou dossier de ce type)
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=510094, ...}) = 0
mmap(NULL, 510094, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fa5ad535000
close(3)                                = 0
openat(AT_FDCWD, "/usr/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0@q\2\0\0\0\0\0"..., 832) = 832
pread64(3, "\6\0\0\0\4\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0"..., 784, 64) = 784
pread64(3, "\4\0\0\0\20\0\0\0\5\0\0\0GNU\0\2\0\0\300\4\0\0\0\3\0\0\0\0\0\0\0", 32, 848) = 32
pread64(3, "\4\0\0\0\24\0\0\0\3\0\0\0GNU\0\346~\200\347\6\31qw\t\343\30\16U*\21\242"..., 68, 880) = 68
fstat(3, {st_mode=S_IFREG|0755, st_size=2146832, ...}) = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fa5ad533000
pread64(3, "\6\0\0\0\4\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0"..., 784, 64) = 784
pread64(3, "\4\0\0\0\20\0\0\0\5\0\0\0GNU\0\2\0\0\300\4\0\0\0\3\0\0\0\0\0\0\0", 32, 848) = 32
pread64(3, "\4\0\0\0\24\0\0\0\3\0\0\0GNU\0\346~\200\347\6\31qw\t\343\30\16U*\21\242"..., 68, 880) = 68
mmap(NULL, 1860456, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fa5ad36c000
mprotect(0x7fa5ad391000, 1671168, PROT_NONE) = 0
mmap(0x7fa5ad391000, 1363968, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x25000) = 0x7fa5ad391000
mmap(0x7fa5ad4de000, 303104, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x172000) = 0x7fa5ad4de000
mmap(0x7fa5ad529000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1bc000) = 0x7fa5ad529000
mmap(0x7fa5ad52f000, 13160, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fa5ad52f000
close(3)                                = 0
arch_prctl(ARCH_SET_FS, 0x7fa5ad534580) = 0
mprotect(0x7fa5ad529000, 12288, PROT_READ) = 0
mprotect(0x564f2d7df000, 4096, PROT_READ) = 0
mprotect(0x7fa5ad5dd000, 4096, PROT_READ) = 0
munmap(0x7fa5ad535000, 510094)          = 0
brk(NULL)                               = 0x564f2e7a1000
brk(0x564f2e7c2000)                     = 0x564f2e7c2000
openat(AT_FDCWD, "/usr/lib/locale/locale-archive", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=3035936, ...}) = 0
mmap(NULL, 3035936, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fa5ad086000
close(3)                                = 0
fstat(1, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
openat(AT_FDCWD, "/etc/shadow", O_RDONLY) = -1 EACCES (Permission non accordée)
write(2, "cat: ", 5cat: )                    = 5
write(2, "/etc/shadow", 11/etc/shadow)             = 11
openat(AT_FDCWD, "/usr/share/locale/locale.alias", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=2998, ...}) = 0
read(3, "# Locale name alias data base.\n#"..., 4096) = 2998
read(3, "", 4096)                       = 0
close(3)                                = 0
openat(AT_FDCWD, "/usr/share/locale/fr_FR.UTF-8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (Aucun fichier ou dossier de ce type)
openat(AT_FDCWD, "/usr/share/locale/fr_FR.utf8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (Aucun fichier ou dossier de ce type)
openat(AT_FDCWD, "/usr/share/locale/fr_FR/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (Aucun fichier ou dossier de ce type)
openat(AT_FDCWD, "/usr/share/locale/fr.UTF-8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (Aucun fichier ou dossier de ce type)
openat(AT_FDCWD, "/usr/share/locale/fr.utf8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (Aucun fichier ou dossier de ce type)
openat(AT_FDCWD, "/usr/share/locale/fr/LC_MESSAGES/libc.mo", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=149730, ...}) = 0
mmap(NULL, 149730, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fa5ad58d000
close(3)                                = 0
openat(AT_FDCWD, "/usr/lib/gconv/gconv-modules.cache", O_RDONLY) = -1 ENOENT (Aucun fichier ou dossier de ce type)
openat(AT_FDCWD, "/usr/lib/gconv/gconv-modules", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=56353, ...}) = 0
read(3, "# GNU libc iconv configuration.\n"..., 4096) = 4096
read(3, "B1002//\tJUS_I.B1.002//\nmodule\tJU"..., 4096) = 4096
read(3, "\tISO-IR-110//\t\tISO-8859-4//\nalia"..., 4096) = 4096
read(3, "\t\t\tISO-8859-14//\nalias\tISO_8859-"..., 4096) = 4096
read(3, "DIC-ES//\nalias\tEBCDICES//\t\tEBCDI"..., 4096) = 4096
read(3, "CDIC-CP-ES//\t\tIBM284//\nalias\tCSI"..., 4096) = 4096
read(3, "\t\tIBM863//\nalias\tOSF1002035F//\t\t"..., 4096) = 4096
read(3, "937//\t\tIBM937//\nmodule\tIBM937//\t"..., 4096) = 4096
read(3, "UJIS//\t\t\tEUC-JP//\nmodule\tEUC-JP/"..., 4096) = 4096
read(3, "lias\tISO2022CN//\t\tISO-2022-CN//\n"..., 4096) = 4096
read(3, "O_5427-EXT//\nalias\tISO_5427EXT//"..., 4096) = 4096
read(3, "ost\nmodule\tMAC-SAMI//\t\tINTERNAL\t"..., 4096) = 4096
brk(0x564f2e7e3000)                     = 0x564f2e7e3000
read(3, "112//\t\tINTERNAL\t\tIBM1112\t\t1\nmodu"..., 4096) = 4096
read(3, "s\tCP9448//\t\tIBM9448//\nalias\tCSIB"..., 4096) = 3105
read(3, "", 4096)                       = 0
close(3)                                = 0
write(2, ": Permission non accord\303\251e", 26: Permission non accordée) = 26
write(2, "\n", 1
)                       = 1
close(1)                                = 0
close(2)                                = 0
strace: Exit of unknown pid 112594 ignored
exit_group(1)                           = ?
+++ exited with 1 +++
+4 −4
Original line number Diff line number Diff line
@@ -32,11 +32,11 @@ Fablab 3d printing request application
- [ ] Message system
  - [ ] Post message on each request
  - [ ] New message indication
- [ ] Queue management
  - [ ] Working queues
- [x] Queue management
  - [x] Working queues
  - [ ] Indicate successfull / error in printing
  - [ ] **v2** Printer management
  - [ ] **v2** Post to octoprint
  - [x] **v2** Printer management
  - [x] **v2** Post to octoprint

# Target Architecture

+14 −13
Original line number Diff line number Diff line
version: '2'
version: "2"

services:
  app:
    image: dvic.devinci.fr/server/myfab:latest
    ports:
      - 7414:80
    environment:
      - MYSQL_HOST=db
      - MYSQL_DB=db
      - MYSQL_USER=user
      - MYSQL_PASSWORD=password
    links:
      - db
  # app:
  #   image: dvic.devinci.fr/server/myfab:latest
  #   ports:
  #     - 7414:80
  #   environment:
  #     - MYSQL_HOST=db
  #     - MYSQL_DB=db
  #     - MYSQL_USER=user
  #     - MYSQL_PASSWORD=password
  #   links:
  #     - db
  db:
    image: "mysql"
    environment:
@@ -19,7 +19,8 @@ services:
      MYSQL_DATABASE: db
      MYSQL_USER: user
      MYSQL_PASSWORD: password

    ports:
      - 3306:3306
  # rtsp_streamer:
  #   image: aler9/rtsp-simple-server
  #   network: host
+1 −1
Original line number Diff line number Diff line
from myfab.api import app

if __name__ == "__main__":
    app.run()
    app.run(debug=False, host="0.0.0.0", port=5000)
Loading