Project

General

Profile

Actions

Bug #2205

closed

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

Added by P. Anderson over 18 years ago. Updated over 18 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.

Actions #1

Updated by Will Tyburczy over 18 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+/

Actions #2

Updated by Will Tyburczy over 18 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.

Actions #3

Updated by P. Anderson over 18 years ago

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

Actions #4

Updated by Redmine Admin about 11 years ago

Original Bugzilla ID was 2205

Actions

Also available in: Atom PDF