Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Linux raspberrypi 4.1.4-v7+ #808 SMP PREEMPT Thu Aug 6 16:59:39 BST 2015 armv7l
- The programs included with the Debian GNU/Linux system are free software;
- the exact distribution terms for each program are described in the
- individual files in /usr/share/doc/*/copyright.
- Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
- permitted by applicable law.
- Last login: Tue Sep 15 18:14:13 2015 from 37.165.68.133
- pi@raspberrypi ~ $ cd /opt/HttpUploadComponent/
- pi@raspberrypi /opt/HttpUploadComponent $ sudo pip install -r requirements.txt
- Requirement already satisfied (use --upgrade to upgrade): coverage==3.7.1 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 1))
- Requirement already satisfied (use --upgrade to upgrade): mock==1.3.0 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 2))
- Requirement already satisfied (use --upgrade to upgrade): pbr==1.7.0 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 3))
- Requirement already satisfied (use --upgrade to upgrade): pluggy==0.3.0 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 4))
- Requirement already satisfied (use --upgrade to upgrade): py==1.4.30 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 5))
- Requirement already satisfied (use --upgrade to upgrade): pytest==2.7.2 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 6))
- Requirement already satisfied (use --upgrade to upgrade): PyYAML==3.11 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 7))
- Requirement already satisfied (use --upgrade to upgrade): six==1.9.0 in /usr/local/lib/python2.7/dist-packages/six-1.9.0-py2.7.egg (from -r requirements.txt (line 8))
- Requirement already satisfied (use --upgrade to upgrade): sleekxmpp==1.3.1 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 9))
- Requirement already satisfied (use --upgrade to upgrade): tox==2.1.1 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 10))
- Requirement already satisfied (use --upgrade to upgrade): virtualenv==13.1.2 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 11))
- Requirement already satisfied (use --upgrade to upgrade): wheel==0.24.0 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 12))
- Cleaning up...
- pi@raspberrypi /opt/HttpUploadComponent $ ls
- 7216659e792f194283ce588f57c3c36905a87609 httpupload plugins setup.py
- cf3cc2747fd816ab588e8508a2c3dfeb30845b2a httpuploadcomponent.pid README.md tests
- config.example.yml LICENSE requirements.txt tox.ini
- config.yml Makefile server.py
- contrib MANIFEST.in setup.cfg
- pi@raspberrypi /opt/HttpUploadComponent $ rm server.py
- rm: remove write-protected regular file `server.py'? yes
- rm: cannot remove `server.py': Permission denied
- pi@raspberrypi /opt/HttpUploadComponent $ sudo rm server.py
- pi@raspberrypi /opt/HttpUploadComponent $ cd httpupload/
- pi@raspberrypi /opt/HttpUploadComponent/httpupload $ ls
- config.yml __init__.py plugins server.py
- pi@raspberrypi /opt/HttpUploadComponent/httpupload $ python3 server.py
- 2015-09-15 18:28:22,211 DEBUG Expire run finished in 0.001112s
- 2015-09-15 18:28:22,250 DEBUG setting jid to conferenceemevth.no-ip.biz
- 2015-09-15 18:28:22,264 DEBUG Loaded Plugin (XEP-0030) Service Discovery
- 2015-09-15 18:28:22,271 DEBUG Loaded Plugin (XEP-0999) upload files via http
- 2015-09-15 18:28:22,272 DEBUG Connecting to localhost:8081
- 2015-09-15 18:28:22,273 DEBUG Connecting to localhost:8081
- 2015-09-15 18:28:22,275 DEBUG ==== TRANSITION disconnected -> connected
- 2015-09-15 18:28:22,278 DEBUG Starting HANDLER THREAD
- 2015-09-15 18:28:22,280 DEBUG Loading event runner
- connected
- 2015-09-15 18:28:22,284 DEBUG SEND (IMMED): <stream:stream xmlns="jabber:component:accept" xmlns:stream="http://etherx.jabber.org/streams" to='conferenceemevth.no-ip.biz'>
- 2015-09-15 18:28:22,289 DEBUG SEND (IMMED): <handshake xmlns="jabber:component:accept">b937e6c7aa9800090e1a86fc16779ed06eeff15c</handshake>
- 2015-09-15 18:28:22,293 DEBUG RECV: <handshake />
- 2015-09-15 18:29:52,613 DEBUG RECV: <iq to="conferenceemevth.no-ip.biz" type="get" from="thorsten@emevth.no-ip.biz/mobile" xml:lang="en" id="mu0flmtevg"><query xmlns="http://jabber.org/protocol/disco#info" /></iq>
- 2015-09-15 18:29:52,620 DEBUG Received disco info query from <thorsten@emevth.no-ip.biz/mobile> to <conferenceemevth.no-ip.biz>.
- 2015-09-15 18:29:52,625 DEBUG SEND: <iq id="mu0flmtevg" to="thorsten@emevth.no-ip.biz/mobile" type="result" xml:lang="en" from="conferenceemevth.no-ip.biz"><query xmlns="http://jabber.org/protocol/disco#info"><feature var="urn:xmpp:http:upload" /><identity category="store" type="file" name="HTTP File Upload" /></query></iq>
- ^X^Cpi@raspberrypi /opt/HttpUploadComponent/httpupload $ sudo service ejabberd force-reload
- Stopping ejabberd...
- done.
- Starting ejabberd...
- done.
- pi@raspberrypi /opt/HttpUploadComponent/httpupload $ sudo crontab -e
- No modification made
- pi@raspberrypi /opt/HttpUploadComponent/httpupload $ cd /etc/init.d/
- pi@raspberrypi /etc/init.d $ ls
- alsa-utils fake-hwclock mountall-bootclean.sh raspi-config skeleton
- apache2 halt mountall.sh rc ssh
- avahi-daemon hdparm mountdevsubfs.sh rc.local sudo
- bootlogs hostname.sh mountkernfs.sh rcS triggerhappy
- bootmisc.sh httpuploadcomponent mountnfs-bootclean.sh README udev
- cgroup-bin hwclock.sh mountnfs.sh reboot udev-mtab
- checkfs.sh ifplugd mtab.sh rmnologin umountfs
- checkroot-bootclean.sh kbd mysql rpcbind umountnfs.sh
- checkroot.sh keyboard-setup networking rsync umountroot
- console-setup killprocs nfs-common rsyslog urandom
- cron kmod ntp screen-cleanup x11-common
- dbus kodi php5-fpm sendsigs
- dhcpcd LCDd plymouth shit
- dphys-swapfile lightdm plymouth-log shitservice
- ejabberd motd procps single
- pi@raspberrypi /etc/init.d $ nano httpuploadcomponent
- pi@raspberrypi /etc/init.d $ cd /opt/HttpUploadComponent/
- pi@raspberrypi /opt/HttpUploadComponent $ ls
- 7216659e792f194283ce588f57c3c36905a87609 httpupload plugins tests
- cf3cc2747fd816ab588e8508a2c3dfeb30845b2a httpuploadcomponent.pid README.md tox.ini
- config.example.yml LICENSE requirements.txt
- config.yml Makefile setup.cfg
- contrib MANIFEST.in setup.py
- pi@raspberrypi /opt/HttpUploadComponent $ cd httpupload/
- pi@raspberrypi /opt/HttpUploadComponent/httpupload $ ls
- config.yml __init__.py plugins server.py
- pi@raspberrypi /opt/HttpUploadComponent/httpupload $ nano config.yml
- pi@raspberrypi /opt/HttpUploadComponent/httpupload $ cd ..
- pi@raspberrypi /opt/HttpUploadComponent $ nano config.yml
- pi@raspberrypi /opt/HttpUploadComponent $ sudo mc
- pi@raspberrypi /opt/HttpUploadComponent $ ls
- 7216659e792f194283ce588f57c3c36905a87609 httpupload MANIFEST.in setup.cfg
- cf3cc2747fd816ab588e8508a2c3dfeb30845b2a httpuploadcomponent.pid plugins setup.py
- config.example.yml __init__.py README.md tests
- config.yml LICENSE requirements.txt tox.ini
- contrib Makefile server.py
- pi@raspberrypi /opt/HttpUploadComponent $ sudo nano server.py
- pi@raspberrypi /opt/HttpUploadComponent $ python server.py
- Traceback (most recent call last):
- File "server.py", line 15, in <module>
- import urllib.parse
- ImportError: No module named parse
- pi@raspberrypi /opt/HttpUploadComponent $ python3 server.py
- 2015-09-15 18:44:03,080 DEBUG Expire run finished in 0.056770s
- 2015-09-15 18:44:03,119 DEBUG setting jid to conferenceemevth.no-ip.biz
- 2015-09-15 18:44:03,133 DEBUG Loaded Plugin (XEP-0030) Service Discovery
- 2015-09-15 18:44:03,140 DEBUG Loaded Plugin (XEP-0999) upload files via http
- 2015-09-15 18:44:03,141 DEBUG Connecting to localhost:8081
- 2015-09-15 18:44:03,143 DEBUG Connecting to localhost:8081
- 2015-09-15 18:44:03,145 DEBUG ==== TRANSITION disconnected -> connected
- 2015-09-15 18:44:03,148 DEBUG Starting HANDLER THREAD
- 2015-09-15 18:44:03,150 DEBUG Loading event runner
- 2015-09-15 18:44:03,154 DEBUG SEND (IMMED): <stream:stream xmlns="jabber:component:accept" xmlns:stream="http://etherx.jabber.org/streams" to='conferenceemevth.no-ip.biz'>
- connected
- 2015-09-15 18:44:03,162 DEBUG SEND (IMMED): <handshake xmlns="jabber:component:accept">1b2db3f3652e427d3e36c46a018473a491159705</handshake>
- 2015-09-15 18:44:03,165 DEBUG RECV: <handshake />
- 2015-09-15 18:45:40,666 DEBUG RECV: <iq to="conferenceemevth.no-ip.biz" type="get" from="thorsten@emevth.no-ip.biz/mobile" xml:lang="en" id="rls29da8jk"><query xmlns="http://jabber.org/protocol/disco#info" /></iq>
- 2015-09-15 18:45:40,671 DEBUG Received disco info query from <thorsten@emevth.no-ip.biz/mobile> to <conferenceemevth.no-ip.biz>.
- 2015-09-15 18:45:40,674 DEBUG SEND: <iq id="rls29da8jk" to="thorsten@emevth.no-ip.biz/mobile" type="result" xml:lang="en" from="conferenceemevth.no-ip.biz"><query xmlns="http://jabber.org/protocol/disco#info"><feature var="urn:xmpp:http:upload" /><identity category="store" type="file" name="HTTP File Upload" /></query></iq>
- 2015-09-15 18:49:03,612 DEBUG RECV: <presence to="technical@conferenceemevth.no-ip.biz/emilie" from="emilie@emevth.no-ip.biz/mobile" type="unavailable" />
- 2015-09-15 18:49:03,616 DEBUG emilie@emevth.no-ip.biz mobile got offline
- 2015-09-15 18:49:08,655 ERROR Error reading from XML stream.
- 2015-09-15 18:49:08,657 DEBUG Ending read XML loop
- 2015-09-15 18:49:08,658 DEBUG reconnecting...
- 2015-09-15 18:49:08,659 DEBUG SEND (IMMED): </stream:stream>
- 2015-09-15 18:49:12,661 DEBUG ==== TRANSITION connected -> disconnected
- 2015-09-15 18:49:12,662 DEBUG connecting...
- 2015-09-15 18:49:12,663 DEBUG Waiting 2.143507893759172 seconds before connecting.
- 2015-09-15 18:49:14,809 DEBUG Connecting to localhost:8081
- 2015-09-15 18:49:14,813 ERROR Could not connect to localhost:8081. Socket Error #111: Connection refused
- 2015-09-15 18:49:14,815 DEBUG SEND (IMMED): <stream:stream xmlns="jabber:component:accept" xmlns:stream="http://etherx.jabber.org/streams" to='conferenceemevth.no-ip.biz'>
- 2015-09-15 18:49:14,817 WARNING Failed to send <stream:stream xmlns="jabber:component:accept" xmlns:stream="http://etherx.jabber.org/streams" to='conferenceemevth.no-ip.biz'>
- 2015-09-15 18:49:14,819 DEBUG State was not ready
- 2015-09-15 18:49:14,821 ERROR Connection error.
- Traceback (most recent call last):
- File "/usr/lib/python3/dist-packages/sleekxmpp/xmlstream/xmlstream.py", line 808, in _process
- while not self.stop.isSet() and self.__read_xml():
- File "/usr/lib/python3/dist-packages/sleekxmpp/xmlstream/xmlstream.py", line 842, in __read_xml
- (b'end', b'start')):
- File "<string>", line 100, in __next__
- File "/usr/lib/python3.2/socket.py", line 281, in readinto
- self._checkClosed()
- ValueError: I/O operation on closed file.
- 2015-09-15 18:49:14,842 DEBUG reconnecting...
- 2015-09-15 18:49:16,844 DEBUG State was not ready
- 2015-09-15 18:49:16,845 DEBUG connecting...
- 2015-09-15 18:49:16,846 DEBUG Waiting 3.381540090401584 seconds before connecting.
- 2015-09-15 18:49:20,230 DEBUG Connecting to localhost:8081
- 2015-09-15 18:49:20,233 ERROR Could not connect to localhost:8081. Socket Error #111: Connection refused
- 2015-09-15 18:49:20,235 DEBUG SEND (IMMED): <stream:stream xmlns="jabber:component:accept" xmlns:stream="http://etherx.jabber.org/streams" to='conferenceemevth.no-ip.biz'>
- 2015-09-15 18:49:20,236 WARNING Failed to send <stream:stream xmlns="jabber:component:accept" xmlns:stream="http://etherx.jabber.org/streams" to='conferenceemevth.no-ip.biz'>
- 2015-09-15 18:49:20,238 DEBUG State was not ready
- 2015-09-15 18:49:20,239 ERROR Connection error.
- Traceback (most recent call last):
- File "/usr/lib/python3/dist-packages/sleekxmpp/xmlstream/xmlstream.py", line 808, in _process
- while not self.stop.isSet() and self.__read_xml():
- File "/usr/lib/python3/dist-packages/sleekxmpp/xmlstream/xmlstream.py", line 842, in __read_xml
- (b'end', b'start')):
- File "<string>", line 100, in __next__
- File "/usr/lib/python3.2/socket.py", line 281, in readinto
- self._checkClosed()
- ValueError: I/O operation on closed file.
- 2015-09-15 18:49:20,242 DEBUG reconnecting...
- 2015-09-15 18:49:22,247 DEBUG State was not ready
- 2015-09-15 18:49:22,247 DEBUG connecting...
- 2015-09-15 18:49:22,249 DEBUG Waiting 7.359369688173125 seconds before connecting.
- 2015-09-15 18:49:29,609 DEBUG Connecting to localhost:8081
- 2015-09-15 18:49:29,613 DEBUG ==== TRANSITION disconnected -> connected
- 2015-09-15 18:49:29,615 DEBUG SEND (IMMED): <stream:stream xmlns="jabber:component:accept" xmlns:stream="http://etherx.jabber.org/streams" to='conferenceemevth.no-ip.biz'>
- 2015-09-15 18:49:29,668 DEBUG SEND (IMMED): <handshake xmlns="jabber:component:accept">de65504e731c4bc060aa4659745cd90e4d66a510</handshake>
- 2015-09-15 18:49:29,672 DEBUG RECV: <handshake />
- 2015-09-15 18:49:41,346 DEBUG RECV: <presence to="technical@conferenceemevth.no-ip.biz/emilie" from="emilie@emevth.no-ip.biz/mobile" xml:lang="en"><x xmlns="http://jabber.org/protocol/muc"><history since="2015-09-08T05:01:47Z" /></x></presence>
- 2015-09-15 18:49:41,351 DEBUG STATUS: emilie@emevth.no-ip.biz/mobile[available]:
- 2015-09-15 18:49:41,352 DEBUG RECV: <iq to="technical@conferenceemevth.no-ip.biz" type="get" from="emilie@emevth.no-ip.biz/mobile" xml:lang="en" id="7h6aov742k"><query xmlns="http://jabber.org/protocol/disco#info" /></iq>
- 2015-09-15 18:49:41,361 DEBUG Received disco info query from <emilie@emevth.no-ip.biz/mobile> to <technical@conferenceemevth.no-ip.biz>.
- 2015-09-15 18:49:41,367 DEBUG No identity found for this entity.Using default component identity.
- 2015-09-15 18:49:41,368 DEBUG No features found for this entity.Using default disco#info feature.
- 2015-09-15 18:49:41,374 DEBUG SEND: <iq id="7h6aov742k" to="emilie@emevth.no-ip.biz/mobile" type="result" xml:lang="en" from="technical@conferenceemevth.no-ip.biz"><query xmlns="http://jabber.org/protocol/disco#info"><identity category="component" type="generic" /><feature var="http://jabber.org/protocol/disco#info" /></query></iq>
- 2015-09-15 18:49:42,188 DEBUG RECV: <iq to="conferenceemevth.no-ip.biz" type="get" from="emilie@emevth.no-ip.biz/mobile" xml:lang="en" id="3brjujjt1b"><query xmlns="http://jabber.org/protocol/disco#info" /></iq>
- 2015-09-15 18:49:42,194 DEBUG Received disco info query from <emilie@emevth.no-ip.biz/mobile> to <conferenceemevth.no-ip.biz>.
- 2015-09-15 18:49:42,198 DEBUG SEND: <iq id="3brjujjt1b" to="emilie@emevth.no-ip.biz/mobile" type="result" xml:lang="en" from="conferenceemevth.no-ip.biz"><query xmlns="http://jabber.org/protocol/disco#info"><feature var="urn:xmpp:http:upload" /><identity category="store" type="file" name="HTTP File Upload" /></query></iq>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement