illuminatedwax / pesterchum

Instant messaging client copying the look and feel of clients from Andrew Hussie's webcomic Homestuck.
Other
99 stars 50 forks source link

I'm getting "IOError: [Errno 2]" #4

Closed Generalpie closed 13 years ago

Generalpie commented 13 years ago

after unziping the package, i found the absence of logs/chums.js. I only found this out when running the "./pesterchum", and this was echo'd: Traceback (most recent call last): File "pesterchum.py", line 2196, in pesterchum = MainProgram() File "pesterchum.py", line 2001, in init self.widget = PesterWindow() File "pesterchum.py", line 969, in init self.chumdb = PesterProfileDB() File "pesterchum.py", line 129, in init fp = open("%s/chums.js" % (self.logpath), 'w') IOError: [Errno 2] No such file or directory: 'logs/chums.js'

Generalpie commented 13 years ago

I forgot to put that this is the 3.14.1 src for linux. my python is up to date

kiooeht commented 13 years ago

Looks like it tries to open the 'logs/chums.js' file, and if the file doesn't exist, tries to create it. However you don't have a 'logs' directory for 'logs/chums.js' to be created in. That can easily be fixed for the next update, for now just create a 'logs' directory