Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Access CI doesn't work consistently #4

Open
ghuysmans opened this issue Nov 23, 2021 · 7 comments
Open

Access CI doesn't work consistently #4

ghuysmans opened this issue Nov 23, 2021 · 7 comments
Labels
bug Something isn't working

Comments

@ghuysmans
Copy link
Owner

No description provided.

@ghuysmans ghuysmans added the bug Something isn't working label Nov 23, 2021
@ghuysmans
Copy link
Owner Author

Once it's done, publish it as a standalone GitHub Action.

@ghuysmans
Copy link
Owner Author

This works on a self-hosted runner.

@mohitsaxenaknoldus
Copy link
Contributor

You can give me some more info on this? Like why does it work on a self-hosted runner and what kind of inconsistency are we talking about here?

@ghuysmans
Copy link
Owner Author

There are two kinds of inconsistencies:

  • It looks like AccessDatabaseEngine_X64.exe silently fails: the driver is present but you can't use it.
    SOURCES_PARSENAME   : {3BE786A0-0366-4F5C-9434-25CF162E475E}
    SOURCES_DESCRIPTION : Microsoft Office 12.0 Access Database Engine OLE DB Provider
    SOURCES_TYPE        : 1
    SOURCES_ISPARENT    : False
    SOURCES_CLSID       : {3BE786A0-0366-4F5C-9434-25CF162E475E}
    ...
    Run cscript.exe //nologo utils\dump_access_views.vbs utils\sample.accdb >views.sql
    Provider cannot be found. It may not be properly installed.
    Error: Process completed with exit code 1.
    
  • VBScript's stderr sometimes doesn't appear in GH Actions log:
    ...
    Run cscript.exe //nologo utils\dump_access_views.vbs utils\sample.accdb
      cscript.exe //nologo utils\dump_access_views.vbs utils\sample.accdb
      shell: C:\Program Files\PowerShell\7\pwsh.EXE -command ". '{0}'"
    Error: Process completed with exit code 1.
    

@ghuysmans
Copy link
Owner Author

I suspect the driver to require a reboot...

@mohitsaxenaknoldus
Copy link
Contributor

Does your app run on 32 bits architecture? Because AccessDatabaseEngine_X64.exe is 64 bits version that we are downloading.

@ghuysmans
Copy link
Owner Author

The scripts runs on the 64-bit interpreter. It worked just once (!) for the same commit (af00855, basically 4a19301 + f52aadb):

  1. Success
  2. Failure

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants