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

Update Drive Database Error #42

Open
boxerfan88 opened this issue Mar 18, 2023 · 2 comments
Open

Update Drive Database Error #42

boxerfan88 opened this issue Mar 18, 2023 · 2 comments
Assignees
Labels
bug Something isn't working enhancement New feature or request

Comments

@boxerfan88
Copy link

boxerfan88 commented Mar 18, 2023

Version and Environment

  • GSmartControl version: 1.1.4
  • OS: Windows 10

Describe the Bug
When trying to execute Update Drive Database, it will throw an error "Failed to execute child process (Bad file descriptor)".
I can successfully execute update-smart-drivedb.exe from the program folder.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Options'
  2. Click on 'Update Drive Database'
  3. See error

Screenshots

2023-03-19 07_48_45-GSmartControl

Additional Context
I have tried uninstalling & reinstalling GSmartControl, the problem remains.

@boxerfan88 boxerfan88 added bug Something isn't working enhancement New feature or request labels Mar 18, 2023
@HubKing
Copy link

HubKing commented Jul 11, 2023

There is no "Discussion" tab, so I have to ask here. On Linux, it update fails if xterm does not exist. Since I use another, better terminal app, I had uninstalled xterm. Is the xterm an important part of the Linux, like VI, that all systems are supposed to have? Otherwise, can't GSmartControl use any available terminal app or ... I don't know, does it really need a terminal app to update the database?

image

@ashaduri
Copy link
Owner

There is no "Discussion" tab, so I have to ask here. On Linux, it update fails if xterm does not exist. Since I use another, better terminal app, I had uninstalled xterm. Is the xterm an important part of the Linux, like VI, that all systems are supposed to have? Otherwise, can't GSmartControl use any available terminal app or ... I don't know, does it really need a terminal app to update the database?

image

Yes, it needs xterm. If you installed a GSmartControl package, it should have included xterm as its dependency. If not, please file a bug report against that package. The xterm package on my distribution is 38K, so you won't gain much by uninstalling it.
The reason that only xterm is supported is two-fold:

  • Some terminal apps have different command invocation syntax.
  • The default terminal app selection mechanism is desktop-specific, while GSmartControl aims to be very cross-platform.

On the other hand, wayland-based desktops are getting stable, so another mechanism will have to be implemented soon-ish.

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

No branches or pull requests

3 participants