Skip to content
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

Interface corrupted on Ubuntu 20.04 #70

Closed
michaelarnauts opened this issue Jun 25, 2020 · 15 comments
Closed

Interface corrupted on Ubuntu 20.04 #70

michaelarnauts opened this issue Jun 25, 2020 · 15 comments
Labels
bug Something isn't working waiting-for-response Issues where the poster's further response is required.

Comments

@michaelarnauts
Copy link

Describe the bug

There seems to be an UI issue. I can't find anything related in the buglist.

$ ./Altus-3.12.0.AppImage
(node:1787030) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'replace' of undefined
    at /tmp/.mount_Altus-Tz5gU0/resources/app.asar/windows/util/generateTheme.js:49:19
    at Renderer.render (/tmp/.mount_Altus-Tz5gU0/resources/app.asar/node_modules/stylus/lib/renderer.js:107:12)
    at Function.exports.render (/tmp/.mount_Altus-Tz5gU0/resources/app.asar/node_modules/stylus/lib/stylus.js:82:37)
    at generateTheme (/tmp/.mount_Altus-Tz5gU0/resources/app.asar/windows/util/generateTheme.js:48:10)
    at /tmp/.mount_Altus-Tz5gU0/resources/app.asar/index.js:66:24
(node:1787030) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'replace' of undefined
    at /tmp/.mount_Altus-Tz5gU0/resources/app.asar/windows/util/generateTheme.js:49:19
    at Renderer.render (/tmp/.mount_Altus-Tz5gU0/resources/app.asar/node_modules/stylus/lib/renderer.js:107:12)
    at Function.exports.render (/tmp/.mount_Altus-Tz5gU0/resources/app.asar/node_modules/stylus/lib/stylus.js:82:37)
    at generateTheme (/tmp/.mount_Altus-Tz5gU0/resources/app.asar/windows/util/generateTheme.js:48:10)
    at /tmp/.mount_Altus-Tz5gU0/resources/app.asar/index.js:66:24
(node:1787030) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:1787030) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:1787030) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
(node:1787030) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

To Reproduce
I just executed it.

Expected behavior

Screenshots
image

Information:

  • OS: Ubuntu 20.04
  • Altus Version: 3.12.0

Additional context
Add any other context about the problem here.

I'm not sure if node is also embedded in the AppImage, but I have node v10.21.0 installed.

@michaelarnauts michaelarnauts added the bug Something isn't working label Jun 25, 2020
@amanharwara
Copy link
Owner

Seems to work on my Manjaro machine. Might be a distro-specific bug.
I'll check it out on Ubuntu but I can't guarantee how soon I'll be able to do that as I don't have an Ubuntu machine or VM setup.

@michaelarnauts
Copy link
Author

Can you tell me what version of GNOME or GTK you are using on your machine. I'm using GNOME 3.36.2 with GTK 3.24.

@amanharwara
Copy link
Owner

I use KDE Plasma as the desktop environment and don't have GTK installed either.

Also, as far as I know, nothing in my app really depends on GTK so I don't think that would change anything.

@CollinAlpert
Copy link

Same problem with me. I am using Fedora 32. Using version 3.11.1 works fine.

@amanharwara
Copy link
Owner

For some reason it works just fine on Manjaro. At least on my machine, it does.

@CollinAlpert
Copy link

I guess I'll just stick with version 3.11.1 for now and then wait until v4.0 is released :)

@amanharwara
Copy link
Owner

@CollinAlpert Can you send the terminal output for the problematic version? I read through the terminal output OP has posted and want to see if that really is the issue that's causing the problem.

@CollinAlpert
Copy link

My terminal output is the same as OPs. I can send it when I get the chance, but I get the same error.

@amanharwara
Copy link
Owner

I found a fix for this issue but there's a weird thing happening... The app works correctly when I'm developing it but as soon as I package it and test it, it stops working.

@CollinAlpert
Copy link

Thanks for the update, it definitely looks like a weird bug!

@amanharwara
Copy link
Owner

So it looks like it's not a problem with Linux itself but rather the packaging; at least from what I can tell.
I've managed to generate an AppImage that works as intended, but I'm not sure what the dependency situation might be.
I'll release it and then you can let me know if it causes any issue.

@amanharwara
Copy link
Owner

amanharwara commented Jul 14, 2020

Please test out v3.12.1 and let me know.
Sorry for the ridiculous download size but this alternative packaging is what seems to have worked.

@CollinAlpert
Copy link

Works fine for me!

@insign
Copy link
Contributor

insign commented Jul 20, 2020

It happened to me too. Since I`m using Windows now, can test again, but few weeks ago I couldn't use.

@amanharwara amanharwara added the waiting-for-response Issues where the poster's further response is required. label Jul 25, 2020
@amanharwara
Copy link
Owner

Closing since there's no response from OP 2 weeks after releasing the fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working waiting-for-response Issues where the poster's further response is required.
Projects
None yet
Development

No branches or pull requests

4 participants