NathanKell|Twitch is now known as NathanKell
NathanKell is now known as NathanKell|Twitch
NathanKell|Twitch is now known as NathanKell
NathanKell is now known as NathanKell|NOMZ
drspaceman has joined #spacedock
drspaceman has quit [Client Quit]
NathanKell|NOMZ is now known as NathanKell
NathanKell is now known as NathanKell|Twitch
macgufo has joined #spacedock
macgufo has quit [Client Quit]
Alanonzander has quit [Read error: Connection reset by peer]
Alanonzander has joined #spacedock
macgufo has joined #spacedock
macgufo has quit [Client Quit]
NathanKell|Twitch is now known as NathanKell
NathanKell is now known as NathanKell|AWAY
Bamse has joined #spacedock
Bamse has quit [Client Quit]
macgufo has joined #spacedock
<macgufo> hi all, site have some issues ?
macgufo has quit [Ping timeout: 180 seconds]
<VITAS> it has?
<VITAS> it has *runns arround paniciong*
<VITAS> thomas help!
<VITAS> sd exploded in my face :(
<VITAS> OSError: cannot identify image file 'kspmods/ApolluCentauri_14137/Axis_System/Axis_System-1499653657.450555.png'
<VITAS> but it exists
<VITAS> found it. somehow one thumpnail was corrupted
<VITAS> can you think of some quick not that intrusive patch i can deploy to prevent the site going down if that happens again?
<VITAS> error: File "/var/www/virtual/spacedock.info/htdocs/SpaceDock/KerbalStuff/thumbnail.py", line 7, in create
<VITAS> im = Image.open(imagePath)
<VITAS> so it occures if someone uploads a mallformed image and it trys to make a thumbnail
<VITAS> (and its a good thing it does alter it because someone could spread exploits via images)
<Thomas> VITAS: wrap it with try / except?
<Thomas> And o/
<VITAS> and hi
<VITAS> dangit i just succeded in forget all my python again :D
* Thomas did so too
* Thomas learned go instead
<VITAS> im doing php again because i need to get stuff done
<VITAS> laravel to be precise
<Thomas> Yeah, you told me about it
<VITAS> im still struggeling to understand some of its concepts
<VITAS> but its getting better
<VITAS> wich is good because i set the deadline for the end of the month
aradapilot_ has quit [Remote host closed the connection]
aradapilot has joined #spacedock
egg|zzz|egg is now known as egg
Alanonzander has quit [Read error: Connection reset by peer]
<Lartza> Or except: im = imageopen(somefallbackpath)
<Lartza> If this is just a workaround
Alanonzander has joined #spacedock
Thomas is now known as Thomas|AWAY
SilverFox is now known as SilverDoggo
SilverDoggo is now known as SilverFox