Kodi Community Forum
[CLOSED] Advanced Launcher - Applications Launcher Addon for XBMC - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Game Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=291)
+---- Thread: [CLOSED] Advanced Launcher - Applications Launcher Addon for XBMC (/showthread.php?tid=85724)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453


- Angelscry - 2010-12-09

Robert de Clair Wrote:removing standalone launchers doesnt make a change
i still cannot enter into launcher (main/root screen) if i change google as screen thumb source
theres log and cfg files. im using portable version dharma rc2 and latest ALA from your repo.
thank you for great plugin.

http://www.mediafire.com/?78c584577w055
It was a problem with the simplejson module dependency. It is now normally fixed with version v.0.7.6. Thank you for your feedback (xbmc log file help me a lot).


- ECEC - 2010-12-09

Angelscry, I installed the repo this morning, and it looked like it worked correctly. The repo appeared, and I drilled down to the Advanced Launcher plugin which showed it had an update. When I attempt to update, though, it just stays at Downloading 0%. I'm running Dharma RC1, is RC2 required to use the repo? If not, what info do you need to troubleshoot the issue?


- Angelscry - 2010-12-09

ECEC Wrote:Angelscry, I installed the repo this morning, and it looked like it worked correctly. The repo appeared, and I drilled down to the Advanced Launcher plugin which showed it had an update. When I attempt to update, though, it just stays at Downloading 0%. I'm running Dharma RC1, is RC2 required to use the repo? If not, what info do you need to troubleshoot the issue?
Arggg... Thank you for the information. I will check this. BTW you could always manually download the last version of the Advance Launcher form here : http://xbmc-advanced-launcher.googlecode.com/files/plugin.program.advanced.launcher.0.7.6.zip


- ECEC - 2010-12-09

Angelscry Wrote:Arggg... Thank you for the information. I will check this. BTW you could always manually download the last version of the Advance Launcher form here : http://xbmc-advanced-launcher.googlecode.com/files/plugin.program.advanced.launcher.0.7.6.zip

I ended up doing that but I was just curious. The repos make it so much easier to get updates on the HTPC. Smile


- ali2k1 - 2010-12-09

hi all, i set nebula up to start in fullscreen when loading a rom which worked like you said from outside xbmc, i used nebula.exe romname in arguments and it loads and then comes back to xbmc.any ideas? thanks! for your help.


- ali2k1 - 2010-12-09

Nevermind I'm gonna use mame!


- davidw - 2010-12-09

I want to integrate my ROMs and ZSNES on my Ubuntu Dharma installation with your launcher but I have a few problems.

1) Adding the program and ROMs via GUI was not 100% possible. Should the program list all the ROMs after I defined the ROM-Path? This is my actual launcher.xml. I added the complete <rom> part manually but at least this one ROM is working Big Grin
Code:
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<launchers>
    <launcher>
        <name>zsnes</name>
        <application>/usr/bin/zsnes</application>
        <args>-s</args>
        <rompath>/home/xbmc/games/snes-roms/</rompath>
        <thumbpath>/home/xbmc/games/snes-roms/</thumbpath>
        <fanartpath>/home/xbmc/games/snes-roms/</fanartpath>
        <romext>smc</romext>
        <platform>Super Nintendo Entertainment System</platform>
        <thumb></thumb>
        <fanart></fanart>
        <genre></genre>
        <release></release>
        <publisher></publisher>
        <launcherplot></launcherplot>
        <wait>true</wait>
        <roms>
            <rom>
                <name>Donkey Kong Country</name>
                <filename>/home/xbmc/games/snes-roms/Donkey Kong Country/Donkey Kong Country.smc</filename>
                <platform>Super Nintendo Entertainment System</platform>
                <thumb>/home/xbmc/games/snes-roms/Donkey Kong Country/Donkey Kong Country.png</thumb>
                <fanart>/home/xbmc/games/snes-roms/Donkey Kong Country/Donkey Kong Country.png</fanart>
                <genre></genre>
                <release></release>
                <publisher></publisher>
                <gameplot></gameplot>
            </rom>
        </roms>
    </launcher>
</launchers>

2) When I try to search for the cover etc I get the following error:
Code:
18:39:10 T:3044874096 M:3138650112   DEBUG: Alloc resources: 0.01ms (0.01 ms skin load)
18:39:10 T:2786159472 M:3138113536    INFO: -->Python script returned the following error<--
18:39:10 T:2786159472 M:3138113536   ERROR: Error Type: exceptions.ImportError
18:39:10 T:2786159472 M:3138113536   ERROR: Error Contents: No module named simplejson
18:39:10 T:2786159472 M:3138113536   ERROR: Traceback (most recent call last):
                                              File "/home/xbmc/.xbmc/addons/plugin.program.advanced.launcher/addon.py", line 20, in ?
                                                plugin.Main()
                                              File "/home/xbmc/.xbmc/addons/plugin.program.advanced.launcher/resources/lib/launcher_plugin.py", line 112, in __init__
                                                self._get_scrapers()
                                              File "/home/xbmc/.xbmc/addons/plugin.program.advanced.launcher/resources/lib/launcher_plugin.py", line 566, in _get_scrapers
                                                exec "import resources.scrapers.thumbs.%s.thumbs_scraper as _thumbs_scraper" % ( self.settings[ "thumbs_scraper" ] )
                                              File "<string>", line 1, in ?
                                              File "/home/xbmc/.xbmc/addons/plugin.program.advanced.launcher/resources/scrapers/thumbs/Google/thumbs_scraper.py", line 3, in ?
                                                import simplejson
                                            ImportError: No module named simplejson
18:39:10 T:2786159472 M:3138113536    INFO: -->End of Python script error report<--
18:39:10 T:2786159472 M:3138113536   DEBUG: xbp_dlopen loading python lib /usr/lib/xbmc/system/python/python24.zip/collections.so. flags: 2
18:39:10 T:2786159472 M:3138113536   DEBUG: Loading: /home/xbmc/.xbmc/temp/collections.so
18:39:10 T:2786159472 M:3138113536   DEBUG: RegisterExtensionLib, adding collections.so (0xa3f82a80)
18:39:10 T:2786159472 M:3138113536   DEBUG: xbp_dlsym - load symbol initcollections
18:39:10 T:2786159472 M:3138113536    INFO: Python script stopped
18:39:10 T:2786159472 M:3138113536   DEBUG: Thread 2786159472 terminating
18:39:10 T:2794556272 M:3138113536   DEBUG:  WaitOnScriptResult - plugin exited prematurely - terminating

Hope you can help out and thx for the PlugIn anyway Smile

Cheers,
David


- ECEC - 2010-12-09

Once you configure the launcher you'll need to scan the roms to bring them into the database. There should be an option in the context menu for it.


- Angelscry - 2010-12-09

davidw Wrote:I want to integrate my ROMs and ZSNES on my Ubuntu Dharma installation with your launcher but I have a few problems.

1) Adding the program and ROMs via GUI was not 100% possible. Should the program list all the ROMs after I defined the ROM-Path? This is my actual launcher.xml. I added the complete <rom> part manually but at least this one ROM is working Big Grin
Code:
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<launchers>
    <launcher>
        <name>zsnes</name>
        <application>/usr/bin/zsnes</application>
        <args>-s</args>
        <rompath>/home/xbmc/games/snes-roms/</rompath>
        <thumbpath>/home/xbmc/games/snes-roms/</thumbpath>
        <fanartpath>/home/xbmc/games/snes-roms/</fanartpath>
        <romext>smc</romext>
        <platform>Super Nintendo Entertainment System</platform>
        <thumb></thumb>
        <fanart></fanart>
        <genre></genre>
        <release></release>
        <publisher></publisher>
        <launcherplot></launcherplot>
        <wait>true</wait>
        <roms>
            <rom>
                <name>Donkey Kong Country</name>
                <filename>/home/xbmc/games/snes-roms/Donkey Kong Country/Donkey Kong Country.smc</filename>
                <platform>Super Nintendo Entertainment System</platform>
                <thumb>/home/xbmc/games/snes-roms/Donkey Kong Country/Donkey Kong Country.png</thumb>
                <fanart>/home/xbmc/games/snes-roms/Donkey Kong Country/Donkey Kong Country.png</fanart>
                <genre></genre>
                <release></release>
                <publisher></publisher>
                <gameplot></gameplot>
            </rom>
        </roms>
    </launcher>
</launchers>

2) When I try to search for the cover etc I get the following error:
Code:
18:39:10 T:3044874096 M:3138650112   DEBUG: Alloc resources: 0.01ms (0.01 ms skin load)
18:39:10 T:2786159472 M:3138113536    INFO: -->Python script returned the following error<--
18:39:10 T:2786159472 M:3138113536   ERROR: Error Type: exceptions.ImportError
18:39:10 T:2786159472 M:3138113536   ERROR: Error Contents: No module named simplejson
18:39:10 T:2786159472 M:3138113536   ERROR: Traceback (most recent call last):
                                              File "/home/xbmc/.xbmc/addons/plugin.program.advanced.launcher/addon.py", line 20, in ?
                                                plugin.Main()
                                              File "/home/xbmc/.xbmc/addons/plugin.program.advanced.launcher/resources/lib/launcher_plugin.py", line 112, in __init__
                                                self._get_scrapers()
                                              File "/home/xbmc/.xbmc/addons/plugin.program.advanced.launcher/resources/lib/launcher_plugin.py", line 566, in _get_scrapers
                                                exec "import resources.scrapers.thumbs.%s.thumbs_scraper as _thumbs_scraper" % ( self.settings[ "thumbs_scraper" ] )
                                              File "<string>", line 1, in ?
                                              File "/home/xbmc/.xbmc/addons/plugin.program.advanced.launcher/resources/scrapers/thumbs/Google/thumbs_scraper.py", line 3, in ?
                                                import simplejson
                                            ImportError: No module named simplejson
18:39:10 T:2786159472 M:3138113536    INFO: -->End of Python script error report<--
18:39:10 T:2786159472 M:3138113536   DEBUG: xbp_dlopen loading python lib /usr/lib/xbmc/system/python/python24.zip/collections.so. flags: 2
18:39:10 T:2786159472 M:3138113536   DEBUG: Loading: /home/xbmc/.xbmc/temp/collections.so
18:39:10 T:2786159472 M:3138113536   DEBUG: RegisterExtensionLib, adding collections.so (0xa3f82a80)
18:39:10 T:2786159472 M:3138113536   DEBUG: xbp_dlsym - load symbol initcollections
18:39:10 T:2786159472 M:3138113536    INFO: Python script stopped
18:39:10 T:2786159472 M:3138113536   DEBUG: Thread 2786159472 terminating
18:39:10 T:2794556272 M:3138113536   DEBUG:  WaitOnScriptResult - plugin exited prematurely - terminating

Hope you can help out and thx for the PlugIn anyway Smile

Cheers,
David
For the error, it is related to simplejson module that I have forget to add into the required scripts and that it is not installed into your XBMC. Normally the version 0.7.6 of the Advanced Launcher may solve it. Tell me if it is not working with this version last version because I'm not really sure how works script dependencies for add-ons.

Adding program and roms via GUI is 100% possible. That is the goal of the Advanced Launcher. After creating the launcher, you will have to make a scan using the Scan and Get Info for new files option:

Image

It will scan <rompath>/home/xbmc/games/snes-roms/</rompath> for new files and will add them automatically.


- Eldorado - 2010-12-09

Angelscry Wrote:I will try to look at this part. I have to check if the os.listdir() function is working with samba server. If not, I will have to found an alternative. Wink

Hmm.. I might assume that since you use the os.listdir() function, it is detecting I am using Windows so then of course it tries to get a *.* from my Samba share, which (unless someone corrects me, can't find anything on google) *.* is not valid

Perhaps - if you are inclined to put any time into this - you need a check which converts samba URI strings into windows network strings, when on Windows machines

Though chances of many others having the same situation as mine is probably low Smile

But I wonder how XBMC is handling it for the libraries?

Thanks for the troubleshooting help!


- davidw - 2010-12-09

Ah yes thx ECEC I missed this option Confused
but it's not working.

On my Ubuntu there is a simplejson program installed:
Code:
xbmc@htpc:~$ dpkg -l | grep json
ii  libjson-glib-1.0-0                   0.10.2-2ubuntu2                                   GLib JSON manipulation library
ii  libqjson0                            0.7.1-1                                           qt-based library that maps JSON data to QVariant objects
ii  python-simplejson                    2.1.1-1                                           simple, fast, extensible JSON encoder/decoder for Python

With the updated version (it's 0.7.5 not 0.7.6 !?) I get another error:
Code:
20:43:23 T:3045283696 M:3294273536   DEBUG: ------ Window Init (DialogContextMenu.xml) ------
20:43:23 T:3045283696 M:3294273536   DEBUG: Alloc resources: 0.26ms (0.00 ms skin load)
20:43:23 T:3045283696 M:3293962240   DEBUG: SDLKeyboard: scancode: 111, sym: 273, unicode: 0, modifier: 0
20:43:23 T:3045283696 M:3293962240   DEBUG: OnKey: 61478 pressed, action is Up
20:43:24 T:3045283696 M:3293274112   DEBUG: SDLKeyboard: scancode: 111, sym: 273, unicode: 0, modifier: 0    
20:43:24 T:3045283696 M:3293274112   DEBUG: OnKey: 61478 pressed, action is Up                                
20:43:24 T:3045283696 M:3293274112   DEBUG: SDLKeyboard: scancode: 111, sym: 273, unicode: 0, modifier: 0    
20:43:24 T:3045283696 M:3293274112   DEBUG: OnKey: 61478 pressed, action is Up                                
20:43:24 T:3045283696 M:3293614080   DEBUG: SDLKeyboard: scancode: 111, sym: 273, unicode: 0, modifier: 0    
20:43:24 T:3045283696 M:3293614080   DEBUG: OnKey: 61478 pressed, action is Up                                
20:43:26 T:3045283696 M:3293368320   DEBUG: SDLKeyboard: scancode: 36, sym: 13, unicode: 13, modifier: 0      
20:43:26 T:3045283696 M:3293368320   DEBUG: OnKey: 61453 pressed, action is Select                            
20:43:26 T:3045283696 M:3293368320   DEBUG: ------ Window Deinit (DialogContextMenu.xml) ------              
20:43:26 T:3045283696 M:3293368320   DEBUG: RunScriptWithParams - calling plugin Advanced Launcher('plugin://plugin.program.advanced.launcher/','-1','?zsnes/%%IMPORT%%')                                                  
20:43:26 T:3045283696 M:3293368320    INFO: initializing python engine.                                      
20:43:26 T:3045283696 M:3293368320   DEBUG: Loading: /usr/lib/xbmc/system/python/python24-i486-linux.so      
20:43:26 T:3045283696 M:3293368320   DEBUG: Python wrapper library linked with internal Python library        
20:43:27 T:3045283696 M:3292352512   DEBUG: new python thread created. id=6                                  
20:43:27 T:2731068272 M:3292352512   DEBUG: thread start, auto delete: 0                                      
20:43:27 T:2731068272 M:3292352512   DEBUG: Python thread: start processing
20:43:27 T:2731068272 M:3292348416  NOTICE: -->Python Interpreter Initialized<--
20:43:27 T:2731068272 M:3292348416   DEBUG: Process - The source file to load is /home/xbmc/.xbmc/addons/plugin.program.advanced.launcher/addon.py
20:43:27 T:2731068272 M:3292348416   DEBUG: Process - Setting the Python path to /home/xbmc/.xbmc/addons/plugin.program.advanced.launcher:/home/xbmc/.xbmc/addons/script.module.simplejson/lib:/home/xbmc/.xbmc/addons/script.module.beautifulsoup/lib:/usr/lib/xbmc/addons/script.module.pil/lib:/home/xbmc/.xbmc/addons/script.module.elementtree/lib:/usr/lib/xbmc/addons/script.module.pysqlite/lib:/usr/lib/xbmc/system/python/python24.zip:/usr/share/xbmc/system/python/lib/python24.zip:/usr/share/xbmc/system/python/lib/python2.4/:/usr/share/xbmc/system/python/lib/python2.4/plat-linux2:/usr/share/xbmc/system/python/lib/python2.4/lib-tk:/usr/share/xbmc/system/python/lib/python2.4/lib-dynload
20:43:27 T:2731068272 M:3292348416   DEBUG: Process - Entering source directory /home/xbmc/.xbmc/addons/plugin.program.advanced.launcher
20:43:27 T:2731068272 M:3292573696   DEBUG: xbp_dlopen loading python lib /usr/lib/xbmc/system/python/python24.zip/time.so. flags: 2
20:43:27 T:2731068272 M:3292827648   DEBUG: Loading: /home/xbmc/.xbmc/temp/time.so
20:43:27 T:2731068272 M:3292827648   DEBUG: RegisterExtensionLib, adding time.so (0xb57fb38)
20:43:27 T:2731068272 M:3292827648   DEBUG: xbp_dlsym - load symbol inittime
20:43:27 T:2731068272 M:3291611136   DEBUG: xbp_dlopen loading python lib /usr/lib/xbmc/system/python/python24.zip/strop.so. flags: 2
20:43:27 T:2731068272 M:3291611136   DEBUG: Loading: /home/xbmc/.xbmc/temp/strop.so
20:43:27 T:2731068272 M:3291611136   DEBUG: RegisterExtensionLib, adding strop.so (0xa5166768)
20:43:27 T:2731068272 M:3291611136   DEBUG: xbp_dlsym - load symbol initstrop
20:43:27 T:2731068272 M:3291611136   DEBUG: xbp_dlopen loading python lib /usr/lib/xbmc/system/python/python24.zip/_socket.so. flags: 2
20:43:27 T:2731068272 M:3291611136   DEBUG: Loading: /home/xbmc/.xbmc/temp/_socket.so
20:43:27 T:2731068272 M:3291611136   DEBUG: RegisterExtensionLib, adding _socket.so (0xa5501a80)
20:43:27 T:2731068272 M:3291611136   DEBUG: xbp_dlsym - load symbol init_socket
20:43:27 T:2731068272 M:3291611136   DEBUG: xbp_dlopen loading python lib /usr/lib/xbmc/system/python/python24.zip/_ssl.so. flags: 2
20:43:27 T:2731068272 M:3291611136   DEBUG: Loading: /home/xbmc/.xbmc/temp/_ssl.so
20:43:27 T:2731068272 M:3291611136   DEBUG: RegisterExtensionLib, adding _ssl.so (0xa5522268)
20:43:27 T:2731068272 M:3291611136   DEBUG: xbp_dlsym - load symbol init_ssl
20:43:27 T:2731068272 M:3291496448   DEBUG: xbp_dlopen loading python lib /usr/lib/xbmc/system/python/python24.zip/select.so. flags: 2
20:43:27 T:2731068272 M:3291496448   DEBUG: Loading: /home/xbmc/.xbmc/temp/select.so
20:43:27 T:2731068272 M:3291496448   DEBUG: RegisterExtensionLib, adding select.so (0xa516d380)
20:43:27 T:2731068272 M:3291496448   DEBUG: xbp_dlsym - load symbol initselect
20:43:27 T:2731068272 M:3291721728   DEBUG: xbp_dlopen loading python lib /usr/lib/xbmc/system/python/python24.zip/fcntl.so. flags: 2
20:43:27 T:2731068272 M:3291467776   DEBUG: Loading: /home/xbmc/.xbmc/temp/fcntl.so
20:43:27 T:2731068272 M:3291467776   DEBUG: RegisterExtensionLib, adding fcntl.so (0xa51799d0)
20:43:27 T:2731068272 M:3291467776   DEBUG: xbp_dlsym - load symbol initfcntl
20:43:27 T:2731068272 M:3291291648   DEBUG: xbp_dlopen loading python lib /usr/lib/xbmc/system/python/python24.zip/struct.so. flags: 2
20:43:27 T:2731068272 M:3291291648   DEBUG: Loading: /home/xbmc/.xbmc/temp/struct.so
20:43:27 T:2731068272 M:3291291648   DEBUG: RegisterExtensionLib, adding struct.so (0xa552f8d8)
20:43:27 T:2731068272 M:3291291648   DEBUG: xbp_dlsym - load symbol initstruct
20:43:27 T:2731068272 M:3291262976   DEBUG: xbp_dlopen loading python lib /usr/lib/xbmc/system/python/python24.zip/binascii.so. flags: 2
20:43:27 T:2731068272 M:3291262976   DEBUG: Loading: /home/xbmc/.xbmc/temp/binascii.so
20:43:27 T:2731068272 M:3291262976   DEBUG: RegisterExtensionLib, adding binascii.so (0xa5505698)
20:43:27 T:2731068272 M:3291262976   DEBUG: xbp_dlsym - load symbol initbinascii
20:43:27 T:2731068272 M:3291262976   DEBUG: xbp_dlopen loading python lib /usr/lib/xbmc/system/python/python24.zip/cStringIO.so. flags: 2
20:43:27 T:2731068272 M:3291262976   DEBUG: Loading: /home/xbmc/.xbmc/temp/cStringIO.so
20:43:27 T:2731068272 M:3291262976   DEBUG: RegisterExtensionLib, adding cStringIO.so (0xa4414b68)
20:43:27 T:2731068272 M:3291262976   DEBUG: xbp_dlsym - load symbol initcStringIO
20:43:27 T:2731068272 M:3291262976  NOTICE: Mode AddOn ON
20:43:27 T:2731068272 M:3291262976  NOTICE: /home/xbmc/.xbmc/userdata/addon_data/plugin.program.advanced.launcher
20:43:27 T:2731068272 M:3291262976  NOTICE: -1
20:43:27 T:2731068272 M:3291262976  NOTICE: Launcher: found 1 launchers
20:43:27 T:2731068272 M:3291262976    INFO: Loading skin file: DialogProgress.xml
20:43:27 T:2731068272 M:3291262976   DEBUG: Load DialogProgress.xml: 18.57ms
20:43:27 T:2731068272 M:3291262976   DEBUG: DialogProgress::StartModal called
20:43:27 T:2731068272 M:3291262976   DEBUG: ------ Window Init (DialogProgress.xml) ------
20:43:27 T:2731068272 M:3291262976   DEBUG: Alloc resources: 0.15ms (0.00 ms skin load)
20:43:27 T:2731068272 M:3291234304   DEBUG: DialogProgress::StartModal called (already running)!
20:43:27 T:2731068272 M:3291234304   DEBUG: ------ Window Init (DialogProgress.xml) ------
20:43:27 T:2731068272 M:3291234304   DEBUG: Alloc resources: 0.03ms (0.01 ms skin load)
20:43:27 T:2731068272 M:3291234304    INFO: -->Python script returned the following error<--
20:43:27 T:2731068272 M:3291234304   ERROR: Error Type: exceptions.TypeError
20:43:27 T:2731068272 M:3291234304   ERROR: Error Contents: not all arguments converted during string formatting
20:43:27 T:2731068272 M:3291234304   ERROR: Traceback (most recent call last):
                                              File "/home/xbmc/.xbmc/addons/plugin.program.advanced.launcher/addon.py", line 20, in ?
                                                plugin.Main()
                                              File "/home/xbmc/.xbmc/addons/plugin.program.advanced.launcher/resources/lib/launcher_plugin.py", line 168, in __init__
                                                self._import_roms(launcher)
                                              File "/home/xbmc/.xbmc/addons/plugin.program.advanced.launcher/resources/lib/launcher_plugin.py", line 878, in _import_roms
                                                progress_display = __language__( 30061 ) % (self.settings[ "datas_scraper" ].encode('utf-8','ignore'))
                                            TypeError: not all arguments converted during string formatting
20:43:27 T:2731068272 M:3291234304    INFO: -->End of Python script error report<--

Thanks all for the fast response!!


- Angelscry - 2010-12-09

Eldorado Wrote:Hmm.. I might assume that since you use the os.listdir() function, it is detecting I am using Windows so then of course it tries to get a *.* from my Samba share, which (unless someone corrects me, can't find anything on google) *.* is not valid

Perhaps - if you are inclined to put any time into this - you need a check which converts samba URI strings into windows network strings, when on Windows machines

Though chances of many others having the same situation as mine is probably low Smile

But I wonder how XBMC is handling it for the libraries?

Thanks for the troubleshooting help!
Yes, that is exactly why we have a problem with the os.listdir() function. It detect that you are under Windows but you want to list your POSIX directory using *.*. I have to found the way first to detect the directory path format you want to scan (maybe there is a python function for that) and then select the right way to scan the directory. The second problem will be to found the right python command line to start the windows emulators with samba paths having white spaces.


- Angelscry - 2010-12-09

davidw Wrote:Ah yes thx ECEC I missed this option Confused
but it's not working.

On my Ubuntu there is a simplejson program installed:

Thanks all for the fast response!!
Ok... the simplejson problem is solved. Your second error is due to another thing. Do you use the Advanced Launcher with the English interface or with another language ? Because the translations provided into the Advanced Launcher Addon are not all updated and may create errors. And I think it is your case (Austria so German Translation). Only the english one is working 100%.

To be honest I do not know exactly what to do with those translations files :
  • Keep them into the Advanced Launcher Addons. It is really useful, but if they are not regularly updated they can generate some errors (and I cannot keep them updated alone).
  • Provide them outside the Advanced Launcher Addons. It will be less useful because you will have the install manually the translation. But on the other side, the addon will not encounter errors related to the translation files.
Someone can give me its opinion on this??


- Pinhead - 2010-12-09

Angelscry Wrote:Ok... the simplejson problem is solved. Your second error is due to another thing. Do you use the Advanced Launcher with the English interface or with another language ? Because the translations provided into the Advanced Launcher Addon are not all updated and may create errors. And I think it is your case (Austria so German Translation). Only the english one is working 100%.

To be honest I do not know exactly what to do with those translations files :
  • Keep them into the Advanced Launcher Addons. It is really useful, but if they are not regularly updated they can generate some errors.
  • Provide them outside the Advanced Launcher Addons. It will be less useful because you will have the install manually the translation. But on the other side, the addon will not encounter errors related to the translation files.
Someone can give me its opinion on this??

Would it be possible for ALA to mix data from two language files? If the problem is that ALA crashes because there are missing strings of text in the alternative language files (not English), then maybe the best course of action would be for ALA to use the English translation file as a fallback language. Let's say the AddOn only partially supported Norwegian, because the translation file was outdated. ALA would use Norwegian whenever Norwegian strings were available in the Norwegian language file, and use English words and phrases from the English language file whenever Norwegian translations were missing or returning errors. This would probably give you the best of two worlds. As understandable as possible for non-english speakers, but at the same time stable.

If this is at all doable is another question. Rolleyes


- davidw - 2010-12-09

Angelscry Wrote:Do you use the Advanced Launcher with the English interface or with another language ? Because the translations provided into the Advanced Launcher Addon are not all updated and may create errors. And I think it is your case (Austria so German Translation). Only the english one is working 100%.
Yes it's german. When I set XBMC to english then the scraper works but not the ROM-Scanner. The idea with fallback to english when the other language file is not complete sounds good. And if you need help with translation just ask the community... I would help you.

Cheers,
David