Unable to open [object Object]: unable to load TileSource
See original GitHub issueHi,
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. I have renamed the helloworld.dzi to .xml as well, but no luck.
This is the file structure I have
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:
- Created 3 years ago
- Comments:10 (5 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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:
– David A Gutman, M.D. Ph.D. Associate Professor of Neurology Emory University School of Medicine
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?