argparse-to-class icon indicating copy to clipboard operation
argparse-to-class copied to clipboard

Website doesn't seem to work

Open alay18 opened this issue 7 years ago • 7 comments

I entered my script into the box, and clicked submit but it returned with a blank page: http://35.192.144.192:8000/action_page.php

Here's the script I entered: ap = argparse.ArgumentParser() ap.add_argument("-i", "--image", required=True, help="path to the input image") args = vars(ap.parse_args())

alay18 avatar Jul 18 '18 11:07 alay18

It will be updated soon, by this week! Thank you for publishing issue ^_^

sngjuk avatar Jul 29 '18 14:07 sngjuk

Bug fixed! but I didn't fully automate 'required' and 'action' syntax.

sngjuk avatar Jul 31 '18 14:07 sngjuk

Unfortunately it's still giving me a blank page after clicking submit.

alay18 avatar Aug 13 '18 13:08 alay18

Today 18/Aug, It gives me result-

class args:
  image = ## required : True ##

('required' & 'action' syntaxes are not fully automated.) I can't figure out the reason of different result for now. (maybe browser version problem?) I changed input box size today, so would you please check if the modification is applied? arg2cls.html If the problem persists, please leave a comment here- I'll try another things! Thank you for your feedback.

sngjuk avatar Aug 18 '18 00:08 sngjuk

Just tried it again and it returned

class args:

alay18 avatar Aug 20 '18 08:08 alay18

I checked log and find a script that dosen't contain argparse funcs.. (e.g. add_argument, set_default..) Did I check right log..? (starting with : format compact close all clc ...) If not, actually I still can't guess the exact reason for different results. I'm Sorry and thank you for your cooperation, if there's some change with result- please let me know ''

sngjuk avatar Aug 21 '18 06:08 sngjuk

Recently many bugs are fixed, including explicit call for python3 in server script. I'm not sure it would work for you but I hope it would.

sngjuk avatar Sep 20 '18 08:09 sngjuk