Hello There,
In testing the importing of a "Filebone.na"file to create file areas.
I edited the existing mutil.ini file and saved the file as "fsx-file-na.ini". >The actual uppercase FSX_FILE.NA file exists in the mystic directory and
is specified in the [Import_FILEBONE.NA] stanza as indicated below.
I then executed the commandline "./mutil fsx-file-na.ini. Below are the >portion of the fsx-file-na.ini being used and also the MUTIL log entry.
The log indicates that 0 file areas were created. That was verified by >looking in Mystic config. I may be mistaken but the log seems to indicate >that a FILEBONE.NA was being used or at least expected to be seen as no >mention of a FSX_FILE.NA file was mentioned. Even though the specified >filename to use was FSX_FILE.NA. No FILEBONE.NA file exists in the Mystic >directory. The log level in the .ini file is set to 3 as indicated in the >log file entry.
[General]
; list of functions to perform on startup
Import_FILEBONE.NA = true
[Import_FILEBONE.NA]
; filename of filebone.na
filename = FSX_FILE.NA
; root directory to create file paths under. when a new filebone echo
; is found, mUtil will create a file using "root_dir" + areatag. So
; for example if root is "c:\mystic\filebase\" and the areatag is
; MYSTICBBS it will create "c:\mystic\filebase\MYSTICBBS". This root
; directory MUST exist.
root_dir = /home/bbs/mystic/files/fsxnet/
; convert tags to lower case for filebase base filename/dir 1=yes
lowercase_filename = 1
; Default values when creating a new file base
dispfile =
template = ansiflst
acs_list = s50g2
acs_ftp = s50g2
acs_download = s50g2
acs_upload = s255g2
acs_hatch = s255g2
acs_sysop = s255g2
; true/false type values 0=false 1=true (newscan 2=forced)
free_files = 0
show_uploader = 1
new_scan = 1
MUTIL log entry:
----------------- MUTIL v1.12 A36 2017/11/26 Tue, Nov 28 2017 (loglevel 3)
+ Nov 28 16:30:47 Startup using fsx-file-na.ini
- Nov 28 16:30:47 EXEC Import_FILEBONE.NA
+ Nov 28 16:30:47 Process: Import FILEBONE.NA
+ Nov 28 16:30:47 Results: Created 0 base(s) in 0.00s
+ Nov 28 16:30:47 Shutdown Normal (0)
I tried including the full path to the FSX_FILE.NA file in the .ini file >entry for filename = FSX_FILE.NA but got the same 0 file areas created.
I then tried renaming the FSX_FILE.NA file to FILEBONE.NA file and edited the >fsx-file-na.ini file to reflect the filename change but got the same 0 file >areas created.
I am certainly not above missing the simple things. It seems the little >things can often be sneaky and hide in plain site. :-)
So, the resulting question is did I miss something?
Jeff
--- Mystic BBS v1.12 A36 2017/11/26 (Linux/64)
* Origin: New Mystic BBS (21:1/128.3)
- Nov 28 16:30:47 EXEC Import_FILEBONE.NA
+ Nov 28 16:30:47 Process: Import FILEBONE.NA
+ Nov 28 16:30:47 Results: Created 0 base(s) in 0.00s
+ Nov 28 16:30:47 Shutdown Normal (0)
It doesn't look like you're doing anything wrong. I think what we need
to look at is the format of the .NA file and see if the format is different from what Mystic expects, or if Mystic just can't parse it.
Since its not even logging anything that implies that either the first word in the file is not "AREA" or the 4th word in the file does not contain a !
Since its not even logging anything that implies that either the firs word in the file is not "AREA" or the 4th word in the file does not contain a !
I should test this also seeing I created it :) It was based on an
othernet file so I expected it to work.. Humm..
You can find it in any fsxNet infopack..if somethings amiss, I'm happy to change it.
snip<=-
Since its not even logging anything that implies that either the first word in the file is not "AREA" or the 4th word in the file does not contain a !
Area FSX_NODE 0 ! Weekly Nodelists (fsxNet, etc.)
etc...
I think all you need to add is the exclamation point (!) between the 0
and the description of the file echo. It just indicates that these areas have filebone distribution.
As you mentioned I see no "!" used in the file. Am I safe to manually
add the missing !'s to make the area lines read:
Area FSX_NODE 0 ! Weekly Nodelists (fsxNet, etc.)
I should test this also seeing I created it :) It was based on an
othernet file so I expected it to work.. Humm..
You can find it in any fsxNet infopack..if somethings amiss, I'm happy to change it.
Since its not even logging anything that implies that either the first word in the file is not "AREA" or the 4th word in the file does not contain a !
I hadn't setup any file areas in Mystic yet and grabbed the FSXNET file from Agency BBS. I took the acquired FSX_FILE.NA ans added a "!" to each area specification to make each line read:
Area FSX_NODE 0 ! Weekly Nodelists (fsxNet, etc.)
But that raises another question. :-)
Currently when importing either echo or file areas via an NA file the areas get imported with the area description being used as such:
Is it possible to import the areas with the "Echo Tag specification used also for Ftp Name, and Base Name?
It should be in the format of:
Area FSX_NODE 0 ! Weekly Nodelists (fsxNet, etc.)
etc...
I think all you need to add is the exclamation point (!) between the 0
and the description of the file echo. It just indicates that these areas have filebone distribution.
snip<=-
What's the na file look like
Sysop: | sneaky |
---|---|
Location: | Ashburton,NZ |
Users: | 31 |
Nodes: | 8 (0 / 8) |
Uptime: | 203:33:19 |
Calls: | 2,083 |
Calls today: | 1 |
Files: | 11,139 |
Messages: | 948,001 |