-
Notifications
You must be signed in to change notification settings - Fork 15
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
GWorkspace dies on start up on Ubuntu 24.04 after fresh GNUstep install with the following exception #37
Comments
@IOOI-SqAR please tell more about "fresh gnustep install". All GNUstep and GWorkspace built from sources? releases or GIT versions? any peculiar configurations? themes? What configure options for gworkspace? metadata? I even recently did a complete fresh install on Devuan and had no issues. Apparently there is an issue getting an icon or something goes wrong on resize. I'll have a look a the code. |
Hi Riccardo! Fresh install means I used just
so nothing special. Everything should be set to its default settings, current source from HEAD. HTH, Lars |
@IOOI-SqAR Lars, obviosuly I do not get this error. Checking the code, it appears to get an icon both from the cache as from NSWorkspace. You get an interesting warning for "/home/lars/.Trash" Please update, I made the code more robust and the debugging more helpful. |
Sorry, I had a partial commit, so build broke.. either you revert it as a test or directly update, where I make sure to get always NSWorkspace without caching it on an IVAR. |
Hi Riccardo
Not that I am aware of. I couldn't get to the point where I can set such things (Assuming it is a GWorkspace setting).
Currently I no longer get the crash. However, GWorkspace is in some strange state:
|
Riccardo, here you go:
|
Indeed, there isn't the symbol anymore, I made the code more dynamic, but safer. Maybe a tad slower, but no init problems anymore. |
There is a global setting, I don't remember the name, I set it with SystemPreferences (should affect file panels too)
This is not a specific GWorkspace issue, but I think a build issue. I think you have a build/version mismatch. This usually happens with an unclean build (mix of library version) or mix of compiler versions, runtimes... maybe you hacked and brought things this way or there is an issue with the script you are using. Try other apps if they work? |
Hi Riccardo, it could well be, that I have a somewhat broken GNUstep install, although I did nothing special here: Gorm also has issues:
What did I do to install GNUstep? Not much, just did a fresh install of Ubuntu 24.04 from
imho the script from our homepage should better work, since it is prominently presented at our homepage and maybe the first contact with GNUstep for some users which might be all new to GNUstep and might have no experience to fix occurring problems. Kind regards! |
Hi Lars,
This is somehow the "proof" that your installation is not working. What you see is not a GWorkspace issue, but an issue of your install.
I would not put it that prominent, but other wanted it. I never trust scripts and do everything manually since 20 years, it is not hat hard and I can verify each step. |
o.k. thanks for that.
Well, it's not hard for you since you know the installation process like the back of your hand. But others who aren't GNUstep developers now might find this process somewhat complicated. To widen the audience of GNUstep we need such scripts IMHO.
Well, of course! One of the reasons I am doing this in a Virtual Box VM is, that I easily can go back to old snapshots.
Done: gnustep/tools-scripts#18 Kind regards, Lars |
@IOOI-SqAR did you do further work on this? did you attempt to rebuild a whole environment on your setup with the GCC runtime? We need to do some differential analysis here. |
I am tempted to close this. I successfully compile GWorkspace on Clang/libobjc2 and gcc runtimes on different architectures. I believe the issue is in your scripts and setups for which have separate issues. |
@rmottola Cause for this was a broken GNUstep installation, Moral of the story: Never check out GNUstep sources to a Virtual Box shared folder. You can close this now, Thanks again for your help in the cause! Lars |
Fine! we found other stuff in the trip, always good. |
The text was updated successfully, but these errors were encountered: