check if deleting gallery.rpyc works or not I was able to replicate the issue and deleting the rpyc didn't help. So, I modified the gallery.rpy and it works now.