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.

Unable to open [object Object]: unable to load TileSource

See original GitHub issue

Hi,

I am trying to setup OpenSeaDragon for viewing multiple images. To get started, I generated a set of zoom files using deepzoom.py for the helloworld.png example. I keep getting the ‘Unable to open [object Object]: unable to load TileSource’ error as shown here. Screen Shot 2020-12-29 at 9 13 43 PM I have renamed the helloworld.dzi to .xml as well, but no luck.

This is the file structure I have Screen Shot 2020-12-29 at 9 46 56 PM

Here is the index.html I use

<html>
  <body>
    <div id="helloworld"  style="width: 400px; height: 100px;"></div>
    <script src="../openseadragon-bin-2.4.2/openseadragon.min.js"></script>
    <script type="text/javascript">
      var viewer = OpenSeadragon({
        id:            'helloworld',
        prefixUrl:     '../openseadragon-bin-2.4.2/images/',
        tileSources:   './dzi/helloworld_files/helloworld.xml/'  
      });
    </script>
  </body>
</html>

The helloworld.dzi (or .xml) file is <?xml version="1.0" encoding="UTF-8"?><Image Format="png" Overlap="1" TileSize="128" xmlns="http://schemas.microsoft.com/deepzoom/2008"><Size Height="1008" Width="1344"/></Image>

Please let me know what might be going wrong here. I am very new to OSD and web design. Every help is much appreciated! Thank you.

Issue Analytics

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

github_iconTop GitHub Comments

2reactions
dgutmancommented, Apr 22, 2022

That looks like a javascript / python issue… basically Dash or Javascript may be interpreting the returned object as a STRING not a JSON object… or vice versa… Hard to tell from what’s posted, but it’s something along those lines.

On Fri, Apr 22, 2022 at 6:54 AM NoJustAnother @.***> wrote:

I am facing the same problem and haven’t found any solution - was someone able to solve this?

— Reply to this email directly, view it on GitHub https://github.com/openseadragon/openseadragon/issues/1924#issuecomment-1106379620, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFODTQXGKHNVZMYQ55C4Z3VGKAMZANCNFSM4VN3P47A . You are receiving this because you are subscribed to this thread.Message ID: @.***>

– David A Gutman, M.D. Ph.D. Associate Professor of Neurology Emory University School of Medicine

0reactions
iangilmancommented, May 2, 2022

I think the [object Object] is the result of less than awesome logging on our part… Might be nice to fix that up.

@NoJustAnother This sort of error is usually because you got the file path wrong. What path are you using for your tile source, and how is your directory structured?

Read more comments on GitHub >

github_iconTop Results From Across the Web

openseadragon: unable to [Object object]: Error loading image ...
If so you will need to use the IIIF Image Information url for the tileSource and not the canvas. I would also remove...
Read more >
HTTP 404 attempting to load TileSource - Bountysource
Unable to open [object Object]: HTTP 404 attempting to load TileSource.
Read more >
Unable to open [object Object] - Apple Community
The error in the viewer is "Unable to open [object Object]: HTTP 0 Attempting to load TileSource". The same error shows up no...
Read more >
Class: TileSource - OpenSeadragon
open -failed. Raised when an error occurs loading a TileSource. Type: object. Properties: ...
Read more >
Guardian -- 19640928 | IslandNewspapers
Unable to open [object Object]: HTTP 499 attempting to load TileSource. Details. Title: Guardian; Creator: Subject: Description: Publisher: Contributor ...
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