1

I just trying run ursina but when I run it I get this error:

An error ocurred while starting the kernel 
Known pipe types: 
wglGraphicsPipe 
(3 aux display modules not yet loaded.) 
:display:windisplay(warning): SetForegroundWindow() failed! 
:pnmimage:png(warning): iCCP: known incorrect sRGB profile

Does anybody know the solution? I am using Windows 11, spyder(python editor). My program creates an window and when I try to close it program crash.

Code:

import ursina

app = ursina.Ursina()
app.run()
Pydude
  • 149
  • 13
  • Could you please enter the error as text instead of as an image? – Ekadh Singh - Reinstate Monica Aug 31 '21 at 16:38
  • An error ocurred while starting the kernel Known pipe types: wglGraphicsPipe (3 aux display modules not yet loaded.) :display:windisplay(warning): SetForegroundWindow() failed! :pnmimage:png(warning): iCCP: known incorrect sRGB profile – Pydude Aug 31 '21 at 16:45
  • Is that the complete output you get? also, does your program crash or run? – Jan Wilamowski Sep 01 '21 at 05:41
  • You should add information about your system. Which OS, Python, hardware, etc. – pokepetter Sep 01 '21 at 09:04
  • Ok, I am using Windows 10, spyder(python editor) – Pydude Sep 01 '21 at 11:51
  • Can you please provide some more code because it seems to be a problem with a png image? Does this code works `app = Ursina(); app.run()` or when you have some more code it doesn't? It seems to be a problem with some kind of texture or image. I recommend checking: https://stackoverflow.com/questions/22745076/libpng-warning-iccp-known-incorrect-srgb-profile – Lixt Jun 20 '22 at 14:19
  • @Lixt so I don't added any code in my question because all my code is three lines: `import ursina app = ursina.Ursina() app.run()` – Pydude Jun 21 '22 at 12:04
  • How did you install Ursina and panda3d? – Lixt Jun 21 '22 at 13:59
  • @Lixt with `pip` – Pydude Jun 22 '22 at 16:53
  • I think you should join Ursina Discord Server and ask @Pokepetter what is happening and the why and then post the answer here. Otherwise I have no clue what that may be. – Lixt Jun 22 '22 at 18:40

0 Answers0