rafaelgomesxyz / esgst

An extension that enhances SteamGifts / SteamTrades.
MIT License
147 stars 23 forks source link

User Suspension Tracker: fix bug that does not send tickets / check suspensions #1695

Closed SGSmythe closed 3 years ago

SGSmythe commented 3 years ago

Description Problem occurs in two different situations, sending tickets and checking suspensions. As I believe it is the same error of communicating with the google drive database, I have only described one of them here. Basically the error is the same, rotating circle as if stuck in a loop/unable to connect and the console log has the same 'Uncaught (in promise)' message detailed below.

Sending tickets.

Steps to Reproduce

  1. Go to "Support"
  2. Click on checkbox next to completed report
  3. Select "paper plane icon" - 'Send selected tickets to the user suspension tracker database'
  4. Icon changes to rotating circle as if sending, but continues to do this indefinitely.

Expected Behavior After clicking the paper plane icon, the information is sent and a window appears confirming that the data has been sent.

Console Errors DevTools failed to load SourceMap: Could not load content for chrome-extension://ibedmjbicclcdfmghnkfldnplocgihna/lib/browser-polyfill.min.js.map: HTTP error: status code 404, net::ERR_UNKNOWN_URL_SCHEME esgst.js:88 1 false false 0 false true 1 false false esgst.js:88 Uncaught (in promise) {error: "<!DOCTYPE html><meta name="d…in-top: 80px; position: relative;}"}error: "<!DOCTYPE html>Page Not Found

Sorry, the file you have requested does not exist.

Make sure that you have the correct URL and the file exists.

Get stuff done with Google Drive

Apps in Google Drive make it easy to create, store and share online documents, spreadsheets, presentations and more.

Learn more at drive.google.com/start/apps.

"proto: Object ust_sendAll @ esgst.js:88 async function (async) ust_sendAll @ esgst.js:88

Screenshots sending report

System (please complete the following information):

Additional Context After moving to a new computer, I had some problems with other functions but traced them to the permissions. I have all permissions checked, so I don't think it can be related to that. I no longer have the old computer, so cannot try the same function to see if the problem is limited to my computer/this ESGST account set up. Apologies if this is something I have set up incorrectly, but I have tried everything I can think of in the settings.