vassio, спасибо. Всё работает как по инструкции.
vassio, спасибо. Всё работает как по инструкции.
ASUS RT-N56U [3.4.3.9-xxx]
[KONDRAT@KONDRAT-WL gdata-2.0.13]$ python setup.py install
-sh: python: not found
А он есть:
drwxr-x--- 6 102272 5000 4096 Nov 17 01:10 .
drwxr-xr-x 3 KONDRAT root 4096 Feb 9 21:48 ..
-rw-r----- 1 102272 5000 10947 Jul 8 2010 INSTALL.txt
-rw-r----- 1 102272 5000 17715 Oct 30 00:42 MANIFEST
-rw-r----- 1 102272 5000 1539 Nov 17 01:10 PKG-INFO
-rw-r----- 1 102272 5000 1066 Jul 8 2010 README.txt
-rw-r----- 1 102272 5000 34090 Nov 17 01:04 RELEASE_NOTES.txt
drwxr-x--- 2 102272 5000 4096 Nov 17 01:10 pydocs
drwxr-x--- 18 102272 5000 4096 Nov 17 01:10 samples
-rwxr-x--x 1 102272 5000 3380 Nov 8 22:21 setup.py
drwxr-x--- 4 102272 5000 4096 Nov 17 01:10 src
drwxr-x--- 5 102272 5000 4096 Nov 17 01:10 tests
-rw-r----- 1 102272 5000 62210 Oct 30 00:43 upload-diffs.py
[KONDRAT@KONDRAT-WL gdata-2.0.13]$ ipkg list | grep python
ipython-common - 0.10.1-1 - An enhanced interactive Python shell
mod-python - 3.3.1-2 - Mod_python is an Apache server module that integrates with the Python language.
py-weatherget-doc - 0.4.0.1-2 - A command line based weather reporting tool written in python.
py-wsgiref - 0.1.2-1 - Reference implementation of the python Web Server Gateway Interface specification.
py24-cherrypy - 2.3.0-1 - A pythonic, object-oriented web development framework.
py24-flup - 1.0.2-1 - A collection of python WSGI modules including those speaking AJP 1.3, FastCGI and SCGI.
py24-formencode - 1.2.2-1 - A form generation and validation package for python.
py24-mx-base - 3.1.3-1 - A collection of userful open source python packages from eGenix.com.
py24-sabnzbd - 0.2.5-2 - A web-interface based binary newsgrabber written in python, with nzb file support.
py25-cherrypy - 2.3.0-1 - A pythonic, object-oriented web development framework.
py25-dbus-python - 0.83.0-2 - Python bindings to DBUS
py25-epsilon - 0.5.12-1 - A small python utility package.
py25-flup - 1.0.2-1 - A collection of python WSGI modules including those speaking AJP 1.3, FastCGI and SCGI.
py25-formencode - 1.2.2-1 - A form generation and validation package for python.
py25-ipython - 0.10.1-1 - An enhanced interactive Python shell
py25-mx-base - 3.1.3-1 - A collection of userful open source python packages from eGenix.com.
py25-nose - 0.11.4-1 - A discovery-based python unittest extension.
py25-paramiko - 1.7.6-1 - ssh2 protocol for python.
py25-sabnzbd - 0.2.5-2 - A web-interface based binary newsgrabber written in python, with nzb file support.
py25-sqlobject - 0.15.0-1 - An object-relational mapper for python.
py25-weatherget - 0.4.0.1-2 - A command line based weather reporting tool written in python.
py25-webpy - 0.34-1 - A web framework for python that is as simple as it is powerful.
py26-dbus-python - 0.83.0-2 - Python bindings to DBUS
py26-epsilon - 0.5.12-1 - A small python utility package.
py26-flup - 1.0.2-1 - A collection of python WSGI modules including those speaking AJP 1.3, FastCGI and SCGI.
py26-formencode - 1.2.2-1 - A form generation and validation package for python.
py26-ipython - 0.10.1-1 - An enhanced interactive Python shell
py26-mx-base - 3.1.3-1 - A collection of userful open source python packages from eGenix.com.
py26-nose - 0.11.4-1 - A discovery-based python unittest extension.
py26-paramiko - 1.7.6-1 - ssh2 protocol for python.
py26-sqlobject - 0.15.0-1 - An object-relational mapper for python.
py26-weatherget - 0.4.0.1-2 - A command line based weather reporting tool written in python.
py26-webpy - 0.34-1 - A web framework for python that is as simple as it is powerful.
python - 2.5-1 - This is a package that sets up the default python.
python24 - 2.4.6-2 - Python is an interpreted, interactive, object-oriented programming language.
python25 - 2.5.5-2 - Python is an interpreted, interactive, object-oriented programming language.
python26 - 2.6.6-1 - Python is an interpreted, interactive, object-oriented programming language.
python27 - 2.7.1-1 - Python is an interpreted, interactive, object-oriented programming language.
python3 - 3.1.3-1 - Python is an interpreted, interactive, object-oriented programming language.
sabnzbdplus - 0.5.6-1 - A web-interface based binary newsgrabber written in python, with nzb file support.
svn-py - 1.6.15-1 - python SWIG binding for subversion
А он есть
Верно
[KONDRAT@KONDRAT-WL root]$ $ ipkg list_installed | grep python
-sh: $: not found
ipkg install python - норма
python setup.py install - норма
/opt/etc/calendarSMS/sendsms hello world
calendarSMS: Incorrect username or password
('error sendsms ', RequestError({'status': 401, 'body': '<HTML>\n<HEAD>\n<TITLE>Authorization required</TITLE>\n</HEAD>\n<BODY BGCOLOR="#FFFFFF" TEXT="#000000">\n<H1>Authorization required</H1>\n<H2>Error 401</H2>\n</BODY>\n</HTML>\n', 'reason': 'Authorization required'},))
[KONDRAT@KONDRAT-WL gdata-2.0.13]$
calendarSMS.config есть
[sendsms]
user: <ХХХХХХХХХХХХ@gmail.com>
pw: ХХХХХХХХХХХ
starttime: 120
endtime: 180
remindertime: 1
Привет. Хотелось бы как ты подогнать под себя такой скрипт. Про нашего великого и могучего оператора Kcell и Activ (Казахстан) гугл не знает.
У нас имеется услуга SMS e-mail. Можно отправить письмо с любого адреса на номер вида номер_телефона@sms.kcell.kz и он придет в виде SMS.
Хотелось бы загрузке роутера и при завершении закачки rtorrent уведомил об этом на почту номер_телефона@sms.kcell.kz. Подскажите пожалуйста как можно все это грамотно организовать.
До этого смски приходили. Роутер настроен по учебнику для чайников.
Last edited by bekkuz; 11-03-2011 at 17:29.
Вставил в rtorrent отправку смс по завершению задания. Однако в логах пишет вот такое:
И смс не приходят, задача не создается.Code:--- ^@/opt/etc/calendarSMS/sendsms Торрент Сойер Роберт Дж. Вспомни, что будет 2010 closed ^@calendarSMS: (8, 'EOF occurred in violation of protocol') ('error sendsms ', RequestError({'status': 401, 'body': '<HTML>\n<HEAD>\n<TITLE>Authorization required</TITLE>\n</HEAD>\n<BODY BGCOLOR="#FFFFFF" TEXT="#000000">\n<H1>Authorization required</H1>\n<H2>Error 4$
Если набрать в консолито смс приходит.Code:/opt/etc/calendarSMS/sendsms Торрент Сойер Роберт Дж. Вспомни, что будет 2010 closed
Кстати если зайти под p2p, то отправка не работает. Выдает выше написанное.
Last edited by LazyRaven; 02-04-2011 at 19:42.
Asus RT-N56U (3.0.3.5-058)
Почему-то перестали приходить СМСки от Гугля. В календаре появляется, все как положено, а СМС не приходит. пробовал 180-240 - 2 в настройках прописывать, стояло 120-180 - 1. Даже телефон переприкрепил...
У всех работает, или только я в гугле забанен?
Подозрение, что они там чего-то с часовыми поясами перенамудрили.
Еще подозрение - календать, контакты, звонки и смс у меня синхронизируются в календарь и из календаря на телефон
Last edited by Taiser; 07-04-2011 at 11:19.
Asus WL-500gPv1 128RAM, 300Mhz, 2 inside USB, inside usb-flash 2Gb.
Linux version 2.6.22.19 - 4 Dec 23 20:43:04 MSK 2012 1.9.2.7-rtn-r4772
Присоединяюсь Перестало отправятся
В календаре все прописывается смс не приходит
Code:[root@RT-N16 root]$ /opt/etc/calendarSMS/sendsms hello world calendarSMS: New single event inserted: http://www.google.com/calendar/feeds/default/private/full/a3stobok4ptkaj936a66aphg5o Event edit URL: http://www.google.com/calendar/feeds/default/private/full/a3stobok4ptkaj936a66aphg5o/63443430198 Event HTML URL: http://www.google.com/calendar/event?eid=YTNzdG9ib2s0cHRrYWo5MzZhNjZhcGhnNW8gNTY1NDgxMEBt Adding 1 minute reminder to event Error reminder0:{'status': 302, 'body': '<HTML>\n<HEAD>\n<TITLE>Moved Temporarily</TITLE>\n</HEAD>\n<BODY BGCOLOR="#FFFFFF" TEXT="#000000">\n<H1>Moved Temporarily</H1>\nThe document has moved <A HREF="http://www.google.com/calendar/feeds/default/private/full/a3stobok4ptkaj936a66aphg5o/63443430198?gsessionid=AkA51ksejn7377qWc6TNaA">here</A>.\n</BODY>\n</HTML>\n', 'reason': 'Redirect received, but redirects_remaining <= 0'} ('error sendsms ', RequestError({'status': 302, 'body': '<HTML>\n<HEAD>\n<TITLE>Moved Temporarily</TITLE>\n</HEAD>\n<BODY BGCOLOR="#FFFFFF" TEXT="#000000">\n<H1>Moved Temporarily</H1>\nThe document has moved <A HREF="http://www.google.com/calendar/feeds/default/private/full/a3stobok4ptkaj936a66aphg5o/63443430198?gsessionid=SWcrxxBuTg5qCJJ56hpdPg">here</A>.\n</BODY>\n</HTML>\n', 'reason': 'Redirect received, but redirects_remaining <= 0'},)) [root@RT-N16 root]$
Last edited by akm2008; 11-06-2011 at 00:06.
такая же байда. Правда и мероприятие не создается. Хотя в логе никакой ошибки нет
Хотя, не, виноват, не тот аккаунт посмотрел. Просто не приходят смс на телефон.
Причем если вручную добавить событие через браузер, то приходит.
Last edited by chyuliy; 14-06-2011 at 07:47.
ASUS RT-N56U [3.4.3.9-xxx]
Нормально работает (на МТС Украина).
Asus RT-N16: Transmission, Dlengine, прошивка от энтузиастов, Google SMS, Asus O!Play HDP-R1: прошивка от HD2, moServices, IXtreamer