imagepy icon indicating copy to clipboard operation
imagepy copied to clipboard

Error with save on linux

Open valorv opened this issue 5 years ago • 2 comments

Exception in thread Thread-5: Traceback (most recent call last): File "/home/customer/anaconda3/lib/python3.6/threading.py", line 916, in _bootstrap_inner self.run() File "/home/customer/anaconda3/lib/python3.6/threading.py", line 864, in run self._target(*self._args, **self._kwargs) File "/home/customer/Data/imagepy/imagepy/core/engine/simple.py", line 64, in runasyn self.run(ips, imgs, para) File "/home/customer/Data/imagepy/imagepy/core/util/fileio.py", line 75, in run write2 = write or WriterManager.get(fe[1:], 'imgs') File "/home/customer/Data/imagepy/imagepy/core/manager/iomanager.py", line 50, in get if ext.lower() in cls.writer[tag]: KeyError: 'imgs'

That's a big bug,please fix it ...

valorv avatar Dec 14 '18 09:12 valorv

hi, can you tell me your operate witch cause this bug?

yxdragon avatar Dec 16 '18 01:12 yxdragon

nothing else ,just clone this project and python -m imagepy and open a image and juust save . I read the code , maybe try cls.writer.get(tag) but cls.writer[tag]?

valorv avatar Dec 16 '18 14:12 valorv