jmausolf / poshmark_sharing

BSD 3-Clause "New" or "Revised" License
110 stars 58 forks source link

"ERROR in Share War" when sharing begins then browser closes, in multiple browsers #34

Open randyrue opened 2 years ago

randyrue commented 2 years ago

Tried both Chrome and Edge and get the below.

I can see the browser scroll through all listings, then the first sharing window pops up but doesn't close. Eventually times out, the CMD window pops the below and then the browser closes.

No new entries in debug.log.

Microsoft Windows [Version 10.0.22000.258]
(c) Microsoft Corporation. All rights reserved.

C:\Users\poshmark>cd Desktop

C:\Users\poshmark\Desktop>"start_sharing - Shortcut.lnk"

C:\Users\poshmark\Desktop\poshmark_sharing>REM starting poshmark sharing -d Chrome

C:\Users\poshmark\Desktop\poshmark_sharing>cd c:\script\poshmark_sharing

c:\script\poshmark_sharing>python3 share_war.py -d Edge -t 28800

DevTools listening on ws://127.0.0.1:65225/devtools/browser/2d4a5b41-9aa0-416c-900d-6546f4d1c7f0
[17704:19792:1101/094123.772:ERROR:edge_auth_errors.cc(387)] EDGE_IDENTITY: Get Default OS Account failed: Error: Primary Error: kImplicitSignInFailure, Secondary Error: kAccountProviderFetchError, Platform error: 0, Error string:

[*] DEPLOYING SHARE WAR
[17704:6920:1101/094127.119:ERROR:chrome_browser_main_extra_parts_metrics.cc(252)] crbug.com/1216328: Checking default browser status started. Please report if there is no report that this ends.
[17704:6920:1101/094127.129:ERROR:chrome_browser_main_extra_parts_metrics.cc(256)] crbug.com/1216328: Checking default browser status ended.
[17704:19792:1101/094127.142:ERROR:profile_manager.cc(1070)] Cannot create profile at path C:\Users\poshmark\AppData\Local\Microsoft\Edge\User Data\Default
[17704:19792:1101/094127.142:ERROR:profile_manager.cc(2024)] Cannot create profile at path C:\Users\poshmark\AppData\Local\Microsoft\Edge\User Data\Default

[*] logging into Poshmark seller account: lumenmarket...
    the share war will begin momentarily...

[*] scrolling through all items in closet...

[*] sharing PoshMark listings for 460 items in closet...
    please wait...

[*] ERROR in Share War

[*] the share war will continue in 480 minutes...
    current time: 09:42AM on Nov 01, 2021
lakahn commented 2 years ago

This is happening for me too - it seems that there is some coding shift. Does anyone have a fix for it?

lakahn commented 2 years ago

This is happening for me too - it seems that there is some coding shift. Does anyone have a fix for it?

Seems like it might be a CSS selector issue again, since they changed the naming of the share buttons etc again. @branrodgers ?

branrodgers commented 2 years ago

I noticed around the first of November, the bot would freeze my linux VM. I found upgrading to the newest distro and subsequent python, pip and geckdrivers helped. The newest python distro does make some changes to the 'find by' selectors. I have fixed them for the newest distro and it has been running without a hitch.

to @randyrue , what file do you have? Does it contain a search for two different CSS selectors in the get_closet_share_icon() function.

randyrue commented 2 years ago

My wife subscribed to one of the paid services and I haven't looked back into it...

On 12/22/2021 9:33 AM, branrodgers wrote:

I noticed around the first of November, the bot would freeze my linux VM. I found upgrading to the newest distro and subsequent python, pip and geckdrivers helped. The newest python distro does make some changes to the 'find by' selectors. I have fixed them for the newest distro and it has been running without a hitch.

to @randyrue https://github.com/randyrue , what file do you have? Does it contain a search for two different CSS selectors in the get_closet_share_icon() function.

— Reply to this email directly, view it on GitHub https://github.com/jmausolf/poshmark_sharing/issues/34#issuecomment-999749500, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB264EKF6D6DGROTZAFEKJTUSIDVNANCNFSM5HEP7TUQ. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you were mentioned.Message ID: @.***>

di9ze commented 1 year ago

hello everyone, i ran into same issue. I was able to fix it by logging in into poshmark from the same machine that i ran sharewar > went into my closet and shared few items. I re-ran the script and its working fine again