• Addfiles - not importing file_id.diz

    From Electrosys@1:103/705 to All on Thu Dec 20 20:18:46 2018
    Hi Everyone,

    I'm having some trouble with addfiles because it will not import the file_id.diz file.

    I ensured that the file_id.diz import is working by removing a file from the file db and re uploading the file, the file_id.diz is imported in that case.

    When I use addfiles though e.g. addfiles - -szn or addfiles - -sz the file_id.diz file is never imported.

    I'm using addfiles 3.02-Win32, any ideas?

    Thanks,
    Electrosys

    P.S. Ive also removed a file from the file db and then added the single file with addfiles (saw added 1 file(s) message) and i still don't see file_id.diz being imported.
    --- SBBSecho 3.06-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Electrosys on Fri Dec 21 01:15:41 2018
    Re: Addfiles - not importing file_id.diz
    By: Electrosys to All on Thu Dec 20 2018 08:18 pm

    Hi Everyone,

    I'm having some trouble with addfiles because it will not import the file_id.diz file.

    I ensured that the file_id.diz import is working by removing a file from the file db and re uploading the file, the file_id.diz is imported in that case.

    When I use addfiles though e.g. addfiles - -szn or addfiles - -sz the file_id.diz file is never imported.

    I'm using addfiles 3.02-Win32, any ideas?

    Likely because it couldn't extract the file_id.diz file from the archive(s) being added either because:

    1. there was no configured Extractable File type for the type of file being added, or:
    2. the extractable file type was misconfigured to the archive/extraction program couldn't be executed or it was doing something unexpected (e.g. placing the extracted file somewhere unexpected).

    You should see addfiles running the associated Extractable File command-line when the file is being added and possibly any error being reported by that program. Examining that console output closely or pasting it here could help to identify the problem.

    digital man

    Synchronet/BBS Terminology Definition #16:
    DCD = Data Carrier Detect
    Norco, CA WX: 58.6oF, 63.0% humidity, 0 mph SW wind, 0.00 inches rain/24hrs
    --- SBBSecho 3.06-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Electrosys@1:103/705 to Digital Man on Fri Dec 21 05:36:38 2018
    Re: Addfiles - not importing file_id.diz
    By: Digital Man to Electrosys on Fri Dec 21 2018 01:15 am

    When I use addfiles though e.g. addfiles - -szn or addfiles - -sz the
    file_id.diz file is never imported.

    I'm using addfiles 3.02-Win32, any ideas?

    Likely because it couldn't extract the file_id.diz file from the archive(s) being added either because:

    1. there was no configured Extractable File type for the type of file being added, or:
    2. the extractable file type was misconfigured to the archive/extraction program couldn't be executed or it was doing something unexpected (e.g. placing the extracted file somewhere unexpected).

    You should see addfiles running the associated Extractable File command-line when the file is being added and possibly any error being reported by that program. Examining that console output closely or pasting it here could help to identify the problem.

    digital man

    Here is a portion of the output, there are a number of files added but I'm not seeing anything in regard to the file_id.diz file being extracted.

    When the files are added the output looks like this, here is a small sample, but it looks like this across the board for all files.


    addfiles - -sz

    ADDFILES v3.02-Win32 (rev 1.49) - Adds Files to Synchronet Filesbase

    Loading configuration files from C:\sbbs\ctrl
    Searching C:\sbbs\data\dirs\ansi\acidpacks\

    acdl1293.zip 158695 12/19/18
    acdu0193.zip 172615 12/20/18
    acdu0194.zip 1092641 02/22/09
    acdu0195.zip 1107881 02/22/09
    acdu0196.zip 2196974 02/22/09
    acdu0294.zip 521562 02/22/09
    acdu0295.zip 2748538 02/22/09
    acdu0393.zip 558104 02/22/09
    acdu0394.zip 685079 02/22/09
    acdu0395.zip 2184862 02/22/09
    acdu0396.zip 3687053 02/22/09
    acdu0493.zip 1742826 02/22/09
    acdu0494.zip 1022540 02/22/09
    acdu0495.zip 1725637 02/22/09
    acdu0496.zip 2414583 02/22/09
    acdu0593.zip 1108470 02/22/09
    acdu0594.zip 950356 02/22/09
    acdu0595.zip 869744 02/22/09
    acdu0596.zip 2452297 02/22/09
    acdu0692.zip 73785 02/22/09
    acdu0694.zip 893017 02/22/09
    acdu0695.zip 1268454 02/22/09


    At the end this is output:

    281 file(s) added.



    I see there are a number of files added to the file DB but the File_ID.diz isn't extracted and added to the file DB.

    Thanks,
    Electrosys
    --- SBBSecho 3.06-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Electrosys on Fri Dec 21 13:34:18 2018
    Re: Addfiles - not importing file_id.diz
    By: Electrosys to Digital Man on Fri Dec 21 2018 05:36 am

    Re: Addfiles - not importing file_id.diz
    By: Digital Man to Electrosys on Fri Dec 21 2018 01:15 am

    When I use addfiles though e.g. addfiles - -szn or addfiles - -sz the
    file_id.diz file is never imported.

    I'm using addfiles 3.02-Win32, any ideas?

    Likely because it couldn't extract the file_id.diz file from the archive(s) being added either because:

    1. there was no configured Extractable File type for the type of file being added, or:
    2. the extractable file type was misconfigured to the archive/extraction program couldn't be executed or it was doing something unexpected (e.g. placing the extracted file somewhere unexpected).

    You should see addfiles running the associated Extractable File command-line when the file is being added and possibly any error being reported by that program. Examining that console output closely or pasting it here could help to identify the problem.

    digital man

    Here is a portion of the output, there are a number of files added but I'm not seeing anything in regard to the file_id.diz file being extracted.

    When the files are added the output looks like this, here is a small sample, but it looks like this across the board for all files.


    addfiles - -sz

    ADDFILES v3.02-Win32 (rev 1.49) - Adds Files to Synchronet Filesbase

    Loading configuration files from C:\sbbs\ctrl
    Searching C:\sbbs\data\dirs\ansi\acidpacks\

    acdl1293.zip 158695 12/19/18

    Okay, and do you have "zip" configured in SCFG->File Options->Extractable File Types?

    digital man

    Synchronet/BBS Terminology Definition #38:
    ISDN = Integrated Services Digital Network
    Norco, CA WX: 67.4oF, 41.0% humidity, 2 mph E wind, 0.00 inches rain/24hrs
    --- SBBSecho 3.06-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Electrosys@1:103/705 to Digital Man on Fri Dec 21 20:10:36 2018
    Re: Addfiles - not importing file_id.diz
    By: Digital Man to Electrosys on Fri Dec 21 2018 01:34 pm


    Okay, and do you have "zip" configured in SCFG->File Options->Extractable File Types?

    digital man

    As far as I can tell zip is configured in extractable file types. And since when uploading a file to the board its able to extract the File_ID.diz I would assume the extrable file types config is correct for zip already. It just doesn't work with addfiles. Currently I have:

    %@unzip -Cojqq %f %s -d %g

    I'll continue to take a look at these configs though.

    Thanks,
    Electrosys
    --- SBBSecho 3.06-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Electrosys@1:103/705 to Digital Man on Fri Dec 21 20:55:44 2018
    Re: Addfiles - not importing file_id.diz
    By: Electrosys to Digital Man on Fri Dec 21 2018 08:10 pm


    %@unzip -Cojqq %f %s -d %g

    I'll continue to take a look at these configs though.


    I'm wondering if this is an issue of case. Maybe i should try command.com instead of cmd.exe ?

    I noticed something interesting. When I do 'D' in the file base to delete files and then do *.ZIP. I have no option to do lower zip and sure enough only all the capital ZIP files are removed not the lowercase .zip ones.

    I'll keep poking around.

    Thanks,
    Electrosys
    --- SBBSecho 3.06-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Electrosys on Fri Dec 21 21:02:19 2018
    Re: Addfiles - not importing file_id.diz
    By: Electrosys to Digital Man on Fri Dec 21 2018 08:10 pm

    Re: Addfiles - not importing file_id.diz
    By: Digital Man to Electrosys on Fri Dec 21 2018 01:34 pm


    Okay, and do you have "zip" configured in SCFG->File Options->Extractable File Types?

    digital man

    As far as I can tell zip is configured in extractable file types. And since when uploading a file to the board its able to extract the File_ID.diz I would assume the extrable file types config is correct for zip already. It just doesn't work with addfiles. Currently I have:

    %@unzip -Cojqq %f %s -d %g

    What are the Access Requirements set to for the "zip" extractable type?

    I'll continue to take a look at these configs though.

    You should see "unzip" execute (from addfiles) when working normally and adding .zip files.

    digital man

    Synchronet "Real Fact" #93:
    Synchronet v3.16c was released in August of 2015 (5 years after v3.15b).
    Norco, CA WX: 56.6oF, 73.0% humidity, 4 mph ESE wind, 0.00 inches rain/24hrs --- SBBSecho 3.06-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Electrosys on Fri Dec 21 21:04:40 2018
    Re: Addfiles - not importing file_id.diz
    By: Electrosys to Digital Man on Fri Dec 21 2018 08:55 pm

    Re: Addfiles - not importing file_id.diz
    By: Electrosys to Digital Man on Fri Dec 21 2018 08:10 pm


    %@unzip -Cojqq %f %s -d %g

    I'll continue to take a look at these configs though.


    I'm wondering if this is an issue of case. Maybe i should try command.com instead of cmd.exe ?

    No, I don't think it's either of those.

    I noticed something interesting. When I do 'D' in the file base to delete files and then do *.ZIP. I have no option to do lower zip and sure enough only all the capital ZIP files are removed not the lowercase .zip ones.

    That's odd. Firstly, 'D' is usually for download. Secondly, the file pattern matches are normally case-insensitive. Perhaps you can provide a capture of what you're doing/seeing.

    I'll keep poking around.

    And what version/revision of addfiles.exe are you using?

    digital man

    Synchronet "Real Fact" #43:
    Synchronet added Baja/PCMS support with v2.00a (1994).
    Norco, CA WX: 56.6oF, 73.0% humidity, 4 mph ESE wind, 0.00 inches rain/24hrs --- SBBSecho 3.06-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Electrosys@1:103/705 to Digital Man on Fri Dec 21 21:06:37 2018
    Re: Addfiles - not importing file_id.diz
    By: Electrosys to Digital Man on Fri Dec 21 2018 08:55 pm


    I'm wondering if this is an issue of case. Maybe i should try command.com instead of cmd.exe ?

    I noticed something interesting. When I do 'D' in the file base to delete files and then do *.ZIP. I have no option to do lower zip and sure enough only all the capital ZIP files are removed not the lowercase .zip ones.


    Certainly not a case issue, that was my mistake. I was looking at the number of files before refreshing the list again.

    I was able to work around the issue a bit by removing files from the files db from the files menu, then doing ;UPLOAD ALL to add then back.
    --- SBBSecho 3.06-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Electrosys@1:103/705 to Digital Man on Fri Dec 21 21:08:41 2018
    Re: Addfiles - not importing file_id.diz
    By: Digital Man to Electrosys on Fri Dec 21 2018 09:02 pm


    What are the Access Requirements set to for the "zip" extractable type?

    Ive currently got it set to Level 20, there are not any other security flags.

    Thanks,
    --- SBBSecho 3.06-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Electrosys@1:103/705 to Digital Man on Fri Dec 21 21:10:38 2018
    Re: Addfiles - not importing file_id.diz
    By: Digital Man to Electrosys on Fri Dec 21 2018 09:04 pm


    And what version/revision of addfiles.exe are you using?

    I have addfiles v3.02-Win32 (rev1.49).

    It was 'D' from the file list, not file menu.

    Thanks,
    --- SBBSecho 3.06-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Electrosys on Fri Dec 21 21:41:00 2018
    Re: Addfiles - not importing file_id.diz
    By: Electrosys to Digital Man on Fri Dec 21 2018 09:08 pm

    Re: Addfiles - not importing file_id.diz
    By: Digital Man to Electrosys on Fri Dec 21 2018 09:02 pm


    What are the Access Requirements set to for the "zip" extractable type?

    Ive currently got it set to Level 20, there are not any other security flags.

    That's likely the issue. When addfiles is running, there is no active user account, so that would be the equivalent of "level 0" and you've determined that only users of level 20 and higher can extract files.

    digital man

    Synchronet/BBS Terminology Definition #40:
    KD = King Drafus (Allen Christiansen)
    Norco, CA WX: 56.1oF, 74.0% humidity, 0 mph SSW wind, 0.00 inches rain/24hrs --- SBBSecho 3.06-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Electrosys on Fri Dec 21 21:42:22 2018
    Re: Addfiles - not importing file_id.diz
    By: Electrosys to Digital Man on Fri Dec 21 2018 09:10 pm

    Re: Addfiles - not importing file_id.diz
    By: Digital Man to Electrosys on Fri Dec 21 2018 09:04 pm


    And what version/revision of addfiles.exe are you using?

    I have addfiles v3.02-Win32 (rev1.49).

    It was 'D' from the file list, not file menu.

    In v3.17a (the current dev version), 'D' from the file list is also for Download (not delete) - so I'm guessing you're running v3.16 or earlier. Anyway, I think we've figured out the issue (the access requirements).

    digital man

    Synchronet/BBS Terminology Definition #18:
    DM = Digital Man (Rob Swindell)
    Norco, CA WX: 56.1oF, 74.0% humidity, 0 mph SSW wind, 0.00 inches rain/24hrs --- SBBSecho 3.06-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Electrosys@1:103/705 to Digital Man on Fri Dec 21 21:50:04 2018
    Re: Addfiles - not importing file_id.diz
    By: Digital Man to Electrosys on Fri Dec 21 2018 09:41 pm

    Re: Addfiles - not importing file_id.diz
    By: Electrosys to Digital Man on Fri Dec 21 2018 09:08 pm

    Re: Addfiles - not importing file_id.diz
    By: Digital Man to Electrosys on Fri Dec 21 2018 09:02 pm


    What are the Access Requirements set to for the "zip" extractable
    type?

    Ive currently got it set to Level 20, there are not any other security
    flags.

    That's likely the issue. When addfiles is running, there is no active user account, so that would be the equivalent of "level 0" and you've determined that only users of level 20 and higher can extract files.

    digital man

    That actually makes a lot of sense. For some reason I was thinking that addfiles would not look at the level since it was being run from the command prompt but this is even better and seems more correct for something that requires a security flag.

    Thanks,
    Electrosys
    --- SBBSecho 3.06-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Electrosys@1:103/705 to Digital Man on Fri Dec 21 21:59:46 2018
    Re: Addfiles - not importing file_id.diz
    By: Digital Man to Electrosys on Fri Dec 21 2018 09:42 pm


    In v3.17a (the current dev version), 'D' from the file list is also for Download (not delete) - so I'm guessing you're running v3.16 or earlier. Anyway, I think we've figured out the issue (the access requirements).

    Yeah, I'm running v3.16. v3.17a, hmm? Maybe I can take a look at starting to do some upgrading of the environment. Its gone through a lot, I had it on windows, then nuked it. Started on win again, moved to linux and moved back to windows, and as far as I can tell I didn't loose any data. Its been quite the adventure my board and I have had together.

    Ive got the board tricked out quite a bit. Back in 2006 when I discovered synchronet I got quite excited about it and invited you to it a bit prematurely, it was still a JOSI (Just another sync install) at the time. You should stop by and take a peek at the board now.

    Thanks,
    Electrosys
    --- SBBSecho 3.06-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)