Comments (3)
Exception in Tkinter callback
Traceback (most recent call last):
File "C:\Users*name*\AppData\Local\Programs\Python\Python36\lib\tkinter_init_.py", line 1699, in call
return self.func(args)
File "tk_viewer.py", line 113, in export_sobjs
os.path.join(export_dir, 'sobj-{0:05d}.bmp'.format(i)))
File "C:\Users*name\AppData\Local\Programs\Python\Python36\lib\site-packages\PIL\Image.py", line 1930, in save
save_handler(self, fp, filename)
File "C:\Users*name*\AppData\Local\Programs\Python\Python36\lib\site-packages\PIL\BmpImagePlugin.py", line 276, in _save
(rawmode, stride, -1))])
File "C:\Users*name*\AppData\Local\Programs\Python\Python36\lib\site-packages\PIL\ImageFile.py", line 509, in _save
e.setimage(im.im, b)
SystemError: tile cannot extend outside image
from tkviewer.
Thanks for the issue and trace.. Should be simple enough to fix up, I render static_objects with the client, so this was probably a porting bug.
from tkviewer.
@Wizbaggd give this another try. It turns out that the static objects trying to be rendered had 0 height (48 pixel width and 0 pixel height).
I check the static object height before saving now. This means that some objects may not export, but the viewer won't hang
from tkviewer.
Related Issues (16)
- More about EPF HOT 8
- Unable to launch jar HOT 4
- Only able to open CMP/MAP files? HOT 1
- TKViewer 3.2 (Java + Exe) - Mobs dont load HOT 1
- Ability to change color?
- More about PAL HOT 2
- Support for map tiles and map objects HOT 3
- Support for legend icons? HOT 2
- Palette expansion onto parts HOT 4
- EPF/PAL Animations HOT 6
- FYI HOT 1
- How to run nexus tk viewer? HOT 2
- Update modules to accept new NexusTK data formats HOT 1
- Improve performance HOT 1
- Object transparent issue HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tkviewer.