Page 1 of 1

Workspace parsing not working

Posted: Wed Apr 10, 2019 12:40 pm
by Hfsrj
I'm a codelite 10.0.0 user on Ubuntu (18.04) to develop C++ projects. I feel very stupid now because I cannot use codelite anymore.

When I drag a folder into the workspace view, codelite does not parse the folder. If I create a new workspace, drag and drop a folder to the workspace view, and click 'parse workspace', codelite gets stuck on 'Generating compile_commands.json file'

I tried uninstalling (apt-get purge --auto-remove codelite) but it doesn't help. Also it doesn't erase the recent workspaces/files so I guess uninstalling codelite doesn't erase all files.

here is the trace :

Code: Select all

10:07:26: Install path: /usr/share/codelite
10:07:26: Startup Path: /home/dmitrief/.codelite
10:07:26: Using Scintilla 3.21
10:08:16: Error: File '' couldn't be removed (error 2: No such file or directory)
10:08:16: Initializing refactoring database for workspace: voyons
10:08:16: Initializing refactoring database for workspace: voyons... done
10:08:16: Symbols file loaded into OS file system cache (0 seconds)
10:09:46: INFO: Retag workspace completed in 142 seconds (1 files were scanned)
10:10:04: INFO: Retag workspace completed in 159 seconds (31 files were scanned)
10:10:53: Initializing refactoring database for workspace: cytosim-plat
10:10:53: Symbols file loaded into OS file system cache (0 seconds)
10:10:56: Initializing refactoring database for workspace: cytosim-plat... done
10:11:01: INFO: Retag workspace completed in 7 seconds (705 files were scanned)
10:11:40: Error: File '' couldn't be removed (error 2: No such file or directory)
10:11:40: Initializing refactoring database for workspace: default
10:11:40: Initializing refactoring database for workspace: default... done
10:11:40: Symbols file loaded into OS file system cache (0 seconds)
10:19:12: Error: File '' couldn't be removed (error 2: No such file or directory)
10:19:12: Initializing refactoring database for workspace: azdaazd
10:19:12: Initializing refactoring database for workspace: azdaazd... done
10:19:12: Symbols file loaded into OS file system cache (0 seconds)
I would be very, very happy to be able to use codelite again.

Re: Workspace parsing not working

Posted: Wed Apr 10, 2019 1:25 pm
by DavidGH
Hi,

I presume it used to work OK...
I guess uninstalling codelite doesn't erase all files.
That's right. You need to delete (or better, rename) ~/.codelite yourself.

I suspect that will work (and, if you renamed, you can then selectively paste the important bits of your old .codelite to the new). But if it doesn't (or even if it does!) the next thing to try is to update your elderly CodeLite version to 12.0.0 from https://wiki.codelite.org/pmwiki.php/Main/Repositories or the 12.0.14 weekly build.

Regards,

David

Re: Workspace parsing not working

Posted: Wed Apr 10, 2019 2:19 pm
by Hfsrj
Hi David,

Thank a lot for the help ! I was looking in .config/codelite, which does not exist...
The parsing is back to working now ! <3