thermal icon indicating copy to clipboard operation
thermal copied to clipboard

AppImage

Open Vinno97 opened this issue 4 years ago • 8 comments

Description

I'll try to be as clear and concise as possible, but I cannot see anything related to my repositories. The screens are stuck on their loading placeholders. I am using the newest AppImage from the Thermal website and I expect the problem comes from how the image is build.
When I opened the developer tools I saw that the program could not find certain resources.

Uncaught (in promise) Error: Cannot find module '/tmp/.mount_thermaj5sFfI/resources/app.asar/dist/electron/responses/StatusSummary'
    at e (renderer.js:1)
    at n (renderer.js:1)
    at e.<anonymous> (renderer.js:1)
    at r (renderer.js:1)
    at renderer.js:1
    at processTicksAndRejections (internal/process/task_queues.js:86)

Uncaught (in promise) Error: Cannot find module '/tmp/.mount_thermaj5sFfI/resources/app.asar/dist/electron/responses/ListLogSummary'
    at e (renderer.js:1)
    at n (renderer.js:1)
    at e.log (renderer.js:1)
    at renderer.js:1
    at new Promise (<anonymous>)
    at renderer.js:1

To Reproduce

Steps to reproduce the behavior:

  1. Download the newest Thermal AppImage from the website
  2. Start the Thermal AppImage
  3. Open an existing repository
  4. See it does not load

Expected behavior

I expect to see information about my Git repository

Screenshots

"Workspace" view: image

"History" view: image

Desktop (please complete the following information):

  • OS: Manjaro Linux 18.1.0 (Juhraya)
  • Application Version: vundefined
  • Node version: 12.0.0
  • Electron version: 5.0.3
  • Chrome version: 73.0.3683.121
  • v8 version: 7.3.492.27-electron.0

Additional context

When I start the AppImage from the terminal, it prints the following errors/warnings:

/home/vincent/.local/share/applications/appimagekit-thermal.desktop: error: value "development;git;gui;" for key "Categories" in group "Desktop Entry" contains an unregistered value "development"; values extending the format should start with "X-"
/home/vincent/.local/share/applications/appimagekit-thermal.desktop: error: value "development;git;gui;" for key "Categories" in group "Desktop Entry" contains an unregistered value "git"; values extending the format should start with "X-"
/home/vincent/.local/share/applications/appimagekit-thermal.desktop: error: value "development;git;gui;" for key "Categories" in group "Desktop Entry" contains an unregistered value "gui"; values extending the format should start with "X-"
Error on file "/tmp/.mount_thermaj5sFfI/thermal.desktop": Failed to validate the created desktop file

The last error, combined with the errors from the developer tools make me think there's maybe something wrong with how the Thermal data gets mounted?

Vinno97 avatar Sep 26 '19 13:09 Vinno97

Thank you for creating an issue; one of our team members will get back to you soon!

github-actions[bot] avatar Sep 26 '19 13:09 github-actions[bot]

Hello @Vinno97,

Could you provide some more insights on the issue you are facing? Like:

  • Is that a newly created repository?
  • If this is a new repo, have you made any commits?

mittalyashu avatar Sep 26 '19 23:09 mittalyashu

I am facing the same issue using the .deb release.

Opening a locally checked out repository leads to empty pages as in the screenshots posted by @Vinno97. (Here the link the the repo I tried it with.)

I'm using Ubuntu 19.04.

Can I provide any more info to help debugging this issue?

EDIT: I was able to reproduce the problem on a Mac as well. Used version of Thermal: 0.0.4.

Logs:

TypeError: Cannot set property 'remote' of undefined
    at Store.localRepositoryRemote (renderer.js:1)
    at wrappedMutationHandler (/opt/Thermal/resourc…/vuex.common.js:727)
    at commitIterator (/opt/Thermal/resourc…/vuex.common.js:393)
    at Array.forEach (<anonymous>)
    at /opt/Thermal/resourc…/vuex.common.js:392
    at Store._withCommit (/opt/Thermal/resourc…/vuex.common.js:523)
    at Store.commit (/opt/Thermal/resourc…/vuex.common.js:391)
    at Store.boundCommit [as commit] (/opt/Thermal/resourc…/vuex.common.js:336)
    at a.<anonymous> (renderer.js:1)
    at i (renderer.js:1)
    at Generator._invoke (renderer.js:1)
    at Generator.t.(anonymous function) [as next] (file:///opt/Thermal/resources/app.asar/dist/electron/renderer.js:1:87259)
    at e (renderer.js:1)
    at a (renderer.js:1)
    at processTicksAndRejections (internal/process/task_queues.js:86)
renderer.js:1 Uncaught (in promise) Error: Cannot find module '/opt/Thermal/resources/app.asar/dist/electron/responses/StatusSummary'
    at e (renderer.js:1)
    at n (renderer.js:1)
    at e.<anonymous> (renderer.js:1)
    at r (renderer.js:1)
    at renderer.js:1
    at processTicksAndRejections (internal/process/task_queues.js:86)
renderer.js:1 Uncaught (in promise) Error: Cannot find module '/opt/Thermal/resources/app.asar/dist/electron/responses/ListLogSummary'
    at e (renderer.js:1)
    at n (renderer.js:1)
    at e.log (renderer.js:1)
    at renderer.js:1
    at new Promise (<anonymous>)
    at renderer.js:1
renderer.js:1 Uncaught (in promise) Error: Cannot find module '/opt/Thermal/resources/app.asar/dist/electron/responses/ListLogSummary'
    at e (renderer.js:1)
    at n (renderer.js:1)
    at e.log (renderer.js:1)
    at renderer.js:1
    at new Promise (<anonymous>)
    at renderer.js:1

ChristianHuff-DEV avatar Oct 07 '19 16:10 ChristianHuff-DEV

Hi @mittalyashu,

I am sorry for my late message, I thought I had already responded.

I noticed this issue for every repository that I tried, most of which were repositories where I had contributed to in the past and none of those were empty.


And hi @ChristianHuff-DEV,

Based on your log messages, it appears to me that your problem is founded in a different root cause than mine, though my knowledge of the project is not enough to say that for sure.

Vinno97 avatar Oct 07 '19 17:10 Vinno97

Thank you providing additional information @Vinno97.

I noticed this issue for every repository that I tried, most of which were repositories where I had contributed to in the past and none of those were empty.

This information is actually really helpful 😅.

The problem you're facing is an known issue and we're already working on it 🏃🏻‍♂️.

mittalyashu avatar Oct 07 '19 17:10 mittalyashu

@ChristianHuff-DEV The logs you have shared, that error message is not related to the issue you are referring.

mittalyashu avatar Oct 07 '19 17:10 mittalyashu

Related to https://github.com/gitthermal/thermal/issues/170

mittalyashu avatar Oct 07 '19 17:10 mittalyashu

Hello, still reproduced on my Ubuntu 20.04.3 LTS virtual box machine

First tried to install using sudo dpkg -i thermal-linux-amd64-0.0.4.deb, but it failed. Then after installing the dependencies with sudo apt install libappindicator1 gconf2 it installed ok with command above.

When I try to open an existing repository, the same problem as in issue description. From dev console when Open is clicked:

Uncaught (in promise) Error: Cannot find module '/opt/Thermal/resources/app.asar/dist/electron/responses/StatusSummary'
    at e (renderer.js:1)
    at n (renderer.js:1)
    at e.<anonymous> (renderer.js:1)
    at r (renderer.js:1)
    at renderer.js:1
    at processTicksAndRejections (internal/process/task_queues.js:86)

petrugrd avatar Feb 23 '22 15:02 petrugrd