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 | so if foreign key is named "country_id", you should have "country_id" as a db.ForeignKey in your model | 2018-02-01T05:08:01.000238 | Barney | pythondev_help_Barney_2018-02-01T05:08:01.000238 | 1,517,461,681.000238 | 32,424 |
pythondev | help | :thinking_face: wait a second | 2018-02-01T05:08:46.000330 | Barney | pythondev_help_Barney_2018-02-01T05:08:46.000330 | 1,517,461,726.00033 | 32,425 |
pythondev | help | ```
db.Column('CountryId', db.Integer, db.ForeignKey('countries.country_id'), default=-1)
``` | 2018-02-01T05:09:10.000255 | Barney | pythondev_help_Barney_2018-02-01T05:09:10.000255 | 1,517,461,750.000255 | 32,426 |
pythondev | help | That doesn't look right | 2018-02-01T05:09:14.000241 | Barney | pythondev_help_Barney_2018-02-01T05:09:14.000241 | 1,517,461,754.000241 | 32,427 |
pythondev | help | That is how it is in my mysql table | 2018-02-01T05:09:47.000057 | Milo | pythondev_help_Milo_2018-02-01T05:09:47.000057 | 1,517,461,787.000057 | 32,428 |
pythondev | help | what's the first parameter to db.Column? | 2018-02-01T05:10:02.000328 | Barney | pythondev_help_Barney_2018-02-01T05:10:02.000328 | 1,517,461,802.000328 | 32,429 |
pythondev | help | shouldn't this just be
`db.Column(db.ForeignKey('...'))`? | 2018-02-01T05:10:43.000290 | Barney | pythondev_help_Barney_2018-02-01T05:10:43.000290 | 1,517,461,843.00029 | 32,430 |
pythondev | help | in my `show create table master` I have;
```
CountryId int(11) DEFAULT '-1' ,
KEY `master_ibfk_2` (`CountryId`),
CONSTRAINT `master_ibfk_2` FOREIGN KEY (`CountryId`) REFERENCES `countries` (`CountryId`)
``` | 2018-02-01T05:11:59.000689 | Milo | pythondev_help_Milo_2018-02-01T05:11:59.000689 | 1,517,461,919.000689 | 32,431 |
pythondev | help | This is for the `CountryId` column | 2018-02-01T05:12:19.000085 | Milo | pythondev_help_Milo_2018-02-01T05:12:19.000085 | 1,517,461,939.000085 | 32,432 |
pythondev | help | oh, OK | 2018-02-01T05:12:47.000251 | Barney | pythondev_help_Barney_2018-02-01T05:12:47.000251 | 1,517,461,967.000251 | 32,433 |
pythondev | help | it's all good | 2018-02-01T05:12:49.000685 | Barney | pythondev_help_Barney_2018-02-01T05:12:49.000685 | 1,517,461,969.000685 | 32,434 |
pythondev | help | ah silly me again just notices references `CountryId` | 2018-02-01T05:12:51.000496 | Milo | pythondev_help_Milo_2018-02-01T05:12:51.000496 | 1,517,461,971.000496 | 32,435 |
pythondev | help | the only fishy thing is `default=-1` | 2018-02-01T05:13:10.000373 | Barney | pythondev_help_Barney_2018-02-01T05:13:10.000373 | 1,517,461,990.000373 | 32,436 |
pythondev | help | if there may be a situation when this field is empty just make it nullable | 2018-02-01T05:13:37.000578 | Barney | pythondev_help_Barney_2018-02-01T05:13:37.000578 | 1,517,462,017.000578 | 32,437 |
pythondev | help | otherwise I'm not sure SQLAlchemy / database won't be confused | 2018-02-01T05:14:00.000229 | Barney | pythondev_help_Barney_2018-02-01T05:14:00.000229 | 1,517,462,040.000229 | 32,438 |
pythondev | help | ok will give it ago | 2018-02-01T05:14:44.000208 | Milo | pythondev_help_Milo_2018-02-01T05:14:44.000208 | 1,517,462,084.000208 | 32,439 |
pythondev | help | <@Barney> :taco: thanks again! You have been a great help with me getting my head around flask sqlalchemy over the last few days | 2018-02-01T05:15:39.000147 | Milo | pythondev_help_Milo_2018-02-01T05:15:39.000147 | 1,517,462,139.000147 | 32,440 |
pythondev | help | :pacman: thanks | 2018-02-01T05:16:04.000238 | Barney | pythondev_help_Barney_2018-02-01T05:16:04.000238 | 1,517,462,164.000238 | 32,441 |
pythondev | help | Is this query correct format?
```
Master.query.filter(
(Master.relevant == 0 or Master.relevant == 1)
and
(Master.displayed == 1 or Master.displayed == 0)
and (Master.sent == 0)
and (Master.date > '2017-12-31 23:59:59')).order_by(Master.date.desc())
``` | 2018-02-01T06:40:59.000046 | Milo | pythondev_help_Milo_2018-02-01T06:40:59.000046 | 1,517,467,259.000046 | 32,442 |
pythondev | help | SQLA doesn't understand Python's `and` | 2018-02-01T06:53:36.000505 | Barney | pythondev_help_Barney_2018-02-01T06:53:36.000505 | 1,517,468,016.000505 | 32,443 |
pythondev | help | instead you combine filters as `Master.query.filter(a).filter(b).filter(c)` or just `Master.query.filter(a, b, c)` | 2018-02-01T06:54:06.000379 | Barney | pythondev_help_Barney_2018-02-01T06:54:06.000379 | 1,517,468,046.000379 | 32,444 |
pythondev | help | I am trying to format the string here
```
awk '/123123123/ {print FNR}' my-log.log
``` | 2018-02-01T07:50:21.000024 | Gussie | pythondev_help_Gussie_2018-02-01T07:50:21.000024 | 1,517,471,421.000024 | 32,445 |
pythondev | help | I was trying out `query = "awk '/{0}/ {1}' general-20180201.log"`
but the content `print FNR` inside `{}` was erroring out with
```
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
KeyError: 'print FNR'
```
Any way I can substitute it? | 2018-02-01T07:51:33.000416 | Gussie | pythondev_help_Gussie_2018-02-01T07:51:33.000416 | 1,517,471,493.000416 | 32,446 |
pythondev | help | <@Gussie> ```
$ python
Python 3.6.3 (default, Nov 29 2017, 11:47:05)
[GCC 4.2.1 Compatible Apple LLVM 9.0.0 (clang-900.0.38)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> query = "awk '/{0}/ {1}' general-20180201.log"
>>> query.format(123123123, '{print FNR}')
"... | 2018-02-01T08:28:18.000163 | Aleida | pythondev_help_Aleida_2018-02-01T08:28:18.000163 | 1,517,473,698.000163 | 32,447 |
pythondev | help | It seems that it's working, right? :slightly_smiling_face: | 2018-02-01T08:32:04.000156 | Sadye | pythondev_help_Sadye_2018-02-01T08:32:04.000156 | 1,517,473,924.000156 | 32,448 |
pythondev | help | Indeed | 2018-02-01T08:38:49.000133 | Aleida | pythondev_help_Aleida_2018-02-01T08:38:49.000133 | 1,517,474,329.000133 | 32,449 |
pythondev | help | How do I revert to a previous set of dependencies after a package installation installs multiple dependencies. Eg I installed requests, which installs multiple dependencies (like urllib3). Uninstalling requests leaves behind urllib3, which I don't want littering around. So, how would I restore my project to its prior s... | 2018-02-01T11:08:50.000462 | Rena | pythondev_help_Rena_2018-02-01T11:08:50.000462 | 1,517,483,330.000462 | 32,450 |
pythondev | help | there’s a reason for that | 2018-02-01T11:15:53.001088 | Floy | pythondev_help_Floy_2018-02-01T11:15:53.001088 | 1,517,483,753.001088 | 32,451 |
pythondev | help | consider dependency intersection | 2018-02-01T11:16:00.000229 | Floy | pythondev_help_Floy_2018-02-01T11:16:00.000229 | 1,517,483,760.000229 | 32,452 |
pythondev | help | you have requests and some other package that depends on urllib3 | 2018-02-01T11:16:19.000425 | Floy | pythondev_help_Floy_2018-02-01T11:16:19.000425 | 1,517,483,779.000425 | 32,453 |
pythondev | help | remove urllib3, and this other package you’re using breaks | 2018-02-01T11:16:31.000787 | Floy | pythondev_help_Floy_2018-02-01T11:16:31.000787 | 1,517,483,791.000787 | 32,454 |
pythondev | help | to add to that - if you are using something like a virtualenv/docker/etc coupled with a well defined requirements file, there’s no reason you can’t just blow out your environment and reinstall if you wanted to. | 2018-02-01T11:18:20.000367 | Zack | pythondev_help_Zack_2018-02-01T11:18:20.000367 | 1,517,483,900.000367 | 32,455 |
pythondev | help | but as <@Floy> said there’s no direct way since pip isn’t aware of what else might be using the dependency | 2018-02-01T11:18:43.001000 | Zack | pythondev_help_Zack_2018-02-01T11:18:43.001000 | 1,517,483,923.001 | 32,456 |
pythondev | help | If I am doing in an inner join on two model object query that I am changing some data to am I still allowed to pass this to `form` obj? | 2018-02-01T11:38:54.001091 | Milo | pythondev_help_Milo_2018-02-01T11:38:54.001091 | 1,517,485,134.001091 | 32,457 |
pythondev | help | ```
rows = Master.query.filter(
((Master.relevant == 1) | (Master.relevant == 0)),
((Master.displayed == 0) | (Master.displayed == 1)),
Master.sent == 0,
Master.date >= '2017-12-31 23:59:59').order_by(Master.date.desc())
def object_as_dict(obj):
return {c.key: getattr... | 2018-02-01T11:39:17.000681 | Milo | pythondev_help_Milo_2018-02-01T11:39:17.000681 | 1,517,485,157.000681 | 32,458 |
pythondev | help | as `data` here will be a `list` of `dict` is there a way to manipulate the `rows` object? | 2018-02-01T11:40:05.000994 | Milo | pythondev_help_Milo_2018-02-01T11:40:05.000994 | 1,517,485,205.000994 | 32,459 |
pythondev | help | :rubberduck: :rubberduck: :rubberduck:
So, some of the users (or all of them) are able to reproduce an issue where they copy and paste content from outlook into our web app, but the contents of those emails is un-readable or needs to be decoded for it to work when they are saved in the database. To solve this seems ea... | 2018-02-01T11:42:47.000191 | Henrietta | pythondev_help_Henrietta_2018-02-01T11:42:47.000191 | 1,517,485,367.000191 | 32,460 |
pythondev | help | <@Zack> so in other words I would have multiple requirements.txt files (created after each package that I installed)? How would I keep track of them? | 2018-02-01T11:46:08.000251 | Rena | pythondev_help_Rena_2018-02-01T11:46:08.000251 | 1,517,485,568.000251 | 32,461 |
pythondev | help | <@Floy> what's dependency intersection? | 2018-02-01T11:47:15.000250 | Rena | pythondev_help_Rena_2018-02-01T11:47:15.000250 | 1,517,485,635.00025 | 32,462 |
pythondev | help | you can list other requirements files in a requirements file | 2018-02-01T11:47:53.000637 | Garrett | pythondev_help_Garrett_2018-02-01T11:47:53.000637 | 1,517,485,673.000637 | 32,463 |
pythondev | help | Interesting. So I'd need to give them different names then? | 2018-02-01T11:48:43.000108 | Rena | pythondev_help_Rena_2018-02-01T11:48:43.000108 | 1,517,485,723.000108 | 32,464 |
pythondev | help | it's hard to have more than one file with the same name in the same place, so, yes :smile: | 2018-02-01T11:49:06.000367 | Garrett | pythondev_help_Garrett_2018-02-01T11:49:06.000367 | 1,517,485,746.000367 | 32,465 |
pythondev | help | <@Barney> regarding code completion from yesterday, now works fine for the package, using MS vscode | 2018-02-01T11:53:19.000880 | Jolene | pythondev_help_Jolene_2018-02-01T11:53:19.000880 | 1,517,485,999.00088 | 32,466 |
pythondev | help | <#C8UK1J3DM|pipenv> and the dependency graph might be useful | 2018-02-01T11:55:09.000838 | Micki | pythondev_help_Micki_2018-02-01T11:55:09.000838 | 1,517,486,109.000838 | 32,467 |
pythondev | help | Any ideas on whether this is possible? Thanks! | 2018-02-01T12:05:40.000528 | Milo | pythondev_help_Milo_2018-02-01T12:05:40.000528 | 1,517,486,740.000528 | 32,468 |
pythondev | help | just try? | 2018-02-01T12:05:50.001006 | Barney | pythondev_help_Barney_2018-02-01T12:05:50.001006 | 1,517,486,750.001006 | 32,469 |
pythondev | help | It threw an error, the only way I could seem to edit the value was by converting the `row` into an dictionary and then creating a list, I guess I could then pass it that way to the form and display all fields like that | 2018-02-01T12:07:10.000403 | Milo | pythondev_help_Milo_2018-02-01T12:07:10.000403 | 1,517,486,830.000403 | 32,470 |
pythondev | help | but I was just wandering if there is a way to do with the model object. | 2018-02-01T12:07:50.000080 | Milo | pythondev_help_Milo_2018-02-01T12:07:50.000080 | 1,517,486,870.00008 | 32,471 |
pythondev | help | <@Rena> not sure what you mean. I pretty much already described it.
>>>you have requests and some other package that depends on urllib3
remove urllib3, and this other package you’re using breaks | 2018-02-01T12:16:00.000833 | Floy | pythondev_help_Floy_2018-02-01T12:16:00.000833 | 1,517,487,360.000833 | 32,472 |
pythondev | help | eg, urllib3 is an intersecting dependency of multiple packages and if its removed in the process of removing a single package, other stuff’s gonna break | 2018-02-01T12:17:15.000169 | Floy | pythondev_help_Floy_2018-02-01T12:17:15.000169 | 1,517,487,435.000169 | 32,473 |
pythondev | help | Gotcha! | 2018-02-01T12:18:10.000171 | Rena | pythondev_help_Rena_2018-02-01T12:18:10.000171 | 1,517,487,490.000171 | 32,474 |
pythondev | help | <@Emmitt> did you happen to see <https://youtu.be/66XoCk79kjM?t=762> | 2018-02-01T12:25:13.000057 | Monroe | pythondev_help_Monroe_2018-02-01T12:25:13.000057 | 1,517,487,913.000057 | 32,475 |
pythondev | help | To anyone curious about my issue:
1. I had a misunderstanding of the issue (there are about 3 similar issues I am taking care of for the same users and they were all brought to my attention at once)
2. With users' help I was able to reproduce issue and will begin figuring out what is going wrong | 2018-02-01T13:49:04.000397 | Henrietta | pythondev_help_Henrietta_2018-02-01T13:49:04.000397 | 1,517,492,944.000397 | 32,476 |
pythondev | help | I did get the shell to work, that was quite nice. though I was also able to work with the objects in an ipython setting | 2018-02-01T14:19:10.000076 | Stefan | pythondev_help_Stefan_2018-02-01T14:19:10.000076 | 1,517,494,750.000076 | 32,477 |
pythondev | help | I've hosted a website on digitalocean/ubuntu/nginx - it consists of some simple html/css/js ... I'm now looking to build a contact form and add it to my site, but I've never done this before, anyone have a simple solution/recommendation for how I can accomplish this? | 2018-02-01T14:48:43.000590 | Tianna | pythondev_help_Tianna_2018-02-01T14:48:43.000590 | 1,517,496,523.00059 | 32,478 |
pythondev | help | <@Tianna> <https://simpleisbetterthancomplex.com/series/2017/09/18/a-complete-beginners-guide-to-django-part-3.html#creating-forms-the-right-way> | 2018-02-01T14:59:31.000283 | Rigoberto | pythondev_help_Rigoberto_2018-02-01T14:59:31.000283 | 1,517,497,171.000283 | 32,479 |
pythondev | help | how simple do you want the form to be? | 2018-02-01T15:01:35.000359 | Garrett | pythondev_help_Garrett_2018-02-01T15:01:35.000359 | 1,517,497,295.000359 | 32,480 |
pythondev | help | google forms are pretty dang simple | 2018-02-01T15:01:39.000389 | Garrett | pythondev_help_Garrett_2018-02-01T15:01:39.000389 | 1,517,497,299.000389 | 32,481 |
pythondev | help | yeah, ipython is much more convenient | 2018-02-01T15:03:10.000062 | Barney | pythondev_help_Barney_2018-02-01T15:03:10.000062 | 1,517,497,390.000062 | 32,482 |
pythondev | help | <@Garrett> SIMPLE! haha Am I able to embed, and stylize a google form? | 2018-02-01T15:07:24.000415 | Tianna | pythondev_help_Tianna_2018-02-01T15:07:24.000415 | 1,517,497,644.000415 | 32,483 |
pythondev | help | embed, i think so. style...not sure | 2018-02-01T15:08:11.000297 | Garrett | pythondev_help_Garrett_2018-02-01T15:08:11.000297 | 1,517,497,691.000297 | 32,484 |
pythondev | help | but, again, how simple do you want :smile: | 2018-02-01T15:08:17.000486 | Garrett | pythondev_help_Garrett_2018-02-01T15:08:17.000486 | 1,517,497,697.000486 | 32,485 |
pythondev | help | Thanks! Has anyone else tried this with google forms? | 2018-02-01T15:11:18.000661 | Tianna | pythondev_help_Tianna_2018-02-01T15:11:18.000661 | 1,517,497,878.000661 | 32,486 |
pythondev | help | <https://morningstudio.com.au/blog/2013/06/how-to-style-google-forms/> | 2018-02-01T15:12:32.000734 | Garrett | pythondev_help_Garrett_2018-02-01T15:12:32.000734 | 1,517,497,952.000734 | 32,487 |
pythondev | help | I started following that tutorial and hit a problem with syntax pretty quickly regarding url and paths. Maybe I was just making a really obvious typo :grinning: | 2018-02-01T15:12:36.000499 | Brain | pythondev_help_Brain_2018-02-01T15:12:36.000499 | 1,517,497,956.000499 | 32,488 |
pythondev | help | <@Brain> are you referring to the morningstudio tutorial? | 2018-02-01T15:14:12.000428 | Tianna | pythondev_help_Tianna_2018-02-01T15:14:12.000428 | 1,517,498,052.000428 | 32,489 |
pythondev | help | <@Tianna> ah no. The simplebettethancomplex one | 2018-02-01T15:26:58.000652 | Brain | pythondev_help_Brain_2018-02-01T15:26:58.000652 | 1,517,498,818.000652 | 32,490 |
pythondev | help | Hey everyone what are the downsides to assuming a string's character encoding when you can't determine the character encoding of the string at all? | 2018-02-01T15:27:14.000413 | Henrietta | pythondev_help_Henrietta_2018-02-01T15:27:14.000413 | 1,517,498,834.000413 | 32,491 |
pythondev | help | you'll be wrong and send out bad data? | 2018-02-01T15:27:34.000058 | Garrett | pythondev_help_Garrett_2018-02-01T15:27:34.000058 | 1,517,498,854.000058 | 32,492 |
pythondev | help | Hmm I'm not sure that is what would happen in this specific case, but I will confirm (we are converting the strings to ascii befroe saving them, but if the char type can't be detected then it just fails) | 2018-02-01T15:29:31.000735 | Henrietta | pythondev_help_Henrietta_2018-02-01T15:29:31.000735 | 1,517,498,971.000735 | 32,493 |
pythondev | help | The string looks fine outside of this conversion, but i have to check why we are doing it in the first place | 2018-02-01T15:30:17.000912 | Henrietta | pythondev_help_Henrietta_2018-02-01T15:30:17.000912 | 1,517,499,017.000912 | 32,494 |
pythondev | help | any reason to use ASCII and not UTF-8? | 2018-02-01T15:31:28.000009 | Garrett | pythondev_help_Garrett_2018-02-01T15:31:28.000009 | 1,517,499,088.000009 | 32,495 |
pythondev | help | Someone was trying to fix an issue similar to this one and ASCII worked (that's what I was told probably happened) | 2018-02-01T15:32:39.000213 | Henrietta | pythondev_help_Henrietta_2018-02-01T15:32:39.000213 | 1,517,499,159.000213 | 32,496 |
pythondev | help | yeah.... | 2018-02-01T15:33:09.000457 | Garrett | pythondev_help_Garrett_2018-02-01T15:33:09.000457 | 1,517,499,189.000457 | 32,497 |
pythondev | help | keep strings as UTF-8 all you can | 2018-02-01T15:33:15.000235 | Garrett | pythondev_help_Garrett_2018-02-01T15:33:15.000235 | 1,517,499,195.000235 | 32,498 |
pythondev | help | Will do, I won't undo what the previous person did, since I don't know what they were trying to fix, but I will make it utf-8 | 2018-02-01T15:34:06.000858 | Henrietta | pythondev_help_Henrietta_2018-02-01T15:34:06.000858 | 1,517,499,246.000858 | 32,499 |
pythondev | help | ....before going in the db | 2018-02-01T15:34:17.000199 | Henrietta | pythondev_help_Henrietta_2018-02-01T15:34:17.000199 | 1,517,499,257.000199 | 32,500 |
pythondev | help | DB will hopefully hold UTF-8 :smile: | 2018-02-01T15:35:16.000501 | Garrett | pythondev_help_Garrett_2018-02-01T15:35:16.000501 | 1,517,499,316.000501 | 32,501 |
pythondev | help | :joy: *fingers crossed | 2018-02-01T15:36:26.000521 | Henrietta | pythondev_help_Henrietta_2018-02-01T15:36:26.000521 | 1,517,499,386.000521 | 32,502 |
pythondev | help | Hi everyone! I have an app developed using PySide/Qt, but I can say developing beautiful UI using QWidgets is hard. This would be different if we could use HTML, CSS and JS, like Slack has using the Electron framework.
Does anyone know if libraries like htmlPy would be worth looking into, or if QML would change everyt... | 2018-02-01T16:50:06.000141 | Alfonzo | pythondev_help_Alfonzo_2018-02-01T16:50:06.000141 | 1,517,503,806.000141 | 32,503 |
pythondev | help | Hey guys quick question, my python code is not executing via crontab even though it works perfectly without error outside of it, I have included #!/usr/bin/python on the top of my script, and the crontab listing is as follows
`11 22 * * * /usr/local/bin/cron_scripts/Daily_Reports/reports_that_day.py` | 2018-02-01T17:15:13.000399 | Titus | pythondev_help_Titus_2018-02-01T17:15:13.000399 | 1,517,505,313.000399 | 32,504 |
pythondev | help | their are no errors in the cron log, it runs but it just doesn't execute the code | 2018-02-01T17:15:45.000490 | Titus | pythondev_help_Titus_2018-02-01T17:15:45.000490 | 1,517,505,345.00049 | 32,505 |
pythondev | help | is it marked executable as well? `chmod +x reports_that_day.py` | 2018-02-01T17:16:20.000661 | Rafael | pythondev_help_Rafael_2018-02-01T17:16:20.000661 | 1,517,505,380.000661 | 32,506 |
pythondev | help | yes it is marked as an executable as well | 2018-02-01T17:16:30.000613 | Titus | pythondev_help_Titus_2018-02-01T17:16:30.000613 | 1,517,505,390.000613 | 32,507 |
pythondev | help | Hey <@Titus>! It doesn't look like you're adding /usr/bin/python in the crontab line | 2018-02-01T17:16:50.000050 | Kimberli | pythondev_help_Kimberli_2018-02-01T17:16:50.000050 | 1,517,505,410.00005 | 32,508 |
pythondev | help | From memory, don't you have to `cd` into the directory? | 2018-02-01T17:18:49.000227 | Porsha | pythondev_help_Porsha_2018-02-01T17:18:49.000227 | 1,517,505,529.000227 | 32,509 |
pythondev | help | <@Kimberli> just tried that for a 5:18 cron no dice | 2018-02-01T17:18:51.000182 | Titus | pythondev_help_Titus_2018-02-01T17:18:51.000182 | 1,517,505,531.000182 | 32,510 |
pythondev | help | what did you type? | 2018-02-01T17:19:21.000329 | Kimberli | pythondev_help_Kimberli_2018-02-01T17:19:21.000329 | 1,517,505,561.000329 | 32,511 |
pythondev | help | Generally no, you shouldn't have to `cd` in | 2018-02-01T17:19:26.000304 | Rafael | pythondev_help_Rafael_2018-02-01T17:19:26.000304 | 1,517,505,566.000304 | 32,512 |
pythondev | help | `18 22 * * * /usr/bin/python /usr/local/bin/cron_scripts/Daily_Reports/reports_that_day.py` | 2018-02-01T17:19:41.000072 | Titus | pythondev_help_Titus_2018-02-01T17:19:41.000072 | 1,517,505,581.000072 | 32,513 |
pythondev | help | on utc time | 2018-02-01T17:19:43.000152 | Titus | pythondev_help_Titus_2018-02-01T17:19:43.000152 | 1,517,505,583.000152 | 32,514 |
pythondev | help | `* * * * * cd path/to/python/file && python python_file.py ` | 2018-02-01T17:19:53.000812 | Porsha | pythondev_help_Porsha_2018-02-01T17:19:53.000812 | 1,517,505,593.000812 | 32,515 |
pythondev | help | <@Porsha> the full path is given so no need to cd | 2018-02-01T17:20:23.000771 | Kimberli | pythondev_help_Kimberli_2018-02-01T17:20:23.000771 | 1,517,505,623.000771 | 32,516 |
pythondev | help | cool | 2018-02-01T17:20:36.000360 | Porsha | pythondev_help_Porsha_2018-02-01T17:20:36.000360 | 1,517,505,636.00036 | 32,517 |
pythondev | help | what is it saying in your syslog? | 2018-02-01T17:21:51.000262 | Kimberli | pythondev_help_Kimberli_2018-02-01T17:21:51.000262 | 1,517,505,711.000262 | 32,518 |
pythondev | help | checking | 2018-02-01T17:24:14.000376 | Titus | pythondev_help_Titus_2018-02-01T17:24:14.000376 | 1,517,505,854.000376 | 32,519 |
pythondev | help | and in addition to what <@Rafael> stated, check permissions as well | 2018-02-01T17:24:20.000043 | Kimberli | pythondev_help_Kimberli_2018-02-01T17:24:20.000043 | 1,517,505,860.000043 | 32,520 |
pythondev | help | so I think I've found the problem, The script I wrote creates a xlsx file which then directs another script to email it | 2018-02-01T17:36:34.000002 | Titus | pythondev_help_Titus_2018-02-01T17:36:34.000002 | 1,517,506,594.000002 | 32,521 |
pythondev | help | the cron output says it cannot find that file, and after lookin in the folder it doesn't look like it is there | 2018-02-01T17:37:02.000205 | Titus | pythondev_help_Titus_2018-02-01T17:37:02.000205 | 1,517,506,622.000205 | 32,522 |
pythondev | help | although when I run the script outsude cron it does create the file and email | 2018-02-01T17:37:10.000395 | Titus | pythondev_help_Titus_2018-02-01T17:37:10.000395 | 1,517,506,630.000395 | 32,523 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.