Skip to content

Troubleshooting

Stacey Oue edited this page Dec 11, 2024 · 3 revisions

Alias does not launch from FPT Desktop

  1. Check the FPT Desktop Engine log for error messages. The log file should be found at %APPDATA%\Shotgun\Logs\tk-desktop.log

  2. Check that this folder exists %APPDATA%\Autodesk\Alias\ShotGrid.

Flow Production Menu does not appear in Alias

In this case, Alias has launched successfully from FPT Desktop but the Flow Production Menu does not appear.

  1. Check the Alias Promptline History for error messages. If successful, you will see the following messages:
Embedded Python Interpreter: C:\Users\qa\AppData\Roaming\Autodesk\Alias\ShotGrid\Python\Python37\install\python.exe
Python Version: 3.7.11 (default, Dec 18 2022, 00:12:45) [MSC v.1900 64 bit (AMD64)]
Python Path: C:\Users\qa\AppData\Roaming\Autodesk\Alias\ShotGrid\Python\Python37\install\python37.zip;C:\Users\qa\AppData\Roaming\Autodesk\Alias\ShotGrid\Python\Python37\install;<path_to_tk-framework-alias>\python
Running Alias Python API server
Starting client 'flow-production-tracking'...
Flow Production Tracking initialized
  1. Check the FPT Alias Engine log for error messages. The log file should be found at %APPDATA%\Shotgun\Logs\tk-alias.log. If there is no tk-alias.log file, that means the FPT Alias Plugin may have loaded, but it then failed to start the FPT Alias Engine.

  2. Check the FPT Alias plugin logs for error message. These logs are found in the folder %APPDATA%\Autodesk\Alias\ShotGrid\plugin\logs. There are three logs:

  • wsgi.log
  • sio_server.log
  • sio_client.log

If the FPT Alias communication has started up successfully, you should see in the wsgi.log:

(9328) wsgi starting up on http://127.0.0.1:8000
(9328) accepted ('127.0.0.1', 63313)
127.0.0.1 - - [11/Dec/2024 09:26:47] "GET /socket.io/?transport=polling&EIO=4&t=1733927207.5092578 HTTP/1.1" 200 279 0.000000
  • Line 1: This indicates the WSGI web server has started up and listening on host 127.0.0.1 on port 8000. The ID of the process running the server is 9328.
  • Line 2: The server has received and accepted a new client connection. The client sent the connection from PID 63313.
  • Line 3: The client made a GET request to the server, and the server reported a successful 200 response.

If only Line 1 is logged, then the server has started but has not received any connections. Check that your firewall settings allow incoming connections and traffic to the host and port number.

  1. Test if a simple HTTP client can connect to the server:

a. Launch Alias

b. Check the AppData/Roaming/Autodesk/Alias/ShotGrid/plugin/logs/wsgi.log file to see this gets logs:

(3692) wsgi starting up on http://127.0.0.1:8000/

c. Then open a python interpreter and run:

# May need to run python -m pip install requests
import requests

# Manually send a request to check if the server is running and can receive a new connection
response = requests.get("http://127.0.0.1:8000/socket.io/?transport=polling&EIO=4")
print(response)

# Should see output <Response [200]> if server is started successfully and receiving connections

Note that if the port is different, you will need to replace 8000 with the port that is in the log message

Clone this wiki locally