Tool/software: Linux
Hi,
I just installed the Processor SD RT 04.03.00.05 and I' m facing a problem with gdb in Qt Creator. Following the log:
&"python sys.path.insert(1, '/home/dev/apps/Qt/Tools/QtCreator/share/qtcreator/debugger/')\n"
>28^done
>&"python sys.path.append('/home/dev/apps/am335x-sdk/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/data-directory/python')\n"
>29^done
>&"python from gdbbridge import *\n"
>&"Traceback (most recent call last):\n"
>&" File \"<string>\", line 1, in <module>\n"
>&" File \"/home/dev/apps/Qt/Tools/QtCreator/share/qtcreator/debugger/gdbbridge.py\", line 37, in <module>\n"
>&" import tempfile\n"
>&" File \"/home/dev/apps/am335x-sdk-rt-04.03.00.05/linux-devkit/sysroots/x86_64-arago-linux/usr/lib/python3.5/tempfile.py\", line 43, in <module>\n"
>&" import shutil as _shutil\n"
>&"ImportError: No module named 'shutil'\n"
>&"Error while executing Python code.\n"
>30^error,msg="Error while executing Python code."
>&"python theDumper.loadDumpers({\"token\":31})\n"
>&"Traceback (most recent call last):\n"
>&" File \"<string>\", line 1, in <module>\n"
>&"NameError: name 'theDumper' is not defined\n"
>&"Error while executing Python code.\n"
>31^error,msg="Error while executing Python code."
dNOTE: ENGINE SETUP FAILED
dState changed from EngineSetupRequested(1) to EngineSetupFailed(2) [master]
<Debugging has failed
dState changed from EngineSetupFailed(2) to DebuggerFinished(17) [master]
dQUIT DEBUGGER REQUESTED IN STATE 17
>32^done
dCOOKIE FOR TOKEN 32 ALREADY EATEN (DebuggerFinished). TWO RESPONSES FOR ONE COMMAND?
Effectively inside the path "<SDK>/linux-devkit/sysroots/x86_64-arago-linux/usr/lib/python3.5" the shutil module is missing.
There is also a reference to "<SDK>/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/data-directory/python" that doesn' t exist.
Anybody had the same issue?
What is the Python version to use on the host?
Thank you in advance,
Best regards.
Raffaele