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

servicex cache list does not work out-of-the-box #137

Open
gordonwatts opened this issue Jun 6, 2024 · 0 comments
Open

servicex cache list does not work out-of-the-box #137

gordonwatts opened this issue Jun 6, 2024 · 0 comments
Labels
bug Something isn't working servicex Related to SX tests
Milestone

Comments

@gordonwatts
Copy link
Member

This is using the servicex.yaml file that is directly downloaded from the servicex dashboard at the UChicago AF.

PS C:\Users\gordo\Code\iris-hep\idap-200gbps-atlas> servicex cache list
╭─────────────────────────────── Traceback (most recent call last) ────────────────────────────────╮
│ c:\Users\gordo\Code\iris-hep\idap-200gbps-atlas\.venv\lib\site-packages\servicex\app\cache.py:53 │
│ in list                                                                                          │
│                                                                                                  │
│   50 │   """                                                                                     │
│   51 │   List the cached queries                                                                 │
│   52 │   """                                                                                     │
│ ❱ 53 │   sx = ServiceXClient()                                                                   │
│   54 │   cache = sx.query_cache                                                                  │
│   55 │   table = Table(title="Cached Queries")                                                   │
│   56 │   table.add_column("Title")                                                               │
│                                                                                                  │
│ c:\Users\gordo\Code\iris-hep\idap-200gbps-atlas\.venv\lib\site-packages\servicex\servicex_client │
│ .py:141 in __init__                                                                              │
│                                                                                                  │
│   138 │   │   │   backend = self.config.default_endpoint                                         │
│   139 │   │                                                                                      │
│   140 │   │   if bool(url) == bool(backend):                                                     │
│ ❱ 141 │   │   │   raise ValueError("Only specify backend or url... not both")                    │
│   142 │   │                                                                                      │
│   143 │   │   if url:                                                                            │
│   144 │   │   │   self.servicex = ServiceXAdapter(url)                                           │
│                                                                                                  │
│ ╭─────────────────────────────────────── locals ───────────────────────────────────────╮         │
│ │     backend = None                                                                   │         │
│ │ config_path = None                                                                   │         │
│ │        self = <servicex.servicex_client.ServiceXClient object at 0x0000029293AE62C0> │         │
│ │         url = None                                                                   │         │
│ ╰──────────────────────────────────────────────────────────────────────────────────────╯         │
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯
ValueError: Only specify backend or url... not both
@gordonwatts gordonwatts added bug Something isn't working servicex Related to SX tests labels Jun 6, 2024
@gordonwatts gordonwatts added this to the Post Test milestone Jun 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working servicex Related to SX tests
Projects
None yet
Development

No branches or pull requests

1 participant