jack-mil / bing-rewards

A script to automate daily Bing rewards points
MIT License
201 stars 26 forks source link

Nice, but one issue #1

Closed EQNish closed 3 years ago

EQNish commented 3 years ago

this is pretty amazing, I was able to get this working for the most part, but when running this I get an error:

`python3 ./bing_search.py --dryrun
Using database of 14429 potential searches
Doing 34 desktop searches
Search 1: brendasong
Gtk-Message: Failed to load module "canberra-gtk-module"
Gtk-Message: Failed to load module "canberra-gtk-module"
[3277:3277:0512/005020.825801:ERROR:viz_main_impl.cc(150)] Exiting GPU process due to errors during initialization
[3366:3366:0512/005021.464867:ERROR:gpu_init.cc(426)] Passthrough is not supported, GL is egl
Search 2: rei
Failed to parse JSON adblock resources: EOF while parsing a value at line 1 column 0
Search 3: air quality seattle
[3250:3261:0512/005030.297567:ERROR:udev_watcher.cc(97)] Failed to begin udev enumeration.
Search 4: nc state football

Search 34: scoob
Desktop Search complete! 170 MS rewards points

Doing 40 mobile searches
Search 1: saints
Gtk-Message: Failed to load module "canberra-gtk-module"
Gtk-Message: Failed to load module "canberra-gtk-module"
Opening in existing browser session.
[3250:3250:0512/005314.060649:ERROR:CONSOLE(1)] "[Shields]: Can't request shields panel data. Error: No tab url specified", source: chrome-extension://mnojpmjdmbbfmejpflffifhffcmidifd/out/brave_extension_background.bundle.js (1)
[3250:3250:0512/005314.061065:ERROR:CONSOLE(1)] "[Shields]: Can't request shields panel data. Error: No tab url specified", source: chrome-extension://mnojpmjdmbbfmejpflffifhffcmidifd/out/brave_extension_background.bundle.js (1)
[3250:3250:0512/005314.061359:ERROR:CONSOLE(1)] "[Shields]: Can't request shields panel data. Error: No tab url specified", source: chrome-extension://mnojpmjdmbbfmejpflffifhffcmidifd/out/brave_extension_background.bundle.js (1)
Search 2: google doodle
Search 3: askew
[3250:3250:0512/005322.968921:ERROR:CONSOLE(0)] "Unchecked runtime.lastError: The message port closed before a response was received.", source: chrome://newtab/ (0)
[3250:3250:0512/005322.969416:ERROR:CONSOLE(0)] "Unchecked runtime.lastError: The message port closed before a response was received.", source: chrome://newtab/ (0)
Search 4: brazil vs argentina

Search 40: toys r us
Mobile Search complete! 200 MS rewards points

This is using the Brave Browser

jack-mil commented 3 years ago

It looks like you are using a Linux Desktop environment? Up to this point I have only used in Windows, however I may work on more cross platform compatibility as I recently got a Linux setup

Have you run without the --dryrun flag? Those messages may just be Brave output being piped to std.in by my script.