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

Fatal Error: "Sequence contains no elements" (SEB Fails to Start in Offline Mode) #966

Open
SalamShahid opened this issue Sep 8, 2024 · 5 comments
Assignees
Labels
known issue This issue is known but currently without a solution.

Comments

@SalamShahid
Copy link

Describe the Bug
Tried to run SEB in offline mode, but it ends with an error message (see attached screenshot). No log files are generated. Everything works perfectly when running SEB in online mode on the same machine without changing any configurations.

Steps to Reproduce
Steps to reproduce the behavior:

  1. Install SEB on an offline machine using the msi setup file.
  2. Setup the configuration file with Start URL and other necessary settings using SEB configuration tool.
  3. Try to open SEB in offline mode.
  4. It will show the attached error message.
  5. No log files are generated.
  6. Connect the machine to the internet.
  7. Try to open SEB and it works perfectly.
  8. The cycle repeats if you start from step 3.

Expected Behavior
SEB should work in offline mode without any issues.

Screenshots
SEB-Error

Version Information

  • OS: Windows 11 Home. Version 10.0.22631
  • SEB-Version: 3.7.0.682
@dbuechel
Copy link
Member

Thanks for the report. Yes, this is as a matter of fact a current restriction, as until now there were no known use cases for the usage of SEB without a network connection. As the MAC address is also being used for other functionality, we'll first need to investigate potential side effects of allowing to use SEB without a network connection resp. a not defined MAC address.

@dbuechel dbuechel added the being investigated This issue is being investigated. label Sep 12, 2024
@dbuechel
Copy link
Member

dbuechel commented Sep 12, 2024

Most systems should have a network card with a valid MAC address, regardless of whether they're connected to a network or not. But as commented in #962, the WMI query used most likely does not work (at all or always) for systems which (momentarily) do not have a network connection:

using (var searcher = new ManagementObjectSearcher("SELECT MACAddress FROM Win32_NetworkAdapterConfiguration WHERE DNSHostName IS NOT NULL"))

So we'll definitely try to improve this for the next release version, but it may not be as easy as would be expected due to a system being able to have various network adapters, of which we'd have to (reliably!) find the actual, physical one even when there (temporarily) is no network connection...

Copy link

This issue is stale because it has been open for 28 days with no activity. It will soon be closed automatically if there are no updates.

@github-actions github-actions bot added the stale This issue had no recent activity and will thus soon be closed. label Oct 11, 2024
@dbuechel dbuechel added enhancement This issue proposes an enhancement of the software. known issue This issue is known but currently without a solution. and removed being investigated This issue is being investigated. stale This issue had no recent activity and will thus soon be closed. enhancement This issue proposes an enhancement of the software. labels Oct 17, 2024
@mccollege-au
Copy link

We are seeing the same behaviour happen, we use SEB for offline exams with a fleet of laptops. It's a stripped-down Word install, no web access at all.

This is on Windows 10 machines. Plugging a USB network adapter before starting SEB is a workaround but is not practical if SEB has exited and the laptop is out in the field.

@dbuechel
Copy link
Member

Thanks for the input, we'll try to have a look and, if possible, resolve the issue for an upcoming version.

@dbuechel dbuechel pinned this issue Nov 4, 2024
@dbuechel dbuechel changed the title SEB Fails to Start in Offline Mode on Windows 11, No Log Files Generated Fatal Error: "Sequence contains no elements" (SEB Fails to Start in Offline Mode) Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
known issue This issue is known but currently without a solution.
Projects
None yet
Development

No branches or pull requests

3 participants