[GH-ISSUE #4530] [Bug] Upload Theme doesn't allow me to upload files #2039

Closed
opened 2026-03-23 21:19:08 +00:00 by mirror · 10 comments
Owner

Originally created by @singhayushh on GitHub (Jan 28, 2024).
Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/4530

Bug Description

The modal that opens on clicking the Upload Theme icon doesn't allow me to upload files on clicking the Upload button from the modal. Instead it directly shows a message Please wait while we validate and upload your theme.

How to Reproduce

Settings -> Upload Theme -> Upload

Expected Behavior

Should open file manager to select files to upload

Operating System

Arch Linux

AppFlowy Version(s)

aur/appflowy-bin 0.4.3-1

Screenshots

No response

Additional Context

Went through the logs to find these error logs:

  2024-01-28 23:03:31 ERROR  Uncaught platform error
    at dart-ffi/src/lib.rs:178
  2024-01-28T17:33:31.351411Z ERROR dart_ffi: Uncaught platform error
    at dart-ffi/src/lib.rs:17
Originally created by @singhayushh on GitHub (Jan 28, 2024). Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/4530 ### Bug Description The modal that opens on clicking the `Upload Theme` icon doesn't allow me to upload files on clicking the `Upload` button from the modal. Instead it directly shows a message `Please wait while we validate and upload your theme`. ### How to Reproduce Settings -> Upload Theme -> Upload ### Expected Behavior Should open file manager to select files to upload ### Operating System Arch Linux ### AppFlowy Version(s) aur/appflowy-bin 0.4.3-1 ### Screenshots _No response_ ### Additional Context Went through the logs to find these error logs: ``` 2024-01-28 23:03:31 ERROR Uncaught platform error at dart-ffi/src/lib.rs:178 2024-01-28T17:33:31.351411Z ERROR dart_ffi: Uncaught platform error at dart-ffi/src/lib.rs:17 ```
Author
Owner

@singhayushh commented on GitHub (Jan 28, 2024):

I think it's the same issue as in #2300 which is open since Apr, 2023.
I'm using bspwm btw.

I can contribute to fixing the issue if I can get some insights.

<!-- gh-comment-id:1913671214 --> @singhayushh commented on GitHub (Jan 28, 2024): I think it's the same issue as in #2300 which is open since Apr, 2023. I'm using bspwm btw. I can contribute to fixing the issue if I can get some insights.
Author
Owner

@annieappflowy commented on GitHub (Jan 28, 2024):

Have you tried to upload a file by just ignoring the error message?

<!-- gh-comment-id:1913671352 --> @annieappflowy commented on GitHub (Jan 28, 2024): Have you tried to upload a file by just ignoring the error message?
Author
Owner

@singhayushh commented on GitHub (Jan 28, 2024):

@annieappflowy the file manager itself doesn't open up so that I can select files.
I tried dragging and dropping as well, didn't work too.

<!-- gh-comment-id:1913672134 --> @singhayushh commented on GitHub (Jan 28, 2024): @annieappflowy the file manager itself doesn't open up so that I can select files. I tried dragging and dropping as well, didn't work too.
Author
Owner

@Whax commented on GitHub (Feb 2, 2024):

Same problem here using awesome VM. I think it works with gnome but don't have any desktop environment based on it to try :/

@singhayushh I can confirm it's the same problem of the https://github.com/AppFlowy-IO/AppFlowy/issues/2300 issue :)

  2024-02-02 07:32:47 ERROR  Uncaught platform error
    at dart-ffi/src/lib.rs:178

  2024-02-02T06:32:47.539221Z ERROR dart_ffi: Uncaught platform error
    at dart-ffi/src/lib.rs:178

It's the same problem with the button export > markdown

<!-- gh-comment-id:1923018492 --> @Whax commented on GitHub (Feb 2, 2024): Same problem here using awesome VM. I think it works with gnome but don't have any desktop environment based on it to try :/ @singhayushh I can confirm it's the same problem of the [https://github.com/AppFlowy-IO/AppFlowy/issues/2300](2300) issue :) ```sh 2024-02-02 07:32:47 ERROR Uncaught platform error at dart-ffi/src/lib.rs:178 2024-02-02T06:32:47.539221Z ERROR dart_ffi: Uncaught platform error at dart-ffi/src/lib.rs:178 ``` It's the same problem with the button `export > markdown`
Author
Owner

@singhayushh commented on GitHub (Feb 5, 2024):

Hello!
The above issue has been resolved in the latest 0.4.6-1 version of AppFlowy.

This issue can be marked as closed!

<!-- gh-comment-id:1926914286 --> @singhayushh commented on GitHub (Feb 5, 2024): Hello! The above issue has been resolved in the latest `0.4.6-1` version of AppFlowy. This issue can be marked as closed!
Author
Owner

@Whax commented on GitHub (Feb 6, 2024):

Hello,

Not for me on the latest 0.4.6-1, using the AppImage version

  2024-02-06 04:54:01 ERROR  Uncaught platform error
    at dart-ffi/src/lib.rs:179

  2024-02-06T03:54:01.881285Z ERROR dart_ffi: Uncaught platform error
    at dart-ffi/src/lib.rs:179

This time, the error is on line 179 ;)

<!-- gh-comment-id:1928741949 --> @Whax commented on GitHub (Feb 6, 2024): Hello, Not for me on the latest `0.4.6-1`, using the `AppImage` version ```sh 2024-02-06 04:54:01 ERROR Uncaught platform error at dart-ffi/src/lib.rs:179 2024-02-06T03:54:01.881285Z ERROR dart_ffi: Uncaught platform error at dart-ffi/src/lib.rs:179 ``` This time, the error is on line 179 ;)
Author
Owner

@singhayushh commented on GitHub (Feb 6, 2024):

@Whax I'll try the AppImage out
Could you share your os / wm / de till then?

<!-- gh-comment-id:1928996981 --> @singhayushh commented on GitHub (Feb 6, 2024): @Whax I'll try the AppImage out Could you share your os / wm / de till then?
Author
Owner

@Whax commented on GitHub (Feb 9, 2024):

@singhayushh

  • OS : Arch Linux
  • WM / DE : Awesome
<!-- gh-comment-id:1935325810 --> @Whax commented on GitHub (Feb 9, 2024): @singhayushh - OS : Arch Linux - WM / DE : Awesome
Author
Owner

@singhayushh commented on GitHub (Feb 11, 2024):

Hi @Whax,
It doesn't seem to work with the AppImage executable.

However, it worked on installing from source // pacman

<!-- gh-comment-id:1937822767 --> @singhayushh commented on GitHub (Feb 11, 2024): Hi @Whax, It doesn't seem to work with the AppImage executable. However, it worked on installing from source // pacman
Author
Owner

@annieappflowy commented on GitHub (Sep 30, 2024):

Can you share a sample file that you were tying to upload with us? We'll look into this issue.

<!-- gh-comment-id:2382254430 --> @annieappflowy commented on GitHub (Sep 30, 2024): Can you share a sample file that you were tying to upload with us? We'll look into this issue.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
AppFlowy-IO/AppFlowy#2039
No description provided.