[00:03:49] Tony is now away
[00:22:20] remo is now offline
[00:22:36] fuzzy is now online
[00:22:51] fuzzy is now online
[00:25:10] fuzzy is now away
[00:28:48] Tony is now xa
[00:34:46] fuzzy is now away
[00:37:46] fuzzy is now away
[00:39:05] slav0nic is now away
[00:41:54] ds.tihonov is now offline
[00:42:33] slav0nic is now online
[00:53:13] den4ik is now offline
[00:53:32] den4ik is now online
[00:57:58] огыешсук is now online
[00:58:14] gigimon is now offline
[00:58:30] огыешсук is now online
[01:03:17] fuzzy is now away
[01:03:22] fuzzy is now away
[01:04:03] огыешсук is now offline
[01:14:08] fuzzy is now away
[01:14:54] fuzzy is now away
[01:17:16] fuzzy is now away
[01:30:29] emese is now offline
[01:50:50] slav0nic is now offline
[02:05:02] tranq is now offline
[02:32:40] den4ik is now offline
[02:55:35] vaal is now offline
[03:06:13] fuzzy is now away
[03:17:30] fuzzy is now away
[03:28:18] fuzzy is now away
[03:28:28] fuzzy is now away
[03:37:20] fuzzy is now away
[03:40:09] fuzzy is now away
[04:10:12] blw0rm is now xa
[04:10:12] Tony is now xa
[04:10:12] fuzzy is now away
[04:10:12] magic_pony is now online
[04:10:12] metall1c is now xa
[04:10:12] : slav0nic установил(а) тему: python.su | Сначала поищи ответ на docs.python.org | Теперь поищи в google.com | Код постить в dumpz.org | Хочешь задать вопрос - просто *задай* его! | Правила написания хорошего кода: http://➡.ws/pep8 | Логи: http://logs.python.su
[04:10:12] Magister Yoda is now xa
[04:40:24] blw0rm is now xa
[04:40:24] Tony is now xa
[04:40:24] metall1c is now xa
[04:40:24] fuzzy is now away
[04:40:24] Magister Yoda is now xa
[04:40:24] magic_pony is now online
[04:40:24] : slav0nic установил(а) тему: python.su | Сначала поищи ответ на docs.python.org | Теперь поищи в google.com | Код постить в dumpz.org | Хочешь задать вопрос - просто *задай* его! | Правила написания хорошего кода: http://➡.ws/pep8 | Логи: http://logs.python.su
[05:02:55] fuzzy is now away
[05:30:03] fuzzy is now away
[05:30:09] fuzzy is now away
[05:39:09] fuzzy is now away
[05:45:59] fuzzy is now away
[05:48:01] Magister Yoda is now online
[05:49:10] fuzzy is now away
[05:50:10] fuzzy is now online
[05:59:36] Magister Yoda is now away
[06:03:05] fuzzy is now away
[06:05:57] fuzzy is now online
[06:17:16] fuzzy is now away
[06:19:36] Magister Yoda is now xa
[06:22:42] fuzzy is now online
[06:45:28] fuzzy is now away
[06:46:26] fuzzy is now away
[06:46:30] fuzzy is now away
[06:55:33] fuzzy is now away
[07:16:23] fuzzy is now away
[07:19:35] fuzzy is now away
[07:20:58] fuzzy is now away
[07:21:18] fuzzy is now away
[07:21:22] fuzzy is now online
[07:33:44] fuzzy is now away
[08:03:53] blw0rm is now xa
[08:03:53] Tony is now xa
[08:03:53] fuzzy is now away
[08:03:53] metall1c is now xa
[08:03:53] Magister Yoda is now xa
[08:03:53] magic_pony is now online
[08:03:53] : slav0nic установил(а) тему: python.su | Сначала поищи ответ на docs.python.org | Теперь поищи в google.com | Код постить в dumpz.org | Хочешь задать вопрос - просто *задай* его! | Правила написания хорошего кода: http://➡.ws/pep8 | Логи: http://logs.python.su
[08:09:11] fuzzy is now offline
[08:12:30] Tony is now online
[08:39:05] tranq is now online
[08:42:32] Tony is now away
[09:07:32] Tony is now xa
[09:10:29] tranq is now offline
[09:36:16] mrDoctorWho is now online
[10:05:26] Tony is now online
[10:15:48] emese is now online
[10:27:22] den4ik is now online
[10:34:57] kwis is now online
[10:35:17] kwis: Здравствуйте профессионалы!
[10:37:39] kwis: Такой вопрос. Писал маленький проектик на питоне (flask) на работе в свободное время, под вендой! Принес домой, хочу его запустить на Ubuntu но постоянно ошибка "UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 12: ordinal not in range(128)" я уже что только не делал. На сколько я понимаю у меня все файлы в неправильной кодировке. Подскажите пожалуйста как все это дело починить
[10:50:48] огыешсук is now online
[10:58:43] огыешсук is now offline
[10:58:49] огыешсук is now online
[11:04:45] den4ik is now xa
[11:10:00] kwis is now away
[11:10:35] огыешсук is now online
[11:13:40] огыешсук is now online
[11:16:00] огыешсук is now online
[11:20:00] kwis is now xa
[11:24:16] kwis is now online
[11:31:45] огыешсук is now offline
[11:31:49] огыешсук is now online
[11:37:06] kwis is now away
[11:39:06] kwis is now online
[11:51:56] kwis is now away
[11:59:18] kwis is now online
[12:13:39] огыешсук is now offline
[12:13:44] огыешсук is now online
[12:26:14] Tony is now away
[12:26:17] огыешсук is now offline
[12:26:31] огыешсук is now online
[12:27:35] Tony is now online
[12:32:36] mrDoctorWho is now away
[12:32:48] огыешсук is now offline
[12:33:00] огыешсук is now online
[12:33:18] огыешсук is now offline
[12:33:26] огыешсук is now online
[12:33:33] огыешсук is now offline
[12:34:37] огыешсук is now online
[12:36:12] kwis is now away
[12:44:56] kwis is now online
[12:47:07] den4ik is now online
[12:52:36] mrDoctorWho is now xa
[13:08:06] VeeSot is now online
[13:09:36] tranq is now online
[13:11:16] vaal is now online
[13:13:29] mrDoctorWho is now online
[13:22:46] den4ik: писать все в utf
[13:24:25] VeeSot is now away
[13:25:10] remo is now online
[13:33:07] VeeSot is now online
[13:34:06] RanWise is now ** This message was blocked by the ICQ server **
[13:59:18] tranq is now away
[14:08:35] emese is now away
[14:08:37] emese is now away
[14:10:44] emese is now away
[14:10:45] emese is now online
[14:23:27] огыешсук is now offline
[14:29:07] vaal is now away
[14:30:57] fuzzy is now online
[14:42:18] tranq is now online
[14:50:03] metall1c is now online
[14:54:03] fuzzy is now offline
[14:54:05] fuzzy is now online
[15:00:02] metall1c is now away
[15:20:03] metall1c is now xa
[15:24:52] fuzzy is now offline
[15:35:45] kwis: den4ik, так уже написано же все, как его перевести?
[15:36:40] remo: kwis: vim ++enc=cp1251 file and w ++enc=utf8
[15:36:59] remo: kwis: vim :e ++enc=cp1251 file and :w ++enc=utf8
[15:37:33] kwis: remo, спасибо, вечером попробую
[15:37:55] kwis: так это один файл, их списком не получится написать?
[15:38:39] remo: kwis: та я думаю прогуглить и найдёшь что-то на баше
[15:39:32] remo: kwis: http://www.ustrem.org/en/articles/bash-iconv-all-files-from-directory-en/
[15:39:54] emese is now away
[15:39:56] emese is now away
[15:41:12] emese is now away
[15:41:14] emese is now online
[15:41:25] metall1c is now online
[15:49:25] kwis is now away
[15:51:25] metall1c is now away
[15:51:58] remo: kwis: только в хидеры файлов еще не забудь добавить # -*- coding: UTF-8 -*-
[15:52:13] kwis is now online
[15:52:45] kwis: remo, ок, большое спасибо
[15:59:05] fuzzy is now online
[16:02:25] kwis is now away
[16:06:13] vaal is now away
[16:06:14] vaal is now online
[16:07:00] fuzzy is now offline
[16:07:12] fuzzy is now online
[16:10:39] fuzzy is now offline
[16:11:24] metall1c is now xa
[16:12:25] kwis is now xa
[16:12:41] kwis is now online
[16:18:03] kwis is now away
[16:18:19] kwis is now online
[16:27:39] kwis is now away
[16:29:47] Tony is now away
[16:35:05] kwis is now online
[16:35:45] Tony is now online
[16:40:13] kwis is now away
[16:43:31] kwis is now online
[16:47:34] AlexZenon is now online
[16:47:59] ds.tihonov is now дома! :)
[16:48:41] kwis is now away
[16:55:28] emese is now away
[16:55:30] emese is now away
[16:58:41] kwis is now xa
[17:00:34] emese is now away
[17:00:36] emese is now online
[17:19:43] fuzzy is now online
[17:21:19] Tony is now away
[17:26:19] Tony is now online
[17:27:04] kwis is now offline
[17:32:48] tranq is now away
[17:39:18] VeeSot is now away
[17:39:21] VeeSot is now online
[17:42:58] fuzzy is now offline
[17:43:00] fuzzy is now online
[17:47:12] vaal is now away
[17:50:57] vaal is now away
[17:50:57] vaal is now online
[17:53:30] mrDoctorWho is now offline
[17:54:39] Tony is now offline
[18:07:06] remo: #!/usr/bin/env python
[18:07:11] remo: ой)
[18:07:20] remo: #!/usr/bin/env python
[18:07:21] remo: # -*- coding: UTF-8 -*-
[18:07:48] remo: короче если сделать activate, то MySQLdb импортируется, а если не делать activate, то нет
[18:07:57] remo: ЧЯНТД ?
[18:08:53] remo: при этом в другом проекте я дописал #!/usr/bin/env вместо #!/usr/bin/python и всё работало
[18:09:19] RanWise: virtualenv?
[18:09:19] remo: т.е при этом в другом проекте я дописал #!/usr/bin/env python вместо #!/usr/bin/python и всё работало
[18:09:25] remo: RanWise: да, он самый
[18:09:50] RanWise: ну так если virtualenv активный в систему не ставится пакет
[18:10:06] remo: RanWise: всё правильно, мне он в системе и не нужен
[18:11:32] remo: нужно, чтобы скрипт видел пакет, который лежит в .env
[18:11:38] remo: а он его по ходу событий не видит
[18:12:50] RanWise: ну вроде как активировать нужно
[18:13:11] RanWise: после создания > virtualenv
[18:13:27] RanWise: и после закрытия консоли слетает импорт наверно
[18:14:24] tranq is now online
[18:14:31] fuzzy is now offline
[18:14:32] fuzzy is now online
[18:15:08] RanWise: remo: а у тебя 2 питона?
[18:15:17] remo: RanWise: да
[18:16:41] RanWise: remo: http://stackoverflow.com/questions/2429511/why-do-people-write-usr-bin-env-python-on-the-first-line-of-a-python-script читал?)
[18:17:51] remo: RanWise: #!/usr/bin/env python2.7 поменял на это. Тоже не работает
[18:18:12] remo: └──╼ python --version
Python 2.7.6
[18:19:31] tranq is now away
[18:20:54] remo: уже пересобрал env c: virtualenv --python=python2.7 "$MY_PATH"/../.env
[18:20:59] remo: и так же не работает
[18:21:09] remo: fuzzy: что скажете ?
[18:21:52] fuzzy: import sys
[18:21:57] RanWise: remo а MySQLdb нужно ставить или это в питоне?
[18:22:10] RanWise: remo: import sys
print(sys.version)
[18:22:20] fuzzy: print sys.path
[18:22:21] fuzzy: remo: а у тебя какой город/н.п.?
[18:23:42] freemanua is now online
[18:26:39] remo: fuzzy: ['/home/user/media/source_project/python/test', '/usr/lib64/python27.zip', '/usr/lib64/python2.7', '/usr/lib64/python2.7/plat-linux2', '/usr/lib64/python2.7/lib-tk', '/usr/lib64/python2.7/lib-old', '/usr /lib64/python2.7/lib-dynload', '/usr/lib64/python2.7/site-packages', '/usr/lib64/python2.7/site-packages/gtk-2.0']
[18:28:14] fuzzy is now offline
[18:29:02] fuzzy is now online
[18:31:04] remo: fuzzy: лучше скажи что не так я делаю с .env ?
[18:33:33] fuzzy is now offline
[18:33:36] fuzzy is now online
[18:34:10] fuzzy: это у тебя бинарник?
[18:34:12] fuzzy: питон файл
[18:34:24] fuzzy: я обычно а) использую virtualenvwrapper.sh, б) пишу #!/usr/bin/env python
[18:34:31] fuzzy: т.к. /usr/bin/python у тебя почти точно выберет не тот интерпретатор, который ты хочешь
[18:36:46] den4ik is now xa
[18:39:36] freemanua: плюсую wrapper
[18:39:37] fuzzy is now offline
[18:39:59] freemanua: удобная штука
[18:40:23] fuzzy is now online
[18:43:57] remo: fuzzy: ну дык у меня в хидере и стоит #!/usr/bin/env python
[18:44:09] remo: fuzzy: ну дык у меня в хидере и стоит что за virtualenvwrapper.sh ?
[18:44:53] remo: fuzzy: что за virtualenvwrapper.sh ?
[18:45:58] Tony is now online
[18:48:25] fuzzy is now offline
[18:48:26] metall1c is now online
[18:51:18] den4ik is now online
[18:58:26] metall1c is now away
[19:01:10] tranq is now online
[19:06:28] tranq is now away
[19:06:49] mrDoctorWho is now online
[19:13:58] tranq is now online
[19:18:26] metall1c is now xa
[19:19:12] tranq is now away
[19:20:27] remo: пилять. я понял в чём дело
[19:50:36] blw0rm is now xa
[19:50:36] Tony is now online
[19:50:36] vaal is now online
[19:50:36] den4ik is now online
[19:50:36] ds.tihonov is now дома! :)
[19:50:36] VeeSot is now online
[19:50:36] emese is now online
[19:50:36] mrDoctorWho is now online
[19:50:36] RanWise is now ** This message was blocked by the ICQ server **
[19:50:36] remo is now online
[19:50:36] tranq is now away
[19:50:36] metall1c is now xa
[19:50:36] Magister Yoda is now xa
[19:50:36] AlexZenon is now online
[19:50:36] freemanua is now online
[19:50:36] magic_pony is now online
[19:50:36] : slav0nic установил(а) тему: python.su | Сначала поищи ответ на docs.python.org | Теперь поищи в google.com | Код постить в dumpz.org | Хочешь задать вопрос - просто *задай* его! | Правила написания хорошего кода: http://➡.ws/pep8 | Логи: http://logs.python.su
[19:56:51] tranq is now online
[20:02:19] tranq is now away
[20:29:14] den4ik is now offline
[20:30:13] vaal is now away
[20:30:13] vaal is now away
[20:31:01] vaal is now away
[20:31:01] vaal is now online
[20:32:17] remo is now offline
[21:02:31] blw0rm is now xa
[21:02:31] Tony is now online
[21:02:31] vaal is now online
[21:02:31] ds.tihonov is now дома! :)
[21:02:31] VeeSot is now online
[21:02:31] emese is now online
[21:02:31] mrDoctorWho is now online
[21:02:31] RanWise is now ** This message was blocked by the ICQ server **
[21:02:31] tranq is now away
[21:02:31] metall1c is now xa
[21:02:31] Magister Yoda is now xa
[21:02:31] AlexZenon is now online
[21:02:31] freemanua is now online
[21:02:31] magic_pony is now online
[21:02:31] : slav0nic установил(а) тему: python.su | Сначала поищи ответ на docs.python.org | Теперь поищи в google.com | Код постить в dumpz.org | Хочешь задать вопрос - просто *задай* его! | Правила написания хорошего кода: http://➡.ws/pep8 | Логи: http://logs.python.su
[21:06:30] VeeSot is now away
[21:12:52] VeeSot is now online
[21:18:12] VeeSot is now away
[21:20:20] vaal is now away
[21:20:48] VeeSot is now online
[21:29:29] vaal is now online
[21:39:29] vaal is now away
[21:39:29] vaal is now away
[21:42:37] tranq is now online
[21:44:40] огыешсук is now online
[21:47:06] kwis is now online
[21:55:51] kwis is now away
[21:56:06] kwis is now online
[21:59:44] VeeSot is now offline
[22:00:39] vaal is now away
[22:00:39] vaal is now online
[22:07:46] kwis is now away
[22:17:46] kwis is now xa
[22:25:15] den4ik is now online
[22:28:25] remo is now online
[22:33:22] vaal is now away
[22:33:22] vaal is now away
[22:37:31] kwis is now online
[22:39:58] den4ik: нужна помощь
[22:40:06] den4ik: p = subprocess.Popen(['processname', fname1, fname2], stdout=subprocess.PIPE)
[22:40:13] den4ik: читает только часть выхлопа процесса
[22:40:20] den4ik: processname /path/to/fname1 /path/to/fname2 в терминале норм выдает
[22:40:31] den4ik: чо, как, куда, или забить?
[22:43:42] gigimon is now online
[22:44:01] vaal is now away
[22:44:01] vaal is now online
[22:51:14] freemanua is now offline
[23:04:03] kwis is now away
[23:04:40] RanWise is now offline
[23:07:07] kwis is now online
[23:07:26] RanWise is now ** This message was blocked by the ICQ server **
[23:08:26] remo is now offline
[23:15:58] vaal is now offline
[23:19:54] remo is now online
[23:22:12] tranq: я не работал с subprocess, но кроме stdou есть ещё и stderr, возможно часть выхлопа таки идёт в stderr, например когда процесс выбрасывает ошибку.
[23:23:39] gigimon is now online
[23:28:33] gigimon is now away
[23:29:33] gigimon is now away
[23:29:33] gigimon is now offline
[23:39:49] gigimon is now online
[23:40:49] den4ik: вот да
[23:40:56] den4ik: ошибка то есть
[23:41:08] den4ik: но она не проявляет себя в терминале
[23:47:29] kwis is now away
[23:50:44] gigimon is now online
[23:54:06] den4ik: проблема решена, пости
[23:54:13] gigimon is now online
[23:55:14] tranq is now offline
[23:57:29] kwis is now xa
[23:58:37] kwis is now online