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

Search icon loads forever - Mac OS 10.13.5 #6

Open
syedwaseemjan opened this issue Jun 27, 2018 · 9 comments
Open

Search icon loads forever - Mac OS 10.13.5 #6

syedwaseemjan opened this issue Jun 27, 2018 · 9 comments
Labels
bug 🐞 Something isn't working help wanted Extra attention is needed MacOS 🍎 Bugs or features only related to MacOS unidentified 🤔 An issue or a bug that has not been properly traced yet

Comments

@syedwaseemjan
Copy link

syedwaseemjan commented Jun 27, 2018

I was able to open and import the dump file but I cannot see the list of torrents. When I try to search something, the searching icon loads forever like this

screen shot 2018-06-27 at 9 14 42 pm

Logs from Mac console

error	21:22:19.362052 +0500	OfflineBay	nw_path_close_fd Failed to close guarded necp fd 32 [9: Bad file descriptor]

Logs from terminal

» /Applications/OfflineBay.app/Contents/MacOS/OfflineBay                                                                          1 ↵
2018-06-27 22:48:07.414 OfflineBay[6429:288242] *** WARNING: Textured window <AtomNSWindow: 0x7fd1fbc47200> is getting an implicitly transparent titlebar. This will break when linking against newer SDKs. Use NSWindows -titlebarAppearsTransparent=YES instead.

objc[6429]: Class FIFinderSyncExtensionHost is implemented in both /System/Library/PrivateFrameworks/FinderKit.framework/Versions/A/FinderKit (0x7fff864b3c90) and /System/Library/PrivateFrameworks/FileProvider.framework/OverrideBundles/FinderSyncCollaborationFileProviderOverride.bundle/Contents/MacOS/FinderSyncCollaborationFileProviderOverride (0x1103d9cd8). One of the two will be used. Which one is undefined.

Import process ended
Search process ended

Dump Files

I tried to load both csv and gz. Files permissions are

$ ls -l torrent_dump_full.csv*
$ -rw-r--r-- 1 waseem 189397230 Jun 27 21:07 torrent_dump_full.csv
$ -rw-r--r-- 1 waseem  93037900 Jun 27 20:48 torrent_dump_full.csv.gz
@techtacoriginal techtacoriginal added MacOS 🍎 Bugs or features only related to MacOS unidentified 🤔 An issue or a bug that has not been properly traced yet labels Jun 27, 2018
@techtacoriginal
Copy link
Collaborator

Looks like the error is returned from a file descriptor which only used in the download and import processes. Since you didn't download through the app I'm assuming the error is originated from Import process. But that doesn't describe the infinite search loop. Did you get the import successful notification?
Can you try to do following things in this order so i can get some clarity on this?

  1. Find the log file from OfflineBay.app > Contents > Resources > app > app > data > logger.log
  2. If you know how to tail it, go ahead and start tailing
  3. Open OfflineBay and do an import. Don't do anything other than that
  4. Check the error log for any errors. If there are any errors keep a copy of that separately
  5. Close and open up OfflineBay again
  6. Do a search and check the log file again. If there are any errors record those separately just like before.

Please post those errors referring to each action. Also screenshot any visible error notifications in the app.

@syedwaseemjan
Copy link
Author

syedwaseemjan commented Jun 28, 2018

Yes I do get import successful notification. This is what I got in logs

» tail -f /Applications/OfflineBay.app/Contents/Resources/app/app/data/logger.log
[2018-06-28 11:28:24] : Import process ended
[2018-06-28 11:29:02] : Search process ended
tail: /Applications/OfflineBay.app/Contents/Resources/app/app/data/logger.log: file truncated
[2018-06-28 11:29:19] : Search process ended

Also, how do I download the dump file through the app ?

@techtacoriginal
Copy link
Collaborator

techtacoriginal commented Jun 28, 2018

It's weird. No errors are there. 🤔 This just became super hard to reproduce. I want you to do something. Just search for "asdasdas" and observe the result. Search for that exact term.

@syedwaseemjan
Copy link
Author

For asdasdas it showed one result.
screen shot 2018-06-28 at 6 33 40 pm

@techtacoriginal
Copy link
Collaborator

techtacoriginal commented Jun 28, 2018

That's what i thought. This seems to be some weird random rendering issue. But i can't say for sure till i diagnose this properly. Unfortunately it's really hard for me to test because i'm using a Mac VM. So my test result could differ vastly from an actual Mac. We need Mac devs for the project. #4 seems to be the same issue but it was fixed somehow. Stay tuned because i'm definitely gonna get to the bottom of this.

UPDATE:
Users who are experiencing this issue can use Instant search till this bug is fixed.

@techtacoriginal techtacoriginal added the bug 🐞 Something isn't working label Jun 28, 2018
@techtacoriginal techtacoriginal added the help wanted Extra attention is needed label Jun 28, 2018
@fcarsenal12
Copy link

i have the same issue
its stuck on searching when i search for anything
except : " asdasdas " it give me 2 results
i have the latest dump file loaded succefully
OS X 10.12

@Rob-Rychs
Copy link

Rob-Rychs commented Sep 1, 2018

my PR #11 fixes this issue
tested on Mac OS X 10.13.6
(sorry to clarify: my PR solves the infinite search bug when the user performs an empty search. though it might be related)

@rafata125
Copy link

Same as fcarsenal12
Instant search working fine
OS X 10.13.6

@liquidchild101
Copy link

hi, thought id chime in. ive got the same problem but i was able to get a search result from a game "abzu".

im not a programer but it seems like anything from the top "a" doesnt take too much time so it can give the result. anything further down the dump file takes longer and gets the stuck in the loop or what ever the problem is.

of course this is only my experience. good luck peeps

mac os x 10.11.16
instant search working fine

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐞 Something isn't working help wanted Extra attention is needed MacOS 🍎 Bugs or features only related to MacOS unidentified 🤔 An issue or a bug that has not been properly traced yet
Projects
None yet
Development

No branches or pull requests

6 participants