Skip to content

File open error without further indication #100

Description

@greg-is-kub

Hi @ruben2020 ,

Thanks for maintaining your project ! I use it often I find it really well done but I encountered recently an issue with a non compilable proprietary embedded codebase poorly structured :

Src/ # all headers & src files
dummy/ # mocks of kernel files, probably incomplete
kernel/ # actual kernel files

I followed carefully the setup shown in man codequery :

cd ~/projects/myproject/src
find . -iname "*.java" > ./cscope.files
cscope -cbR
ctags --fields=+i -n -R -L ./cscope.files
cqmakedb -s ./myproject.db -c ./cscope.out -t ./tags -p
codequery

I then get a small windows showing "file open error" without much more context.
From what I've seen the call stack seems to be :

QString searchhandler::sqlerrormsg(sqlquery::en_filereadstatus status)
void searchhandler::OpenDB_indexChanged(const int& idx)

With issue coming from sq->open_dbfile()

Trying to call cqsearch returned nothing, not even an error message.

cqsearch -s app.db -t ** # also tried with *a* or *e*, still returns nothing

This problem is that my file is valid, I opened it with sqlitebrowser without encountering any problem.

I've tried rebuilding from source the project to try & patch it but I get the following error :

$ cmake -G Ninja -S . -B build -DNO_GUI=1 -DBUILD_QT6=0 -DGAWIN=0
cmake: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory

Withotu finding the associated findpackage for libssl.
Maybe its sqlite that needs it ? Idk.

Would you have any idea of how I could solve this issue ?
Is it on my side or on your side ? If it smine Could you change the error message to smthg more explicit?

Thanks in advance and have a good day !

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions