Project

General

Profile

Bug #2205

Can't open local data files if non-directories exist in data/ dir

Added by P. Anderson about 15 years ago. Updated almost 15 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
morpho - general
Target version:
Start date:
09/21/2005
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
2205

Description

If a file exists in data/ then no data packages appear in the GUI.

ASSUMED SOLUTION:
The loop that iterates through directories in the local data/ dir needs to
distinguish files from directories so that files can be skipped instead of
breaking the loop.

History

#1 Updated by Will Tyburczy about 15 years ago

A similar problem exists if there are any files in a subdirectory of data/ that
don't conform to the pattern (in perl syntax) /.*?\.\d+/

#2 Updated by Will Tyburczy about 15 years ago

The most common way this seems to occur (unintentionally at least) is when Mac
users open the .morpho directory in Finder and then move or delete files in
data/ or its subdirectories. The OS creates ".DS_Store" files in these
directories. These files can safely be deleted if desired.

#3 Updated by P. Anderson almost 15 years ago

Now other files are allowed in the data/ and data/package directories.

#4 Updated by Redmine Admin over 7 years ago

Original Bugzilla ID was 2205

Also available in: Atom PDF