workspace
stringclasses
1 value
channel
stringclasses
1 value
sentences
stringlengths
1
3.93k
ts
stringlengths
26
26
user
stringlengths
2
11
sentence_id
stringlengths
44
53
timestamp
float64
1.5B
1.56B
__index_level_0__
int64
0
106k
pythondev
help
Maybe try temporarily switching the collectstatic command to point at your new bucket and see if it can upload.
2019-04-27T18:59:57.238100
Carmen
pythondev_help_Carmen_2019-04-27T18:59:57.238100
1,556,391,597.2381
20,721
pythondev
help
<@Carmen> that would risk a bunch of other annoying potential problems so I don't want to do that. <@Bethany> I was trying to use the same role that was created along w/ all the other elastic beanstalk magic, but I might be using it wrong or not using it at all
2019-04-27T19:03:34.239400
Frankie
pythondev_help_Frankie_2019-04-27T19:03:34.239400
1,556,391,814.2394
20,722
pythondev
help
though I think I might have found a potential reason it's not working.
2019-04-27T19:04:11.239700
Frankie
pythondev_help_Frankie_2019-04-27T19:04:11.239700
1,556,391,851.2397
20,723
pythondev
help
what are you using to provision it? An ELB thing that somebody else made?
2019-04-27T19:05:08.241100
Bethany
pythondev_help_Bethany_2019-04-27T19:05:08.241100
1,556,391,908.2411
20,724
pythondev
help
it was deployed with elastic beanstalk, so it creates a load balancer, API gateway, security groups, EC2 instances, etc all automatically
2019-04-27T19:06:03.242300
Frankie
pythondev_help_Frankie_2019-04-27T19:06:03.242300
1,556,391,963.2423
20,725
pythondev
help
sorry im not super familiar with that, does it use a cloudformation template?
2019-04-27T19:06:24.243000
Bethany
pythondev_help_Bethany_2019-04-27T19:06:24.243000
1,556,391,984.243
20,726
pythondev
help
no, but similar to that concept
2019-04-27T19:06:36.243300
Frankie
pythondev_help_Frankie_2019-04-27T19:06:36.243300
1,556,391,996.2433
20,727
pythondev
help
can you do something like the following
2019-04-27T19:06:52.243600
Bethany
pythondev_help_Bethany_2019-04-27T19:06:52.243600
1,556,392,012.2436
20,728
pythondev
help
None
2019-04-27T19:08:26.243700
Bethany
pythondev_help_Bethany_2019-04-27T19:08:26.243700
1,556,392,106.2437
20,729
pythondev
help
that's psuedo config style I just invented
2019-04-27T19:08:35.244200
Bethany
pythondev_help_Bethany_2019-04-27T19:08:35.244200
1,556,392,115.2442
20,730
pythondev
help
one sec...I have an idea.
2019-04-27T19:11:18.244800
Frankie
pythondev_help_Frankie_2019-04-27T19:11:18.244800
1,556,392,278.2448
20,731
pythondev
help
trying to deploy again.
2019-04-27T19:18:02.246100
Frankie
pythondev_help_Frankie_2019-04-27T19:18:02.246100
1,556,392,682.2461
20,732
pythondev
help
you can manually test the iam part, the updates happen "instantly"
2019-04-27T19:18:26.247200
Bethany
pythondev_help_Bethany_2019-04-27T19:18:26.247200
1,556,392,706.2472
20,733
pythondev
help
the EC2 role I'm assigning looks like it allows acces to buckets prepended with `elasticbeanstalk-` so I added that to the front of my bucket name
2019-04-27T19:18:34.247800
Frankie
pythondev_help_Frankie_2019-04-27T19:18:34.247800
1,556,392,714.2478
20,734
pythondev
help
even to a live instanfe
2019-04-27T19:18:35.247900
Bethany
pythondev_help_Bethany_2019-04-27T19:18:35.247900
1,556,392,715.2479
20,735
pythondev
help
that could do it
2019-04-27T19:18:47.248400
Bethany
pythondev_help_Bethany_2019-04-27T19:18:47.248400
1,556,392,727.2484
20,736
pythondev
help
we'll know in about 30 seconds lol
2019-04-27T19:19:02.248700
Frankie
pythondev_help_Frankie_2019-04-27T19:19:02.248700
1,556,392,742.2487
20,737
pythondev
help
Hello Folks and Happy Saturday night /Sunday morning , Does anyone recommend a business rules engine/workflow tool in python? I am hoping I can find something that will allow us to modify business logic without having to redeploy code.
2019-04-27T19:20:01.249600
Gayle
pythondev_help_Gayle_2019-04-27T19:20:01.249600
1,556,392,801.2496
20,738
pythondev
help
:rage: #fail
2019-04-27T19:20:40.249800
Frankie
pythondev_help_Frankie_2019-04-27T19:20:40.249800
1,556,392,840.2498
20,739
pythondev
help
grrrrrrrrrrrrr
2019-04-27T19:20:42.250000
Frankie
pythondev_help_Frankie_2019-04-27T19:20:42.250000
1,556,392,842.25
20,740
pythondev
help
I f'ing hate AWS security stuff
2019-04-27T19:20:49.250300
Frankie
pythondev_help_Frankie_2019-04-27T19:20:49.250300
1,556,392,849.2503
20,741
pythondev
help
been fighting with this for liek 3 hours
2019-04-27T19:21:05.250600
Frankie
pythondev_help_Frankie_2019-04-27T19:21:05.250600
1,556,392,865.2506
20,742
pythondev
help
Why is that ?
2019-04-27T19:21:13.250900
Clayton
pythondev_help_Clayton_2019-04-27T19:21:13.250900
1,556,392,873.2509
20,743
pythondev
help
computer is about to take a trip over the balcony lol
2019-04-27T19:21:18.251100
Frankie
pythondev_help_Frankie_2019-04-27T19:21:18.251100
1,556,392,878.2511
20,744
pythondev
help
<@Bethany> fwiw my permissions on the bucket look nearly identical to what you just suggested
2019-04-27T19:21:52.251700
Frankie
pythondev_help_Frankie_2019-04-27T19:21:52.251700
1,556,392,912.2517
20,745
pythondev
help
but obv w/ real code lol
2019-04-27T19:21:58.251900
Frankie
pythondev_help_Frankie_2019-04-27T19:21:58.251900
1,556,392,918.2519
20,746
pythondev
help
you
2019-04-27T19:22:11.252100
Bethany
pythondev_help_Bethany_2019-04-27T19:22:11.252100
1,556,392,931.2521
20,747
pythondev
help
you're getting accessdenied again?
2019-04-27T19:22:19.252500
Bethany
pythondev_help_Bethany_2019-04-27T19:22:19.252500
1,556,392,939.2525
20,748
pythondev
help
yup
2019-04-27T19:22:24.252900
Frankie
pythondev_help_Frankie_2019-04-27T19:22:24.252900
1,556,392,944.2529
20,749
pythondev
help
same message
2019-04-27T19:22:28.253200
Frankie
pythondev_help_Frankie_2019-04-27T19:22:28.253200
1,556,392,948.2532
20,750
pythondev
help
can you paste any of it or is it super secret code
2019-04-27T19:22:37.253500
Bethany
pythondev_help_Bethany_2019-04-27T19:22:37.253500
1,556,392,957.2535
20,751
pythondev
help
``` { "Version": "2008-10-17", "Statement": [ { "Sid": "ebAllowPut", "Effect": "Allow", "Principal": { "AWS": "arn:aws:iam::xxx:role/aws-elasticbeanstalk-ec2-role" }, "Action": "s3:PutObject", "Resource": "arn:aws:s3:::elasticbeanstalk-lfa-exports-staging/*" }, { "Sid": "ebDenyDelete", "Effect": "Deny", "Principal": { "AWS": "*" }, "Action": "s3:DeleteBucket", "Resource": "arn:aws:s3:::elasticbeanstalk-lfa-exports-staging" } ] } ```
2019-04-27T19:24:20.253800
Frankie
pythondev_help_Frankie_2019-04-27T19:24:20.253800
1,556,393,060.2538
20,752
pythondev
help
the `xxx` I believe is my account number, but I didn't feel like logging out and back in w/ the root user to check lol
2019-04-27T19:24:38.254300
Frankie
pythondev_help_Frankie_2019-04-27T19:24:38.254300
1,556,393,078.2543
20,753
pythondev
help
everything else is as-is
2019-04-27T19:25:03.254500
Frankie
pythondev_help_Frankie_2019-04-27T19:25:03.254500
1,556,393,103.2545
20,754
pythondev
help
for reference, the policy that works w/ `collectstatic` ``` { "Version": "2008-10-17", "Statement": [ { "Sid": "eb-ad78f54a-f239-4c90-adda-49e5f56cb51e", "Effect": "Allow", "Principal": { "AWS": "arn:aws:iam::xxx:role/aws-elasticbeanstalk-ec2-role" }, "Action": "s3:PutObject", "Resource": "arn:aws:s3:::elasticbeanstalk-us-east-1-xxx/resources/environments/logs/*" }, { "Sid": "eb-af163bf3-d27b-4712-b795-d1e33e331ca4", "Effect": "Allow", "Principal": { "AWS": "arn:aws:iam::xxx:role/aws-elasticbeanstalk-ec2-role" }, "Action": [ "s3:ListBucket", "s3:ListBucketVersions", "s3:GetObject", "s3:GetObjectVersion" ], "Resource": [ "arn:aws:s3:::elasticbeanstalk-us-east-1-xxx", "arn:aws:s3:::elasticbeanstalk-us-east-1-xxx/resources/environments/*" ] }, { "Sid": "eb-58950a8c-feb6-11e2-89e0-0800277d041b", "Effect": "Deny", "Principal": { "AWS": "*" }, "Action": "s3:DeleteBucket", "Resource": "arn:aws:s3:::elasticbeanstalk-us-east-1-xxx" } ] } ```
2019-04-27T19:28:38.255400
Frankie
pythondev_help_Frankie_2019-04-27T19:28:38.255400
1,556,393,318.2554
20,755
pythondev
help
all I did was remove the middle statement cause I don't need any read/list access...all I want to do is be able to stuff a damn CSV file into it
2019-04-27T19:29:34.256200
Frankie
pythondev_help_Frankie_2019-04-27T19:29:34.256200
1,556,393,374.2562
20,756
pythondev
help
hm yeah Idk
2019-04-27T19:30:21.256400
Bethany
pythondev_help_Bethany_2019-04-27T19:30:21.256400
1,556,393,421.2564
20,757
pythondev
help
I think I'm gonna try smashing my face into the keyboard and see if that helps.
2019-04-27T19:30:43.256700
Frankie
pythondev_help_Frankie_2019-04-27T19:30:43.256700
1,556,393,443.2567
20,758
pythondev
help
it might
2019-04-27T19:30:49.256900
Bethany
pythondev_help_Bethany_2019-04-27T19:30:49.256900
1,556,393,449.2569
20,759
pythondev
help
it's annoying cause I know it works cause I can run the command locally here on my machine and push a file up to it w/ no problem even w/o a bucket policy or anything
2019-04-27T19:31:39.257500
Frankie
pythondev_help_Frankie_2019-04-27T19:31:39.257500
1,556,393,499.2575
20,760
pythondev
help
so it's def some hidden AWS crap causing the problem.
2019-04-27T19:31:50.257900
Frankie
pythondev_help_Frankie_2019-04-27T19:31:50.257900
1,556,393,510.2579
20,761
pythondev
help
can you inspect the instance after its provisioned to see it's access policies
2019-04-27T19:32:13.258300
Bethany
pythondev_help_Bethany_2019-04-27T19:32:13.258300
1,556,393,533.2583
20,762
pythondev
help
hmmm I hadn't tried that but yeah I'll look at the instance itself.
2019-04-27T19:32:30.258600
Frankie
pythondev_help_Frankie_2019-04-27T19:32:30.258600
1,556,393,550.2586
20,763
pythondev
help
maybe it's using something I haven't seen in the roles
2019-04-27T19:32:36.258900
Frankie
pythondev_help_Frankie_2019-04-27T19:32:36.258900
1,556,393,556.2589
20,764
pythondev
help
as a side note, any idea how I can at least run the command on the EC2 instance itself from the command line soI don't have to keep redeploying?
2019-04-27T19:34:32.259500
Frankie
pythondev_help_Frankie_2019-04-27T19:34:32.259500
1,556,393,672.2595
20,765
pythondev
help
it seems just running `python manage.py export_user_data` after activating the env and stuff can't create the file on the EC2 instance
2019-04-27T19:35:09.260200
Frankie
pythondev_help_Frankie_2019-04-27T19:35:09.260200
1,556,393,709.2602
20,766
pythondev
help
it creates the file when using the container command but I can't do it manually and when I use sudo it gives me a syntax error. lol
2019-04-27T19:35:29.260700
Frankie
pythondev_help_Frankie_2019-04-27T19:35:29.260700
1,556,393,729.2607
20,767
pythondev
help
yeeah you can ssh into i2
2019-04-27T19:36:10.261000
Bethany
pythondev_help_Bethany_2019-04-27T19:36:10.261000
1,556,393,770.261
20,768
pythondev
help
it
2019-04-27T19:36:11.261200
Bethany
pythondev_help_Bethany_2019-04-27T19:36:11.261200
1,556,393,771.2612
20,769
pythondev
help
that's what I mean ...
2019-04-27T19:36:23.261500
Frankie
pythondev_help_Frankie_2019-04-27T19:36:23.261500
1,556,393,783.2615
20,770
pythondev
help
``` Traceback (most recent call last): File "manage.py", line 15, in &lt;module&gt; execute_from_command_line(sys.argv) File "/opt/python/run/venv/local/lib/python3.6/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line utility.execute() File "/opt/python/run/venv/local/lib/python3.6/site-packages/django/core/management/__init__.py", line 375, in execute self.fetch_command(subcommand).run_from_argv(self.argv) File "/opt/python/run/venv/local/lib/python3.6/site-packages/django/core/management/base.py", line 323, in run_from_argv self.execute(*args, **cmd_options) File "/opt/python/run/venv/local/lib/python3.6/site-packages/django/core/management/base.py", line 364, in execute output = self.handle(*args, **options) File "/opt/python/bundle/2/app/lfa_lite/management/commands/export_user_data.py", line 41, in handle with open(filename, 'w') as csv: PermissionError: [Errno 13] Permission denied: 'ACTIVE_USERS_20190427_233356.csv' (venv) [ec2-user@ip-xxx-xxx-xxx-xxx app]$ sudo python manage.py export_user_data File "manage.py", line 14 ) from exc ^ SyntaxError: invalid syntax (venv) [ec2-user@ip-xxx-xxx-xxx-xxx app]$ ```
2019-04-27T19:36:40.261800
Frankie
pythondev_help_Frankie_2019-04-27T19:36:40.261800
1,556,393,800.2618
20,771
pythondev
help
what happens if you don't sudo
2019-04-27T19:37:09.262200
Bethany
pythondev_help_Bethany_2019-04-27T19:37:09.262200
1,556,393,829.2622
20,772
pythondev
help
that's the top part
2019-04-27T19:37:18.262500
Frankie
pythondev_help_Frankie_2019-04-27T19:37:18.262500
1,556,393,838.2625
20,773
pythondev
help
permission denied lol
2019-04-27T19:37:23.262800
Frankie
pythondev_help_Frankie_2019-04-27T19:37:23.262800
1,556,393,843.2628
20,774
pythondev
help
this might be a django thing and I'll be no help there
2019-04-27T19:37:23.262900
Bethany
pythondev_help_Bethany_2019-04-27T19:37:23.262900
1,556,393,843.2629
20,775
pythondev
help
is the csv a local file?
2019-04-27T19:37:42.263100
Bethany
pythondev_help_Bethany_2019-04-27T19:37:42.263100
1,556,393,862.2631
20,776
pythondev
help
the export command is supposed to create it locally, yes
2019-04-27T19:37:56.263500
Frankie
pythondev_help_Frankie_2019-04-27T19:37:56.263500
1,556,393,876.2635
20,777
pythondev
help
basically I want to create the CSV on the EC2 instance, push it to S3, then delete it from EC2
2019-04-27T19:38:19.264100
Frankie
pythondev_help_Frankie_2019-04-27T19:38:19.264100
1,556,393,899.2641
20,778
pythondev
help
every time I deploy
2019-04-27T19:38:28.264300
Frankie
pythondev_help_Frankie_2019-04-27T19:38:28.264300
1,556,393,908.2643
20,779
pythondev
help
it works to create it on deployment, but won't push to S3...but when I just try to run the command on the EC2 instance, it won't create the damn file and if I sudo it gives me a syntax error. I'm bout to lose it. lol
2019-04-27T19:39:13.265200
Frankie
pythondev_help_Frankie_2019-04-27T19:39:13.265200
1,556,393,953.2652
20,780
pythondev
help
so at best all I can do right now is redeploy repeatedly to test it, which is annoying cause it takes like 4 minutes to redeploy just to see it fail so it's taking forever to debug it
2019-04-27T19:39:51.265900
Frankie
pythondev_help_Frankie_2019-04-27T19:39:51.265900
1,556,393,991.2659
20,781
pythondev
help
so you provision the thing, then push some data from it to s3? But where does the data come from originally?
2019-04-27T19:40:16.266500
Bethany
pythondev_help_Bethany_2019-04-27T19:40:16.266500
1,556,394,016.2665
20,782
pythondev
help
the database connected to the thing :slightly_smiling_face:
2019-04-27T19:40:30.266800
Frankie
pythondev_help_Frankie_2019-04-27T19:40:30.266800
1,556,394,030.2668
20,783
pythondev
help
ok so its db -&gt; django on ec2 -&gt; s3?
2019-04-27T19:40:52.267300
Bethany
pythondev_help_Bethany_2019-04-27T19:40:52.267300
1,556,394,052.2673
20,784
pythondev
help
yes
2019-04-27T19:41:02.267500
Frankie
pythondev_help_Frankie_2019-04-27T19:41:02.267500
1,556,394,062.2675
20,785
pythondev
help
I guess really it's more like push code to ec2 -&gt; query RDS (database) -&gt; generate csv on ec2 -&gt; push csv to S3 -&gt; delete csv from EC2
2019-04-27T19:41:53.268600
Frankie
pythondev_help_Frankie_2019-04-27T19:41:53.268600
1,556,394,113.2686
20,786
pythondev
help
the ec2 stays around afterwards, right?
2019-04-27T19:42:11.268900
Bethany
pythondev_help_Bethany_2019-04-27T19:42:11.268900
1,556,394,131.2689
20,787
pythondev
help
I cant seem to figure out how to populate a dictionary with a user-determined number of keys. nothing i try works :facepalm:
2019-04-27T19:43:30.270300
Priscilla
pythondev_help_Priscilla_2019-04-27T19:43:30.270300
1,556,394,210.2703
20,788
pythondev
help
actually, the EC2 instance will not stick around afterwards
2019-04-27T19:43:56.270900
Frankie
pythondev_help_Frankie_2019-04-27T19:43:56.270900
1,556,394,236.2709
20,789
pythondev
help
once the code is deployed successfully it will be replaced by the load balancer
2019-04-27T19:44:15.271400
Frankie
pythondev_help_Frankie_2019-04-27T19:44:15.271400
1,556,394,255.2714
20,790
pythondev
help
that's why I don't just want to store the csv on EC2...its ephemeral
2019-04-27T19:44:35.271900
Frankie
pythondev_help_Frankie_2019-04-27T19:44:35.271900
1,556,394,275.2719
20,791
pythondev
help
<@Priscilla> what did you try to do?
2019-04-27T19:44:40.272100
Bethany
pythondev_help_Bethany_2019-04-27T19:44:40.272100
1,556,394,280.2721
20,792
pythondev
help
ok I'm a bit confused. Once deployed the ec2 gets undeployed or does it get put behin ELB with other instances?
2019-04-27T19:45:10.272800
Bethany
pythondev_help_Bethany_2019-04-27T19:45:10.272800
1,556,394,310.2728
20,793
pythondev
help
hangon... trying one more thing that just came to mind
2019-04-27T19:50:15.273900
Priscilla
pythondev_help_Priscilla_2019-04-27T19:50:15.273900
1,556,394,615.2739
20,794
pythondev
help
<@Frankie> the issue seems to be the file doesn't have the necessary system permissions for the management command to access
2019-04-27T19:51:45.274900
Hiroko
pythondev_help_Hiroko_2019-04-27T19:51:45.274900
1,556,394,705.2749
20,795
pythondev
help
That's what the stack trace is telling you with the permission denied bit
2019-04-27T19:51:55.275300
Hiroko
pythondev_help_Hiroko_2019-04-27T19:51:55.275300
1,556,394,715.2753
20,796
pythondev
help
So what perms are attached to the file, and what user:group?
2019-04-27T19:52:54.276700
Hiroko
pythondev_help_Hiroko_2019-04-27T19:52:54.276700
1,556,394,774.2767
20,797
pythondev
help
<@Bethany> so basically what happens is that when I deploy from my local machine, it uploads a zip file to S3...there is an SQS queue listening for that upload (all this is configured by elastic beanstalk btw), when the SQS queue sees the upload, it first (I think) clones the existing instance to maintain uptime, disconnects the EC2 instance from the load balancer, deploys the new app version, and then reattaches it. when it reattaches it after a successful deployment it will have a new IP. then it terminates the cloned instance
2019-04-27T19:56:30.279300
Frankie
pythondev_help_Frankie_2019-04-27T19:56:30.279300
1,556,394,990.2793
20,798
pythondev
help
assuming you just have a single instance system. How the load balancer is configured determines how many it'll allow to be running at once, but I just have it allow only two (one for prod and one for staging)
2019-04-27T19:57:06.280100
Frankie
pythondev_help_Frankie_2019-04-27T19:57:06.280100
1,556,395,026.2801
20,799
pythondev
help
nope, nothing I try works and this is the only thing I think is close. I tried googling, but found nothing relevant. I am shooting blind here, I don't really know how to implement what i want to do :angry:
2019-04-27T19:57:55.280300
Priscilla
pythondev_help_Priscilla_2019-04-27T19:57:55.280300
1,556,395,075.2803
20,800
pythondev
help
<@Hiroko> looks like the perms on the directory I'm trying to create the file in are 755
2019-04-27T19:58:54.281300
Frankie
pythondev_help_Frankie_2019-04-27T19:58:54.281300
1,556,395,134.2813
20,801
pythondev
help
<@Priscilla> you're returning something from the number function but not using it anywhere
2019-04-27T19:59:11.282000
Hiroko
pythondev_help_Hiroko_2019-04-27T19:59:11.282000
1,556,395,151.282
20,802
pythondev
help
Eg, no variable in main to store the return value
2019-04-27T19:59:24.282500
Hiroko
pythondev_help_Hiroko_2019-04-27T19:59:24.282500
1,556,395,164.2825
20,803
pythondev
help
<@Priscilla> do you want to keep prompting for input and put the result in a dictionary?
2019-04-27T20:00:11.283000
Bethany
pythondev_help_Bethany_2019-04-27T20:00:11.283000
1,556,395,211.283
20,804
pythondev
help
yes
2019-04-27T20:01:02.283900
Priscilla
pythondev_help_Priscilla_2019-04-27T20:01:02.283900
1,556,395,262.2839
20,805
pythondev
help
what is the key and what is the value. do you want `my_dict = {"user_first_input": ????}` or `my_dict = {??????? : "user_first_input"}` and what do you want the ????? to be
2019-04-27T20:01:57.284900
Bethany
pythondev_help_Bethany_2019-04-27T20:01:57.284900
1,556,395,317.2849
20,806
pythondev
help
i would like the user input to the key, because the key is a serial number, and the values will be a list.
2019-04-27T20:03:16.285600
Priscilla
pythondev_help_Priscilla_2019-04-27T20:03:16.285600
1,556,395,396.2856
20,807
pythondev
help
and you're storing that list somewhere?
2019-04-27T20:03:29.286100
Bethany
pythondev_help_Bethany_2019-04-27T20:03:29.286100
1,556,395,409.2861
20,808
pythondev
help
yes
2019-04-27T20:03:59.286600
Priscilla
pythondev_help_Priscilla_2019-04-27T20:03:59.286600
1,556,395,439.2866
20,809
pythondev
help
Ok so you probably have something like:
2019-04-27T20:04:07.286900
Bethany
pythondev_help_Bethany_2019-04-27T20:04:07.286900
1,556,395,447.2869
20,810
pythondev
help
None
2019-04-27T20:04:55.287000
Bethany
pythondev_help_Bethany_2019-04-27T20:04:55.287000
1,556,395,495.287
20,811
pythondev
help
thats right!
2019-04-27T20:05:18.287700
Priscilla
pythondev_help_Priscilla_2019-04-27T20:05:18.287700
1,556,395,518.2877
20,812
pythondev
help
and you want them to pick a list via serial number? Or create this
2019-04-27T20:05:19.287900
Bethany
pythondev_help_Bethany_2019-04-27T20:05:19.287900
1,556,395,519.2879
20,813
pythondev
help
no it will go straight to a CSV with one exception
2019-04-27T20:06:05.288500
Priscilla
pythondev_help_Priscilla_2019-04-27T20:06:05.288500
1,556,395,565.2885
20,814
pythondev
help
no wait, I mean it will all be presented to the user, not picked via a serial number
2019-04-27T20:06:46.289300
Priscilla
pythondev_help_Priscilla_2019-04-27T20:06:46.289300
1,556,395,606.2893
20,815
pythondev
help
<@Frankie> no, what I mean is this: ```line 41, in handle with open(filename, 'w') as csv: PermissionError: [Errno 13] Permission denied: 'ACTIVE_USERS_20190427_233356.csv'```
2019-04-27T20:06:57.289600
Hiroko
pythondev_help_Hiroko_2019-04-27T20:06:57.289600
1,556,395,617.2896
20,816
pythondev
help
that’s in your management command
2019-04-27T20:07:03.289900
Hiroko
pythondev_help_Hiroko_2019-04-27T20:07:03.289900
1,556,395,623.2899
20,817
pythondev
help
its trying to open a file it doesn’t have perms for
2019-04-27T20:07:12.290300
Hiroko
pythondev_help_Hiroko_2019-04-27T20:07:12.290300
1,556,395,632.2903
20,818
pythondev
help
<@Priscilla> I'm not quite sure what it is the user is expected to do here. But if you have a dictionary, you can add a key:value pair by simply `d[new_key] = new_value`
2019-04-27T20:07:54.291500
Bethany
pythondev_help_Bethany_2019-04-27T20:07:54.291500
1,556,395,674.2915
20,819
pythondev
help
<@Hiroko> it's trying to open it with WRITE permissions. the file doesn't exist. the code's trying to create it.
2019-04-27T20:08:32.292600
Frankie
pythondev_help_Frankie_2019-04-27T20:08:32.292600
1,556,395,712.2926
20,820