← Back to team overview

commonsense team mailing list archive

[Bug 527390] Re: error when creating a new study with existing directory

 

** Changed in: luminoso
   Importance: Undecided => Medium

** Changed in: luminoso
       Status: New => Confirmed

** Changed in: luminoso
    Milestone: None => 1.1

** Changed in: luminoso
     Assignee: (unassigned) => Rob Speer (rspeer)

-- 
error when creating a new study with existing directory
https://bugs.launchpad.net/bugs/527390
You received this bug notification because you are a member of
Commonsense Computing, which is the registrant for Luminoso.

Status in Luminoso: Confirmed

Bug description:
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: '<MYPATH>'

Maybe Luminoso should ask whether to overwrite the directory instead.





References