commonsense / luminoso

A visualizer for multi-dimensional semantic data
http://csc.media.mit.edu/analogyspace/luminoso
38 stars 8 forks source link

creating a new study with existing directory fails #7

Open kcarnold opened 13 years ago

kcarnold commented 13 years ago

Got this when creating a new study by selecting an existing directory:

Warning: Sorry, an internal error occurred. Could you please send the authors the text below and a brief note about what you were doing? Thanks! Traceback (most recent call last): File "/data/v/lib/python2.6/site-packages/Luminoso-1.0.2-py2.6.egg/luminoso/window.py", line 163, in new_study_dialog study = LuminosoStudy.make_new(unicode(dirname)) File "/data/v/lib/python2.6/site-packages/Luminoso-1.0.2-py2.6.egg/luminoso/study.py", line 81, in make_new os.mkdir(destdir) OSError: [Errno 17] File exists: ''

Maybe Luminoso should ask whether to overwrite the directory instead.

[transferred from Launchpad]