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

Says No Active Users Found #41

Open
amandesai01 opened this issue Oct 2, 2020 · 9 comments
Open

Says No Active Users Found #41

amandesai01 opened this issue Oct 2, 2020 · 9 comments
Labels
bug Something isn't working macOS

Comments

@amandesai01
Copy link
Contributor

Describe the bug
When I run the script, It says no active users found on page 0. Although, there are users listed. I used process.env.company as Google

Console Logs

DevTools listening on ws://127.0.0.1:57518/devtools/browser/bf2b62bf-8ce0-41ff-aac9-419958394897
Previous session loaded successfully!
[38436:775:1002/184946.651985:ERROR:device_event_log_impl.cc(208)] [18:49:46.651] FIDO: touch_id_context.mm:125 Touch ID authenticator unavailable because keychain-access-group entitlement is missing or incorrect
[38453:50951:1002/184959.974540:ERROR:batching_media_log.cc(38)] MediaEvent: {"error":"FFmpegDemuxer: no supported streams"}
[38453:775:1002/184959.986721:ERROR:batching_media_log.cc(35)] MediaEvent: {"pipeline_error":14}
Active users on page 0:  []
2020-10-02 18:50:45.398 Chromium Helper (Renderer)[38453:12184431] CoreText note: Client requested name ".PingFangSC-Medium", it will get Times-Roman rather than the intended font. All system UI font access should be through proper APIs such as CTFontCreateUIFontForLanguage() or +[NSFont systemFontOfSize:].
2020-10-02 18:50:45.398 Chromium Helper (Renderer)[38453:12184431] CoreText note: Set a breakpoint on CTFontLogSystemFontNameRequest to debug.
2020-10-02 18:50:45.409 Chromium Helper (Renderer)[38453:12184431] CoreText note: Client requested name ".PingFangSC-Medium", it will get Times-Roman rather than the intended font. All system UI font access should be through proper APIs such as CTFontCreateUIFontForLanguage() or +[NSFont systemFontOfSize:].
2020-10-02 18:50:45.410 Chromium Helper (Renderer)[38453:12184431] CoreText note: Client requested name ".PingFangSC-Medium", it will get Times-Roman rather than the intended font. All system UI font access should be through proper APIs such as CTFontCreateUIFontForLanguage() or +[NSFont systemFontOfSize:].
2020-10-02 18:50:45.411 Chromium Helper (Renderer)[38453:12184431] CoreText note: Client requested name ".PingFangSC-Medium", it will get Times-Roman rather than the intended font. All system UI font access should be through proper APIs such as CTFontCreateUIFontForLanguage() or +[NSFont systemFontOfSize:].
2020-10-02 18:50:45.461 Chromium Helper (Renderer)[38453:12184431] CoreText note: Client requested name ".AppleSDGothicNeoI-SemiBold", it will get Times-Roman rather than the intended font. All system UI font access should be through proper APIs such as CTFontCreateUIFontForLanguage() or +[NSFont systemFontOfSize:].
2020-10-02 18:50:45.468 Chromium Helper (Renderer)[38453:12184431] CoreText note: Client requested name ".PingFangSC-Medium", it will get Times-Roman rather than the intended font. All system UI font access should be through proper APIs such as CTFontCreateUIFontForLanguage() or +[NSFont systemFontOfSize:].
2020-10-02 18:50:45.496 Chromium Helper (Renderer)[38453:12184431] CoreText note: Client requested name ".PingFangSC-Medium", it will get Times-Roman rather than the intended font. All system UI font access should be through proper APIs such as CTFontCreateUIFontForLanguage() or +[NSFont systemFontOfSize:].
2020-10-02 18:50:45.497 Chromium Helper (Renderer)[38453:12184431] CoreText note: Client requested name ".PingFangSC-Medium", it will get Times-Roman rather than the intended font. All system UI font access should be through proper APIs such as CTFontCreateUIFontForLanguage() or +[NSFont systemFontOfSize:].
2020-10-02 18:50:45.501 Chromium Helper (Renderer)[38453:12184431] CoreText note: Client requested name ".PingFangSC-Medium", it will get Times-Roman rather than the intended font. All system UI font access should be through proper APIs such as CTFontCreateUIFontForLanguage() or +[NSFont systemFontOfSize:].
2020-10-02 18:50:45.510 Chromium Helper (Renderer)[38453:12184431] CoreText note: Client requested name ".PingFangSC-Medium", it will get Times-Roman rather than the intended font. All system UI font access should be through proper APIs such as CTFontCreateUIFontForLanguage() or +[NSFont systemFontOfSize:].
[38453:50951:1002/185051.643056:ERROR:batching_media_log.cc(38)] MediaEvent: {"error":"FFmpegDemuxer: no supported streams"}
[38453:775:1002/185051.714533:ERROR:batching_media_log.cc(35)] MediaEvent: {"pipeline_error":14}
[38453:50951:1002/185051.719896:ERROR:batching_media_log.cc(38)] MediaEvent: {"error":"FFmpegDemuxer: no supported streams"}
[38453:775:1002/185051.775038:ERROR:batching_media_log.cc(35)] MediaEvent: {"pipeline_error":14}
[38453:50951:1002/185051.887375:ERROR:batching_media_log.cc(38)] MediaEvent: {"error":"FFmpegDemuxer: no supported streams"}
[38453:775:1002/185051.888243:ERROR:batching_media_log.cc(35)] MediaEvent: {"pipeline_error":14}
^Cnpm ERR! code ELIFECYCLE
npm ERR! errno 130
npm ERR! [email protected] start: `node scrape.js`
npm ERR! Exit status 130
npm ERR! 
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/aman/.npm/_logs/2020-10-02T13_20_59_693Z-debug.log

To Reproduce
Steps to reproduce the behavior:
Set COMPANY=Google in .env file. and run as directed in README.

Expected behavior
A clear and concise description of what you expected to happen.

Desktop (please complete the following information):

  • OS: macOS
@github-actions
Copy link

github-actions bot commented Oct 2, 2020

Hi @amandesai01 , thank you for submitting an issue!

@ayushjainrksh
Copy link
Owner

@amandesai01 That's strange. I tested the script and it works fine. I saw your PR #40 has been made from the master branch. It is possible that the problem was introduced by the changes that you made in the PR. As a preliminary test, can you try making a fresh clone of the repo and rerun the script on the master branch if possible? If there's no output even on the fresh clone, please test if the selectors are working fine. If you find the solution, feel free to make a PR!

@amandesai01
Copy link
Contributor Author

Hey @ayushjainrksh . That was the same thing which I thought. So I checked out to version at which master was before me making changes. Still found same error.

@amandesai01
Copy link
Contributor Author

Screenshot 2020-10-02 at 9 01 25 PM
Here is a screenshot of me checking out to previous version. Checkout commit checksum to verify which version causes error.

Reverted to commit 83c3c40fdbe8d88679eca637f018fabacf14bdf2

@ayushjainrksh
Copy link
Owner

@amandesai01 Okay thanks for confirming. Let me know if you find the problem. I'll also have a look.

@ayushjainrksh
Copy link
Owner

I checked again, it still works for me but I'm not surprised that it doesn't work for you. In the end, I'll need your help to figure this out. Might be a similar problem as #20

@ayushjainrksh
Copy link
Owner

@amandesai01 This issue should probably be fixed by #42. Please let me know if it works so that this issue can be closed.

@amandesai01
Copy link
Contributor Author

@ayushjainrksh It still isn't working. I guess it is problem related to MacBook. I suspect this due to following line:

[38436:775:1002/184946.651985:ERROR:device_event_log_impl.cc(208)] [18:49:46.651] FIDO: touch_id_context.mm:125 Touch ID authenticator unavailable because keychain-access-group entitlement is missing or incorrect

KeyChain is a password managing service used by macOS to keep password management centralised and sync passwords across devices securely.

@ayushjainrksh ayushjainrksh added the bug Something isn't working label Oct 10, 2020
@ayushjainrksh
Copy link
Owner

@amandesai01 Thanks for reporting this issue. Please open a PR if you find a solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working macOS
Projects
None yet
Development

No branches or pull requests

2 participants