Notifications
Clear all

FabScanPi Server is currently not running


lupr1
Posts: 1
Topic starter
(@lupr1)
New Member
Joined: 3 months 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
1 Reply
dave.marianne
Posts: 1
(@dave-marianne)
New Member
Joined: 2 days ago

Hi

I am trying to get my fabscan running i am using an uno arduion board and a pi 3 model b board.

I have read lots of info and changed lots of set up but run in the the same problem sever not running, the log file below say it a board rate i have changed it in the pi set up file and the arduion and not change. would like some help to pint me in the right direction.

2021-08-22 1532,752 [510:1996368592] INFO - fabscan.server.FSScanServer: FabScan Server Exit. Bye!
2021-08-22 1530,398 [535:1996102352] INFO - fabscan.server.FSScanServer: FabScanPi-Server 0.10.0
2021-08-22 1530,399 [535:1996102352] DEBUG - fabscan.FSConfig: Loading config file.
2021-08-22 1530,401 [535:1996102352] DEBUG - fabscan.FSConfig: Checking for valid config values.
2021-08-22 1530,404 [535:1996102352] DEBUG - fabscan.scanner.interfaces: Scanner Type is: laserscanner
2021-08-22 1531,037 [535:1996102352] DEBUG - fabscan.scanner.laserscanner.FSImageProcessor: config ID: 1706252976
2021-08-22 1531,037 [535:1996102352] DEBUG - fabscan.scanner.laserscanner.FSImageProcessor: Initializing weighted Matrix
2021-08-22 1531,169 [535:1996102352] DEBUG - fabscan.scanner.laserscanner.FSImageProcessor: config ID: 1706252976
2021-08-22 1531,170 [535:1996102352] DEBUG - fabscan.scanner.laserscanner.driver.FSSerial: Port in Config found using: /dev/ttyAMA0
2021-08-22 1531,173 [535:1996102352] DEBUG - fabscan.scanner.laserscanner.driver.FSSerial: Latest available firmware version is: v.20200624
2021-08-22 1533,434 [535:1996102352] INFO - fabscan.lib.util.FSUtil: b'avrdude-original: Using autoreset DTR on GPIO Pin 7'
2021-08-22 1522,821 [535:1996102352] ERROR - fabscan.scanner.laserscanner.driver.FSSerial: Communication error on port /dev/ttyAMA0 try other flashing baudrate than 115200. Maybe corrupted bootloader.

 

Reply
Share: