Bug 292286

Summary: Gluon creator doesn't load images
Product: [Unmaintained] gluon Reporter: Felix Rohrbach <fxrh>
Component: gluongraphicsAssignee: sacha schutz <istdasklar>
Status: RESOLVED UNMAINTAINED    
Severity: normal CC: lpapp
Priority: NOR    
Version First Reported In: Electron(alpha 2)   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Felix Rohrbach 2012-01-23 19:09:57 UTC
Version:           Electron(alpha 2) (using KDE 4.7.4) 
OS:                Linux

When I load fex. the invaders game into the creator, I don't see any images from assets in the scene view, only the qml parts. This does not change if I start the game. With the desktop player, everything works.

These lines from the output look interesting:
"BEGIN void GluonEngine::Game::setGameProject(GluonEngine::GameProject*)" 
"    Set the gameproject to Invaders with the entry point Menu" 
"    (20:05:19) An error occurred during Vertex Shader compilation!" 
"    " 
"    (20:05:19) An error occurred during Fragment Shader compilation!" 
"    " 
"    (20:05:19) An error occurred during shader linking!" 
"    " 
"    (20:05:19) An error occurred during Vertex Shader compilation!" 
"    " 
"    (20:05:19) An error occurred during Fragment Shader compilation!" 
"    " 
"    (20:05:19) An error occurred during shader linking!" 
"    " 
QCoreApplication::postEvent: Unexpected null receiver
"END   void GluonEngine::Game::setGameProject(GluonEngine::GameProject*)" 

System:
Arch Linux
Gluon from git
Qt 4.8.0
KDE 4.7.4
NVidia graphics card with nvidia closed source driver

full output (start creator and select invaders):
"Registering object type GluonCore::GluonObject with typeID 263" 
"Registering object type GluonGraphics::Material with typeID 266" 
"Registering object type GluonGraphics::MaterialElement with typeID 269" 
"Registering object type GluonGraphics::MaterialInstance with typeID 271" 
"Registering object type GluonGraphics::Technique with typeID 273" 
"Registering object type GluonEngine::AbstractPrefabInstance with typeID 275" 
"Registering object type GluonEngine::AbstractStatistic with typeID 277" 
"Registering object type GluonEngine::Achievement with typeID 279" 
"Registering object type GluonEngine::Asset with typeID 281" 
"Registering object type GluonEngine::BooleanStatistic with typeID 283" 
"Registering object type GluonEngine::GameObject with typeID 285" 
"Registering object type GluonEngine::GameProject with typeID 287" 
"Registering object type GluonEngine::MultiScoreStatistic with typeID 289" 
"Registering object type GluonEngine::Prefab with typeID 291" 
"Registering object type GluonEngine::PrefabInstance with typeID 293" 
"Registering object type GluonEngine::PrefabInstanceChild with typeID 295" 
"Registering object type GluonEngine::ProjectMetaData with typeID 297" 
"Registering object type GluonEngine::Scene with typeID 299" 
"Registering object type GluonEngine::Statistic with typeID 301" 
"Registering object type GluonEngine::TasksStatistic with typeID 303" 
"BEGIN void GluonCore::GluonObjectFactory::loadPlugins()" 
"    Number of plugin locations: 3" 
"    Looking for pluggable components in /usr/lib" 
"    Found 9 potential plugins. Attempting to load..." 
"    Looking for pluggable components in /usr/lib/kde4" 
"    Found 0 potential plugins. Attempting to load..." 
"    Looking for pluggable components in /usr/lib/gluon" 
"    Found 19 potential plugins. Attempting to load..." 
"    Registering object type GluonEngine::AchievementsAsset with typeID 326" 
"    Added mimetypes  application/x-gluon-achievements to the index" 
"    Registering object type GluonEngine::MaterialAsset with typeID 328" 
"    Added mimetypes  application/x-gluon-material to the index" 
Error loading libdumb.so: libdumb.so: Kann die Shared-Object-Datei nicht öffnen: Datei oder Verzeichnis nicht gefunden
"    Registering object type GluonEngine::SoundAsset with typeID 330" 
"    Added mimetypes  audio/x-wav audio/x-vorbis+ogg application/x-ogg to the index" 
"    Registering object type GluonEngine::StatisticsAsset with typeID 332" 
"    Added mimetypes  application/x-gluon-statistics to the index" 
"    Registering object type GluonEngine::TextureAsset with typeID 334" 
"    Added mimetypes  image/BW image/EPS image/EPSF image/EPSI image/EXR image/PCX image/PSD image/RAS image/RGB image/RGBA image/SGI image/TGA image/XCF image/bmp image/bw image/dds image/eps image/epsf image/epsi image/exr image/gif image/ico image/jp2 image/jpeg image/jpg image/mng image/pbm image/pcx image/pgm image/pic image/png image/ppm image/psd image/ras image/rgb image/rgba image/sgi image/svg image/svgz image/tga image/tif image/tiff image/xbm image/xcf image/xpm image/xv to the index" 
"    Registering object type GluonEngine::AnimatedSpriteRendererComponent with typeID 336" 
"    Registering object type GluonEngine::BeamRendererComponent with typeID 338" 
"    Registering object type GluonEngine::btAsset with typeID 340" 
"    Added mimetypes  application/xml to the index" 
"    Registering object type GluonEngine::Tree with typeID 344" 
"    Registering object type GluonEngine::Character with typeID 346" 
"    Registering object type GluonEngine::ViewCone with typeID 348" 
"    Registering object type GluonEngine::PerceptionAtom with typeID 350" 
"    Registering object type GluonEngine::PerceptionInfo with typeID 352" 
"    Registering object type GluonEngine::CameraControllerComponent with typeID 356" 
"    Registering object type GluonInput::InputDevice with typeID 358" 
"    Registering object type GluonInput::Mouse with typeID 360" 
"    Registering object type GluonEngine::KeyboardInputComponent with typeID 362" 
"    Registering object type GluonEngine::MouseInputComponent with typeID 364" 
"    Registering object type GluonEngine::ScriptingAsset with typeID 366" 
"    Added mimetypes  application/javascript text/plain to the index" 
"    Registering object type GluonEngine::ScriptingComponent with typeID 368" 
"    Registering object type GluonEngine::SoundEmitterComponent with typeID 370" 
AL lib: pulseaudio.c:612: Context did not connect: Access denied
"    Registering object type GluonEngine::SoundListenerComponent with typeID 372" 
"    Registering object type GluonEngine::SphereCollisionComponent with typeID 374" 
"    Registering object type GluonEngine::SpriteRendererComponent with typeID 376" 
"    Registering object type GluonEngine::StatisticsComponent with typeID 378" 
"    Registering object type GluonEngine::TouchInputComponent with typeID 380" 
"    Registering object type GluonEngine::UiManagerComponent with typeID 383" 
"    Registering object type GluonEngine::UiAsset with typeID 385" 
"    Added mimetypes  text/x-csrc text/plain to the index" 
"    Total number of objects in factory after loading: 48" 
"END   void GluonCore::GluonObjectFactory::loadPlugins()" 
"BEGIN void GluonCreator::PluginManager::loadPlugins()" 
gluoncreator(14614)/kdecore (KSycoca) KSycocaPrivate::openDatabase: Trying to open ksycoca from "/var/tmp/kdecache-felix/ksycoca4"
"    Load plugin: Distribution Dock" 
QStateMachine::addState: state has already been added to this machine
QStateMachine::addState: state has already been added to this machine
QStateMachine::addState: state has already been added to this machine
QStateMachine::addState: state has already been added to this machine
QStateMachine::addState: state has already been added to this machine
QStateMachine::addState: state has already been added to this machine
Plugin paths:  ("/usr/lib/qt/plugins", "/home/felix/.kde4/lib/", "/usr/lib/") 
Trying to load Attica plugin:  "/usr/lib/qt/plugins/attica_kde.so" 
Trying to load Attica plugin:  "/home/felix/.kde4/lib//attica_kde.so" 
Trying to load Attica plugin:  "/usr/lib//attica_kde.so" 
Using Attica with KDE support 
"    Load plugin: Eigenschaften-Anzeige" 
"    Load plugin: Nachrichten-Anzeige" 
"    Load plugin: Szenen-Anzeige" 
"    Load plugin: Komponenten-Ansicht" 
"    The Component GluonGraphics::MaterialElement does not have its constructor marked with Q_INVOKABLE" 
"    The Component GluonEngine::AbstractPrefabInstance does not have its constructor marked with Q_INVOKABLE" 
"    The Component GluonGraphics::Material does not have its constructor marked with Q_INVOKABLE" 
"    The Component GluonInput::Mouse does not have its constructor marked with Q_INVOKABLE" 
"    The Component GluonInput::InputDevice does not have its constructor marked with Q_INVOKABLE" 
"    The Component GluonGraphics::Technique does not have its constructor marked with Q_INVOKABLE" 
"    Load plugin: Projekt-Anzeige" 
"    The Asset class GluonEngine::Asset is lacking the Q_INTERFACES(GluonEngine::Asset) macro" 
"    BEGIN virtual QStringList GluonCreator::ProjectModel::mimeTypes() const" 
"        application/gluon.object.gameobject" 
"        application/gluoncreator.projectmodel.gluonobject" 
"        text/uri-list" 
"        image/rgb" 
"        image/RAS" 
"        image/SGI" 
"        image/bmp" 
"        image/jpeg" 
"        image/gif" 
"        image/png" 
"        image/RGB" 
"        image/psd" 
"        image/mng" 
"        image/exr" 
"        image/XCF" 
"        image/tif" 
"        image/jpg" 
"        image/pbm" 
"        image/xpm" 
"        image/ico" 
"        image/EXR" 
"        image/eps" 
"        image/tiff" 
"        image/jp2" 
"        image/EPS" 
"        image/PSD" 
"        image/svg" 
"        image/pgm" 
"        application/x-gluon-material" 
"        image/dds" 
"        image/rgba" 
"        image/xv" 
"        audio/x-wav" 
"        image/tga" 
"        image/bw" 
"        application/x-gluon-statistics" 
"        audio/x-vorbis+ogg" 
"        image/epsf" 
"        image/pcx" 
"        image/epsi" 
"        image/RGBA" 
"        image/ppm" 
"        image/svgz" 
"        image/TGA" 
"        image/ras" 
"        application/x-gluon-achievements" 
"        application/x-ogg" 
"        image/PCX" 
"        image/BW" 
"        image/EPSF" 
"        image/xbm" 
"        application/javascript" 
"        image/EPSI" 
"        text/plain" 
"        text/x-csrc" 
"        image/pic" 
"        image/sgi" 
"        image/xcf" 
"        application/xml" 
"    END   virtual QStringList GluonCreator::ProjectModel::mimeTypes() const" 
"    Load plugin: Project Inspector" 
"END   void GluonCreator::PluginManager::loadPlugins()" 
QObject::connect: Connecting from QTabBar::tabCloseRequested(int) to COMPAT slot (KTabBar::closeRequest(int))
Loaded paths from config: (QUrl("http://download.kde.org/ocs/providers.xml") )  
gluoncreator(14614)/kdecore (K*TimeZone*) KSystemTimeZonesPrivate::instance: instance(): ... initialised
gluoncreator(14614)/kdecore (K*TimeZone*) KSystemTimeZonesPrivate::readConfig: readConfig(): local zone= "Europe/Berlin"
gluoncreator(14614)/kdecore (K*TimeZone*) KSystemTimeZonesPrivate::readZoneTab: readZoneTab( "/usr/share/zoneinfo/zone.tab" )
Adding provider "https://api.opendesktop.org/v1/" 
gluoncreator(14614) Attica::KdePlatformDependent::hasCredentials: Found credentials in KWallet
gluoncreator(14614)/kdeui (Wallet) KWallet::Wallet::openWallet: Pass a valid window to KWallet::Wallet::openWallet().
gluoncreator(14614) Attica::KdePlatformDependent::loadCredentials: Successfully loaded credentials.
gluoncreator(14614) Attica::KdePlatformDependent::loadCredentials: Successfully loaded credentials.
OCS Request:  QUrl( "https://fxrh:oeP96mLXrg@api.opendesktop.org/v1/content/categories" )  
OCS Request:  QUrl( "https://fxrh:xxxxxxxx@api.opendesktop.org/v1/content/licenses" )  
gluoncreator(14614) KIO::SlaveInterfacePrivate::messageBox: 2 "Sie sind gerade dabei, sich auf der Seite „api.opendesktop.org“ mit dem Benutzernamen „fxrh“ anzumelden, obwohl diese Webseite keine Anmeldung verlangt. Dies kann ein Versuch sein, Sie zu betrügen.<p>Möchten Sie wirklich die Seite „api.opendesktop.org“ besuchen?" caption= "Internetseitenzugriff bestätigen"
gluoncreator(14614) KIO::SlaveInterfacePrivate::messageBox: 2 "Sie sind gerade dabei, sich auf der Seite „api.opendesktop.org“ mit dem Benutzernamen „fxrh“ anzumelden, obwohl diese Webseite keine Anmeldung verlangt. Dies kann ein Versuch sein, Sie zu betrügen.<p>Möchten Sie wirklich die Seite „api.opendesktop.org“ besuchen?" caption= "Internetseitenzugriff bestätigen"
"BEGIN void GluonCore::GluonObjectFactory::loadPlugins()" 
"    Number of plugin locations: 3" 
"    Looking for pluggable components in /usr/lib" 
"    Found 9 potential plugins. Attempting to load..." 
"    Looking for pluggable components in /usr/lib/kde4" 
"    Found 0 potential plugins. Attempting to load..." 
"    Looking for pluggable components in /usr/lib/gluon" 
"    Found 19 potential plugins. Attempting to load..." 
"    Total number of objects in factory after loading: 48" 
"END   void GluonCore::GluonObjectFactory::loadPlugins()" 
"BEGIN void GluonEngine::Game::setGameProject(GluonEngine::GameProject*)" 
"    Set the gameproject to Invaders with the entry point Menu" 
"    (20:05:19) An error occurred during Vertex Shader compilation!" 
"    " 
"    (20:05:19) An error occurred during Fragment Shader compilation!" 
"    " 
"    (20:05:19) An error occurred during shader linking!" 
"    " 
"    (20:05:19) An error occurred during Vertex Shader compilation!" 
"    " 
"    (20:05:19) An error occurred during Fragment Shader compilation!" 
"    " 
"    (20:05:19) An error occurred during shader linking!" 
"    " 
QCoreApplication::postEvent: Unexpected null receiver
"END   void GluonEngine::Game::setGameProject(GluonEngine::GameProject*)" 
Number of Achievements: 0 
QCoreApplication::postEvent: Unexpected null receiver
gluoncreator(14614)/kparts KParts::ReadOnlyPart::guiActivateEvent: KUrl("file:///usr/share/gluon/games/invaders.gluon/game.gluonproject")
gluoncreator(14614)/kdeui (kdelibs): Attempt to use QAction "" with KXMLGUIFactory! 
gluoncreator(14614)/kdeui (kdelibs): Attempt to use QAction "" with KXMLGUIFactory! 
gluoncreator(14614)/kdeui (kdelibs): Attempt to use QAction "" with KXMLGUIFactory! 
gluoncreator(14614)/kdeui (kdelibs): Attempt to use QAction "" with KXMLGUIFactory! 
gluoncreator(14614)/kdeui (kdelibs): Attempt to use QAction "" with KXMLGUIFactory! 
gluoncreator(14614)/kdeui (kdelibs): Attempt to use QAction "" with KXMLGUIFactory! 
gluoncreator(14614)/kparts KParts::PartManager::addPart: Part ' "" ' has a widget  ""  with a focus policy of NoFocus. It should have at least a ClickFocus policy, for part activation to work well. 

"BEGIN void GluonCreator::ObjectManager::watchCurrentAssets()" 
"    Watching /usr/share/gluon/games/invaders.gluon/scenes/menu.gluonscene for changes." 
"    Watching /usr/share/gluon/games/invaders.gluon/scenes/game.gluonscene for changes." 
"    Watching /usr/share/gluon/games/invaders.gluon/assets/interface/menu_interface.qml for changes." 
"    Watching /usr/share/gluon/games/invaders.gluon/assets/interface/game_interface.qml for changes." 
"    Watching /usr/share/gluon/games/invaders.gluon/assets/scripts/player.js for changes." 
"    Watching /usr/share/gluon/games/invaders.gluon/assets/scripts/enemy.js for changes." 
"    Watching /usr/share/gluon/games/invaders.gluon/assets/scripts/controller.js for changes." 
"    Watching /usr/share/gluon/games/invaders.gluon/assets/scripts/bullet.js for changes." 
"    Watching /usr/share/gluon/games/invaders.gluon/assets/sounds/menu_music.ogg for changes." 
"    Watching /usr/share/gluon/games/invaders.gluon/assets/sounds/game_music.ogg for changes." 
"    Watching /usr/share/gluon/games/invaders.gluon/assets/sounds/fire.ogg for changes." 
"    Watching /usr/share/gluon/games/invaders.gluon/assets/sounds/explode.ogg for changes." 
"    Watching /usr/share/gluon/games/invaders.gluon/assets/textures/enemy.png for changes." 
"    Watching /usr/share/gluon/games/invaders.gluon/assets/textures/background.png for changes." 
"    Watching /usr/share/gluon/games/invaders.gluon/assets/textures/icon.png for changes." 
"    Watching /usr/share/gluon/games/invaders.gluon/assets/textures/spaceship_reflection.png for changes." 
"    Watching /usr/share/gluon/games/invaders.gluon/assets/textures/spaceship.png for changes." 
"    Watching /usr/share/gluon/games/invaders.gluon/assets/main_material.gml for changes." 
"    Watching /usr/share/gluon/games/invaders.gluon/assets/render_target_material.gml for changes." 
"END   void GluonCreator::ObjectManager::watchCurrentAssets()" 

Reproducible: Always

Steps to Reproduce:
open creator, select invaders


Expected Results:  
see images loaded from assets
Comment 1 Justin Zobel 2021-03-09 05:41:37 UTC
Thank you for the bug report.

As this report hasn't seen any changes in 5 years or more, we ask if you can please confirm that the issue still persists.

If this bug is no longer persisting or relevant please change the status to resolved.
Comment 2 Christoph Cullmann 2025-06-10 16:52:45 UTC
This project is unfortunately no longer maintained.

If a new maintainer wants to step up and take care, the project is archived here:

https://invent.kde.org/unmaintained/gluon

You can just clone it in your private namespace on invent.kde.org and if you have started to work on it and fixed/implemented something get it reviewed and the project unarchived.

Sorry for the inconveniences.