FlutterMatic / desktop

A Flutter desktop manager that helps you setup Flutter, organize, and use workflows with your Flutter projects.
BSD 3-Clause "New" or "Revised" License
10 stars 0 forks source link

[🐛] Cannot fetch projects in macOS #64

Open yahu1031 opened 2 years ago

yahu1031 commented 2 years ago

Describe the bug I was trying to fetch my projects. But nothing shows up there.

To Reproduce Steps to reproduce the behavior:

  1. Projects tab.
  2. Enter the path of your projects if you haven't before.
  3. Refresh the projects tab or wait for a minute.
  4. See nothing.

Expected behavior Must fetch my projects.

Screenshots

Screenshot 2022-02-17 at 3 06 58 PM Screenshot 2022-02-17 at 3 07 15 PM Screenshot 2022-02-17 at 3 09 18 PM

Desktop:

Logs: Cannot Generate logs. Can't find app logs too.

ZiyadF296 commented 2 years ago

Please double check the projects path that you set. Share a screenshot of that path in Finder.

yahu1031 commented 2 years ago

Everything there are flutter projects.

App Settings

Screenshot 2022-02-17 at 3 13 14 PM

Terminal pwd and list of projects

Screenshot 2022-02-17 at 3 13 55 PM
ZiyadF296 commented 2 years ago

This was working perfectly fine on macOS a while ago. Are you sure you didn't change any code?

yahu1031 commented 2 years ago

Nowhere it was mentioned that this functionality was working. I know this won't work a long back ago. BTW I didn't touch any code block. I just commented out isolates(6 checks) for checks to stop them from freezing the app.

ZiyadF296 commented 2 years ago

Any updates on this issue after all the latest commits? The isolates (6 checks) have been fixed. Please pull all changes, clear cache and run the app again. Clear the cache by going to Settings > Troubleshoot > Clear Cache.

yahu1031 commented 2 years ago

Doesn't fix.

[log] ERROR [23:19:37] - Couldn't clear logs: Bad state: Stream has already been listened to.
[log] ERROR [23:19:37] - Couldn't check for updates: Bad state: Stream has already been listened to.

Got this with the new commit. But not a blocker though.

Screenshot 2022-02-24 at 11 21 15 PM

It has been like this from the start.

Fix:

There is a fix for this. That is called code consistency. Please follow the same coding style elsewhere.

ZiyadF296 commented 2 years ago

Doesn't fix.

[log] ERROR [23:19:37] - Couldn't clear logs: Bad state: Stream has already been listened to.
[log] ERROR [23:19:37] - Couldn't check for updates: Bad state: Stream has already been listened to.

Got this with the new commit. But not a blocker though.

Screenshot 2022-02-24 at 11 21 15 PM

It has been like this from the start.

Fix:

There is a fix for this. That is called code consistency. Please follow the same coding style elsewhere.

This error that you are referring to isn't related in any way. It is not an error, it's just out of context, it's an info to just be logged. Not a big deal. I think you are mistaken over here.

ZiyadF296 commented 2 years ago

Did you clear the cache?

yahu1031 commented 2 years ago

That kept loading after I did that. No refresh button and change dir button after cache clear.

ZiyadF296 commented 2 years ago

Hot restart

yahu1031 commented 2 years ago

It freezes the app.

yahu1031 commented 2 years ago
Screenshot 2022-02-25 at 12 13 04 AM