-
Notifications
You must be signed in to change notification settings - Fork 8
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
Getting 404 errors every time on cht.exe, same command works using curl #7
Comments
Updated to add - looking in wireshark I see the following:
On the other hand ...
|
Same exact problem for me. |
I have the same problems. Is this project deprecated or died? |
Thanks all for reporting and voicing up. Project is not dead. Just little inactive due lack of time. Need also to rethink this clumsy -Q option and correct right. Any ideas? Is it also true I am thinking about rewriting to vlang. |
@liudonghua123 AFIK flutter or tauri are more for GUI defelopment, tauri is better as electron alternative and with this we lost support for oldest computers console (it is Win7+). How important is this for you to have it backward compatible with XP+? |
Yes, the flutter and tauri are both cross platform GUI framework, not for console app development. The minimum os requirements for windows is win7. I forget this app is a console app 😄 |
For console app, I would like to use some platform independent program language like python, node, dart... |
This is still a problem a year and a half later, so I guess this has now been abandoned :( |
Thanks for your interest and feedbacks. I am working on porting complete source code and make it more maintainable and portable vlang - I decided basically by #10 . Stay tuned since I will finish publish it in approximately month. |
Should work now and get the same result as
This should be now applied with "domain language" option
Believe that the next versions can be more error tolerant, but for now this is it. |
Many thanks - new version is working well for me (tested basic cht xxxx where xxx is anything I would expect in cheat.sh). I do get an odd error "V panic: array.get: index out of range (i == 0, a.len == 0)" when i use cht with something not in the database so maybe it needs to catch this error, (but it's a trivial issue as it still does what it should). |
The scoop version is still at 0.6. Should I update the manifest to 0.7.1 and add autoupdate? |
Great but hold on - new version is coming. |
Whichever you like more, for the scoop auto-updater it doesn't matter, since it gets the version from the release feed. "autoupdate": {
"architecture": {
"64bit": {
"url": "https://github.com/tpanj/cht.exe/releases/download/v$version/cht_windows.zip"
}
}
}
Well, with auto-update set up correctly that shouldn't be a problem, as long as the file name does not change. |
Great. Pushed new version and leave zips like they are. |
I have the latest cht.exe (just downloaded moments ago) in my path. No matter what I request or how I request it I always get a 404 error.
When I uses
cht c/strlen
I get the following:Asking with space instead of a slash also doesn't work.
Same if I just ask for a unix command like shutdown:
However, if I use curl for the same queries, it works fine:
or by language
The text was updated successfully, but these errors were encountered: