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

[BUG] Scope Error #241

Open
agutta opened this issue Oct 1, 2024 · 0 comments
Open

[BUG] Scope Error #241

agutta opened this issue Oct 1, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@agutta
Copy link

agutta commented Oct 1, 2024

Calling vertex eval set is erroring out.

Expected Behavior

Should be able to run the eval script without any issue

Current Behavior

Failing at Step 2: Option 1 - From Google Sheets

AttributeError                            Traceback (most recent call last)
[<ipython-input-6-8d9c4ad999c7>](https://localhost:8080/#) in <cell line: 3>()
      1 from dfcx_scrapi.tools.evaluations import DataLoader
      2 
----> 3 data = DataLoader()
      4 
      5 #agent_id = "projects/telco-workbench/locations/global/agents/86d97b1d-004b-4d7f-8dca-fbc19bb93d6e"

1 frames
[/usr/local/lib/python3.10/dist-packages/dfcx_scrapi/tools/dataframe_functions.py](https://localhost:8080/#) in __init__(self, creds_path, creds_dict, creds, scope)
     68             scopes += scope
     69 
---> 70         self.creds.scopes.extend(scopes)
     71 
     72         self.sheets_client = gspread.authorize(self.creds)

AttributeError: 'NoneType' object has no attribute 'scopes'

Possible Solution

@agutta agutta added the bug Something isn't working label Oct 1, 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
Projects
None yet
Development

No branches or pull requests

1 participant