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

MacOS testers needed #21

Open
ngirard opened this issue May 19, 2020 · 9 comments
Open

MacOS testers needed #21

ngirard opened this issue May 19, 2020 · 9 comments
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@ngirard
Copy link
Owner

ngirard commented May 19, 2020

I believe Lolcate should work gracefully on MacOS, but didn't have a chance to check it.
Pre-built binaries are provided for MacOS with each release.
It would be nice if someone could test them.

@ngirard ngirard added enhancement New feature or request help wanted Extra attention is needed good first issue Good for newcomers labels May 19, 2020
@lws4701
Copy link

lws4701 commented May 20, 2020

Is there any functionality in particular you want tested? I actually just did a cargo build, and so far, just testing it out, it seems to work great.

@ngirard
Copy link
Owner Author

ngirard commented May 21, 2020

Hey @lwsmith98, thanks for proposing !
I guess we should be good after the following:

  • could you please try the pre-compiled binary ?
  • could you create a second database and see if you can update and query it ?
  • just out of curiosity, what does lolcate --info return ?

@lws4701
Copy link

lws4701 commented May 21, 2020

Adding a second database and updating it works successfully. Now, I haven't looked over the codebase very closely yet, but just curious, where are these dbs being stored in the fs?
Attached below is the result of ./lolcate --info
Screen Shot 2020-05-21 at 5 33 02 PM

@lws4701
Copy link

lws4701 commented May 21, 2020

Nix that one question, I found it after reading the data_dirs documentation.

@segunolulana
Copy link

segunolulana commented Jun 23, 2020

I just tried using the prebuilt binary on High Sierra i.e Mac 10.13.6 and it failed immediately with several os errors and errors about Mac version

failed to access entry (/Users/myuser/Library/Application Support/Joplin/SingletonLock: No such file or directory (os error 2))
dyld: lazy symbol binding failed: Symbol not found: ____chkstk_darwin
  Referenced from: /Users/myuser/bin/lolcate (which was built for Mac OS X 10.15)
  Expected in: /usr/lib/libSystem.B.dylib

dyld: Symbol not found: ____chkstk_darwin
  Referenced from: /Users/myuser/bin/lolcate (which was built for Mac OS X 10.15)
  Expected in: /usr/lib/libSystem.B.dylib

[1]    21367 abort      sudo lolcate --update

@ngirard
Copy link
Owner Author

ngirard commented Nov 23, 2020

Sorry for the late reply.
@lwsmith98, thanks for your previous feedback !
@segunolulana, would you mind trying the latest release ?

@segunolulana
Copy link

segunolulana commented Nov 25, 2020

The latest prebuilt binary still fails on High Sierra (Mac 10.13.6). It however works well on Catalina (Mac 10.15.3). From the error message, it seems it might only work for Mac 10.15

➜  ~ lolcate --update --db user
Updating user...
failed to access entry (/Users/segun/Library/Saved Application State/com.aone.keka.savedState: No such file or directory (os error 2))
failed to access entry (/Users/segun/Library/Saved Application State/com.apple.Notes.savedState: No such file or directory (os error 2))
failed to access entry (/Users/segun/Library/Saved Application State/com.automattic.SimplenoteMac.savedState: No such file or directory (os error 2))
failed to access entry (/Users/segun/Library/Application Support/Slimjet/App Shim Socket: No such file or directory (os error 2))
failed to access entry (/Users/segun/Library/Application Support/Cerebro/SS: No such file or directory (os error 2))
failed to access entry (/Users/segun/Library/Application Support/Cerebro/SingletonCookie: No such file or directory (os error 2))
failed to access entry (/Users/segun/Library/Application Support/Cerebro/SingletonLock: No such file or directory (os error 2))
failed to access entry (/Users/segun/Library/Application Support/com.operasoftware.Opera/SingletonCookie: No such file or directory (os error 2))
failed to access entry (/Users/segun/Library/Application Support/com.operasoftware.Opera/SingletonLock: No such file or directory (os error 2))
failed to access entry (/Users/segun/Library/Application Support/Slack/SingletonCookie: No such file or directory (os error 2))
failed to access entry (/Users/segun/Library/Application Support/Slack/SingletonLock: No such file or directory (os error 2))
dyld: lazy symbol binding failed: Symbol not found: ____chkstk_darwin
  Referenced from: /Users/segun/bin/lolcate (which was built for Mac OS X 10.15)
  Expected in: /usr/lib/libSystem.B.dylib

dyld: Symbol not found: ____chkstk_darwin
  Referenced from: /Users/segun/bin/lolcate (which was built for Mac OS X 10.15)
  Expected in: /usr/lib/libSystem.B.dylib

[1]    16458 abort      lolcate --update --db user
➜  ~ lolcate --db user info

@ngirard
Copy link
Owner Author

ngirard commented Nov 26, 2020

@segunolulana, thanks for reporting.
Yes, the binary for MacOS is built against the latest MacOS release. Is it acceptable for you, or should I try & come up with another bonary for earlier releases ?
BTW, are you using Lolcate ?

@segunolulana
Copy link

segunolulana commented Nov 26, 2020

Okay. That is fine. It might be better to state the minimum MacOS version though to prevent surprises for new users. I'm not actively using it but I just tried testing it and it works well on Mac 10.15

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants