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
|
Just noticed a hint on the pytest output saying to make sure modules/packages have valid python names. What makes them invalid names?
|
2017-07-12T11:26:55.127901
|
Noemi
|
pythondev_help_Noemi_2017-07-12T11:26:55.127901
| 1,499,858,815.127901 | 84,903 |
pythondev
|
help
|
I have a set of UI tests structured the same way using pytest and selenium, I don't have this issue with those
|
2017-07-12T11:27:35.155168
|
Noemi
|
pythondev_help_Noemi_2017-07-12T11:27:35.155168
| 1,499,858,855.155168 | 84,904 |
pythondev
|
help
|
my guess is there’s something different about the environment, which beyond the general wisdom of OS issues would ensure that general setup is the same (python version, dependency versions, etc)
|
2017-07-12T11:27:38.156965
|
Junita
|
pythondev_help_Junita_2017-07-12T11:27:38.156965
| 1,499,858,858.156965 | 84,905 |
pythondev
|
help
|
Hmm alright, I guess I'll have to keep looking into it
|
2017-07-12T11:28:20.185676
|
Noemi
|
pythondev_help_Noemi_2017-07-12T11:28:20.185676
| 1,499,858,900.185676 | 84,906 |
pythondev
|
help
|
Same error when I execute the python file directly without the pytest runner
|
2017-07-12T11:40:02.656626
|
Noemi
|
pythondev_help_Noemi_2017-07-12T11:40:02.656626
| 1,499,859,602.656626 | 84,907 |
pythondev
|
help
|
to a degree that makes sense, `base` is not in the same directory
|
2017-07-12T11:41:19.707586
|
Junita
|
pythondev_help_Junita_2017-07-12T11:41:19.707586
| 1,499,859,679.707586 | 84,908 |
pythondev
|
help
|
test runners will usually do a little magic to make all this work though
|
2017-07-12T11:41:27.712667
|
Junita
|
pythondev_help_Junita_2017-07-12T11:41:27.712667
| 1,499,859,687.712667 | 84,909 |
pythondev
|
help
|
Yeah, the same approach works in my other test suite
|
2017-07-12T11:41:42.722996
|
Noemi
|
pythondev_help_Noemi_2017-07-12T11:41:42.722996
| 1,499,859,702.722996 | 84,910 |
pythondev
|
help
|
essentially, they’ll add your project root to your `PYTHONPATH`
|
2017-07-12T11:41:50.728069
|
Junita
|
pythondev_help_Junita_2017-07-12T11:41:50.728069
| 1,499,859,710.728069 | 84,911 |
pythondev
|
help
|
That shouldn't be something I need to do manually though right?
|
2017-07-12T11:46:34.915790
|
Noemi
|
pythondev_help_Noemi_2017-07-12T11:46:34.915790
| 1,499,859,994.91579 | 84,912 |
pythondev
|
help
|
no it often is taken care of automatically, but I haven’t really used pytest much because I’m a relic and nobody told me that nose wasn’t a thing anymore
|
2017-07-12T11:50:35.074284
|
Junita
|
pythondev_help_Junita_2017-07-12T11:50:35.074284
| 1,499,860,235.074284 | 84,913 |
pythondev
|
help
|
<@Junita> well I just spun up a VM with the same OS as our dev server and I am seeing the error there too. Now to figure out what's causing it
|
2017-07-12T12:07:55.757119
|
Noemi
|
pythondev_help_Noemi_2017-07-12T12:07:55.757119
| 1,499,861,275.757119 | 84,914 |
pythondev
|
help
|
yeah I wouldn’t be surprised if it’s an environment configuration issues rather than strictly an OS issue, but that does sort of bring out a strength of something like Docker - not just that the OS is the same but the environment is configured the same
|
2017-07-12T12:10:48.864123
|
Junita
|
pythondev_help_Junita_2017-07-12T12:10:48.864123
| 1,499,861,448.864123 | 84,915 |
pythondev
|
help
|
because otherwise yeah, you end up spending time chasing down stuff like this
|
2017-07-12T12:11:00.872361
|
Junita
|
pythondev_help_Junita_2017-07-12T12:11:00.872361
| 1,499,861,460.872361 | 84,916 |
pythondev
|
help
|
doesn’t resolve the problem though. :confused:
|
2017-07-12T12:11:10.878231
|
Junita
|
pythondev_help_Junita_2017-07-12T12:11:10.878231
| 1,499,861,470.878231 | 84,917 |
pythondev
|
help
|
Anyone have an idea if there's a way to block the width of the console using Python? I'm currently coding a text-based game and I would like to don't let the user change the sizes of the console/terminal.
|
2017-07-12T12:33:29.688680
|
Chery
|
pythondev_help_Chery_2017-07-12T12:33:29.688680
| 1,499,862,809.68868 | 84,918 |
pythondev
|
help
|
<@Junita> okay, so I think PyCharm must doing something to resolve the import paths for me. The code, which also errors out on the command line of the VM I created runs in the PyCharm debugger. When I print out sys.path I see the path I am trying to import from though, so I really don't know...
|
2017-07-12T13:30:36.685712
|
Noemi
|
pythondev_help_Noemi_2017-07-12T13:30:36.685712
| 1,499,866,236.685712 | 84,919 |
pythondev
|
help
|
ah, yeah, that might do it
|
2017-07-12T13:31:13.707908
|
Junita
|
pythondev_help_Junita_2017-07-12T13:31:13.707908
| 1,499,866,273.707908 | 84,920 |
pythondev
|
help
|
But again, I don't know why the same isn't happening with my other test suite
|
2017-07-12T13:31:34.720387
|
Noemi
|
pythondev_help_Noemi_2017-07-12T13:31:34.720387
| 1,499,866,294.720387 | 84,921 |
pythondev
|
help
|
is the other test suite within the same hierarchy?
|
2017-07-12T13:32:51.766416
|
Junita
|
pythondev_help_Junita_2017-07-12T13:32:51.766416
| 1,499,866,371.766416 | 84,922 |
pythondev
|
help
|
Yeah, both on the desktop of my dev box and both in the Jenkins home directory on the dev server
|
2017-07-12T13:40:41.040564
|
Noemi
|
pythondev_help_Noemi_2017-07-12T13:40:41.040564
| 1,499,866,841.040564 | 84,923 |
pythondev
|
help
|
Alright, at pycharm > run > edit configurations if I uncheck Add content roots to PYTHONPATH, it fails from the IDE as well
|
2017-07-12T13:42:15.093821
|
Noemi
|
pythondev_help_Noemi_2017-07-12T13:42:15.093821
| 1,499,866,935.093821 | 84,924 |
pythondev
|
help
|
Now we're getting somewhere
|
2017-07-12T13:42:33.104546
|
Noemi
|
pythondev_help_Noemi_2017-07-12T13:42:33.104546
| 1,499,866,953.104546 | 84,925 |
pythondev
|
help
|
I think...
|
2017-07-12T13:43:39.142771
|
Noemi
|
pythondev_help_Noemi_2017-07-12T13:43:39.142771
| 1,499,867,019.142771 | 84,926 |
pythondev
|
help
|
Have you tried with `python -m pytest` instead of `pytest`?
|
2017-07-12T13:44:46.182012
|
Beula
|
pythondev_help_Beula_2017-07-12T13:44:46.182012
| 1,499,867,086.182012 | 84,927 |
pythondev
|
help
|
That said, with `pytest` you may be better served using fixtures instead of base classes for a few reasons:
1. It doesn't need to be importable
2. It allows you to test the library code and the installed code (depending on how you invoke it)
3. Tests are simpler being functions, IMO
|
2017-07-12T13:45:43.215871
|
Beula
|
pythondev_help_Beula_2017-07-12T13:45:43.215871
| 1,499,867,143.215871 | 84,928 |
pythondev
|
help
|
From the file I was trying to import into, I commented everything out including the import statement, printed out sys.path and ran just that script from the command line with pytest. Sure enough, the directory I was trying to import from was not there, so it looks like if I want to keep using my current method, I need to add it manually
|
2017-07-12T13:51:03.405157
|
Noemi
|
pythondev_help_Noemi_2017-07-12T13:51:03.405157
| 1,499,867,463.405157 | 84,929 |
pythondev
|
help
|
<@Beula> I have not really done much with fixtures before, but in this case it sounds like it could work since currently the only thing I have in my base are some values and a method that generates a key from them using hashlib
|
2017-07-12T13:52:39.463033
|
Noemi
|
pythondev_help_Noemi_2017-07-12T13:52:39.463033
| 1,499,867,559.463033 | 84,930 |
pythondev
|
help
|
Also, you make a good point about functions vs classes
|
2017-07-12T13:53:10.481803
|
Noemi
|
pythondev_help_Noemi_2017-07-12T13:53:10.481803
| 1,499,867,590.481803 | 84,931 |
pythondev
|
help
|
For tests
|
2017-07-12T13:53:18.486835
|
Noemi
|
pythondev_help_Noemi_2017-07-12T13:53:18.486835
| 1,499,867,598.486835 | 84,932 |
pythondev
|
help
|
<@Detra> has a book about testing with pytest, maybe worth the look.
|
2017-07-12T13:53:27.492462
|
Beula
|
pythondev_help_Beula_2017-07-12T13:53:27.492462
| 1,499,867,607.492462 | 84,933 |
pythondev
|
help
|
The way I like to do pytest allows you to test your app without installing it, and after installing it - so you get a pretty nice dev workflow
|
2017-07-12T13:53:58.511011
|
Beula
|
pythondev_help_Beula_2017-07-12T13:53:58.511011
| 1,499,867,638.511011 | 84,934 |
pythondev
|
help
|
I am pretty sure I found the problem, and it comes back to forgetting the shebang since I wrote the code originally on windows....
|
2017-07-12T14:27:39.724827
|
Noemi
|
pythondev_help_Noemi_2017-07-12T14:27:39.724827
| 1,499,869,659.724827 | 84,935 |
pythondev
|
help
|
these kinds of things are why we all try to all at least use posix-compliant systems. one guy here was writing on a Windows machine and the line endings got all messed up
|
2017-07-12T14:30:36.832860
|
Patty
|
pythondev_help_Patty_2017-07-12T14:30:36.832860
| 1,499,869,836.83286 | 84,936 |
pythondev
|
help
|
I wish I could chuck mine out the window tbh. The more code I write on Windows, the more I loathe it
|
2017-07-12T14:37:01.063126
|
Noemi
|
pythondev_help_Noemi_2017-07-12T14:37:01.063126
| 1,499,870,221.063126 | 84,937 |
pythondev
|
help
|
:joy::joy::joy::joy: slackbot
|
2017-07-12T14:37:26.077610
|
Noemi
|
pythondev_help_Noemi_2017-07-12T14:37:26.077610
| 1,499,870,246.07761 | 84,938 |
pythondev
|
help
|
:taco: <@Beula> <@Junita> <@Patty> <@Meg>
|
2017-07-12T14:40:07.173672
|
Noemi
|
pythondev_help_Noemi_2017-07-12T14:40:07.173672
| 1,499,870,407.173672 | 84,939 |
pythondev
|
help
|
how are the specs of the machine <@Noemi> ? any chance of just using a VM?
|
2017-07-12T14:41:21.217290
|
Patty
|
pythondev_help_Patty_2017-07-12T14:41:21.217290
| 1,499,870,481.21729 | 84,940 |
pythondev
|
help
|
<@Patty> setting up a fresh one right now as a matter of fact
|
2017-07-12T14:45:46.372196
|
Noemi
|
pythondev_help_Noemi_2017-07-12T14:45:46.372196
| 1,499,870,746.372196 | 84,941 |
pythondev
|
help
|
Hello, everyone! I’m learning Python and working on a personal project. Does anyone know and/or could point to the appropriate source how to build a Facebook share-like button with all the functionalities behind it? Meaning: if some blogsite has a list of blog posts and users have their own profile pages, by clicking on a share-like button below a blog post, the summarized blog post gets saved to her/his profile page. Thank you.
|
2017-07-12T15:07:04.120767
|
Parker
|
pythondev_help_Parker_2017-07-12T15:07:04.120767
| 1,499,872,024.120767 | 84,942 |
pythondev
|
help
|
<@Parker> a few things that can help us help you - what framework is the site written in, and are you using any front end framework?
|
2017-07-12T15:09:13.192091
|
Patty
|
pythondev_help_Patty_2017-07-12T15:09:13.192091
| 1,499,872,153.192091 | 84,943 |
pythondev
|
help
|
<@Patty> I’m not using any particular framework at this point. Right now I’m just trying to find any possible way to implement that.
|
2017-07-12T15:10:48.244010
|
Parker
|
pythondev_help_Parker_2017-07-12T15:10:48.244010
| 1,499,872,248.24401 | 84,944 |
pythondev
|
help
|
It’s going to depend on those factors, so before being able to share content, you’ll first need a way to create, store, retrieve, and show content to like and/or share
|
2017-07-12T15:12:14.289617
|
Patty
|
pythondev_help_Patty_2017-07-12T15:12:14.289617
| 1,499,872,334.289617 | 84,945 |
pythondev
|
help
|
<@Ciera> damn :disappointed:
|
2017-07-12T22:12:53.300336
|
Alba
|
pythondev_help_Alba_2017-07-12T22:12:53.300336
| 1,499,897,573.300336 | 84,946 |
pythondev
|
help
|
Hi folks, I ask yet but I can’t find resolution. Some advice I need. I have script with some export of data which collecting data over API. To work correctly over API I must to get some seurity key over API, that key expires after 2 hours. That script open HTTP server and listen on some address. Because is work as server I have
```while True:
time.sleep(15)
collecting data command
collecting data command````
But after 2 hours I need to start function to collect new API secure key.
How to resolve that ?
I tryed to add variable ```wakeup = time.time()``` and to add in while loop
```if wakeup - time.time() > 7200:
api_key()```
but I understand that can’t work on this way. :disappointed:
|
2017-07-13T03:36:52.066594
|
Tristan
|
pythondev_help_Tristan_2017-07-13T03:36:52.066594
| 1,499,917,012.066594 | 84,947 |
pythondev
|
help
|
<@Tristan> That last way will work, if you do the expression the right way around
|
2017-07-13T03:54:10.395331
|
Gabriele
|
pythondev_help_Gabriele_2017-07-13T03:54:10.395331
| 1,499,918,050.395331 | 84,948 |
pythondev
|
help
|
`time_elapsed = time.time() - start_time`
|
2017-07-13T03:54:26.400647
|
Gabriele
|
pythondev_help_Gabriele_2017-07-13T03:54:26.400647
| 1,499,918,066.400647 | 84,949 |
pythondev
|
help
|
another way is just to wrap your usual requests in a function that will request the new API key and re-request if necessary
|
2017-07-13T03:55:34.423393
|
Gabriele
|
pythondev_help_Gabriele_2017-07-13T03:55:34.423393
| 1,499,918,134.423393 | 84,950 |
pythondev
|
help
|
<@Gabriele> How to integrate that in
```while True:
time.sleep(15)```
The best way is to restart whole script after 2 hours, but I don’t want to use cron.
Do you have some idea ?
|
2017-07-13T04:05:02.624972
|
Tristan
|
pythondev_help_Tristan_2017-07-13T04:05:02.624972
| 1,499,918,702.624972 | 84,951 |
pythondev
|
help
|
wrap that script in another script that re-runs it until it's killed?
|
2017-07-13T04:06:58.665782
|
Gabriele
|
pythondev_help_Gabriele_2017-07-13T04:06:58.665782
| 1,499,918,818.665782 | 84,952 |
pythondev
|
help
|
and just have the inner script quit out after 2 hours. Although I don't see why you need to restart the script
|
2017-07-13T04:07:27.675830
|
Gabriele
|
pythondev_help_Gabriele_2017-07-13T04:07:27.675830
| 1,499,918,847.67583 | 84,953 |
pythondev
|
help
|
How to integrate ```time_elapsed = time.time() - start_time``` in my while loop ?
|
2017-07-13T04:10:50.747046
|
Tristan
|
pythondev_help_Tristan_2017-07-13T04:10:50.747046
| 1,499,919,050.747046 | 84,954 |
pythondev
|
help
|
How do you think? That tells you how long has passed. When a certain time has passed, you'll want to break out of the loop (if you want to restart the script), or get a new token/key (if you don't)
|
2017-07-13T04:12:03.773080
|
Gabriele
|
pythondev_help_Gabriele_2017-07-13T04:12:03.773080
| 1,499,919,123.77308 | 84,955 |
pythondev
|
help
|
sorry I’m newbie in python. Can I add this in while loope whith if, and when certain time has passed to call my function for new key ?
|
2017-07-13T04:14:12.818088
|
Tristan
|
pythondev_help_Tristan_2017-07-13T04:14:12.818088
| 1,499,919,252.818088 | 84,956 |
pythondev
|
help
|
Before the loop, when you get the token for the first time: `start_time = time.time()`
|
2017-07-13T04:15:47.851871
|
Gabriele
|
pythondev_help_Gabriele_2017-07-13T04:15:47.851871
| 1,499,919,347.851871 | 84,957 |
pythondev
|
help
|
And in the loop, before each request:
```
if time.time() - start_time >= 7200:
api_key()
```
|
2017-07-13T04:16:38.870241
|
Gabriele
|
pythondev_help_Gabriele_2017-07-13T04:16:38.870241
| 1,499,919,398.870241 | 84,958 |
pythondev
|
help
|
You'll probably want a value lower than 7200 anyway, because waiting until the last second means you might get a failed request at the end
|
2017-07-13T04:17:06.880313
|
Gabriele
|
pythondev_help_Gabriele_2017-07-13T04:17:06.880313
| 1,499,919,426.880313 | 84,959 |
pythondev
|
help
|
kylotan, thank you.
|
2017-07-13T04:18:41.914582
|
Tristan
|
pythondev_help_Tristan_2017-07-13T04:18:41.914582
| 1,499,919,521.914582 | 84,960 |
pythondev
|
help
|
(also, test it with a number like 60, so you don't have to wait 2 hours to see if it's correct or not!)
|
2017-07-13T04:20:25.953019
|
Gabriele
|
pythondev_help_Gabriele_2017-07-13T04:20:25.953019
| 1,499,919,625.953019 | 84,961 |
pythondev
|
help
|
No problem.
|
2017-07-13T04:20:27.953872
|
Gabriele
|
pythondev_help_Gabriele_2017-07-13T04:20:27.953872
| 1,499,919,627.953872 | 84,962 |
pythondev
|
help
|
So, configuring a Python app to use gunicorn on Heroku, the docs show `web: gunicorn hello:app` for the example Procfile but doesn't really explain what `hello:app` represents. Is it `<class>:<method>` or something like that?
|
2017-07-13T04:23:34.020651
|
Thomasina
|
pythondev_help_Thomasina_2017-07-13T04:23:34.020651
| 1,499,919,814.020651 | 84,963 |
pythondev
|
help
|
<@Gabriele> Of course. Thank’s :wink:
|
2017-07-13T04:25:27.062722
|
Tristan
|
pythondev_help_Tristan_2017-07-13T04:25:27.062722
| 1,499,919,927.062722 | 84,964 |
pythondev
|
help
|
<@Thomasina> I'm guessing it is probably module:function
|
2017-07-13T04:33:36.245174
|
Vada
|
pythondev_help_Vada_2017-07-13T04:33:36.245174
| 1,499,920,416.245174 | 84,965 |
pythondev
|
help
|
<@Gabriele> Do you have some idea ?
I added start_time variable before loop, and added this in loop. My loop now looks:
```while True:
if time.time() - start_time >= 60:
get_key()
time.sleep(15)```
When I start script, after 60 seconds scripts run get_key function what is good, but then on after each 15 second again.
|
2017-07-13T04:41:13.417756
|
Tristan
|
pythondev_help_Tristan_2017-07-13T04:41:13.417756
| 1,499,920,873.417756 | 84,966 |
pythondev
|
help
|
ah, of course. you'll need to reset start_time to time.time whenever you get a new key.
|
2017-07-13T04:49:08.597643
|
Gabriele
|
pythondev_help_Gabriele_2017-07-13T04:49:08.597643
| 1,499,921,348.597643 | 84,967 |
pythondev
|
help
|
I supposed, but how I can to do that in this if statement ?
|
2017-07-13T04:51:29.652658
|
Tristan
|
pythondev_help_Tristan_2017-07-13T04:51:29.652658
| 1,499,921,489.652658 | 84,968 |
pythondev
|
help
|
<@Gabriele>
|
2017-07-13T04:53:09.691340
|
Tristan
|
pythondev_help_Tristan_2017-07-13T04:53:09.691340
| 1,499,921,589.69134 | 84,969 |
pythondev
|
help
|
Can I only to add again ```start_time = time.time()``` in this if statement ?
|
2017-07-13T04:54:26.720718
|
Tristan
|
pythondev_help_Tristan_2017-07-13T04:54:26.720718
| 1,499,921,666.720718 | 84,970 |
pythondev
|
help
|
yes
|
2017-07-13T04:54:29.721585
|
Gabriele
|
pythondev_help_Gabriele_2017-07-13T04:54:29.721585
| 1,499,921,669.721585 | 84,971 |
pythondev
|
help
|
cool !
|
2017-07-13T04:54:37.724722
|
Tristan
|
pythondev_help_Tristan_2017-07-13T04:54:37.724722
| 1,499,921,677.724722 | 84,972 |
pythondev
|
help
|
you could probably improve the code by setting that time inside the get_key function, so that you don't need it in the if statement
|
2017-07-13T04:55:21.740872
|
Gabriele
|
pythondev_help_Gabriele_2017-07-13T04:55:21.740872
| 1,499,921,721.740872 | 84,973 |
pythondev
|
help
|
yes, I thinking about that. Thank you <@Gabriele> I will test !
|
2017-07-13T04:58:11.805767
|
Tristan
|
pythondev_help_Tristan_2017-07-13T04:58:11.805767
| 1,499,921,891.805767 | 84,974 |
pythondev
|
help
|
If I run `python manage.py db init` on my server it works, but then I run `python manage.py db migrate` and I get `Path doesn't exist: 'migrations'. Please use the 'init' command...`. :neutral_face:
|
2017-07-13T05:16:54.230970
|
Thomasina
|
pythondev_help_Thomasina_2017-07-13T05:16:54.230970
| 1,499,923,014.23097 | 84,975 |
pythondev
|
help
|
Not sure what I'm doing wrong.
|
2017-07-13T05:17:11.237381
|
Thomasina
|
pythondev_help_Thomasina_2017-07-13T05:17:11.237381
| 1,499,923,031.237381 | 84,976 |
pythondev
|
help
|
is there a directory named migrations after init?
|
2017-07-13T05:18:47.274189
|
Suellen
|
pythondev_help_Suellen_2017-07-13T05:18:47.274189
| 1,499,923,127.274189 | 84,977 |
pythondev
|
help
|
`app/migrations`...
|
2017-07-13T05:21:17.332279
|
Suellen
|
pythondev_help_Suellen_2017-07-13T05:21:17.332279
| 1,499,923,277.332279 | 84,978 |
pythondev
|
help
|
maybe it was expected in the root directory
|
2017-07-13T05:21:27.336072
|
Suellen
|
pythondev_help_Suellen_2017-07-13T05:21:27.336072
| 1,499,923,287.336072 | 84,979 |
pythondev
|
help
|
But I have no idea why it's doing that since last time I used `init` this problem didn't occur and I changed literally nothing...
|
2017-07-13T05:21:49.344643
|
Thomasina
|
pythondev_help_Thomasina_2017-07-13T05:21:49.344643
| 1,499,923,309.344643 | 84,980 |
pythondev
|
help
|
no idea, but now I'm afraid to update flask-migrate
|
2017-07-13T05:22:15.354312
|
Suellen
|
pythondev_help_Suellen_2017-07-13T05:22:15.354312
| 1,499,923,335.354312 | 84,981 |
pythondev
|
help
|
Only difference is this is on a new server
|
2017-07-13T05:22:26.358345
|
Thomasina
|
pythondev_help_Thomasina_2017-07-13T05:22:26.358345
| 1,499,923,346.358345 | 84,982 |
pythondev
|
help
|
Oh...maybe they changed something? Hmm...
|
2017-07-13T05:22:37.362807
|
Thomasina
|
pythondev_help_Thomasina_2017-07-13T05:22:37.362807
| 1,499,923,357.362807 | 84,983 |
pythondev
|
help
|
I guess not. I tried running it locally rather than on Heroku and it worked as expected.
|
2017-07-13T05:24:45.412162
|
Thomasina
|
pythondev_help_Thomasina_2017-07-13T05:24:45.412162
| 1,499,923,485.412162 | 84,984 |
pythondev
|
help
|
Running locally it uses `/migrations/`, on Heroku it uses `/app/migrations/` :neutral_face:
|
2017-07-13T05:43:24.834490
|
Thomasina
|
pythondev_help_Thomasina_2017-07-13T05:43:24.834490
| 1,499,924,604.83449 | 84,985 |
pythondev
|
help
|
Just confirmed it
|
2017-07-13T05:43:29.836297
|
Thomasina
|
pythondev_help_Thomasina_2017-07-13T05:43:29.836297
| 1,499,924,609.836297 | 84,986 |
pythondev
|
help
|
Environment variables?
|
2017-07-13T05:45:57.890842
|
Suellen
|
pythondev_help_Suellen_2017-07-13T05:45:57.890842
| 1,499,924,757.890842 | 84,987 |
pythondev
|
help
|
<@Suellen> I'm not sure, but checking on Heroku the `app` folder does indeed contain my application and there is no `migrations` folder in it even though the log up there says otherwise.
|
2017-07-13T05:50:21.988532
|
Thomasina
|
pythondev_help_Thomasina_2017-07-13T05:50:21.988532
| 1,499,925,021.988532 | 84,988 |
pythondev
|
help
|
So if I run the Python scripts while inside bash on the server it works perfectly...weird
|
2017-07-13T07:54:56.364471
|
Thomasina
|
pythondev_help_Thomasina_2017-07-13T07:54:56.364471
| 1,499,932,496.364471 | 84,989 |
pythondev
|
help
|
I suppose this is one of the reasons why I'd avoid managed PAAS if possible
|
2017-07-13T07:57:21.410639
|
Meg
|
pythondev_help_Meg_2017-07-13T07:57:21.410639
| 1,499,932,641.410639 | 84,990 |
pythondev
|
help
|
DO/AWS over Heroku
|
2017-07-13T07:57:29.413168
|
Meg
|
pythondev_help_Meg_2017-07-13T07:57:29.413168
| 1,499,932,649.413168 | 84,991 |
pythondev
|
help
|
<@Meg> Well, I'm using Heroku because with lower traffic it's cheaper, and because AWS would take longer to learn and I probably don't have enough time with this project
|
2017-07-13T08:11:11.691509
|
Thomasina
|
pythondev_help_Thomasina_2017-07-13T08:11:11.691509
| 1,499,933,471.691509 | 84,992 |
pythondev
|
help
|
true, AWS/DO require you to have a good amount of knowledge/time to learn beforehand
|
2017-07-13T08:11:54.706943
|
Meg
|
pythondev_help_Meg_2017-07-13T08:11:54.706943
| 1,499,933,514.706943 | 84,993 |
pythondev
|
help
|
and that's a selling point of heroku
|
2017-07-13T08:12:44.724322
|
Meg
|
pythondev_help_Meg_2017-07-13T08:12:44.724322
| 1,499,933,564.724322 | 84,994 |
pythondev
|
help
|
Ya, I mean, I will use AWS eventually, but when I have the time to learn its ins and outs. Actually I started with AWS but switched to Heroku once I realized the complexity, haha
|
2017-07-13T08:12:48.725643
|
Thomasina
|
pythondev_help_Thomasina_2017-07-13T08:12:48.725643
| 1,499,933,568.725643 | 84,995 |
pythondev
|
help
|
but don't forget they're built on top of AWS
|
2017-07-13T08:12:56.728210
|
Meg
|
pythondev_help_Meg_2017-07-13T08:12:56.728210
| 1,499,933,576.72821 | 84,996 |
pythondev
|
help
|
so you're actually using AWS services through Heroku
|
2017-07-13T08:13:07.731776
|
Meg
|
pythondev_help_Meg_2017-07-13T08:13:07.731776
| 1,499,933,587.731776 | 84,997 |
pythondev
|
help
|
I'm surprised they're allowed to make a product with AWS that competes with AWS, but I guess it's because anyone who pays for Heroku pays indirectly for AWS.
|
2017-07-13T08:13:39.742642
|
Thomasina
|
pythondev_help_Thomasina_2017-07-13T08:13:39.742642
| 1,499,933,619.742642 | 84,998 |
pythondev
|
help
|
correct
|
2017-07-13T08:15:50.789009
|
Meg
|
pythondev_help_Meg_2017-07-13T08:15:50.789009
| 1,499,933,750.789009 | 84,999 |
pythondev
|
help
|
and AWS really doesn't care about that
|
2017-07-13T08:15:56.791297
|
Meg
|
pythondev_help_Meg_2017-07-13T08:15:56.791297
| 1,499,933,756.791297 | 85,000 |
pythondev
|
help
|
since more customers for Heroku means more services Heroku pays them for
|
2017-07-13T08:16:11.796766
|
Meg
|
pythondev_help_Meg_2017-07-13T08:16:11.796766
| 1,499,933,771.796766 | 85,001 |
pythondev
|
help
|
and its a useful service
|
2017-07-13T08:16:31.803786
|
Meg
|
pythondev_help_Meg_2017-07-13T08:16:31.803786
| 1,499,933,791.803786 | 85,002 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.