DocNow / hydrator

Turn Tweet IDs into Twitter JSON & CSV from your desktop!
MIT License
430 stars 62 forks source link

Hydrator Closes Immediately After Start #75

Closed shullaw closed 3 years ago

shullaw commented 3 years ago

Opens fine. Closes after I press start. I've tried changing directories for the id files. I have been using the program fine for a couple weeks now and have hydrated millions of tweets until now.

edsu commented 3 years ago

What operating system are you using?

shullaw commented 3 years ago

Windows 10. I also had VMware machines running Windows 10 and they began doing the same thing. This is happening with no VMs open, just Hydrator on my main machine.

edsu commented 3 years ago

Are you able to figure out how to start it from the windows command line?

edsu commented 3 years ago

Also, have you tried relinking your account?

shullaw commented 3 years ago

No I’ll relink my account first and update you.

edsu commented 3 years ago

Also, have you been running multiple instances of the hydrator in parallel?

shullaw commented 3 years ago

I did try but it didn’t work so I used VMs instead.

edsu commented 3 years ago

And were you linking with the same account or different ones? The reason I ask is that Twitter may watch for lots of API traffic from different accounts on the same IP address.

shullaw commented 3 years ago

I was using different accounts. I did try a few times with same accounts, but I was never able to hydrate any tweets and that was over a week ago.

edsu commented 3 years ago

Yeah, if you use the same account they will compete with each other. And if you use different ones you run the risk of being flagged by Twitter as abusing the API. Not that you were, but that's just one of the things they might look for.

edsu commented 3 years ago

Still Hydrator shouldn't die like that. So if you re-linking doesn't fix it I'd love to see what gets printed to the console if you can start it at the command line.

shullaw commented 3 years ago

I can’t figure out how to unlink so I’ll try command line. I haven’t been using windows very long.

edsu commented 3 years ago

To relink go to Settings and click on the Link button. It should prompt you to log in at Twitter in your browser. But I'd actually really like to see the console output if you are able to start it at the command line. You should be able to locate the .exe and type in the full path to it and hit Enter. Then if you start your job you may see an error pop up on the console?

shullaw commented 3 years ago

PS C:\Users\j> C:\Users\j\AppData\Local\Programs\hydrator\Hydrator.exe PS C:\Users\j> storage location: C:\Users\j\AppData\Roaming\hydrator\storage (electron) The default value of app.allowRendererProcessReuse is deprecated, it is currently "false". It will change to be "true" in Electron 9. For more information please check https://github.com/electron/electron/issues/18397 reading from X:\Twitter_Project\Datasets\Tweets_to_Trump\to_Trump_20200321_ids\to_realdonaldtrump_20200321_ids2.txt for 5a17c2c5-a2d8-4b99-85a7-9745dd473d37 writing to X:\Twitter_Project\Datasets\Tweets_to_Trump\to_Trump_20200321_ids\to_realdonaldtrump_20200321_ids2_hydrated for 5a17c2c5-a2d8-4b99-85a7-9745dd473d37

GUI popped up, pressed start, and it closed the GUI but command line still shows that it is running

shullaw commented 3 years ago

In settings I have: -Add an account -Add a Microsoft account -Add a work or school account -the two accounts that I have with Manage next to them

I've clicked manage before which brings you to microsoft webpage, but i can't figure out how to unlink

edit: but it is not in Processes under task manager

edsu commented 3 years ago

Interesting, so it's still running in the terminal after the window closed?

To relink open the Hydrator and click on Settings and then Link.

shullaw commented 3 years ago

ohhhh you mean Hydrator? okay let me try that.

shullaw commented 3 years ago

I tried relinking and switching accounts with no luck. My accounts might be flagged, but I haven't received any e-mails. I can get a 3rd account running on a VM though. One of my VMs wasn't working earlier.

edsu commented 3 years ago

Do you have a VPN? Or the ability to jump on the Internet at a different location?

shullaw commented 3 years ago

I am actually at a different location right now. Although I have run Hydrator here before. 90% of my work is done at home though.

edsu commented 3 years ago

And the problem persists at home too?

shullaw commented 3 years ago

correct

edsu commented 3 years ago

The hydrator should report an error and not simply close. I think this is a duplicate of #65 so please subscribe to that ticket if you would like to get updates. It's difficult for me to test without being able to reproduce the problem :-(

shullaw commented 3 years ago

Now that you say that, I have had javascript errors, but not right now.

edsu commented 3 years ago

Please add any you notice to the other ticket. I'm sorry I can't be of more help right now.