sassoftware / sassoftware/python-sasctl

ASTORE model registration error

Aperta
#149 2 commenti 0 reazioni 1 assegnatario Vedi su GitHub

@smlindauer ci sta già lavorando.

Dal 30/1/2023.

bug
Lingua principale
Python
Stelle
52
Fork
45
Merge medio
23h 38m
PR unite (30g)
2

Descrizione

Describe the issue
Model created using swat package gives error during registration

To Reproduce
Create model using gbTreeTrain and register it using register_model

Expected behavior
Model should be registered in Model Manager

Stack Trace

with Session('viya-gke.0x1fff.com', verify_ssl=False, protocol='http'):
    model = register_model(astore, 'CAS_HMEQ_GBTREE', 'OSA Demo', force=True, version='latest')
/opt/conda/lib/python3.10/site-packages/urllib3/connectionpool.py:1045: InsecureRequestWarning: Unverified HTTPS request is being made to host 'viya-gke.0x1fff.com'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings
  warnings.warn(
NOTE: Added action set 'astore'.
NOTE: 1043772 bytes were downloaded from the table "HMEQ_ASTORE" in the caslib "CASUSER(user1)".
/opt/conda/lib/python3.10/site-packages/urllib3/connectionpool.py:1045: InsecureRequestWarning: Unverified HTTPS request is being made to host 'viya-gke.0x1fff.com'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings
  warnings.warn(
Unexpected exception formatting exception. Falling back to standard exception
Traceback (most recent call last):
  File "/opt/conda/lib/python3.10/site-packages/IPython/core/interactiveshell.py", line 3433, in run_code
    exec(code_obj, self.user_global_ns, self.user_ns)
  File "/tmp/ipykernel_453/2571497720.py", line 2, in <module>
    model = register_model(astore, 'CAS_HMEQ_GBTREE', 'OSA Demo', force=True, version='latest')
  File "/opt/conda/lib/python3.10/site-packages/sasctl/tasks.py", line 382, in register_model
    model = mr.post(
  File "/opt/conda/lib/python3.10/site-packages/sasctl/_services/service.py", line 113, in post
    return cls.request("post", *args, **kwargs)
  File "/opt/conda/lib/python3.10/site-packages/sasctl/_services/service.py", line 93, in request
    return core.request(verb, path, session, format_, **kwargs)
  File "/opt/conda/lib/python3.10/site-packages/sasctl/core.py", line 2034, in request
    raise HTTPError(
urllib.error.HTTPError: HTTP Error 503: {"errorCode":0,"message":" ERROR: OpenSSL error 337047686 (0x1416f086) occurred in SSL_connect/accept at line 4978, the error message is \"error:1416F086:SSL ","details":["traceId: a8053a61b28700ee","path: /modelRepository/models"],"links":[],"version":2,"httpStatusCode":503}

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/opt/conda/lib/python3.10/site-packages/IPython/core/interactiveshell.py", line 2049, in showtraceback
    if hasattr(value, "_render_traceback_"):
  File "/opt/conda/lib/python3.10/tempfile.py", line 477, in __getattr__
    file = self.__dict__['file']
KeyError: 'file'

Version
1.8.1

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.