Skip to content
This repository has been archived by the owner on Jun 5, 2019. It is now read-only.

Uploads stuck on YouTube at "Preparing Upload", a game title bug and requests #36

Closed
TheJessaChannel opened this issue Oct 24, 2016 · 36 comments
Assignees
Labels
Milestone

Comments

@TheJessaChannel
Copy link

YouPloader Version: 0.9

Issue description: Videos are stuck at 0% uploaded on YouTube. http://i.imgur.com/dAkGVRhm.jpg

The "Test" video is the one I am referring to, which has been at that state since the upload finished, about 12 hours now. The video is an .mp4 file that is 18.1 gb.

On the plus side, the issue two others reported with upload speed and that I was also having the last time I used the program was fixed by simply upgrading to 64-bit Java. I am now uploading at the same speed as I was in SJYU.

A bug I experienced: When I put Skyrim in the Game Title field, the upload would not start and I would get this error in the logfile: 06:35:35.467 AWT-EventQueue-0 ERROR at.becast.youploader.util.AutocompleteComboBox Error updating game combo box entries

Lastly, a few requests.

  1. In SJYU, I could quickly cut and paste things by right clicking in any text field and a menu would pop up with Cut/Copy/Paste/Select All/Delete.
  2. A minimize to tray feature and a start minimized to tray feature.
  3. When the program starts, all uploads that were previously in process automatically start again without having to push the start button again. If the computer is restarted while uploads are in process, then the program starts up with windows (I can put the program in the startup folder if necessary but a setting saves this step), starts minimized to tray (by user choice in settings) and automatically begins uploads. I want the program to always be running in the background, continuously uploading and I only open it to add a new upload and go about my day!

Please attach your %userprofile%\YouPloader\logfile.html and, if necessary, any Screenshots showing the issue to this post

Logfile to dropbox because github is not letting me add a zip file: https://www.dropbox.com/s/csa7fx147540ocy/logfile.zip?dl=0

Thanks so much for your help!

Jessa

@TheJessaChannel
Copy link
Author

New link because now I am having an upload error: https://www.dropbox.com/s/pmvxbxfglyvd1nn/logfile.zip?dl=0

Not my day, it seems!

@becast
Copy link
Owner

becast commented Oct 24, 2016

You need to remove your account and readd it in youploader. Seems YT has deauthorized it. No worries your Templates etc. Won't get deleted. However you should remove all uploads first

@TheJessaChannel
Copy link
Author

TheJessaChannel commented Oct 24, 2016

Fixed it. But I spoke too soon on the faster upload speed, now back down to an abysmal 255-300. Not sure what the bottleneck is. Here are my specs, by the way: http://www.thejessachannel.com/p/faq.html

Edit: I got my upload speed back by deleting youploader and copying it back. Using zip version. I also uninstalled java and reinstalled both 32 and 64 bit. I am using Windows 7 64-bit.

Now to wait 9 hours to see if the first problem I reported ( stuck on 0% preparing upload) is still a problem.

@becast
Copy link
Owner

becast commented Oct 24, 2016

I'm not sure what causes the upload speed issue, I can never reproduce it since it is fine on my end, it is always possible that YT is slow atm. As for those images you posted this is entirely out of my hand and is inherently a YouTube/YT Api issue.

@TheJessaChannel
Copy link
Author

TheJessaChannel commented Oct 25, 2016

I have been doing some testing today. I have a guess as to what the problem is.

I need to have 32bit java installed because Mod Organizer, a Skyrim program, does not recognize 64bit java. I noticed that my speed increased with 64bit java, but then I reinstalled 32bit and bam, back to slow speed. Also, I noticed that when I reinstalled 64bit (thinking an uninstall and reinstall might help), the speed still did not improve - UNTIL I reinstalled Youploader (deleted files in install folder and copied back files in zip).

So my conclusion is that being able to specify which java version to use in the program would help, or maybe telling the program to always looks for 64bit version?

I tested several times, the results are reproducible.

Edit: So yeah, I was finally able to get both versions working by installing 32-bit on a different drive and 64-bit in the default installation. So it looks as if this program requires 64-bit for correct speed, but defaults to 32-bit if that java version is installed in default installation path. Also, one has to know how to find and download 64-bit as the default download from the website is 32-bit.

I hope this helped.

@TheJessaChannel
Copy link
Author

Adding a new comment, to keep previous one from being too long and confusing.

So, I thought all was well, so I deleted my uploading file and put in the same one (so I could add metadata and just to test the process from beginning to end) and bam, slow speed. No other change was made. So I did these steps:

  1. reinstalled youploader. No change.
  2. uninstalled 32-bit java. No change
  3. reinstalled 64-bit java. No change
  4. reinstalled 32-bit. no change
  5. reinstalled youploader. Speed back up.

I have two files in queue, I wonder if speed will keep up between one file and the next.

I need to get these files up, my subs are waiting...so will check back in, hopefully all this information will help you reproduce this problem on your end. We can Skype if you want to troubleshoot in real time.

@becast
Copy link
Owner

becast commented Oct 26, 2016

I have now tested with 32bit and 64bit JDK installs to no effect. Can you upload a log from the slow "episodes"?

@Donzii
Copy link

Donzii commented Oct 26, 2016

Hi, same here:

  • Java 32&64bit installed
  • Removed my Account in 0.7 and readded in 0.9
  • Uploadspeed works
  • YT Upload was done, "setting up Metadata" hangs and i got the YT-Mail its done.

Log from 0.7 with much errors ( ;o) ) incl. 0.9
logfile.zip

@becast
Copy link
Owner

becast commented Oct 26, 2016

I see nothing obvious in the logfile.

Can you add "debug" as a launch option and then start an upload, let it run for a bit and attach the logfile?
0e91c7c79aecd80bfd9d679281d00bb2

@Donzii
Copy link

Donzii commented Oct 26, 2016

ofc
PS: Zip-Version, not installed

Had more Settings done for more debugs and a fresh log
Playlist is online and readable.

screenshot_settings

First test:

  • Upload done, mail from YT @ 5:45pm
  • Upload was not the Playlist
  • Upload canceled after 5 Minutes "Settings metadata".
  • Clicked on "Stop" too.
  • Upload @ YT was autoremoved

Second Test:

  • Upload done, mail from YT @ 5:47pm
  • Upload was not the Playlist
  • Upload stopped after 5 Minutes "Settings metadata".
  • ( got some customers, so i cant do more for a few minutes, see log)
  • Upload removed (red cross)
  • Upload seeable @ YT and not set into Playlist

logfile.zip

//Edit, typos

@becast becast added the bug label Oct 26, 2016
@becast becast added this to the v1.0 - RC1 milestone Oct 26, 2016
@becast becast self-assigned this Oct 26, 2016
@becast
Copy link
Owner

becast commented Oct 26, 2016

Okay I see your issue now! Will look into it!

@becast
Copy link
Owner

becast commented Oct 26, 2016

The issue with the playlists should be solved in the latest dev version if you want to try it out. https://build.becast.at/job/YouPloader/165/

@Donzii
Copy link

Donzii commented Oct 26, 2016

Startet the jar-file, fresh logs on the way

  • Category -> Gaming, setup the Gamename, Upload didnt start
    unbenannt
  • "Monetarisierung" didnt work on each Category (only fyi)
  • Category -> Film -> Upload starts, stunk on "Setting metadata"
  • Stopped, not Canceled, Upload visible @ YT

logfile.zip

@becast
Copy link
Owner

becast commented Oct 26, 2016

Seems like youploader was not able to fetch the cookie properly. Remove and re-add your account please.

@Donzii
Copy link

Donzii commented Oct 26, 2016

  • removed the complete database and startet with a fresh one
  • double asking for gmail & passes
    -- facebook hook gone (yeah thats correct)
  • Cat Gaming with Gametitle, with scheduled settings/or without, see pics.
    unbenannt2
    unbenannt3

fresh log with test6 (without Category Gaming, stuck on Metadata) and test7 with Cat Gaming (not in the log?)

logfile.zip

btw: keep up your work, its great!

@becast
Copy link
Owner

becast commented Oct 26, 2016

That does not seem to be from a fresh database, please add the debug param as explained above, start with a new db, add your account and post the log please

@Donzii
Copy link

Donzii commented Oct 26, 2016

renaming the 080.jar?

@becast
Copy link
Owner

becast commented Oct 26, 2016

wait, let me just check if the debug works as intended. The database is stored in %userdata%/youploader

@becast
Copy link
Owner

becast commented Oct 26, 2016

Sorry the parameter is -debug like so:
scr

The logfile should say: at.becast.youploader.Main Debug MODE in the logfile

@Donzii
Copy link

Donzii commented Oct 26, 2016

.removed all databases
-- why dont you use the doc-path? only a question, not relevant
.using jarfile from jenkins, renamed it.
.starting exefile with -debug, works!

.add account, but gmail ask me 2 times. both mailadresses and passes was correct
.getting my playlists
. closed it

.setting up test8 without any categorysettings and scheduled it.
.starting upload
.test 8 uploads, stuck @ metadata
.waiting ca 2 Minutes / receiving YT-Mail upload was done
.locking for playlistentry @ YT, nope
.monetarization nope
.all other ok
.Cancel the upload, removed the schedule
-- tail -f the logfile
--- log hangs @ 21:31:40.806
.closed the prog
--- log writes the last lines! (21:31:41.329 but it was 21:34:00)

.setting up test9 with cat gaming and gametitle and scheduled it.
.test 9, mmhh, see pic
.after this, any changes will not be recognized, restarting the prog was required

unbenannt

unbenannt2

can test more @ thursday ;o)
logfile.zip
hope it helps

@becast
Copy link
Owner

becast commented Oct 26, 2016

It's really weird, it looks like your Java is crashing or locking up as it never "completes" the log, and the next time your cookie is invalid for the metadata updates. this is really weird but gives me nothing to go on. Also asking two times is really weird. Do you have two factor auth enabled on google?

why dont you use the doc-path? only a question, not relevant

It's easier and platform independent to use user.dir ;)

@TheJessaChannel
Copy link
Author

So just a heads up, I am going to go through the troubleshooting process and make a video showing the steps I do, if that would be helpful. Perhaps easier than typing back and forth? Or would Skype be easier, faster?

I am having the exact same problems as Donzii, with the upload never completing, stuck on metadata, etc.

@becast
Copy link
Owner

becast commented Oct 26, 2016

The process should not matter, I'm not really sure what is going on since I can't reproduce what happens as (as stupid as it sounds) "it works for me". So unless it is a difference in the google accounts between us I have nothing to go on and essentially no clue what to change.

@TheJessaChannel
Copy link
Author

So I should stop troubleshooting and try and find another program? :-(

@becast
Copy link
Owner

becast commented Oct 26, 2016

For now it looks that way, since I don't know what is going on so there is no quick fix. But nobody has told me yet if you use 2 factor auth for google/youtube.

@TheJessaChannel
Copy link
Author

I do not. I have not experienced any login problems though. Just slow uploading and hanging on metadata. :-(

@Donzii
Copy link

Donzii commented Oct 27, 2016

2way-auth = true

why dont you use the doc-path? only a question, not relevant
It's easier and platform independent to use user.dir ;)
My Userdir in Win10 is not under c:\ thats why i ask
unbenannt

btw, v0.7 works perfect, only the category game and gametitle didnt work.
should it give you an 0.7 debug log?

@Donzii
Copy link

Donzii commented Oct 27, 2016

used the jenkins-version
deactivated 2way-auth AND...

  • The "stuck" at metadata is away.
  • Cat Gaming and Gametitle works!
  • monetarization works!
  • playlist-setting didnt work

logfile.zip

next test without 2way-auth, the normal v0.9

@becast
Copy link
Owner

becast commented Oct 27, 2016

Not sure why the playlist did not work, no errors shown. Glad the rest works w/o two factor auth. I will have to have a look into it

@Donzii
Copy link

Donzii commented Oct 27, 2016

playlist-setting didnt work

fyi i have 2 yt accounts. 1 for testing, 1 for public.
can it be that the upload added to a wrong account, but visible on the correct account?

@TheJessaChannel
Copy link
Author

TheJessaChannel commented Oct 27, 2016

I also have two youtube accounts...maybe that is the key to the problem? One never used account, that login always defaults when giving programs permission. That could be the problem!

I am still hanging about here, because to be honest, this program is my best hope. That is why I donated! I really need something like this to keep me from going nuts trying to keep up with my channel.

To clarify, the account I want to use is called a "brand account" and the other account, the main account is empty. This happened, without my really knowing how, when I first setup Youtube. I never bothered with trying to figure it out as I did not want to lose all my brand account content.

@becast
Copy link
Owner

becast commented Oct 27, 2016

This is a good find, even though I have three channels! Will check it out tomorrow, I'm dead tired! Thanks!

Are your main accounts the default channels? Go to YT, click on your icon at the top, click at the cog, click "Advanced" under your name and at the bottom should be

Default channel

Is this ticked for your main accounts?

@TheJessaChannel
Copy link
Author

My channel was not set to default, so changed it! God, I hope it fixes the problems, will report back. I would love to get rid of the other, empty channel, but even though I deleted it, it is still there. It is just empty now, no vids.

@Donzii
Copy link

Donzii commented Oct 28, 2016

Is this ticked for your main accounts?

HA! Nope, it was for my Brandchannel, who is my Default.
So, i will test to set my main acc to default and see whats going on ;o)

I'm dead tired!

its still on testing on functionality, so dont make you sleepless :D
I'm glad there is a programm without Scam!
Donate? Where!

@Donzii
Copy link

Donzii commented Oct 28, 2016

Tested:
Its doesnt matter, which acc is activated as default.

If the upload was set to "scheduled on Date/Time" we cant add it to any playlist.
if i set the upload to "public", "private" or "not listed" i can set the playlist @ yt-dashboard, then get back to "scheduled for date/time" and it will be in the playlist.
btw on my main-account i cant set "scheduling", so i can only test in my brandchan

@becast
Copy link
Owner

becast commented Jan 18, 2017

The Features brought up here have been implemented in 0.9.2. If issues remain plase open a new Issue!

@becast becast closed this as completed Jan 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants