Ticket #705 (closed Defect: fixed)

Opened 10 years ago

Last modified 10 years ago

Wrong folder defined in config for file browser

Reported by: lld Owned by:
Priority: Minor Milestone:
Component: DeepaMehta Standard Distribution Version: 4.3
Keywords: Cc:
Complexity: 3 Area: Runtime Environment
Module: deepamehta-files

Description

When I click on "Create" > "New file browser" I get the following error
message in the shell, where I started the daemon for deepamehta-4.3.zip:

INFORMATION: Creating folder topic for repository path "/"
Sep 19, 2014 10:49:16 AM de.deepamehta.plugins.files.FilesPlugin
checkFilePath
INFORMATION: Checking file repository access to
"/Users/jri/Documents/DeepaMehta-4/Development/deepamehta-files


dm4.filerepo.path="/Users/jri/Documents/DeepaMehta-4/Development/deepamehta-files"
=> ALLOWED
Sep 19, 2014 10:49:16 AM de.deepamehta.plugins.files.FilesPlugin
checkFileExistence
INFORMATION: File or directory
"/Users/jri/Documents/DeepaMehta-4/Development/deepamehta-files/" does
not exist

I then created a folder:

/net/home/ldrude/bin/deepamehta-4.3/deepamehta-files

I found a file where this path is specified:

/net/home/ldrude/bin/deepamehta-4.3/conf/config.properties

In that file I changed:

dm4.filerepo.path=/Users/jri/Documents/DeepaMehta-4/Development/deepamehta-files

To:

dm4.filerepo.path=/net/home/ldrude/bin/deepamehta-4.3/deepamehta-files

I can now use "Create" > "New file browser". I consider this a bug of
the delivered install files.

Change History

comment:1 Changed 10 years ago by jri

Confirmed!
Apparently I made a mistake while building the DM 4.3 distro.

Hint: when you configure dm4.filerepo.path= (that is with an empty value) you can browse your entire file system from within DM. This is also the setting supposed to be the default for the DM distro.

Thank you very much for reporting!

Cheers,
Jörg

comment:2 Changed 10 years ago by jri

  • Status changed from new to closed
  • Resolution set to fixed

The current DM 4.4 release comes with proper config files.

Note to the distribution builder: make sure you have no local (uncommitted) changes in your config files when building the distribution.

Note: See TracTickets for help on using tickets.