Forums

"Run" vs "Shortcut" ? (crash report pop-up window)

Auteur Réponses
sokol99 Samedi 14 Mars 2020 à 22:20
sokol99Anonymous

Hi, this is probably a really noob question but I've been getting different results when I launch a POL application from the UI using the "Run" button vs using a shortcut for exact same application.   In  my case, using the shortcut always results in a pop-up window that Wine has crashed (the game still launches though but the popup is on top) whille with the "Run" option, it consistently loads without any errors (but not always).

Any idea why this would be and how I could correct it?

In my case the game is a patched version of Warcraft III Reign of Chaos installed using the provided POL install script then updated manually with the update file War3ROC_126a_English.exe.  I have created new desktop shortcuts to make sure it's pointed to the same app so I'm confused. 

The shortcut has this as it's launch command:

/usr/share/playonlinux/playonlinux --run "Warcraft III - Reign Of Chaos" %F

If I use the debugger, the error that seems to correspond with the popup is:

002f:err:ole:CoCreateInstanceEx apartment not initialised

Wisdom?

Thanks!

Dadu042 Dimanche 15 Mars 2020 à 9:12
Dadu042
Modérateur

I think that when using "run", the debug log appears in the terminal window, so this is normal.

 

When making a script, adding this command after the shortcut creation should hide the error window:         POL_Shortcut_QuietDebug "$TITLE"

But according my tests the command seems to to not work anymore sad.