0:02 AM
nicholasreville has quit
2:29 AM
unisub-jenkins-b
2:29 AM
* ben: Order video actions by creation date (#812)
2:29 AM
* ben: Remove permissions checks for activity tabs (#869)
2:29 AM
* ben: Fix the video activity tab (#869)
2:29 AM
* Evan: added PIL dependencies for worker
2:39 AM
janeted1 joined the channel
2:42 AM
janeted has quit
4:40 AM
janeted1 has quit
6:11 AM
maggie_s has quit
6:12 AM
maggie_s joined the channel
7:36 AM
janeted joined the channel
7:51 AM
janeted
maggie_s: so that private team video showing up on the site ticket
7:51 AM
Seems like it's specific to videos added to the team via a feed - I can't reproduce when I add a single video
7:53 AM
maggie_s
janeted: right--same for me
7:54 AM
janeted
so that may have been like that for a while -
7:54 AM
but we should fix it. the attitude team added videos via a feed.
7:55 AM
there's another ticket about team feed not associating new videos back to the original team when they update
7:55 AM
maggie_s
janeted: team-bound feeds are a relatively new and not too much advertized feature
7:56 AM
janeted: but the video privacy thing should definitely get fixed
7:56 AM
janeted
for sure
7:57 AM
yep - that's definitely on production
7:57 AM
ok - so it's not a regression with the recent changes that are on staging
7:57 AM
did you notice anything else weird on there?
7:59 AM
maggie_s
janeted: not really--in fact, staging was pretty backlogged with videos being added in the background, so I didn't do anything except uploading subtitles there
8:01 AM
janeted
ok
8:01 AM
that TED LC postedit bug is fixed on there
8:01 AM
we should be able to push those fixes today
8:02 AM
maggie_s
483? cool
8:40 AM
lapilofu joined the channel
9:25 AM
nigel_bot has quit
9:26 AM
nigel_bot joined the channel
10:24 AM
maggie_s has quit
13:48 PM
nicholasreville joined the channel
14:15 PM
bendk joined the channel
14:25 PM
michelled joined the channel
14:28 PM
unisub-jenkins-b
14:28 PM
* ben: Refactored utils tests.
14:28 PM
* ben: New system for tracking hit counts
14:28 PM
* ben: Switched to using the new hitcounting system
14:28 PM
* ben: fixed JS syntax error
14:28 PM
* ben: Removed a couple count columns from videos/languages
14:28 PM
* ben: Changed post edit subtitles permissions check (#483)
14:28 PM
* ben: Fixed AttributeError in indexing code
14:28 PM
* ben: Updated feedback link for the new editor
14:28 PM
* ben: Fixed widget download link (#473)
14:28 PM
* ben: Display video view counts again
14:28 PM
* ben: Don't use INSERT DELAYED
14:28 PM
* janet dragojevic: update test data fixtures
14:28 PM
* janet dragojevic: remove screenshot and outdated test
14:28 PM
* ben: Remove double border on view count
14:28 PM
* ben: Fix post edit permissions for language manager (#483)
14:28 PM
* ben: Fixed can_add_version() permission
14:28 PM
* ben: Fixed get_counts() when there isn't a LastHitCountMigration
14:31 PM
janeted
ehazlett: I am still getting errors on jenkins trying to kick off the selenium tests.
14:32 PM
ehazlett
janeted: ugh ok checking
14:32 PM
janeted
ehazlett: bendk I did run them locally for the staging branch - and all the fixes that are currently on staging are good to deploy
14:32 PM
also made a pull request for the ted api fix
14:32 PM
ehazlett
janeted: ok i restarted the jenkins agent on ci-00 -- can you try again?
14:32 PM
janeted
14:33 PM
sure
14:33 PM
ehazlett
thx
14:33 PM
janeted
so if we want to add they - we'll have a pretty good deployment. bendk sound right to you?
14:33 PM
migrations are part of it.
14:35 PM
ehazlett: ImportError: No module named feedparser
14:35 PM
ehazlett
janeted: so the pip install probably failed (or github)
14:35 PM
link to the build?
14:36 PM
janeted
sure
14:36 PM
14:36 PM
ehazlett
thx
14:47 PM
nicholasreville has quit
14:50 PM
nicholasreville joined the channel
14:51 PM
bendk: did you change any module imports or anything recently? one of the jenkins jobs is failing with an import error (feedparser)
14:56 PM
bendk
ehazlett: I don't think so
14:56 PM
feedparser is a 3rd party library
14:56 PM
ehazlett: this is on staging?
14:56 PM
ehazlett
bendk: yeah
14:56 PM
bendk
weird
14:56 PM
it's in the deploy/requirements.txt file
14:57 PM
ehazlett
ah i thought we had that in our libs
14:57 PM
ok so maybe it's just a pip error
14:57 PM
sorry for the noise
15:00 PM
bendk
ehazlett: so I'm looking through the youtube syncing code and I was wondering if you understood any of it :)
15:00 PM
it's pretty insane as far as I can tell
15:00 PM
ehazlett
bendk: not much -- it's insane
15:01 PM
bendk
anyways, my question it seems like we can either sync the subtitles using our ALWAYS_PUSH_ACCOUNT, or the account that's linked to the team/user
15:01 PM
do you have an idea which one we do most of the time?
15:01 PM
ehazlett
i was going to try to get the debug working but have been trying to get the last infrastructure issues resolved
15:01 PM
bendk
ehazlett: I wouldn't worry about that
15:01 PM
ehazlett
ok
15:01 PM
bendk
I'm going to try to fix the youtube system along with the kaltura syncing
15:01 PM
ehazlett
well one sec -- let me look at the script i just wrote to sync the cielo stuff
15:02 PM
bendk
haha
15:02 PM
nevermind
15:03 PM
ehazlett
bendk: as far as I can tell, we use the accountlinker.models.ThirdPartyAccount.mirror_on_third_party to do the syncing
15:03 PM
bendk
yeah, so in that method there's 2 ways that we can sync
15:03 PM
one is if the YoutubeSyncRule matches the user/team/video, then we try to sync it with our ALWAYS_PULL_ACCOUNT
15:03 PM
which I guess is some account that should be able to sync subtitles for any youtube video
15:03 PM
but that rule will basically never match
15:03 PM
ehazlett
bendk: right it is
15:04 PM
bendk
so we fall through to the next way, which is using the 3rd-party account that's linked to the video
15:04 PM
ehazlett
bendk: what do you mean never gets matched?
15:04 PM
15:04 PM
it should if we have YOUTUBE_ALWAYS_PUSH_USERNAME in the settings i believe
15:05 PM
and that user is setup (which i think it is for staging and prod)
15:05 PM
bendk
ehazlett: so a side question: do you know if graphite is working?
15:05 PM
ehazlett
i could be wrong -- very wrong :P
15:05 PM
bendk: should be
15:05 PM
bendk
I looked at several graphs and it didn't seem like they were updating
15:05 PM
okay 1 sec
15:05 PM
ehazlett
bendk: it is for everything i've seen
15:05 PM
bendk: but not sure about app side
15:06 PM
bendk
yeah, so that should log to youtube.push.request and youtube.push.success, but I don't even see youtube.push on the graphite list
15:06 PM
ehazlett
15:07 PM
bendk: production -> all-hosts -> youtube -> push
15:07 PM
bendk
isn't that production.all-hosts.youtube.api_request.rate-per-second
15:07 PM
ehazlett
bendk: smarty pants ;)
15:08 PM
bendk
so anyways, there's this section of code:
15:08 PM
rule = YoutubeSyncRule.objects.all()[0]
15:08 PM
should_sync = rule.should_sync(video)
15:08 PM
always_push_account = self.always_push_account()
15:08 PM
rule.should_sync() tests the video, owner, and team against the teams in the rule
15:08 PM
but the only thing I see on production that will match is if team==darrentest
15:09 PM
so we don't sync then
15:09 PM
but at the bottom, there's another test, which checks if action==UPDATE_VERSION_ACTION
15:09 PM
and if that's true we also sync, but this time I think we use the 3rd-party account that's linked to the video, not the always push account
15:09 PM
basically insanity
15:10 PM
janeted
bendk: if team==darrentest is the experiement with the yt api thing that was turned off by yt a few weeks ago
15:10 PM
bendk
very likely
15:10 PM
that makes sense
15:10 PM
janeted
that's that thing that the debug page button is currently hooked up to
15:11 PM
bendk
janeted: for that experiment, were we using the youtube user AmaraSubtitleTest?
15:11 PM
janeted
I really don't know - the person now who'd likely know the most is margarita -
15:12 PM
bendk
janeted: one more question... Do you know how we get the oath access data for youtube accounts?
15:12 PM
ehazlett
bendk: ugh yeah i'm not sure
15:12 PM
bendk
I'm guessing when you add the account you have to click some link that says you authorize amara to access your youtube data?
15:13 PM
and if so, do the users ever need to refresh that?
15:14 PM
ehazlett
bendk: correct -- they don't need to refresh unless they remove the authorization from their youtube account
15:14 PM
janeted
We've had some team account owners needing to resync
15:14 PM
ehazlett
bendk: or change their username, etc.
15:14 PM
janeted
but they had changed their account name on yt
15:41 PM
bendk
janeted: do you have our secret key for the kaltura stuff?
15:41 PM
janeted
hey bendk - just had this odd error show up against the staging branch
15:41 PM
15:41 PM
bendk
I think dean should have got it in an email
15:42 PM
janeted
bendk: I have the login and pw
15:42 PM
bendk
janeted: okay, I can fix that one
15:42 PM
1 sec
15:46 PM
janeted: okay that error should be fix on staging
15:46 PM
I just added a couple commits, without doing pull requests because it was really simple