Closed plq closed 11 years ago
elif bir bakar misin eksik bir sey varsa halledeyim? test edemedim, simdilik soyle diyor:
DEBUG:spyne.server.wsgi:Method name: '{http://istanbulhs.org/api}kac_cihaz'
DEBUG:spyne.protocol.http: header : {'host': ['localhost:8000'], 'accept': ['text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'], 'dnt': ['1'], 'connection': ['keep-alive'], 'user_agent': ['Mozilla/5.0 (X11; Linux x86_64; rv:20.0) Gecko/20100101 Firefox/20.0'], 'accept_language': ['en-US,en;q=0.5'], 'cache_control': ['max-age=0'], 'accept_encoding': ['gzip, deflate']}
DEBUG:spyne.protocol.http: body : defaultdict(<type 'list'>, {})
ERROR:anyone.application:Invalid URL u'The url where the list of clients is kept': No schema supplied
Traceback (most recent call last):
File "/home/plq/src/github/plq/AnyoneInTheHouse/anyone/application.py", line 67, in call_wrapper
return ctx.service_class.call_wrapper(ctx)
File "/home/plq/src/github/plq/spyne/spyne/service.py", line 212, in call_wrapper
return ctx.function(ctx, *ctx.in_object)
File "/home/plq/src/github/plq/AnyoneInTheHouse/anyone/entity/device.py", line 41, in kac_cihaz
html_content = get_file()
File "/home/plq/src/github/plq/AnyoneInTheHouse/anyone/entity/device.py", line 25, in get_file
response = requests.get(CLIENTS_URL, auth=(USER, PASSWORD), stream=False)
File "/home/plq/.local/lib64/python2.7/site-packages/requests-1.1.0-py2.7.egg/requests/api.py", line 55, in get
return request('get', url, **kwargs)
File "/home/plq/.local/lib64/python2.7/site-packages/requests-1.1.0-py2.7.egg/requests/api.py", line 44, in request
return session.request(method=method, url=url, **kwargs)
File "/home/plq/.local/lib64/python2.7/site-packages/requests-1.1.0-py2.7.egg/requests/sessions.py", line 276, in request
prep = req.prepare()
File "/home/plq/.local/lib64/python2.7/site-packages/requests-1.1.0-py2.7.egg/requests/models.py", line 221, in prepare
p.prepare_url(self.url, self.params)
File "/home/plq/.local/lib64/python2.7/site-packages/requests-1.1.0-py2.7.egg/requests/models.py", line 287, in prepare_url
raise MissingSchema("Invalid URL %r: No schema supplied" % url)
MissingSchema: Invalid URL u'The url where the list of clients is kept': No schema supplied
ERROR:spyne.util.email:Error: unable to send email
ERROR:spyne.util.email:[Errno 111] Connection refused
Traceback (most recent call last):
File "/home/plq/src/github/plq/spyne/spyne/util/email.py", line 52, in email_exception
smtp_object = smtplib.SMTP('localhost')
File "/usr/lib64/python2.7/smtplib.py", line 249, in __init__
(code, msg) = self.connect(host, port)
File "/usr/lib64/python2.7/smtplib.py", line 309, in connect
self.sock = self._get_socket(host, port, self.timeout)
File "/usr/lib64/python2.7/smtplib.py", line 284, in _get_socket
return socket.create_connection((port, host), timeout)
File "/usr/lib64/python2.7/socket.py", line 571, in create_connection
raise err
error: [Errno 111] Connection refused
ERROR:spyne.application:Fault(Server: 'InternalError: An unknown error has occured.')
Traceback (most recent call last):
File "/home/plq/src/github/plq/spyne/spyne/application.py", line 135, in process_request
ctx.out_object = self.call_wrapper(ctx)
File "/home/plq/src/github/plq/AnyoneInTheHouse/anyone/application.py", line 80, in call_wrapper
raise InternalError(e)
InternalError: Fault(Server: 'InternalError: An unknown error has occured.')
donusu plain text degil de json yaptim, degistirebiliriz isterseniz.
Lisansi BSD yaptim, elif, onaylaman lazim.
Bir de CONTRIBUTORS diye bir sey ekledim, gerekli mi bilmiyorum. Orjinal yazar olarak bu konudaki duzenlemeleri yapmak yine sana dusuyor elif :)
Simdilik bu kadar. awaiting review.
su rst'leri commitlemeden preview etmenin bir yolu olsa keske.
oldu artik :)
history rewrite ettim kusura bakmazsiniz artik
Oooo... Genç heyecanlı koder'ların hastasıyız.
Dışardayım şu anda. En kötü gece girip test ederim. JSON uygundur. Daha iyi olmuş.
Tarihi yeniden yazmışsın. Uygundur. Ne olduğunu da tam bilmiyorum zaten.
git rebase yaptim, readme format commitlerini squash'ladim. buyuk terbiyesizlik aslinda ama burada bizbizeyiz :)
merge'un acelesi yoktu. calistigindan emin olmadan merge yapmayalim bir daha. ruhuna aykiri :)
saygilar.
Lisans'ı nerden onaylayacağım?
Pek bir orjinalligim kalmadi aslinda. Kod da istanbulhs'nin altinda zaten. Senin de yetkin var. Ama benim yapmami istersen yaparim. CONTRIBUTORS kisminda kodu o yazdi bu yazdi diyecegim oyle mi?
IANAL ama bence merge ederek onaylamis oldun zaten.
Merge'le ilgili.. Tamam bilemedim. Buralarinin raconunu bilmiyorum. Ogretecen artik.
Ellerine sağlık Burak. :-)
ne demek zevkti :)
hackerspace'e de bekleriz.
1 #3