Autoload plugin not working

I have enabled the Autoload plugin, ‘Check for changes at startup’ is checked, and ‘Scan a directory’ is Enabled. The directory is ‘D:\DXF files’. ‘Delay before loading’ is set to 1s. The ‘Enabled’ checkbox at the bottom is checked.

I never get any prompt to load a file. I have tried loading a new dxf part, then modify that part and re-save it. No prompts in SheetCam.

Here is the debug log: (there seems to be several XRC errors)
09:48:44: Application started
09:48:44: System language is English (U.S.) (en_US)
09:48:44: Currently selected language is en_GB
09:48:44: Currently using English (en_GB)
09:48:45: The display supports required visual attributes.
09:48:45: Loading C:\Program Files (x86)\SheetCam TNG Development\plugins\Autoload\Autoload.lua … OK
09:48:45: Error: XRC error: 25: horizontal alignment flag “wxALIGN_CENTER_HORIZONTAL” has no effect inside a horizontal box sizer, remove it and consider inserting a spacer instead
09:48:45: Error: XRC error: 32: horizontal alignment flag “wxALIGN_CENTER_HORIZONTAL” has no effect inside a horizontal box sizer, remove it and consider inserting a spacer instead
09:48:45: Error: XRC error: 114: vertical alignment flag “wxALIGN_CENTER_VERTICAL” has no effect inside a vertical box sizer, remove it and consider inserting a spacer instead
09:48:45: Error: XRC error: 129: vertical alignment flag “wxALIGN_CENTER_VERTICAL” has no effect inside a vertical box sizer, remove it and consider inserting a spacer instead
09:48:45: Error: XRC error: 136: vertical alignment flag “wxALIGN_CENTER_VERTICAL” has no effect inside a vertical box sizer, remove it and consider inserting a spacer instead
09:48:45: Loading C:\Program Files (x86)\SheetCam TNG Development\plugins\BatchProcessing\Quickload.lua … OK
09:48:45: Loading C:\Program Files (x86)\SheetCam TNG Development\plugins\BatchUpdate\BatchUpdate.lua … OK
09:48:45: Loading C:\Program Files (x86)\SheetCam TNG Development\plugins\Calc\calculator.lua … OK
09:48:45: Loading C:\Program Files (x86)\SheetCam TNG Development\plugins\DNC\DNC.dll … OK
09:48:45: Loading C:\Program Files (x86)\SheetCam TNG Development\plugins\dstv\DSTV.dll … OK
09:48:45: Loading C:\Program Files (x86)\SheetCam TNG Development\plugins\dxf\DXF.dll … OK
09:48:45: Loading C:\Program Files (x86)\SheetCam TNG Development\plugins\EdingCNC\EdingCNC.dll … OK
09:48:45: Loading C:\Program Files (x86)\SheetCam TNG Development\plugins\Excellon\Excellon.dll … OK
09:48:45: Loading C:\Program Files (x86)\SheetCam TNG Development\plugins\gcode\Gcode.dll … OK
09:48:45: Loading C:\Program Files (x86)\SheetCam TNG Development\plugins\hpgl\HPGL.dll … OK
09:48:45: Loading C:\Program Files (x86)\SheetCam TNG Development\plugins\Knife\Knife.dll … Failed: Plugin is unlicensed
09:48:45: Plugin failed to initialise
09:48:45: Loading C:\Program Files (x86)\SheetCam TNG Development\plugins\laser\laser.dll … Failed: Plugin is unlicensed
09:48:45: Plugin failed to initialise
09:48:45: Loading C:\Program Files (x86)\SheetCam TNG Development\plugins\mach\Mach.dll … OK
09:48:46: Loading C:\Program Files (x86)\SheetCam TNG Development\plugins\manyposts\moreposts.lua … OK
09:48:46: Loading C:\Program Files (x86)\SheetCam TNG Development\plugins\PlasmaTool\PlasmaTool.lua … OK
09:48:46: Loading C:\Program Files (x86)\SheetCam TNG Development\plugins\RotaryPlasma\RotaryPlasma.dll … OK
09:48:46: Error: XRC error: 70: subclass “ValueBitmap” not found for resource “ID_VALUEHINT”, not subclassing
09:48:46: Loading C:\Program Files (x86)\SheetCam TNG Development\plugins\shape\shape.lua … OK
09:48:46: Loading C:\Program Files (x86)\SheetCam TNG Development\plugins\sim\Sim.dll … OK
09:48:46: Loading C:\Program Files (x86)\SheetCam TNG Development\plugins\svg\SVG.dll … OK
09:48:46: Loading C:\Program Files (x86)\SheetCam TNG Development\plugins\text\Text.dll … OK
09:48:46: Error: XRC error: 215: horizontal alignment flag “wxALIGN_CENTER_HORIZONTAL” has no effect inside a horizontal box sizer, remove it and consider inserting a spacer instead
09:48:46: Loading C:\Program Files (x86)\SheetCam TNG Development\plugins\Turn\Turn.dll … OK
09:48:46: Loading C:\Program Files (x86)\SheetCam TNG Development\plugins\VCarve\VCarve.dll … Failed: Plugin is unlicensed
09:48:46: Plugin failed to initialise
09:48:46: Loading C:\Program Files (x86)\SheetCam TNG Development\plugins\Wire\Wire.dll … Failed: Plugin is unlicensed
09:48:46: Plugin failed to initialise
09:48:46: Checking for updates…
09:48:48: Connected to update server
09:49:01: Backup started
09:49:01: Backup finished in 10 ms
09:49:19: Assert failure in function wxDir::GetFirst (C:\wx-3.0\wxWidgets\src\msw\dir.cpp:409). must wxDir::Open() first (“IsOpened()”)
09:51:47: Assert failure in function wxBoxSizer::DoInsert (C:\wx-3.0\wxWidgets\src\common\sizer.cpp:2113). Horizontal alignment flags are ignored with wxEXPAND (!(flags & (wxALIGN_RIGHT | wxALIGN_CENTRE_HORIZONTAL)))

Try disabling the plugin then look at the log again. Do you still get a warning like this:
Assert failure in function wxDir::GetFirst (C:\wx-3.0\wxWidgets\src\msw\dir.cpp:409). must wxDir::Open() first (“IsOpened()”)

Does it work if you choose a directory on your C drive?

I dug through the Autoload.lua code and found a bug in the function “CheckCurrent()”
removed the ‘/’ in the following line and it now works:
file, time = CheckDir(dirName … pathSep, “/*.” … nam:GetExt(), wx.wxDIR_FILES)

There were 2 more lines in that function that needed the ‘/’ removed as well.

Taking another look at the code I think you are right. However it has always worked in the past. I’ll update the plugin for future releases.