Notifications
Clear all

FabScanPi Server is currently not running


lupr1
Posts: 1
Topic starter
(@lupr1)
New Member
Joined: 1 month ago

Hello everyone,

the last days I started working with the FabScan.. including the assembling as well as the software installation. I'm right now struggling with connecting to the FabScan Server. I already recognized that this i a common problem but I couldn't find any answer so far during my research. Whenever I try to connect to the server's ip address, the server is currently not running.

Checking the server leads to the following message... saying that it's active...

pi@fabscanpi: $ sudo systemctl status fabscanpi-server

● fabscanpi-server.service - FabScan Pi - Open Source 3D Scanner
   Loaded: loaded (/lib/systemd/system/fabscanpi-server.service; enabled; vendor preset: enabled)
   Active: active (running) since Thu 2021-06-24 1322 CEST; 1min 29s ago
 Main PID: 1658 (fabscanpi-serve)
    Tasks: 10 (limit: 1786)
   CGroup: /system.slice/fabscanpi-server.service
           ├─1658 /usr/bin/python3 /usr/bin/fabscanpi-server --config=/etc/fabscanpi/default.config.json --settings=/etc/fabscanpi/default.set
           ├─1691 sudo avrdude-autoreset -p m328p -b 115200 -carduino -P/dev/ttyAMA0
           ├─1692 /bin/bash /usr/bin/avrdude-autoreset -p m328p -b 115200 -carduino -P/dev/ttyAMA0
           ├─1693 sudo strace -o | tail -n +1 | autoreset -eioctl sudo /usr/bin/avrdude -p m328p -b 115200 -carduino -P/dev/ttyAMA0
           ├─1694 strace -o | tail -n +1 | autoreset -eioctl sudo /usr/bin/avrdude -p m328p -b 115200 -carduino -P/dev/ttyAMA0
           ├─1697 sh -c  tail -n +1 | autoreset
           ├─1698 sudo /usr/bin/avrdude -p m328p -b 115200 -carduino -P/dev/ttyAMA0
           ├─1699 tail -n +1
           └─1701 /usr/bin/avrdude -p m328p -b 115200 -carduino -P/dev/ttyAMA0

Jun 24 1329 fabscanpi fabscanpi-server[1658]: avrdude-original: Using autoreset DTR on GPIO Pin 7
Jun 24 1319 fabscanpi sudo[1667]: pam_unix(sudo session closed for user root
Jun 24 1319 fabscanpi fabscanpi-server[1658]: tail: write error: Broken pipe
Jun 24 1319 fabscanpi sudo[1662]: pam_unix(sudo session closed for user root
Jun 24 1319 fabscanpi sudo[1691]:     root : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/bin/avrdude-autoreset -p m328p -b 115200 -card
Jun 24 1319 fabscanpi sudo[1691]: pam_unix(sudo session opened for user root by (uid=0)
Jun 24 1319 fabscanpi sudo[1693]:     root : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/bin/strace -o | tail -n +1 | autoreset -eioctl
Jun 24 1319 fabscanpi sudo[1693]: pam_unix(sudo session opened for user root by (uid=0)
Jun 24 1320 fabscanpi sudo[1698]:     root : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/bin/avrdude -p m328p -b 115200 -carduino -P/de
Jun 24 1320 fabscanpi sudo[1698]: pam_unix(sudo session opened for user root by (uid=0)

The log file outputs is only frequently repeating:

pi@fabscanpi:/var/log/fabscanpi $ sudo less fabscanpi.log

2021-06-17 1313,905 [16975:1996405456] INFO - fabscan.server.FSScanServer: FabScanPi-Server 0.9.4
2021-06-17 1313,909 [16975:1996405456] DEBUG - fabscan.scanner.interfaces: Scanner Type is: laserscanner
2021-06-17 1314,872 [16975:1996405456] DEBUG - fabscan.scanner.laserscanner.driver.FSSerial: Port in Config found
2021-06-17 1314,875 [16975:1996405456] DEBUG - fabscan.scanner.laserscanner.driver.FSSerial: Latest available firmware version is: v.20200
624
2021-06-17 1317,113 [16975:1996405456] INFO - fabscan.lib.util.FSUtil: b'avrdude-original: Using autoreset DTR on GPIO Pin 7'
2021-06-17 1306,622 [16975:1996405456] ERROR - fabscan.scanner.laserscanner.driver.FSSerial: Communication error on port /dev/ttyAMA0 try 
other flashing baudrate than 115200. Maybe corrupted bootloader.
2021-06-17 1306,623 [16975:1996405456] ERROR - fabscan.scanner.laserscanner.driver.FSSerial: Fatal FabScanPi HAT or compatible connection 
error: 'NoneType' object has no attribute 'isOpen'
2021-06-17 1306,623 [16975:1996405456] INFO - fabscan.server.FSScanServer: FabScan Server Exit. Bye!

Can anyone help me with this issue.. thank you in advance. Feel free to ask for any more information or code.

Cheers.

Reply
Share: