Hi again Panos,

No success. The error has been given below
OS: Win10
Python 3.7

$ python tiddlyserver.py
127.0.0.1 - - [14/Jan/2020 21:50:11] "GET /empty.html HTTP/1.1" 304 -
127.0.0.1 - - [14/Jan/2020 21:50:11] "OPTIONS /empty.html HTTP/1.1" 200 -
----------------------------------------
Exception happened during processing of request from ('127.0.0.1', 49777)
Traceback (most recent call last):
  File 
"C:\Users\Mohammad\AppData\Local\Programs\Python\Python37\lib\socketserver.py", 
line 316, in _handle_request_noblock
    self.process_request(request, client_address)
  File 
"C:\Users\Mohammad\AppData\Local\Programs\Python\Python37\lib\socketserver.py", 
line 347, in process_request
    self.finish_request(request, client_address)
  File 
"C:\Users\Mohammad\AppData\Local\Programs\Python\Python37\lib\socketserver.py", 
line 360, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File 
"C:\Users\Mohammad\AppData\Local\Programs\Python\Python37\lib\http\server.py", 
line 646, in __init__
    super().__init__(*args, **kwargs)
  File 
"C:\Users\Mohammad\AppData\Local\Programs\Python\Python37\lib\socketserver.py", 
line 720, in __init__
    self.handle()
  File 
"C:\Users\Mohammad\AppData\Local\Programs\Python\Python37\lib\http\server.py", 
line 426, in handle
    self.handle_one_request()
  File 
"C:\Users\Mohammad\AppData\Local\Programs\Python\Python37\lib\http\server.py", 
line 414, in handle_one_request
    method()
  File "tiddlyserver.py", line 91, in do_PUT
    makebackup(path)
  File "tiddlyserver.py", line 73, in makebackup
    if int(args.VOCAL) >0:
NameError: name 'args' is not defined


--Mohammad
On Tuesday, January 14, 2020 at 6:58:22 PM UTC+3:30, Panos Firbas wrote:
>
> Hey Mohammad,       
>        
> Thank you for trying it out! Well this was embarassing(ly simple to fix).. 
> it should be fixed, would you be kind enough to give it another shot ?
>          
> Cheers,
> Panos
>
>
>
>
> On Tuesday, January 14, 2020 at 4:13:35 PM UTC+1, Mohammad wrote:
>>
>> Hi Panos,
>>  Having the latest Python Server with (no authentication, no Git, no 
>> https) I get the following error when I push the save button or when TW 
>> saves automatically
>>
>>
>> Exception happened during processing of request from ('127.0.0.1', 56450)
>> Traceback (most recent call last):
>>   File "D:\Python\Python37\lib\socketserver.py", line 316, in 
>> _handle_request_noblock
>>     self.process_request(request, client_address)
>>   File "D:\Python\Python37\lib\socketserver.py", line 347, in 
>> process_request
>>     self.finish_request(request, client_address)
>>   File "D:\Python\Python37\lib\socketserver.py", line 360, in 
>> finish_request
>>     self.RequestHandlerClass(request, client_address, self)
>>   File "D:\Python\Python37\lib\http\server.py", line 646, in __init__
>>     super().__init__(*args, **kwargs)
>>   File "D:\Python\Python37\lib\socketserver.py", line 720, in __init__
>>     self.handle()
>>   File "D:\Python\Python37\lib\http\server.py", line 426, in handle
>>     self.handle_one_request()
>>   File "D:\Python\Python37\lib\http\server.py", line 414, in 
>> handle_one_request
>>     method()
>>   File "tiddlyserver.py", line 91, in do_PUT
>>     makebackup(path)
>>   File "tiddlyserver.py", line 73, in makebackup
>>     if int(self.args.VOCAL) >0:
>> NameError: name 'self' is not defined
>>
>>
>>
>> --Mohammad
>>
>> On Thursday, January 2, 2020 at 11:00:19 PM UTC+3:30, Panos Firbas wrote:
>>>
>>> Hey all,     
>>>       
>>> I made some more updates on the server:       
>>> You can now turn off the extra features (https, user auth, git) from the 
>>> configuration file, and it can print some reporting on the command 
>>> line.     
>>>
>>>         
>>>        
>>> @TonyM, are you adding a reference in tiddlywiki.com? Should I pm 
>>> Jeremy myself?
>>>
>>>
>>> Cheers,
>>> Panos
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/690b5048-8a44-48f8-9066-619917619dc6%40googlegroups.com.

Reply via email to