-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FFI, WSL2, And Readmoo is blocked in China #8
Comments
Based on your screenshot, I assume you are using WSL1/2. For WSL1, you can install Chrome in your Windows, but I have not tested this since updating selenium for 4. For WSL2, you have to install Chrome in your Linux environment as WSL2 is pretty like a independent virtual machine, and you can apply below fix to run it without GUI. But if requires reCAPTCHA it will fails. Since Windows 10 does not support WSLg, so I do not have any easy workaround until upgrade to Windows 11, I will add a workaround to bypass login via sending cookies to the program.
|
用的是wsl2 不好意思上面打错没加2 |
For ffi you can install I have not tested this under ruby2 anymore, if you have any issue with ruby2, please upgrade to ruby3. |
And in the latest logs, I think the program runs well, the only issue is readmoo is blocked in China, so you have to bypass GFW. |
我尝试了这种方法 并且把ruby的版本提升到了3.0.0 在wsl2中它依然会有上述的报错... |
It seems to be related to this issue, |
In the latest WSL2 logs, everything looks good to me except the website is blocked so you got a HTTP timeout. |
https://stackoverflow.com/questions/69826792/ruby-bundle-install-fail |
For ffi issue, you can check here: https://github.com/ffi/ffi/issues |
我最后解决了这个问题,最后的解决方法是换到linux系统就好了。我用的虚拟机的ubuntu版本是16.4,ruby版本是3.0.0,挂了梯子就可以运行这个项目。作者大大可以关闭这个issue了,非常感谢您的解答。thanks |
运行的时候一直报下图的错误,作者大大能否帮忙看下,感激不尽

The text was updated successfully, but these errors were encountered: