ChatGPT icon indicating copy to clipboard operation
ChatGPT copied to clipboard

GUI bug, rendering app unusable

Open accedie-xcd opened this issue 2 years ago • 14 comments
trafficstars

Version

0.10.1

Bug description

ChatGPT-GUI-Bug

ChatGPT.log

I believe it happened after attempting to uninstall and reinstall the application. Persisted through an attempt to use an older version (0.10.0)

OS

Windows 10

Environment

Possibly related, extremely bad internet for a while.

accedie-xcd avatar Jan 30 '23 14:01 accedie-xcd

From the screenshot it looks like the page style is not loaded, you can try to refresh it, shortcut key: Ctrl + R.

lencx avatar Jan 30 '23 14:01 lencx

Possibly related, extremely bad internet for a while.

I think that's the reason.This app is just a wrapper to the openai website.And your screenshot shows that the CSS file is broken,which always caused by the bad Internet.Refresh this page may be helpful.

yixinBC avatar Jan 30 '23 14:01 yixinBC

From the screenshot it looks like the page style is not loaded, you can try to refresh it, shortcut key: Ctrl + R.

Attempted, but unfortunately unfixed

accedie-xcd avatar Jan 30 '23 15:01 accedie-xcd

Possibly related, extremely bad internet for a while.

I think that's the reason.This app is just a wrapper to the openai website.And your screenshot shows that the CSS file is broken,which always caused by the bad Internet.Refresh this page may be helpful.

I see. I have attempted to refresh the screen & restart the app, however even with a stable internet connection it seems to remain broken.

speedtest

accedie-xcd avatar Jan 30 '23 15:01 accedie-xcd

You can try opening the console Help -> Toggle Developer Tools to see if there are errors in the request.

console

lencx avatar Jan 30 '23 15:01 lencx

Here are the errors in the console: devtools

accedie-xcd avatar Jan 31 '23 00:01 accedie-xcd

I got the same issue.

uhlhosting avatar Jan 31 '23 21:01 uhlhosting

I'm seeing the same issue as of yesterday. The text does say Jan 30 version, so I'm guessing a broken version of the app was pushed yesterday. Ctrl+R doesn't fix the issue, Dev Tools console shows the following errors:

webpack-8e3487599c1f026f.js:1 Uncaught SyntaxError: Unexpected token '<'
framework-7a789ee31d2a7534.js:1 Uncaught SyntaxError: Unexpected token '<'
main-149b337e061b4d04.js:1 Uncaught SyntaxError: Unexpected token '<'
_app-cca043450d0dc72f.js:1 Uncaught SyntaxError: Unexpected token '<'

atsepkov avatar Feb 01 '23 01:02 atsepkov

My app seems to be working now, so I'll share what happened, however keep in mind that I do not understand the implications of my actions, and I was unable to recreate the problem.

Problem: devtools sources They are present now, but the four files under 'sources' which correspond to the errors in 'console' were missing.

Actions I have taken:

I did two thing semi-simultaneously, so i'm not very sure which fixed the problem.

First action: installed chatGPT with winget. winget install --id=lencx.ChatGPT -e

I received a message: Found an existing package already installed. Trying to upgrade the installed package... No applicable upgrade found.

Second action: Elements2 Go to the elements tab, expand the

tag, then for all the files that correspond to the errors in 'sources' select them, click the '...' button on the left, and delete element. Restart the app.

Once again, I don't really know what I did, but I hope this will be helpful.

accedie-xcd avatar Feb 01 '23 09:02 accedie-xcd

Here are the errors in the console: devtools

I found the cause of the problem, but I haven't found a solution yet. https://github.com/tauri-apps/tauri/issues/6168#issuecomment-1411820198

lencx avatar Feb 01 '23 10:02 lencx

I found the cause of the problem, it is a cache problem, clear the tauri browser cache can be. I'm not sure where the windows cache file is.

macOS: ~/Library/Caches/com.lencx.chatgpt

lencx avatar Feb 01 '23 14:02 lencx

I found the cause of the problem, it is a cache problem, clear the tauri browser cache can be. I'm not sure where the windows cache file is.

macOS: ~/Library/Caches/com.lencx.chatgpt

I searched the directory name on my Windows,and found it's in ~\AppData\Local\com.lencx.chatgpt

yixinBC avatar Feb 01 '23 14:02 yixinBC

It may have two files (ignore if it doesn't), best to clean them both, I'm not sure which one is wrong.

macOS:

  • ~/Library/Caches/com.lencx.chatgpt
  • ~/Library/Caches/ChatGPT

Windows:

  • ~\AppData\Local\com.lencx.chatgpt
  • ~\AppData\Local\ChatGPT

lencx avatar Feb 01 '23 14:02 lencx

This is something that the tauri updater / installer should be able to clean (set in config). @lucasfernog - what do you think?

nothingismagick avatar Feb 01 '23 17:02 nothingismagick