Comments (20)
@khoslaventures is this the latest version of the App ? It should work. Sometimes you might have to re run the app or try it out to figure what is happening by clicking on Application
> Debug
before you click on Uber
option. With their new rebranded UI I have seen cases where their servers goes down and gives "Internal server error"
from ridereceipts.
from ridereceipts.
Yea, this is the latest version of the app.
So I went into debug mode. Managed to login, selected the receipts from the past year.
It just sits here on very first trip it opens. Any ideas?
from ridereceipts.
Also, as a side note, would it be possible to get stuff before a year ago by having screenshots taken of each trip page? Or maybe I could write that logic myself, any ideas where to start?
from ridereceipts.
That explains why. I don't see "Save Invoice" option.
from ridereceipts.
Also, as a side note, would it be possible to get stuff before a year ago by having screenshots taken of each trip page? Or maybe I could write that logic myself, any ideas where to start?
That feature we are bringing in pro version. Where you can just select custom date range. Now looking at your situation I would need to modify some code so it still takes screenshot.
from ridereceipts.
Should be fixed now in this release https://github.com/ridereceipts/ridereceipts/releases/tag/v1.6.4
from ridereceipts.
Hmm I tried it, and my progress bar still doesn't move. Not sure what's happening.
from ridereceipts.
Difficult to test because US have no invoices. Eventually code here https://github.com/ridereceipts/ridereceipts/blob/50142cab11bcb26b0eae0ef10dc9389177f819da/src/renderer/services/puppeteer_uberv2.js#L342 suppose to check if that element is there or not depending on that still should move on
from ridereceipts.
Ok, I'll try commenting out those lines and see if I can just get screenshots of the receipts instead. That would suffice for me personally. I'll let you know how it goes.
from ridereceipts.
@khoslaventures I would say best way is to debug using console.log. if invoiceButton
is false it should still move ahead. Also console errors would be helpful
from ridereceipts.
I set invoiceButton
to false. Still no luck. Progress bar doesn't move forward at all.
I noticed this error though in my console:
/Users/akashkhosla/ridereceipts/node_modules/puppeteer/lib/FrameManager.js:862 Uncaught (in promise) TimeoutError: waiting for selector "#root > div > div > div > div > div:nth-child(1) > div > div > div:nth-child(2) > div span" failed: timeout 30000ms exceeded
at new WaitTask (/Users/akashkhosla/ridereceipts/node_modules/puppeteer/lib/FrameManager.js:862:28)
at Frame._waitForSelectorOrXPath (/Users/akashkhosla/ridereceipts/node_modules/puppeteer/lib/FrameManager.js:753:12)
at Frame.waitForSelector (/Users/akashkhosla/ridereceipts/node_modules/puppeteer/lib/FrameManager.js:711:17)
at Page.waitForSelector (/Users/akashkhosla/ridereceipts/node_modules/puppeteer/lib/Page.js:1043:29)
at _callee6$ (webpack-internal:///./src/renderer/services/puppeteer_uberv2.js:644:23)
at tryCatch (webpack-internal:///./node_modules/babel-runtime/node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (webpack-internal:///./node_modules/babel-runtime/node_modules/regenerator-runtime/runtime.js:296:22)
at Generator.prototype.(anonymous function) [as next] (webpack-internal:///./node_modules/babel-runtime/node_modules/regenerator-runtime/runtime.js:114:21)
at step (webpack-internal:///./node_modules/babel-runtime/helpers/asyncToGenerator.js:17:30)
at eval (webpack-internal:///./node_modules/babel-runtime/helpers/asyncToGenerator.js:28:13)
from ridereceipts.
@khoslaventures I found that most recently page doesn't open when browser is hidden/headless. But it works when debug
config is on
from ridereceipts.
Hmm I see. Yea I have this open in debug mode. It loads the first receipts and just sits there on the first one. Still have invoiceButton
set to false.
/Users/akashkhosla/ridereceipts/node_modules/puppeteer/lib/FrameManager.js:862 Uncaught (in promise) TimeoutError: waiting for selector "#root > div > div > div > div > div:nth-child(1) > div > div > div:nth-child(2) > div span" failed: timeout 30000ms exceeded
at new WaitTask (/Users/akashkhosla/ridereceipts/node_modules/puppeteer/lib/FrameManager.js:862:28)
at Frame._waitForSelectorOrXPath (/Users/akashkhosla/ridereceipts/node_modules/puppeteer/lib/FrameManager.js:753:12)
at Frame.waitForSelector (/Users/akashkhosla/ridereceipts/node_modules/puppeteer/lib/FrameManager.js:711:17)
at Page.waitForSelector (/Users/akashkhosla/ridereceipts/node_modules/puppeteer/lib/Page.js:1043:29)
at _callee6$ (webpack-internal:///./src/renderer/services/puppeteer_uberv2.js:644:23)
at tryCatch (webpack-internal:///./node_modules/babel-runtime/node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (webpack-internal:///./node_modules/babel-runtime/node_modules/regenerator-runtime/runtime.js:296:22)
at Generator.prototype.(anonymous function) [as next] (webpack-internal:///./node_modules/babel-runtime/node_modules/regenerator-runtime/runtime.js:114:21)
at step (webpack-internal:///./node_modules/babel-runtime/helpers/asyncToGenerator.js:17:30)
at eval (webpack-internal:///./node_modules/babel-runtime/helpers/asyncToGenerator.js:28:13)
This was the most recent console error when in debug mode and the page was loaded.
from ridereceipts.
So my page is loading. I commented out:
// await page.waitForSelector('#root > div > div > div > div > div:nth-child(1) > div > div > div:nth-child(2) > div span')
And it works. Now what this is telling me is that for some reason, this element is not being detected. Is that because it points to the Download button which is non-existent?
from ridereceipts.
I'm having the same (or similar) issue on Windows 10. Has this been fixed or should I attempt to make a build with the same workaround that khoslaventures used?
Thanks!
from ridereceipts.
@nunocordeiro that mechanism is removed in new version of the app. New version of the app now downloads receipts from gmail account.
from ridereceipts.
It's not working for me, possibly because I don't have direct links to my invoices from the email.
I tried one of the old versions, but even though the links are there, it doesn't download them - something must've changed in the way chrome handles your scripting.
Should I open a new issue for you? What information can I provide you with?
from ridereceipts.
@nunocordeiro if you dont have any emails in account then it wont download. Old versions use to download from dashboard which have removed in newer version. That would be supported only on pro that is coming soon in New year and would be a paid app. You can create new issue if you still find that it is not downloading receipts from your gmail account and you believe you have email receipts.
from ridereceipts.
Done!
from ridereceipts.
Related Issues (16)
- "White Screen" HOT 3
- v1.5.5 still asking to download Chromium HOT 4
- [Windows 10 x64] Uber : Ride Receipts failed to verify you account. Please try again HOT 9
- Testimonials HOT 1
- production build process errors on mac HOT 6
- No progress when downloading receipts. Doesn't download. HOT 3
- Nothing is happening when i click on next to download invoices HOT 7
- Uber ride cancellation receipts go in folder named undefined HOT 4
- No selection of business/personal account HOT 1
- Getting Puppeteer working in electron-vue? HOT 3
- New logo design for the project HOT 1
- New integrations HOT 3
- Feedback HOT 20
- Can't use with Uber HOT 8
- What all do you need to do to get puppeteer to work with electron? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ridereceipts.