Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Onboarding App: Error when running alignments #405

Closed
Enkidu93 opened this issue Jun 11, 2024 · 4 comments · Fixed by #452
Closed

Onboarding App: Error when running alignments #405

Enkidu93 opened this issue Jun 11, 2024 · 4 comments · Fixed by #452
Assignees
Labels
bug Something isn't working clowder Clowder issues onboarding Serval Onboarding Dashboard

Comments

@Enkidu93
Copy link
Collaborator

Inconsistent error when running alignments:


  File "/usr/local/lib/python3.8/runpy.py", line 194, in _run_module_as_main

    return _run_code(code, main_globals, None,

  File "/usr/local/lib/python3.8/runpy.py", line 87, in _run_code

    exec(code, run_globals)

  File "/mount/src/silnlp/silnlp/nmt/experiment.py", line 197, in <module>

    main()

  File "/mount/src/silnlp/silnlp/nmt/experiment.py", line 178, in main

    exp = SILExperiment(

  File "<string>", line 16, in __init__

  File "/mount/src/silnlp/silnlp/nmt/experiment.py", line 34, in __post_init__

    self.clearml = SILClearML(self.name, self.clearml_queue, commit=self.commit)

  File "<string>", line 10, in __init__

  File "/mount/src/silnlp/silnlp/nmt/clearml_connection.py", line 48, in 

__post_init__

    self._load_config()

  File "/mount/src/silnlp/silnlp/nmt/clearml_connection.py", line 124, in 

_load_config

    self.task.connect(mutable=config, name="config")

  File "/home/adminuser/venv/lib/python3.8/site-packages/clearml/task.py", line 

1438, in connect

    return method(mutable, name=name)

  File "/home/adminuser/venv/lib/python3.8/site-packages/clearml/task.py", line 

3740, in _connect_object

    a_dict = {

  File "/home/adminuser/venv/lib/python3.8/site-packages/clearml/task.py", line 

3743, in <dictcomp>

    for k, v in cls_.__dict__.items()

AttributeError: 'NoneType' object has no attribute '__dict__'```
@Enkidu93 Enkidu93 added bug Something isn't working clowder Clowder issues labels Jun 11, 2024
@Enkidu93
Copy link
Collaborator Author

Enkidu93 commented Jul 2, 2024

@pandanautinspace Have you seen this error at all?

@pandanautinspace
Copy link
Collaborator

I believe I have not encountered this error yet

@Enkidu93
Copy link
Collaborator Author

Enkidu93 commented Jul 3, 2024

I can't seem to find my record of the set-up that caused this error. I'll move this to On Hold until we see it again.

@Enkidu93 Enkidu93 added the onboarding Serval Onboarding Dashboard label Jul 8, 2024
@Enkidu93
Copy link
Collaborator Author

@isaac091 The error above seems to be given when the config is completely empty. Could we maybe throw a more descriptive message and catch that earlier on? (Feel free to ping whoever you think should be tackling this).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working clowder Clowder issues onboarding Serval Onboarding Dashboard
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants