You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When working with the softconf2aclpub.py script, you may encounter issues where the configuration file (config.json) does not align with the actual URL format required by the SOFTCONF platform. For instance, if you are working with the INLG2024 conference, the configuration might initially look like this, based on the README instructions:
error: tconf\softconf2aclpub.py", line 118, in get_conference_details
response = br.open(CONF_URL)
CONF_URL = f"{SOFTCONF_URL}{config['conf']}/{config['track']}/"
Modified to:
CONF_URL = f"{SOFTCONF_URL}{config['conf']}/login/scmd.cgi?scmd=login"
Adjusting the Login Process: The original login handling was unreliable. It attempted to select and fill in the form fields in a way that didn’t always work:
Original code
br.form = list(br.forms())[0]
I replaced this with a more robust method:
URL Format Issue
When working with the softconf2aclpub.py script, you may encounter issues where the configuration file (config.json) does not align with the actual URL format required by the SOFTCONF platform. For instance, if you are working with the INLG2024 conference, the configuration might initially look like this, based on the README instructions:
error: tconf\softconf2aclpub.py", line 118, in get_conference_details
response = br.open(CONF_URL)
In the README FILE according to instructions
"conf" : "inlg2024",
"track" : "GenerationChallenges"
However, this format might not work as expected. The correct configuration should be:
"conf" : "n/inlg2024",
"track" : "track/GenerationChallenges"
Modifications to Address URL and Login Issues
I had to modified CONF_URL (lines 26-29)
CONF_URL = f"{SOFTCONF_URL}{config['conf']}/{config['track']}/"
Modified to:
CONF_URL = f"{SOFTCONF_URL}{config['conf']}/login/scmd.cgi?scmd=login"
Adjusting the Login Process: The original login handling was unreliable. It attempted to select and fill in the form fields in a way that didn’t always work:
Original code
br.form = list(br.forms())[0]
I replaced this with a more robust method:
br.select_form(nr=0)
br.form["username"] = config["username"]
br.form["password"] = config["password"]
response = br.submit()
The text was updated successfully, but these errors were encountered: