[BUG] AttributeError: 'Browser' object has no attribute 'giveMeProxy'
agustinscaz opened this issue · 2 comments
Before submitting a bug report...
- This bug wasn't already reported.
(I have checked every bug report on GitHub)
Title
- The title is no longer "[BUG] Title" and I edited it with the right error name.
Describe the bug
First of all, I'm not using proxy.
The bot sometimes throws this type of errors, the solution is to delete session folder and start over again (but fails next day or in another account)
Copy and paste your error
2024-06-11 15:27:43,857 [INFO] [BING] Finished Desktop Edge Bing searches !
2024-06-11 15:28:03,656 [INFO] Screen size: 2498x1303
2024-06-11 15:28:03,656 [INFO] Device size: 2498x1157
2024-06-11 15:28:03,710 [INFO] [LOGIN] Logging-in...
2024-06-11 15:28:14,235 [INFO] [LOGIN] Logged-in !
2024-06-11 15:28:16,986 [INFO] [LOGIN] Ensuring you are logged into Bing...
2024-06-11 15:28:22,792 [INFO] [LOGIN] Logged-in successfully !
2024-06-11 15:28:22,793 [INFO] [BING] Starting Mobile Edge Bing searches...
2024-06-11 15:28:25,132 [INFO] [BING] 1/20
2024-06-11 15:31:28,160 [INFO] [BING] 2/20
2024-06-11 15:34:32,857 [WARNING] [BING] Possible blockage. Refreshing the page.
2024-06-11 15:34:33,817 [INFO] [BING] 3/20
2024-06-11 15:37:24,856 [INFO] [BING] 4/20
2024-06-11 15:45:35,831 [WARNING] [BING] Possible blockage. Refreshing the page.
2024-06-11 15:45:36,904 [INFO] [BING] 5/20
2024-06-11 15:48:29,488 [INFO] [BING] 6/20
2024-06-11 15:56:33,920 [WARNING] [BING] Possible blockage. Refreshing the page.
2024-06-11 15:56:35,388 [INFO] [BING] 7/20
2024-06-11 15:58:43,101 [INFO] [BING] 8/20
2024-06-11 16:06:28,314 [WARNING] [BING] Possible blockage. Refreshing the page.
2024-06-11 16:06:29,514 [INFO] [BING] 9/20
2024-06-11 16:09:26,491 [INFO] [BING] 10/20
2024-06-11 16:19:06,311 [WARNING] [BING] Possible blockage. Refreshing the page.
2024-06-11 16:19:07,762 [INFO] [BING] 11/20
2024-06-11 16:21:43,217 [ERROR] [BING] Timeout, retrying in 5~ seconds...
2024-06-11 16:22:07,101 [ERROR] [BING] Timeout, retrying in 5~ seconds...
2024-06-11 16:22:30,306 [ERROR] [BING] Timeout, retrying in 5~ seconds...
2024-06-11 16:22:50,635 [ERROR] [BING] Timeout, retrying in 5~ seconds...
2024-06-11 16:23:09,794 [ERROR] [BING] Timeout, retrying in 5~ seconds...
2024-06-11 16:23:31,015 [INFO] [BING] TIMED OUT GETTING NEW PROXY
2024-06-11 16:23:31,661 [INFO] Sent Telegram notification.
2024-06-11 16:23:31,663 [ERROR] AttributeError: 'Browser' object has no attribute 'giveMeProxy'
Traceback (most recent call last):
File "C:\Ejecutables\MS-Rewards-Farmer\src\searches.py", line 100, in bingSearch
self.browser.utils.waitUntilClickable(By.ID, "sb_form_q")
File "C:\Ejecutables\MS-Rewards-Farmer\src\utils.py", line 48, in waitUntilClickable
WebDriverWait(self.webdriver, timeToWait).until(
File "C:\Users\MiniScaZ\AppData\Local\Programs\Python\Python312\Lib\site-packages\selenium\webdriver\support\wait.py", line 105, in until
raise TimeoutException(message, screen, stacktrace)
selenium.common.exceptions.TimeoutException: Message:
Stacktrace:
GetHandleVerifier [0x0076B8E3+45827]
(No symbol) [0x006FDCC4]
(No symbol) [0x005F150F]
(No symbol) [0x006320BC]
(No symbol) [0x0063216B]
(No symbol) [0x0066E0F2]
(No symbol) [0x00652E44]
(No symbol) [0x0066C034]
(No symbol) [0x00652B96]
(No symbol) [0x00626998]
(No symbol) [0x0062751D]
GetHandleVerifier [0x00A24513+2899763]
GetHandleVerifier [0x00A7793D+3240797]
GetHandleVerifier [0x007F13B4+593364]
GetHandleVerifier [0x007F82DC+621820]
(No symbol) [0x007070A4]
(No symbol) [0x007037A8]
(No symbol) [0x00703947]
(No symbol) [0x006F59FE]
BaseThreadInitThunk [0x774B7BA9+25]
RtlInitializeExceptionChain [0x77DCBE7B+107]
RtlClearBits [0x77DCBDFF+191]
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Ejecutables\MS-Rewards-Farmer\main.py", line 42, in main
earned_points = executeBot(currentAccount, args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Ejecutables\MS-Rewards-Farmer\main.py", line 246, in executeBot
accountPointsCounter = Searches(mobileBrowser).bingSearches(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Ejecutables\MS-Rewards-Farmer\src\searches.py", line 73, in bingSearches
points = self.bingSearch(term)
^^^^^^^^^^^^^^^^^^^^^
File "C:\Ejecutables\MS-Rewards-Farmer\src\searches.py", line 120, in bingSearch
self.webdriver.proxy = self.browser.giveMeProxy()
^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'Browser' object has no attribute 'giveMeProxy'
Screenshots
Value of dashboard variable
var appDataModule = angular.module("rewardsDataModule", []);
var areaConfig = {
areaPrefix: "Rewards",
serviceEndpointRoot: "/api/",
templateRoot: "/Areas/Rewards/ScriptsOneUI/Components/",
testHooksAllowed: false,
testHookQueryParams: {},
punchCardUrlFormat: "/dashboard/{0}",
isMobileViewModeEnabled: true,
showDebugInfo: false,
catalogItemImg: "//az15297.vo.msecnd.net/images/rewards/rc/{0}",
pointsProgressImageUrl: "//az15297.vo.msecnd.net/images/rewards/membercenter/missions/Animated-Icons/Trophy.json",
isVisualParityTest: false,
useNewDBS: false,
raDbsEnabled: true,
redDotOneDayInMilisecond: "86400000",
redDotCoolDownNumberOfDays: "2",
};
areaConfig.flights = {"aadEpuid":false,"anonymousCatalog":true,"arasap":false,"arPanel":false,"arStatusBanner":false,"autoDonate":false,"bghsku":false,"bsV2Continuous":false,"chatbot":false,"earnReportOpenRedeemPage":true,"earnReportOpenRedeemPageControl":false,"exbengcard":false,"feedbackForm":false,"flyoutAccLink":true,"getItNowRedeemCtaText":false,"ghrsku":false,"globalOffer":false,"gobighvac":false,"gobighvat":false,"golcon":false,"golset":false,"grskuc":false,"gwB":true,"isAddMsaPhoneNumberVisualParityTest":false,"isAnidHexaColorDisplayEnabled":false,"isCaptchaFlight":false,"isCharityListEnabled":true,"isChatWithBingFlight":true,"isCNVerifyCaptchaFlight":false,"isDashboardReportBotActivityEnabled":true,"isDenseDashboardLayout":false,"isExclusiveLockedFeatureControl":false,"isExclusiveLockedFeatureVerA":false,"isExclusiveLockedFeatureVerB":false,"isForceTriggerSmsChallengeFlight":false,"isGeoLocation":false,"isMsaPhoneNumberChallengeFlight":true,"isRecommendedAffordableModuleControl":false,"isRecommendedAffordableModuleFlight":true,"isRecommendedAffordableModuleFlightIncludeDonate":false,"isVisualParityTest":false,"isXoxoRedemptionCounterFlight":false,"isXoxoRedemptionFlight":false,"levelBenefits":true,"mdanctr":false,"mdanfrst":false,"mdanpstat":false,"msaautojoin":false,"newRewMkt":false,"oneClickRedeemControl":false,"oneClickRedeemTreatment":false,"oneclickRedemptionFlight":false,"oneclickRedemptionFlightWithoutVariableRedemption":false,"otherWaysToEarn":true,"pdpLevelBenefitControl":false,"pdpLevelBenefitFlight":false,"peregol":false,"perseob1":false,"perseob2":false,"perseobcf":false,"pointClaim":false,"prgolc":false,"redeemCategoryFilter":true,"redeemCoupon":true,"referAFriend":false,"referAFriendOverlay":false,"reverseAr":false,"reversehvap":false,"reversehvapctrl":false,"reversehvaptr":false,"revertSrchPts":false,"revertSrchPtsCtr":false,"rewardsClarity":true,"rewardsPointBreakdown":true,"rewardsRoundup":false,"rewardsStatus":true,"rwd3pdsec":false,"rwd3pdsev1":false,"rwd3pdsev2":false,"rwd3pdsev3":false,"rwdailycheckincodex":false,"rwdailycheckinglobal":false,"rwdfs3":false,"rwdfs5":false,"rwdfsc":false,"rwexbspotlight":false,"rwgobig":true,"rwuwb":false,"rwuwbctrl":false,"rxRebates":false,"searchsrhptsexp1":false,"searchsrhptsexp2":false,"streakProtection":false,"streaks":false,"sweepstakesupdate":false,"taskPinning":true,"uetTagging":true,"unLangNoteB":false,"varSku":false,"versusflyout":false,"winners":true,"feature.0st_dimev2_tf":true};
appDataModule.constant("areaConfig", areaConfig);
var currentUser =
{
displayName: "Agu Scaz",
isAnonymous: false,
email: "aguscaz1985@gmail.com",
profilePictureUrl: "https://storage.live.com/users/0x000000000000000030b518ddbd9db010/myprofile/expressionprofile/profilephoto:Win8Static,UserTileMedium,UserTileStatic/MeControlXXLUserTile?ck=1&ex=24",
culture: "es",
firstName: "Agu",
};
appDataModule.constant("currentUser", currentUser);
appDataModule.constant("dashboardCmsData", {"strings":{"slide-2-title":"Obtener puntos al usar productos de Microsoft","quiz-incomplete":"¡Sigue! Te queda {0} pregunta","complete":"Completar","your-goal":"Tu objetivo","slide-3nw-description-50":"Elige tu tema favorito para ganar tus primeros 50 puntos.","slide-3nw-title":"Explorar el programa","streak-protection-title":"Protección de amenazas","suggested-rewards":"Sugerencias de Rewards","back-text":"Atrás","mbing-banner-later":"Quizás más tarde","start-earning-goal":"Empieza a ganar para conseguir un objetivo de canje","levels-link":"/rewards/levels/","levels-text":"Estado","sneak-peek":"VISTAZO AL CONJUNTO DE MAÑANA","consent-terms-text":"Términos","rewards-trophy-url":"https://hostme.blob.core.windows.net/images/rewards/membercenter/missions/Animated-Icons/Trophy.json","slide-3w-title":"Gana 50 puntos al anclar Rewards a la barra de tareas","daily-set":"CONJUNTO DIARIO","unlocked-icon-url":"https://az15297.vo.msecnd.net/images/rewards/exclusivelocked/dashboard_unlocked.svg","machineTrans-icon-text":"Icono de traducción automática","timestamp-text":"Pedido el {0}","level2-locked-required-text":"Se requiere el nivel 2. ⓘ","coach-marks":"Más información sobre los conjuntos diarios","winner-link":"/rewards/redeem/redeem/redeem","winner-text":"Ganadores","points-in-title":"\u003cb\u003e{0} puntos\u003c/b\u003e","redeem-now":"Canjear ahora","locked-img-alt":"Imagen bloqueada","your-last-order":"Tu último premio","available-points":"Puntos disponibles","unlocked-img-alt":"Imagen desbloqueada","give-icon-url":"https://az15297.vo.msecnd.net/images/rewards/membercenter/missions/give_offer.png","no-goal":"No has establecido un objetivo.","activities":"Actividades","user-interest-travel-transportation":"Viajes y transporte","points-breakdown":"Desglose de puntos","slide-3nw-action-button-text":"Explorar el programa","consent-privacy-text":"Privacidad","go-back":"VOLVER AL CONJUNTO DE HOY","user-interest-entertainment":"Entretenimiento","coming-soon":"Próximamente","maybe-later-text":"Quizás más tarde","mbing-banner-earn-bing-app":"Gana más puntos de Rewards en la aplicación Microsoft Bing","coupon-banner-title-before":"Tenemos un cupón de {0}punto para ti. Aplícalo en el canje antes de que expire el {1}.","sneak-peek-mobile":"MAÑANA","offer-locked-required-text":"Se requiere una finalización de oferta específica. Ⓘ","welcome-tour-points":"Puntos","streak-count":"Recuento de rachas","refer-a-friend-progress-format":"\u003cb\u003e{0}\u003c/b\u003e / {1}","plus-points":"más","promo-close":"Cerrar","point-progress":"\u003cb\u003e{0}\u003c/b\u003e / {1}","quiz-complete":"Tiene {0}/{1} correcto","streakprotection-tooltip-description3":"Ha usado todos sus días de protección de rachas y su protección puede reactivarse el {0}.","streakprotection-tooltip-description2":"Ha usado {0} de un máximo de 14 días de \u0022protección de rachas\u0022.","streakprotection-tooltip-description1":"Con nuestra nueva \u003cb\u003ecaracterística de protección de amenaza\u003c/b\u003e, puede perderse hasta 14 días al año sin perder su tiempo.","learn-more":"Obtener más información","quickredeem-cta-text":"Canjea rápido por {0} puntos","coupon-banner-title-after":"Canjee antes {0} de usar su cupón de {1} puntos","mbing-banner-try":"Probar ahora","mbing-banner-get":"Usar la aplicación","next-text":"Siguiente","family-text":"Comunidad","family-link":"/rewards/community","rewards-dialog":"Cuadro de diálogo de recompensas","level-2-incomplete-message":"Gana 500 puntos para permanecer en el nivel 2 el próximo mes","task-complete-message":"Has ganado 500 puntos este mes. ","rewards-medal-url":"https://hostme.blob.core.windows.net/images/rewards/membercenter/missions/Animated-Icons/RewardsMedal.json","point-in-title":"\u003cb\u003e de punto de\u003c/b\u003e{0} ","catalog-image-format":"az15297.vo.msecnd.net/images/rewards/rc/{0}","streak-protection-on":"ACTIVADA","sweepstake-status":"COMPROBAR ESTADO DEL SORTEO","slide-3w-action-button-text":"Anclar y empezar a ganar","more-activities":"MÁS ACTIVIDADES","raf-progress-image":"https://compass-ssl.microsoft.com/assets/4f/2e/4f2ebc1f-e6f7-4f0c-b5bb-3bdd51c02dad.svg?n=ReferAFriend_coldstart_horn.svg","level-task-incomplete-point":"Gana \u003cb\u003e{0}\u003c/b\u003e punto este mes para alcanzar \u003cb\u003enivel 2\u003c/b\u003e.","earn-every-day":"Puntos obtenidos","slides-location-format":"{0} de {1}","close":"Cerrar","pause":"Pausar","point":"punto de {0}","day":"\u003cb\u003e{0} día\u003c/b\u003e","key":"contenido de página","level1-task-incomplete-points":"Gana \u003cb\u003e{0}\u003c/b\u003e más puntos este mes para alcanzar \u003cb\u003enivel 2\u003c/b\u003e.","lifetime-points":"\u003cb\u003e{0}\u003c/b\u003e puntos de duración","points-in-progress":"{0}/{1}","remove-goal":"Quitar objetivo","level1-task-incomplete-point":"Gana \u003cb\u003e{0}\u003c/b\u003e punto más este mes para alcanzar \u003cb\u003enivel 2\u003c/b\u003e.","level-task-complete":"Has ganado \u003cb\u003e{0}\u003c/b\u003e puntos este mes. Permanecerá \u003cb\u003enivel 2\u003c/b\u003e.","consent-text":"Recibirás correos electrónicos sobre Microsoft Rewards, que incluyen ofertas sobre productos de Microsoft y asociados.","redeem-text":"Canjear","redeem-link":"/rewards/redeem/","streak-protection-off":"DESACTIVADO","skip-tutorial-text":"Omitir tutorial","level-task-incomplete-points":"Gana \u003cb\u003e{0}\u003c/b\u003e puntos este mes para alcanzar \u003cb\u003enivel 2\u003c/b\u003e.","slide-footnote":"*Las características disponibles dependen de tu país o región","raf-progress-image-alt":"Recomendar a un amigo","streak-bonus-countdown-day":"\u003cb\u003e{0}\u003c/b\u003e día hasta el regalo extra","level2-task-incomplete-point":"Gana \u003cb\u003e{0}\u003c/b\u003e punto más este mes para permanecer \u003cb\u003enivel 2\u003c/b\u003e.","coupon-banner-title-activated":"¡Felicidades! Se ha aplicado el cupón. Examina los premios y úsalo antes de que expire el {0}.","user-interest-retail":"Venta al por menor","refer-a-…
This issue is stale because it has been open for 14 days with no activity.
This issue was closed because it has been inactive for 7 days since being marked as stale.