John Holland Posted September 3, 2021 Share Posted September 3, 2021 I am investigating the Spy module on my local machine. Following the example to pull data for a signal works when I give a timezone. When I try to run throught the example in the spy.assets notebook, I run into an error at the spy.push(metadata=build_df, errors='catalog') stage. It throws an error: AttributeError: 'NoneType' object has no attribute 'total_seconds' This was the error that caused me to add timezones to the signal request, but I don't see how to do this for this request. Any ideas? Thanks. Link to comment Share on other sites More sharing options...
Seeq Team Patrick Posted September 3, 2021 Seeq Team Share Posted September 3, 2021 Hi John - this stems from a change in tzlocal 3.x. https://github.com/regebro/tzlocal/issues/109 It is not affecting Seeq servers as they are still on 2.x. A workaround is to enforce tzlocal==2.0 on your local environment until this is fixed. We are actively working on getting this addressed on the Seeq side. Link to comment Share on other sites More sharing options...
John Holland Posted September 3, 2021 Author Share Posted September 3, 2021 Thanks very much Patrick. I downgraded tzlocal to v2.1 and the issue is resolved. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now