Skip to content

creating a new study with existing directory fails #7

Description

@kcarnold

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]

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions