Open arvinzhaohub opened 6 years ago
Can you please enable Console and File Logging in the Preferences and send us the log file found in Menu -> Help -> Show Log Directory to mail@sourcetrail.com
egraether, Thank you for your prompt reply. The content below is all logs from starting Sourcetrail to 'Preparing Project' UI. Sorry for my poor English。I have also sent the log file to mail@sourcetrail.com.
08:54:50 | 16924 | LogManager.cpp:41 LogManager::setLoggingEnabled() | INFO: Enabled logging for Sourcetrail 64 bit, version 2018.3.55 08:54:50 | 16924 | SharedMemoryGarbageCollector.cpp:52 SharedMemoryGarbageCollector::run() | INFO: start shared memory garbage collection 08:54:52 | 17124 | INFO: send MessageStatus Starting Sourcetrail 64 bit, version 2018.3.55 08:54:52 | 17124 | StatusBarController.cpp:94 StatusBarController::setStatus() | INFO: STATUS Starting Sourcetrail 64 bit, version 2018.3.55 08:54:52 | 16924 | utilityQt.cpp:65 utility::loadFontsFromDirectory() | INFO: Loaded FontFamily: Fira Sans 08:54:52 | 16924 | utilityQt.cpp:65 utility::loadFontsFromDirectory() | INFO: Loaded FontFamily: Fira Sans 08:54:52 | 16924 | utilityQt.cpp:65 utility::loadFontsFromDirectory() | INFO: Loaded FontFamily: Source Code Pro 08:54:52 | 16924 | utilityQt.cpp:65 utility::loadFontsFromDirectory() | INFO: Loaded FontFamily: Source Code Pro 08:54:52 | 16924 | utilityQt.cpp:65 utility::loadFontsFromDirectory() | INFO: Loaded FontFamily: Source Code Pro 08:54:52 | 17124 | INFO: send MessageStatus Load settings: C:/Users/arvin/AppData/Local/Coati Software/Sourcetrail 64-bit/ApplicationSettings.xml 08:54:52 | 16924 | utilityQt.cpp:65 utility::loadFontsFromDirectory() | INFO: Loaded FontFamily: Roboto 08:54:52 | 16924 | utilityQt.cpp:65 utility::loadFontsFromDirectory() | INFO: Loaded FontFamily: Roboto 08:54:52 | 17124 | StatusBarController.cpp:94 StatusBarController::setStatus() | INFO: STATUS Load settings: C:/Users/arvin/AppData/Local/Coati Software/Sourcetrail 64-bit/ApplicationSettings.xml 08:54:53 | 17124 | INFO: send MessageStatus Enabled console and file logging. 08:54:53 | 17124 | StatusBarController.cpp:94 StatusBarController::setStatus() | INFO: STATUS Enabled console and file logging. 08:54:53 | 17124 | INFO: send MessagePingReceived 08:54:53 | 17124 | INFO: send MessageLoadProject , settingsChanged: false, refreshMode: 0 08:54:53 | 17124 | INFO: send MessageWindowFocus 08:54:53 | 17124 | INFO: send MessageWindowFocus 08:54:53 | 16924 | LicenseChecker.cpp:78 LicenseChecker::checkCurrentLicense() | ERROR: No license key available. 08:54:53 | 17124 | INFO: send MessageWindowFocus 08:54:53 | 17124 | INFO: send MessageWindowFocus 08:54:53 | 17124 | INFO: send MessageWindowFocus 08:54:53 | 17124 | INFO: send MessageWindowFocus 08:54:53 | 17124 | INFO: send MessagePingReceived 08:54:55 | 17124 | INFO: send MessagePingReceived 08:54:56 | 17124 | INFO: send MessageWindowFocus 08:54:56 | 17124 | INFO: send MessageLoadProject C:/Users/arvin/AppData/Local/Coati Software/Sourcetrail 64-bit/projects/mybatis/mybatis.srctrlprj, settingsChanged: false, refreshMode: 0 08:54:57 | 17124 | INFO: send MessagePingReceived 08:54:59 | 17124 | INFO: send MessagePingReceived 08:55:01 | 17124 | INFO: send MessageStatus Loading Project: C:/Users/arvin/AppData/Local/Coati Software/Sourcetrail 64-bit/projects/mybatis/mybatis.srctrlprj - loading 08:55:01 | 17124 | StatusBarController.cpp:94 StatusBarController::setStatus() | INFO: STATUS Loading Project: C:/Users/arvin/AppData/Local/Coati Software/Sourcetrail 64-bit/projects/mybatis/mybatis.srctrlprj 08:55:01 | 17124 | INFO: send MessageStatus Project could not load any symbols because the index database is empty. Please re-index the project. 08:55:01 | 17124 | StatusBarController.cpp:94 StatusBarController::setStatus() | INFO: STATUS Project could not load any symbols because the index database is empty. Please re-index the project. 08:55:01 | 17124 | INFO: send MessageRefresh 08:55:16 | 17124 | INFO: send MessageStatus Preparing Project: Processing Files - loading 08:55:16 | 17124 | StatusBarController.cpp:94 StatusBarController::setStatus() | INFO: STATUS Preparing Project: Processing Files 08:55:18 | 17124 | INFO: send MessageWindowFocus
This is very strange. There is nothing obvious in the log. The app is in the process of figuring out which files to index. For your project type that only means looking at the filesystem.
What happens if you click the button show files at Files and Directories to Index in the project settings?
Do you have any symbolic links in your source directory?
Files to index is Mybatis source file, show files at Files and Directories also seems right,but Sourcetrail was still always in 'Preparing Project' :
Thank you for the info! This is very strange. If the files are correctly shown with show files, then it should also work on indexing. I will do an investigation this week.
I have the same issue. I installed Sourcetrail 64-bit for Windows, set up a project for Glassfish application server project.
Errors I have in the log look like this:
13:31:43 | 20528 | TaskRunner.cpp:45 TaskRunner::update() | ERROR: boost::filesystem::canonical: No such file or directory: "C:/Users\Vlad\Projects\Source\glassfish\appserver\tests\v2-tests\appserv-tests\devtests\ee\admin\mbeanapi\deployment\com\sun\enterprise\admin\mbeanapi\deployment\samples\SOAPtoJMSMessageSampleClient\simple-client\src\java\samples\jms\soaptojms\ReceiveSOAPMessageWithJMS.java"
I believe the app can't handle long paths on Windows? This file path is 275 characters long.
Looks like you encountered the same issue as #1149.
Soucetrail version:
UI: Process:
mysetting:
preferences: