Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

the program can't work #1

Open
Forrest-Z opened this issue Aug 21, 2017 · 0 comments
Open

the program can't work #1

Forrest-Z opened this issue Aug 21, 2017 · 0 comments

Comments

@Forrest-Z
Copy link

i got error:
Number of samples: 1097

Reading: 0
Map: 0
Traceback (most recent call last):
File "E:/PycharmProjects/slam_demo/main.py", line 762, in
main(datafile, float(cellSize), Type)
File "E:/PycharmProjects/slam_demo/main.py", line 587, in main
writeImage(Grid) # ,'Maps/Map'+str(10000+(k/interval)))
File "E:/PycharmProjects/slam_demo/main.py", line 449, in writeImage
im = ImageTk.PhotoImage(pilImage)
File "C:\Python27\lib\site-packages\PIL\ImageTk.py", line 113, in init
self.__photo = apply(Tkinter.PhotoImage, (), kw)
File "C:\Python27\lib\lib-tk\Tkinter.py", line 3372, in init
Image.init(self, 'photo', name, cnf, master, **kw)
File "C:\Python27\lib\lib-tk\Tkinter.py", line 3326, in init
self.tk.call(('image', 'create', imgtype, name,) + options)
_tkinter.TclError: out of stack space (infinite loop?)
Exception AttributeError: "PhotoImage instance has no attribute '_PhotoImage__photo'" in <bound method PhotoImage.del of <PIL.ImageTk.PhotoImage instance at 0x04992698>> ignored

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant