Closed Jaspix closed 3 years ago
Thanks a lot for your interest! Could you give me your node version (with node --version
)?
Hello.
my node version is v16.5.0
Thank you, I can reproduce the issue. Looks like imports behave differently between v14 and v16. I will have a look.
Can you try the following?
1/ Delete the extension/
folder in rikaichamp-backend/
folder
2/ yarn install
in rikaichamp-backend/
folder
3/ tsc
in rikaichamp-backend/
folder
4/ Retry rikai-mpv with F5
Looks like node v16 doesn't like typescript compiled into javascript when it has been done when node v14 was install (though I thought tsc and nodejs were independent).
The issues seems resolved now! Though, I don't know what the last log means. This is the output:
[front] Starting rikai-mpv...
[rikai-mpv] Starting rikai-mpv in python...che: 269s/150MB
Launching node.js backend...
Connecting from Python...
Checking for leftover socket.A-V: 0.000 Cache: 271s/150MB
No leftover socket found.
Creating server.
python <---> node.js socket connected.
Connection acknowledged.
node client connected.
/home/andree/.config/mpv/scripts/rikai-mpv/subtitles_popup_graphics.py:707: UserWarning: Ignore this popup showing as it is likely to fail. Please fill a bug report if this gets inconvenient. This warning won't be shown again.
app.exec_()
Thanks a lot for your help.
Thank you! I will update the readme in this regard. The logging looks fine to me, as long as you manage to make use of the script :)
Hello, I wanted to try the script out but I'm currently facing some issues. I made sure to follow the installation steps and installed the dependencies.
This is the output from the command line.