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

[Tables] User agent default fails only on Python2.7 with Cosmos account #15614

Closed
seankane-msft opened this issue Dec 2, 2020 · 1 comment
Closed
Assignees
Labels
Client This issue points to a problem in the data-plane of the library. Tables

Comments

@seankane-msft
Copy link
Member

Issue tracking to tackle in next non-MQ epic. Issue is likely due to deserialization of the HTTP response, possibly a wrong User-Agent for cosmos vs. tables.

self = <azure.data.tables._models.TablePropertiesPaged object at 0x0000000005AF0788>
get_next_return = ('primary', None, {'Date': datetime.datetime(2020, 12, 2, 19, 17, 17, tzinfo=<FixedOffset 0.0>), 'x-ms-client-request-id': None, 'x-ms-continuation-NextTableName': None, 'x-ms-request-id': 'fe29c961-34d2-11eb-91f6-00155d000471', ...})

    def _extract_data_cb(self, get_next_return):
        self.location_mode, self._response, self._headers = get_next_return
>       props_list = [TableItem._from_generated(t, **self._headers) for t in self._response.value] # pylint:disable=protected-access
E       AttributeError: 'NoneType' object has no attribute 'value'
@seankane-msft seankane-msft added Client This issue points to a problem in the data-plane of the library. Tables labels Dec 2, 2020
@seankane-msft seankane-msft self-assigned this Dec 2, 2020
@ghost
Copy link

ghost commented Dec 2, 2020

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @southpolesteve, @zfoster

@seankane-msft seankane-msft added this to the [2021] January milestone Dec 2, 2020
ghost pushed a commit that referenced this issue Dec 3, 2020
Skipping a single test for the time being, tracking issue to address it made
#15614
ghost pushed a commit that referenced this issue Jan 8, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Apr 12, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Client This issue points to a problem in the data-plane of the library. Tables
Projects
None yet
Development

No branches or pull requests

1 participant