Slicer fails to start after adding a scripted module

(Batuhan Edgüer) #1

Hello I’m getting this error, tried to reinstall but it did not…

Traceback (most recent call last):
File “D:\Program Files\Slicer 4.10.1\bin\Python\slicer\ScriptedLoadableModule.py”, line 202, in onReloadAndTest
self.onReload()
File “D:\Program Files\Slicer 4.10.1\bin\Python\slicer\ScriptedLoadableModule.py”, line 195, in onReload
slicer.util.reloadScriptedModule(self.moduleName)
File “D:\Program Files\Slicer 4.10.1\bin\Python\slicer\util.py”, line 623, in reloadScriptedModule
moduleName, fp, filePath, (’.py’, ‘r’, imp.PY_SOURCE))
UnicodeEncodeError: ‘ascii’ codec can’t encode character u’\xf6’ in position 31: ordinal not in range(128)
Reload and Test: Exception!

‘ascii’ codec can’t encode character u’\xf6’ in position 31: ordinal not in range(128)

See Python Console for Stack Trace

(Csaba Pinter) #2

It would help if you described what you tried to do when you got this error.

Also if this was a crash then python errors probably won’t be conclusive, but a full log might help.

Thanks!

(Batuhan Edgüer) #3

I solved. I used the “ö” for folder name. The system does not recognize the “ö”.