Skip to content

softconf2aclpub ISSUES login #186

Description

@MirunaClinciu

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()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions