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

Error: viewport has zero dimensions #8926

Closed
jridgewell opened this issue Apr 24, 2017 · 20 comments
Closed

Error: viewport has zero dimensions #8926

jridgewell opened this issue Apr 24, 2017 · 20 comments
Assignees
Labels
Externally Tracked Tracked by Google or other parties P1: High Priority Stale Inactive for one year or more Type: Bug Type: Error Report An error reported by AMP Error Reporting WG: viewers
Milestone

Comments

@jridgewell
Copy link
Contributor

Error: viewport has zero dimensions
    at ta (https://cdn.ampproject.org/rtv/011492571781980/v0.js:9:358)
    at ra.f.Hd (https://cdn.ampproject.org/rtv/011492571781980/v0.js:5:199)
    at ra.f.error (https://cdn.ampproject.org/rtv/011492571781980/v0.js:5:309)
    at vi.f.getSize (https://cdn.ampproject.org/rtv/011492571781980/v0.js:318:333)
    at Vf (https://cdn.ampproject.org/rtv/011492571781980/v0.js:185:302)
    at Tf (https://cdn.ampproject.org/rtv/011492571781980/v0.js:185:119)
    at Sf.f.coreServicesAvailable (https://cdn.ampproject.org/rtv/011492571781980/v0.js:184:212)
    at Xe.oc (https://cdn.ampproject.org/rtv/011492571781980/v0.js:397:170)
    at $e (https://cdn.ampproject.org/rtv/011492571781980/v0.js:113:410)
    at We.Id (https://cdn.ampproject.org/rtv/011492571781980/v0.js:116:86)

Unminified:

Error: viewport has zero dimensions
    at Error (https://raw.githubusercontent.com/ampproject/amphtml/1492571781980/src/log.js:441:17)
    at ra.f.apply (https://raw.githubusercontent.com/ampproject/amphtml/1492571781980/src/log.js:197:21)
    at ra.f.apply (https://raw.githubusercontent.com/ampproject/amphtml/1492571781980/src/log.js:211:19)
    at vi.f.error (https://raw.githubusercontent.com/ampproject/amphtml/1492571781980/src/service/viewport-impl.js:293:11)
    at getSize (https://raw.githubusercontent.com/ampproject/amphtml/1492571781980/src/service/performance-impl.js:199:18)
    at whenViewportLayoutComplete_ (https://raw.githubusercontent.com/ampproject/amphtml/1492571781980/src/service/performance-impl.js:171:5)
    at Sf.f.measureUserPerceivedVisualCompletenessTime_ (https://raw.githubusercontent.com/ampproject/amphtml/1492571781980/src/service/performance-impl.js:120:5)
    at Xe.coreServicesAvailable (https://raw.githubusercontent.com/ampproject/amphtml/1492571781980/src/amp.js:85:7)
    at fn_ (https://raw.githubusercontent.com/ampproject/amphtml/1492571781980/src/chunk.js:179:7)
    at We.runTask_ (https://raw.githubusercontent.com/ampproject/amphtml/1492571781980/src/chunk.js:393:5)
@dvoytenko
Copy link
Contributor

This is filed internally to Google News.

@dvoytenko
Copy link
Contributor

Still happening. Re-filing against impacted viewers.

@dvoytenko
Copy link
Contributor

b/63776062

@ampprojectbot
Copy link
Member

This is a high priority issue but it hasn't been updated in awhile. @dvoytenko Do you have any updates?

1 similar comment
@ampprojectbot
Copy link
Member

This is a high priority issue but it hasn't been updated in awhile. @dvoytenko Do you have any updates?

@dvoytenko
Copy link
Contributor

Still very common error.

@ampprojectbot
Copy link
Member

This is a high priority issue but it hasn't been updated in awhile. @dvoytenko Do you have any updates?

5 similar comments
@ampprojectbot
Copy link
Member

This is a high priority issue but it hasn't been updated in awhile. @dvoytenko Do you have any updates?

@ampprojectbot
Copy link
Member

This is a high priority issue but it hasn't been updated in awhile. @dvoytenko Do you have any updates?

@ampprojectbot
Copy link
Member

This is a high priority issue but it hasn't been updated in awhile. @dvoytenko Do you have any updates?

@ampprojectbot
Copy link
Member

This is a high priority issue but it hasn't been updated in awhile. @dvoytenko Do you have any updates?

@ampprojectbot
Copy link
Member

This is a high priority issue but it hasn't been updated in awhile. @dvoytenko Do you have any updates?

@cathyxz
Copy link
Contributor

cathyxz commented Sep 10, 2018

This is reoccurring at go/ampe/CO7muqC15u-Yfg with stacktrace:

Error: viewport has zero dimensions
    at Error (https://raw.githubusercontent.com/ampproject/amphtml/1535566825959/src/log.js:528:16)
    at apply (https://raw.githubusercontent.com/ampproject/amphtml/1535566825959/src/log.js:244:20)
    at apply (https://raw.githubusercontent.com/ampproject/amphtml/1535566825959/src/log.js:257:18)
    at https://raw.githubusercontent.com/ampproject/amphtml/1535566825959/src/service/viewport/viewport-binding-ios-embed-sd.js:139:20
    at opt_dest (https://raw.githubusercontent.com/ampproject/amphtml/1535566825959/src/service/action-impl.js:730:33)
    at getAttribute (https://raw.githubusercontent.com/ampproject/amphtml/1535566825959/src/service/action-impl.js:675:11)
    at type (https://raw.githubusercontent.com/ampproject/amphtml/1535566825959/src/service/action-impl.js:882:12)
    at https://raw.githubusercontent.com/ampproject/amphtml/1535566825959/src/service/viewer-impl.js:1022:4
    at https://raw.githubusercontent.com/ampproject/amphtml/1535566825959/src/service/url-replacements-impl.js:834:51
    at url (https://raw.githubusercontent.com/ampproject/amphtml/1535566825959/src/service/url-replacements-impl.js:973:10)

At rate of approx 150/hr.

Sample URL:
https://m-glamour-mx.cdn.ampproject.org/v/s/m.glamour.mx/tu-vida/amor-y-sexo/articulos/cuales-son-las-fantasias-de-los-hombres/4600/amp?amp_js_v=a2&amp_gsa=1&usqp=mq331AQCCAE%3D

@cathyxz cathyxz reopened this Sep 10, 2018
@ampprojectbot
Copy link
Member

This is a high priority issue but it hasn't been updated in awhile. @dvoytenko Do you have any updates?

1 similar comment
@ampprojectbot
Copy link
Member

This is a high priority issue but it hasn't been updated in awhile. @dvoytenko Do you have any updates?

@ampprojectbot
Copy link
Member

This is a high priority issue but it hasn't been updated in awhile. @dvoytenko Do you have any updates?

1 similar comment
@ampprojectbot
Copy link
Member

This is a high priority issue but it hasn't been updated in awhile. @dvoytenko Do you have any updates?

@jridgewell
Copy link
Contributor Author

Still happening.

@rcebulko rcebulko added the Type: Error Report An error reported by AMP Error Reporting label Mar 25, 2020
@rcebulko
Copy link
Contributor

Bumping this, as it's still occurring frequently.

@stale
Copy link

stale bot commented Sep 19, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Externally Tracked Tracked by Google or other parties P1: High Priority Stale Inactive for one year or more Type: Bug Type: Error Report An error reported by AMP Error Reporting WG: viewers
Projects
None yet
Development

No branches or pull requests

7 participants