You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm experiencing a problem with jet-live on Fedora 30. The library is identifying changes to the files correctly, but it is not reloading the code as expected.
The error occurred while trying to follow the example of README.md
I assigned severityString.append("[D]") to the jet::LogSeverity::kDebug on onLog method from ExampleListerner to make the output easier to understand.
Running the code for the first time it was the output:
[I]: Initializing...
[D]: Parsing compilation commands...
[D]: Reading `compile_commands.json` from /home/username/jet-live/build/compile_commands.json
[D]: Success parsing compilation commands, total 48 compilation units
[I]: Load CUs: done
[D]: Root directory: /home/username/jet-live/
[D]: Parsing dependencies...
[D]: Success parsing dependencies
[I]: Load dependencies: done
[I]: Setup file watcher: done
[D]: Loading symbols for ...
[D]: Symbols loaded: funcs 9541, vars 33, Self
[D]: Loading symbols for linux-vdso.so.1 ...
[E]: Cannot load linux-vdso.so.1 file
[D]: linux-vdso.so.1 has no symbols, skipping
[D]: Loading symbols for /lib64/libpthread.so.0 ...
[D]: Symbols loaded: funcs 497, vars 45, /lib64/libpthread.so.0
[D]: Loading symbols for /lib64/libdl.so.2 ...
[D]: Symbols loaded: funcs 32, vars 8, /lib64/libdl.so.2
[D]: Loading symbols for /lib64/libstdc++.so.6 ...
[D]: /lib64/libstdc++.so.6 has no symbols, skipping
[D]: Loading symbols for /lib64/libm.so.6 ...
[D]: Symbols loaded: funcs 1910, vars 3, /lib64/libm.so.6
[D]: Loading symbols for /lib64/libgcc_s.so.1 ...
[D]: /lib64/libgcc_s.so.1 has no symbols, skipping
[D]: Loading symbols for /lib64/libc.so.6 ...
[D]: Symbols loaded: funcs 5248, vars 468, /lib64/libc.so.6
[D]: Loading symbols for /lib64/ld-linux-x86-64.so.2 ...
[D]: Symbols loaded: funcs 310, vars 40, /lib64/ld-linux-x86-64.so.2
[I]: Load symbols: done
[D]: Loading exported symbols list...
[D]: Done, total exported symbols: 12528 in 48 files
[I]: Load exported symbols: done
[I]: Ready
Enter command
Available commands: 'exit', 'reload', 'hello'
Hello
ttl: 2 > Hi there!
So I added an exclamation mark to the end of the phrase "Hi there!" that is displayed at the output of the command Hello.
Hi. Yes, there're some problems with gcc 9+, I'm very busy right now and have no time to investigate it, but I'll let you know in this thread when it will be resolved.
I've had the same problem with Fedora 33 (clang 11.0). The problem might be with some SElinux permissions, since when I disable it (sudo setenforce 0) the code reloads successfully.
I've had the same problem with Fedora 33 (clang 11.0). The problem might be with some SElinux permissions, since when I disable it (sudo setenforce 0) the code reloads successfully.
Yes, this is the solution. I've had the same problem in centos7(root, devtoolset-7, g++7.3.1), when I execute setenforce 0, it works fine!
I'm experiencing a problem with
jet-live
onFedora 30
. The library is identifying changes to the files correctly, but it is not reloading the code as expected.The error occurred while trying to follow the example of
README.md
I assigned
severityString.append("[D]")
to thejet::LogSeverity::kDebug
ononLog
method fromExampleListerner
to make the output easier to understand.Running the code for the first time it was the output:
So I added an exclamation mark to the end of the phrase "Hi there!" that is displayed at the output of the command
Hello
.Jet-live was able to interpret the change correctly, but when I ran the command again, the output had not been changed.
Then I ran the command
reload
and the errors below appeared (with status -22):I'm using
Cmake 3.14.5
andg++ 9.2.1
.The text was updated successfully, but these errors were encountered: