question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error: The image name is invalid, it does not contain dimensions.

See original GitHub issue

This error occurred recently in production

Error: The image name is invalid, it does not contain dimensions.
    at Object.getDimensionsOfImage (https://www.oppia.org/build/templates/head/dist/creator_dashboard~exploration_editor~exploration_player~practice_session~review_test~skill_editor~st~496086cc.6cae945718e4220036a3.bundle.js:1:9778)
    at controller (https://www.oppia.org/build/templates/head/dist/exploration_player.7ffb86dc0e11b2a7a24b.bundle.js:1:313938)
    at Object.invoke (https://www.oppia.org/third_party/static/angularjs-1.5.8/angular.min.js:41:456)
    at S.instance (https://www.oppia.org/third_party/static/angularjs-1.5.8/angular.min.js:89:436)
    at p (https://www.oppia.org/third_party/static/angularjs-1.5.8/angular.min.js:65:128)
    at https://www.oppia.org/third_party/static/angularjs-1.5.8/angular.min.js:77:24
    at https://www.oppia.org/third_party/static/angularjs-1.5.8/angular.min.js:131:20
    at m.$eval (https://www.oppia.org/third_party/static/angularjs-1.5.8/angular.min.js:145:347)
    at m.$digest (https://www.oppia.org/third_party/static/angularjs-1.5.8/angular.min.js:142:420)
    at m.$apply (https://www.oppia.org/third_party/static/angularjs-1.5.8/angular.min.js:146:113)

General instructions There are no specific repro steps available for this bug report. The general procedure to fix server errors should be the following:

  • Analyze the code in the file where the error occurred and come up with a hypothesis for the reason.
  • Get the logic of the proposed fix validated by an Oppia team member (have this discussion on the issue thread).
  • Make a PR that fixes the issue, then close the issue on merging the PR. (If the error reoccurs in production, the issue will be reopened for further investigation.)

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
kevintab95commented, Sep 23, 2019

Hi @rajitha1998, this issue is a bit tricky for a first issue. Could you take a look at other “good first issues”? Thanks.

0reactions
rajitha1998commented, Sep 22, 2019

Hi I’m new to oppia can I try to solve this bug, I set up oppia on my laptop today @kevintab95

Read more comments on GitHub >

github_iconTop Results From Across the Web

ITMS-90522 - Invalid Image Asset. … | Apple Developer Forums
The image stack 'image-name' in 'Payload/MyApp.app/Assets.car' has an invalid layer." All of the images called out by these errors display correctly in ...
Read more >
How to fix "Type Error : Invalid Dimensions for image data ...
Closed 3 years ago. I'm trying to convert an image to grayscale and show it using pyplot. The steps I am taking are:...
Read more >
Request specifies invalid shape for input 'images' for ... - GitHub
Im using 22.03 container version. Follow up question, if I create input of batch size 32 but fill it with amount of samples...
Read more >
Picture Contains Invalid Image File Header, How Do I Fix It? [5 ...
Sometimes, when the image file format is not supported by the computer, the file will become invalid. Converting the file format is a...
Read more >
I can't upload my photo because the dimensions are invalid
Sometimes, members can get error messages with "Invalid Photo Dimensions" when submitting photos. In order to fix this, a member may have to ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found