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 | I am trying to convert a script file to exe file but i get this error | 2017-09-09T11:44:41.000008 | Cassaundra | pythondev_help_Cassaundra_2017-09-09T11:44:41.000008 | 1,504,957,481.000008 | 92,903 |
pythondev | help | ```
error: compiling 'C:\Python27\lib\site-packages\jinja2\asyncsupport.py' failed
SyntaxError: invalid syntax (asyncsupport.py, line 22)
``` | 2017-09-09T11:44:46.000053 | Cassaundra | pythondev_help_Cassaundra_2017-09-09T11:44:46.000053 | 1,504,957,486.000053 | 92,904 |
pythondev | help | Can any1 advise how to solve this | 2017-09-09T11:45:00.000056 | Cassaundra | pythondev_help_Cassaundra_2017-09-09T11:45:00.000056 | 1,504,957,500.000056 | 92,905 |
pythondev | help | Tq | 2017-09-09T11:45:02.000134 | Cassaundra | pythondev_help_Cassaundra_2017-09-09T11:45:02.000134 | 1,504,957,502.000134 | 92,906 |
pythondev | help | <@Cassaundra> what have you tried to do? | 2017-09-09T11:48:34.000009 | Collette | pythondev_help_Collette_2017-09-09T11:48:34.000009 | 1,504,957,714.000009 | 92,907 |
pythondev | help | <@Cassaundra> please avoid cross posting. I'll delete your messages in other channels | 2017-09-09T11:49:43.000071 | Ciera | pythondev_help_Ciera_2017-09-09T11:49:43.000071 | 1,504,957,783.000071 | 92,908 |
pythondev | help | ```
from distutils.core import setup
import py2exe
setup(console=['myfile.py'])
```
I saved this file as setup.py
and run as python setup.py py2exe
the error i got was
```
running py2exe
*** searching for required modules ***
error: compiling 'C:\Python27\lib\site-packages\jinja2\asyncsupport.py' failed
SyntaxError: invalid syntax (asyncsupport.py, line 22)
``` | 2017-09-09T11:51:26.000011 | Cassaundra | pythondev_help_Cassaundra_2017-09-09T11:51:26.000011 | 1,504,957,886.000011 | 92,909 |
pythondev | help | <@Collette> | 2017-09-09T11:51:49.000101 | Cassaundra | pythondev_help_Cassaundra_2017-09-09T11:51:49.000101 | 1,504,957,909.000101 | 92,910 |
pythondev | help | <@Cassaundra> okay, you need to downgrade your installed `jinja2` version to `2.8.1`, in which there's no `asyncsupport` module | 2017-09-09T11:56:33.000058 | Collette | pythondev_help_Collette_2017-09-09T11:56:33.000058 | 1,504,958,193.000058 | 92,911 |
pythondev | help | It has python3.5+ only syntax | 2017-09-09T11:56:41.000018 | Collette | pythondev_help_Collette_2017-09-09T11:56:41.000018 | 1,504,958,201.000018 | 92,912 |
pythondev | help | <@Collette> How to downgrade `jinja2` i am using Python 2.7? | 2017-09-09T12:00:04.000083 | Cassaundra | pythondev_help_Cassaundra_2017-09-09T12:00:04.000083 | 1,504,958,404.000083 | 92,913 |
pythondev | help | Thanks for your advise | 2017-09-09T12:00:12.000111 | Cassaundra | pythondev_help_Cassaundra_2017-09-09T12:00:12.000111 | 1,504,958,412.000111 | 92,914 |
pythondev | help | <@Cassaundra> `pip install jinja2==2.8.1` | 2017-09-09T12:01:26.000039 | Collette | pythondev_help_Collette_2017-09-09T12:01:26.000039 | 1,504,958,486.000039 | 92,915 |
pythondev | help | How do you convert an existing XML file to XLSX with Python? I’m using Python 3. | 2017-09-09T13:26:45.000058 | Hannah | pythondev_help_Hannah_2017-09-09T13:26:45.000058 | 1,504,963,605.000058 | 92,916 |
pythondev | help | First Google result: <https://github.com/pkaczynski/xml2xlsx> | 2017-09-09T13:44:12.000064 | Betsy | pythondev_help_Betsy_2017-09-09T13:44:12.000064 | 1,504,964,652.000064 | 92,917 |
pythondev | help | anyone feels like helping debugging flask on vps with nginx and uwsgi? | 2017-09-09T14:17:54.000018 | Sean | pythondev_help_Sean_2017-09-09T14:17:54.000018 | 1,504,966,674.000018 | 92,918 |
pythondev | help | Hi All I am getting an error with the following code:
```
print('/\ /\,')
print(' o o ')
print('= =')
print(' ')
print(' --- ')
``` | 2017-09-09T14:23:25.000058 | Carlene | pythondev_help_Carlene_2017-09-09T14:23:25.000058 | 1,504,967,005.000058 | 92,919 |
pythondev | help | what the error says | 2017-09-09T14:24:24.000002 | Romelia | pythondev_help_Romelia_2017-09-09T14:24:24.000002 | 1,504,967,064.000002 | 92,920 |
pythondev | help | <@Carlene> | 2017-09-09T14:24:31.000102 | Romelia | pythondev_help_Romelia_2017-09-09T14:24:31.000102 | 1,504,967,071.000102 | 92,921 |
pythondev | help | <@Sean> what's the problem ? :slightly_smiling_face: | 2017-09-09T14:25:27.000079 | Ciera | pythondev_help_Ciera_2017-09-09T14:25:27.000079 | 1,504,967,127.000079 | 92,922 |
pythondev | help | 502 | 2017-09-09T14:25:37.000033 | Sean | pythondev_help_Sean_2017-09-09T14:25:37.000033 | 1,504,967,137.000033 | 92,923 |
pythondev | help | I'm using ufw and I think it's blocking my socket somehow or something | 2017-09-09T14:25:52.000036 | Sean | pythondev_help_Sean_2017-09-09T14:25:52.000036 | 1,504,967,152.000036 | 92,924 |
pythondev | help | without nginx is it working ? | 2017-09-09T14:26:17.000034 | Ciera | pythondev_help_Ciera_2017-09-09T14:26:17.000034 | 1,504,967,177.000034 | 92,925 |
pythondev | help | if you scroll a little bit back the messages, you see the yesterdays conversation | 2017-09-09T14:26:17.000036 | Sean | pythondev_help_Sean_2017-09-09T14:26:17.000036 | 1,504,967,177.000036 | 92,926 |
pythondev | help | but, now, i got it working by connection to :5001 | 2017-09-09T14:26:26.000045 | Sean | pythondev_help_Sean_2017-09-09T14:26:26.000045 | 1,504,967,186.000045 | 92,927 |
pythondev | help | yeah, if i either `python run.py` or `uwsgi --socket 0.0.0.0:5001 --protocol=http -w wsgi:app` | 2017-09-09T14:27:03.000072 | Sean | pythondev_help_Sean_2017-09-09T14:27:03.000072 | 1,504,967,223.000072 | 92,928 |
pythondev | help | so `<http://your_ip:5001>` is working ? | 2017-09-09T14:27:09.000008 | Ciera | pythondev_help_Ciera_2017-09-09T14:27:09.000008 | 1,504,967,229.000008 | 92,929 |
pythondev | help | both work, but 5k is in use (?) | 2017-09-09T14:27:10.000046 | Sean | pythondev_help_Sean_2017-09-09T14:27:10.000046 | 1,504,967,230.000046 | 92,930 |
pythondev | help | ye | 2017-09-09T14:27:12.000098 | Sean | pythondev_help_Sean_2017-09-09T14:27:12.000098 | 1,504,967,232.000098 | 92,931 |
pythondev | help | <@Romelia> let get the error | 2017-09-09T14:27:14.000065 | Carlene | pythondev_help_Carlene_2017-09-09T14:27:14.000065 | 1,504,967,234.000065 | 92,932 |
pythondev | help | ```
/\ /\
o o
= =
---``` | 2017-09-09T14:27:37.000024 | Carlene | pythondev_help_Carlene_2017-09-09T14:27:37.000024 | 1,504,967,257.000024 | 92,933 |
pythondev | help | so only when you put nginx it's not working. can you share your nginx conf | 2017-09-09T14:27:58.000056 | Ciera | pythondev_help_Ciera_2017-09-09T14:27:58.000056 | 1,504,967,278.000056 | 92,934 |
pythondev | help | which, nginx.conf or available-sites | 2017-09-09T14:28:22.000017 | Sean | pythondev_help_Sean_2017-09-09T14:28:22.000017 | 1,504,967,302.000017 | 92,935 |
pythondev | help | \n for newline on print, and you have to erase the comma. also you forgot some extra space | 2017-09-09T14:29:57.000020 | Qiana | pythondev_help_Qiana_2017-09-09T14:29:57.000020 | 1,504,967,397.00002 | 92,936 |
pythondev | help | available-sites :slightly_smiling_face: | 2017-09-09T14:30:08.000060 | Ciera | pythondev_help_Ciera_2017-09-09T14:30:08.000060 | 1,504,967,408.00006 | 92,937 |
pythondev | help | sorry for delay, battery died on me | 2017-09-09T14:34:26.000094 | Sean | pythondev_help_Sean_2017-09-09T14:34:26.000094 | 1,504,967,666.000094 | 92,938 |
pythondev | help | earlier version had uwsgi_pass pointing to sock file | 2017-09-09T14:35:09.000030 | Sean | pythondev_help_Sean_2017-09-09T14:35:09.000030 | 1,504,967,709.00003 | 92,939 |
pythondev | help | <@Qiana>
```
File "main.py", line 9
print('/\ /\')
^
SyntaxError: EOL while scanning string literal
``` | 2017-09-09T14:35:29.000012 | Carlene | pythondev_help_Carlene_2017-09-09T14:35:29.000012 | 1,504,967,729.000012 | 92,940 |
pythondev | help | You're escaping the ending quote | 2017-09-09T14:35:54.000013 | Beula | pythondev_help_Beula_2017-09-09T14:35:54.000013 | 1,504,967,754.000013 | 92,941 |
pythondev | help | <@Sean> weird to have ssl on 80 not sure if that's working with nginx | 2017-09-09T14:35:57.000032 | Ciera | pythondev_help_Ciera_2017-09-09T14:35:57.000032 | 1,504,967,757.000032 | 92,942 |
pythondev | help | You need two backslashes | 2017-09-09T14:36:03.000036 | Beula | pythondev_help_Beula_2017-09-09T14:36:03.000036 | 1,504,967,763.000036 | 92,943 |
pythondev | help | <@Beula> can you please help me understand? I am a newbie to python | 2017-09-09T14:36:18.000077 | Carlene | pythondev_help_Carlene_2017-09-09T14:36:18.000077 | 1,504,967,778.000077 | 92,944 |
pythondev | help | <@Ciera> can i comment it out somehow? it was working with a static page | 2017-09-09T14:36:21.000076 | Sean | pythondev_help_Sean_2017-09-09T14:36:21.000076 | 1,504,967,781.000076 | 92,945 |
pythondev | help | and I think you need to use `proxy_pass` and not `uwsgi_pass` | 2017-09-09T14:36:46.000096 | Ciera | pythondev_help_Ciera_2017-09-09T14:36:46.000096 | 1,504,967,806.000096 | 92,946 |
pythondev | help | > The backslash (\) character is used to escape characters that otherwise have a special meaning, such as newline, backslash itself, or the quote character | 2017-09-09T14:37:04.000041 | Beula | pythondev_help_Beula_2017-09-09T14:37:04.000041 | 1,504,967,824.000041 | 92,947 |
pythondev | help | From <https://docs.python.org/2.0/ref/strings.html> | 2017-09-09T14:37:14.000057 | Beula | pythondev_help_Beula_2017-09-09T14:37:14.000057 | 1,504,967,834.000057 | 92,948 |
pythondev | help | it might be working fine like this. It's just that usually 80 is for http and 443 for https | 2017-09-09T14:37:20.000006 | Ciera | pythondev_help_Ciera_2017-09-09T14:37:20.000006 | 1,504,967,840.000006 | 92,949 |
pythondev | help | oh, i wanted everything to be https, i found this from some tutorial | 2017-09-09T14:37:43.000034 | Sean | pythondev_help_Sean_2017-09-09T14:37:43.000034 | 1,504,967,863.000034 | 92,950 |
pythondev | help | When you are working with backslash on print, you have to put a second one print('/\\ /\\') | 2017-09-09T14:37:44.000054 | Qiana | pythondev_help_Qiana_2017-09-09T14:37:44.000054 | 1,504,967,864.000054 | 92,951 |
pythondev | help | then it's better to just redirect http to https :slightly_smiling_face: | 2017-09-09T14:38:01.000101 | Ciera | pythondev_help_Ciera_2017-09-09T14:38:01.000101 | 1,504,967,881.000101 | 92,952 |
pythondev | help | The short of it is: certain characters have special meanings when escaped and they are escaped with a backslash, so to print a literal backslash you need `print('/\\/\\')` | 2017-09-09T14:38:12.000021 | Beula | pythondev_help_Beula_2017-09-09T14:38:12.000021 | 1,504,967,892.000021 | 92,953 |
pythondev | help | can you try that | 2017-09-09T14:38:27.000090 | Ciera | pythondev_help_Ciera_2017-09-09T14:38:27.000090 | 1,504,967,907.00009 | 92,954 |
pythondev | help | and is the port 5000 or 5001 ? | 2017-09-09T14:38:35.000053 | Ciera | pythondev_help_Ciera_2017-09-09T14:38:35.000053 | 1,504,967,915.000053 | 92,955 |
pythondev | help | 5k1 if i run manually now | 2017-09-09T14:39:09.000071 | Sean | pythondev_help_Sean_2017-09-09T14:39:09.000071 | 1,504,967,949.000071 | 92,956 |
pythondev | help | oh yeah, something new, `Job for nginx.service failed because the control process exited with error code. See "systemctl status nginx.service" and "journalctl -xe" for details.` when i try to restart nginx `sudo systemctl restart nginx` | 2017-09-09T14:40:55.000083 | Sean | pythondev_help_Sean_2017-09-09T14:40:55.000083 | 1,504,968,055.000083 | 92,957 |
pythondev | help | you can check the log with `journalctl -u nginx.service -f` :slightly_smiling_face: | 2017-09-09T14:41:45.000087 | Ciera | pythondev_help_Ciera_2017-09-09T14:41:45.000087 | 1,504,968,105.000087 | 92,958 |
pythondev | help | -> 502 coming if not running manually
-> 502 coming if running manually | 2017-09-09T14:44:07.000073 | Sean | pythondev_help_Sean_2017-09-09T14:44:07.000073 | 1,504,968,247.000073 | 92,959 |
pythondev | help | `No journal files were found.` | 2017-09-09T14:44:53.000060 | Sean | pythondev_help_Sean_2017-09-09T14:44:53.000060 | 1,504,968,293.00006 | 92,960 |
pythondev | help | can you do `tail -f /var/log/nginx/error.log` or for your nginx error file | 2017-09-09T14:46:03.000033 | Ciera | pythondev_help_Ciera_2017-09-09T14:46:03.000033 | 1,504,968,363.000033 | 92,961 |
pythondev | help | and when running manually you made sure to change the port in the nginx config ? | 2017-09-09T14:46:19.000017 | Ciera | pythondev_help_Ciera_2017-09-09T14:46:19.000017 | 1,504,968,379.000017 | 92,962 |
pythondev | help | yup | 2017-09-09T14:46:47.000053 | Sean | pythondev_help_Sean_2017-09-09T14:46:47.000053 | 1,504,968,407.000053 | 92,963 |
pythondev | help | <@Ciera> `invalid url prefix...` with your configuration | 2017-09-09T14:50:08.000002 | Sean | pythondev_help_Sean_2017-09-09T14:50:08.000002 | 1,504,968,608.000002 | 92,964 |
pythondev | help | `proxy_pass <http://127.0.0.1:5000;>` | 2017-09-09T14:52:04.000044 | Ciera | pythondev_help_Ciera_2017-09-09T14:52:04.000044 | 1,504,968,724.000044 | 92,965 |
pythondev | help | doesn't work | 2017-09-09T14:53:19.000019 | Sean | pythondev_help_Sean_2017-09-09T14:53:19.000019 | 1,504,968,799.000019 | 92,966 |
pythondev | help | as in prolem 502 persists :s | 2017-09-09T14:53:53.000009 | Sean | pythondev_help_Sean_2017-09-09T14:53:53.000009 | 1,504,968,833.000009 | 92,967 |
pythondev | help | it's weird, because connecting to the port <ip>:5001 works | 2017-09-09T14:54:53.000011 | Sean | pythondev_help_Sean_2017-09-09T14:54:53.000011 | 1,504,968,893.000011 | 92,968 |
pythondev | help | is there something in the nginx log ? | 2017-09-09T14:55:11.000094 | Ciera | pythondev_help_Ciera_2017-09-09T14:55:11.000094 | 1,504,968,911.000094 | 92,969 |
pythondev | help | nothing | 2017-09-09T14:55:25.000040 | Sean | pythondev_help_Sean_2017-09-09T14:55:25.000040 | 1,504,968,925.00004 | 92,970 |
pythondev | help | are you connecting with the ip or the domain name ? | 2017-09-09T14:56:53.000085 | Ciera | pythondev_help_Ciera_2017-09-09T14:56:53.000085 | 1,504,969,013.000085 | 92,971 |
pythondev | help | and if it's domain name is the dns correct ? | 2017-09-09T14:57:15.000012 | Ciera | pythondev_help_Ciera_2017-09-09T14:57:15.000012 | 1,504,969,035.000012 | 92,972 |
pythondev | help | trying both | 2017-09-09T14:57:15.000110 | Sean | pythondev_help_Sean_2017-09-09T14:57:15.000110 | 1,504,969,035.00011 | 92,973 |
pythondev | help | correct dns | 2017-09-09T14:57:21.000024 | Sean | pythondev_help_Sean_2017-09-09T14:57:21.000024 | 1,504,969,041.000024 | 92,974 |
pythondev | help | the situtation is, i am using the same vps and nginx configuration to serve static files for different dns | 2017-09-09T14:57:43.000003 | Sean | pythondev_help_Sean_2017-09-09T14:57:43.000003 | 1,504,969,063.000003 | 92,975 |
pythondev | help | `less /var/log/nginx/access.log` something in this ? | 2017-09-09T14:57:57.000098 | Ciera | pythondev_help_Ciera_2017-09-09T14:57:57.000098 | 1,504,969,077.000098 | 92,976 |
pythondev | help | i;m using cloudflare as the middleman (now I for this have toggled the middleman part off) | 2017-09-09T14:58:01.000004 | Sean | pythondev_help_Sean_2017-09-09T14:58:01.000004 | 1,504,969,081.000004 | 92,977 |
pythondev | help | let me see | 2017-09-09T14:58:05.000052 | Sean | pythondev_help_Sean_2017-09-09T14:58:05.000052 | 1,504,969,085.000052 | 92,978 |
pythondev | help | so you have a working nginx on the vps for other domain ? | 2017-09-09T14:58:24.000052 | Ciera | pythondev_help_Ciera_2017-09-09T14:58:24.000052 | 1,504,969,104.000052 | 92,979 |
pythondev | help | yes | 2017-09-09T14:58:43.000037 | Sean | pythondev_help_Sean_2017-09-09T14:58:43.000037 | 1,504,969,123.000037 | 92,980 |
pythondev | help | but they're serving static index.html file(s) | 2017-09-09T14:58:51.000069 | Sean | pythondev_help_Sean_2017-09-09T14:58:51.000069 | 1,504,969,131.000069 | 92,981 |
pythondev | help | `sudo netstat -peanut` doesn't even show usage of the port 5k | 2017-09-09T15:00:18.000149 | Sean | pythondev_help_Sean_2017-09-09T15:00:18.000149 | 1,504,969,218.000149 | 92,982 |
pythondev | help | should i try to go back to the sock usage? | 2017-09-09T15:00:26.000048 | Sean | pythondev_help_Sean_2017-09-09T15:00:26.000048 | 1,504,969,226.000048 | 92,983 |
pythondev | help | if the curl to the port work it should be fine | 2017-09-09T15:01:00.000128 | Ciera | pythondev_help_Ciera_2017-09-09T15:01:00.000128 | 1,504,969,260.000128 | 92,984 |
pythondev | help | what do you mean | 2017-09-09T15:01:17.000019 | Sean | pythondev_help_Sean_2017-09-09T15:01:17.000019 | 1,504,969,277.000019 | 92,985 |
pythondev | help | you said connecting to the port works ? | 2017-09-09T15:02:13.000039 | Ciera | pythondev_help_Ciera_2017-09-09T15:02:13.000039 | 1,504,969,333.000039 | 92,986 |
pythondev | help | yes, if i run it manually | 2017-09-09T15:02:29.000021 | Sean | pythondev_help_Sean_2017-09-09T15:02:29.000021 | 1,504,969,349.000021 | 92,987 |
pythondev | help | should i keep it running manually? is what i meant | 2017-09-09T15:02:40.000034 | Sean | pythondev_help_Sean_2017-09-09T15:02:40.000034 | 1,504,969,360.000034 | 92,988 |
pythondev | help | _is there a big difference between socks and ports?_ | 2017-09-09T15:03:06.000019 | Sean | pythondev_help_Sean_2017-09-09T15:03:06.000019 | 1,504,969,386.000019 | 92,989 |
pythondev | help | yeah keep it running manually for now :slightly_smiling_face: | 2017-09-09T15:04:21.000007 | Ciera | pythondev_help_Ciera_2017-09-09T15:04:21.000007 | 1,504,969,461.000007 | 92,990 |
pythondev | help | i got it working o_O | 2017-09-09T15:04:26.000030 | Sean | pythondev_help_Sean_2017-09-09T15:04:26.000030 | 1,504,969,466.00003 | 92,991 |
pythondev | help | no not a big difference | 2017-09-09T15:04:37.000063 | Ciera | pythondev_help_Ciera_2017-09-09T15:04:37.000063 | 1,504,969,477.000063 | 92,992 |
pythondev | help | sockets are usually a bit faster I believe | 2017-09-09T15:04:48.000020 | Ciera | pythondev_help_Ciera_2017-09-09T15:04:48.000020 | 1,504,969,488.00002 | 92,993 |
pythondev | help | i got it working using sock somehow, but there's no ssl now | 2017-09-09T15:05:08.000089 | Sean | pythondev_help_Sean_2017-09-09T15:05:08.000089 | 1,504,969,508.000089 | 92,994 |
pythondev | help | to have ssl you need nginx to listen on 80 and redirect to 433 and listen on 433 | 2017-09-09T15:06:11.000022 | Ciera | pythondev_help_Ciera_2017-09-09T15:06:11.000022 | 1,504,969,571.000022 | 92,995 |
pythondev | help | you can do that like this | 2017-09-09T15:06:16.000032 | Ciera | pythondev_help_Ciera_2017-09-09T15:06:16.000032 | 1,504,969,576.000032 | 92,996 |
pythondev | help | is there a default config for this? | 2017-09-09T15:06:29.000063 | Sean | pythondev_help_Sean_2017-09-09T15:06:29.000063 | 1,504,969,589.000063 | 92,997 |
pythondev | help | thank you, let me try it out | 2017-09-09T15:07:24.000091 | Sean | pythondev_help_Sean_2017-09-09T15:07:24.000091 | 1,504,969,644.000091 | 92,998 |
pythondev | help | obviously you need to adapt a bit :slightly_smiling_face: | 2017-09-09T15:07:41.000057 | Ciera | pythondev_help_Ciera_2017-09-09T15:07:41.000057 | 1,504,969,661.000057 | 92,999 |
pythondev | help | yeah | 2017-09-09T15:08:07.000009 | Sean | pythondev_help_Sean_2017-09-09T15:08:07.000009 | 1,504,969,687.000009 | 93,000 |
pythondev | help | okay, cool, progressing. now i get "Your connection is not private" error from Chrome, and if I enable cloudflare I receive 502 | 2017-09-09T15:10:45.000066 | Sean | pythondev_help_Sean_2017-09-09T15:10:45.000066 | 1,504,969,845.000066 | 93,001 |
pythondev | help | oh yeah I'm not sure you to set up all that with cloudfare | 2017-09-09T15:12:06.000029 | Ciera | pythondev_help_Ciera_2017-09-09T15:12:06.000029 | 1,504,969,926.000029 | 93,002 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.