Closed Fresh-SaltyFish closed 1 month ago
Hello, and thanks for the report!
There seems to be something wrong with the extension module caching subsystem. Just for a quick fix, clean up the cache manually, and the app should re-download the required dependencies just fine.
Here are the steps:
C:\Users\<CurrentUserName>\.gdxtexturepackergui
modules
folder (from under the .gdxtexturepackergui
dir).common.xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE properties SYSTEM "http://java.sun.com/dtd/properties.dtd">
<properties>
...
<entry key="last_module_repo_check">...</entry> <=== Delete this line
...
</properties>
Please let me know if that helps at all.
Hello, and thanks for the report!
There seems to be something wrong with the extension module caching subsystem. Just for a quick fix, clean up the cache manually, and the app should re-download the required dependencies just fine.
Here are the steps:
- Locate the application data folder. On Windows it should be at
C:\Users\<CurrentUserName>\.gdxtexturepackergui
- Delete the
modules
folder (from under the.gdxtexturepackergui
dir).- To reset cache lifetime, also delete the "last_module_repo_check" line from
common.xml
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE properties SYSTEM "http://java.sun.com/dtd/properties.dtd"> <properties> ... <entry key="last_module_repo_check">...</entry> <=== Delete this line ... </properties>
Please let me know if that helps at all.
Sadly, this didn't work. In fact, my folder modules
is empty and the file common.xml
doesn't have the "last_module_repo_check" line. So I can hardly make any changes according to your method.
I see, thanks for trying it out.
Can you please check if any of those files is accessible from your machine? https://crashinvaders.github.io/gdx-texture-packer-gui/modules/modules.json https://crashinvaders.github.io/gdx-texture-packer-gui/modules/font-cjk0.zip
Also, can please collect the log? So maybe the error is silently swallowed but it could be catched in the full log. The steps should be:
CJK Font
extension module.C:\Users\<CurrentUserName>\.gdxtexturepackergui\logs
and post it here.In case of emergency, here are all the required files for the C:\Users\<CurrentUserName>\.gdxtexturepackergui
directory. Just unpack the archive there and start the app. The CJK module should be marked as installed in the settings.
gdxtp-cjk-module-data.zip
Well, I can get both of files. I finally solved the problem using the final zip file you post. The log file before I made the change is as follows (in fact, it is exactly the same as the log I pasted at the beginning): 2407170428.log After the problem was solved, I tried to uninstall the module in the software and reinstall it. When I clicked "install", an error occurred:
[text-red]Connection reset[] java.net.SocketException: Connection reset at java.base/sun.nio.ch.NioSocketImpl.implRead(NioSocketImpl.java:323) at java.base/sun.nio.ch.NioSocketImpl.read(NioSocketImpl.java:350) at java.base/sun.nio.ch.NioSocketImpl$1.read(NioSocketImpl.java:803) at java.base/java.net.Socket$SocketInputStream.read(Socket.java:966) at java.base/sun.security.ssl.SSLSocketInputRecord.read(SSLSocketInputRecord.java:478) at java.base/sun.security.ssl.SSLSocketInputRecord.readHeader(SSLSocketInputRecord.java:472) at java.base/sun.security.ssl.SSLSocketInputRecord.decode(SSLSocketInputRecord.java:160) at java.base/sun.security.ssl.SSLTransport.decode(SSLTransport.java:111) at java.base/sun.security.ssl.SSLSocketImpl.decode(SSLSocketImpl.java:1500) at java.base/sun.security.ssl.SSLSocketImpl.readHandshakeRecord(SSLSocketImpl.java:1415) at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:450) at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:421) at java.base/sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:580) at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:183) at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1665) at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1589) at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:224) at java.base/java.net.URL.openStream(URL.java:1161) at com.crashinvaders.texturepackergui.utils.FileUtils.downloadFile(FileUtils.java:97) at com.crashinvaders.texturepackergui.controllers.extensionmodules.CjkFontExtensionModule$1.doInBackground(CjkFontExtensionModule.java:53) at com.crashinvaders.common.async.AsyncJobTask.executeInBackground(AsyncJobTask.java:52) at com.crashinvaders.common.async.AsyncJobTask.access$000(AsyncJobTask.java:11) at com.crashinvaders.common.async.AsyncJobTask$1.run(AsyncJobTask.java:45) at java.base/java.lang.Thread.run(Thread.java:833)
Well, this is all I can try. Thanks for your solution.
I want to change language to Chinese, but I found that there is no response after click 'install' under 'CJK Font' Item. Here is the log: