AppFlowy-IO / AppFlowy

Bring projects, wikis, and teams together with AI. AppFlowy is an AI collaborative workspace where you achieve more without losing control of your data. The best open source alternative to Notion.
https://www.appflowy.io
GNU Affero General Public License v3.0
57.81k stars 3.79k forks source link

[Bug] Upload Theme doesn't allow me to upload files #4530

Open singhayushh opened 9 months ago

singhayushh commented 9 months ago

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
singhayushh commented 9 months ago

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.

annieappflowy commented 9 months ago

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

singhayushh commented 9 months ago

@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.

Whax commented 9 months ago

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

singhayushh commented 9 months ago

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

This issue can be marked as closed!

Whax commented 9 months ago

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 ;)

singhayushh commented 9 months ago

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

Whax commented 9 months ago

@singhayushh

singhayushh commented 9 months ago

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

However, it worked on installing from source // pacman

annieappflowy commented 1 month ago

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