[RELEASE] Artwork Downloader - Skin support - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32) +--- Forum: Skinning (https://forum.kodi.tv/forumdisplay.php?fid=12) +---- Forum: Skin helper addons (https://forum.kodi.tv/forumdisplay.php?fid=300) +---- Thread: [RELEASE] Artwork Downloader - Skin support (/showthread.php?tid=115682) |
RE: [RELEASE] Artwork Downloader - Skin support - Martijn - 2012-03-19 (2012-03-19, 15:09)mikebzh44 Wrote: OK. I think that the issue is due to Glass skin and not to your addon. Sure no problem. Hopefully the issue will be resolved Might some ID is missing in dialogselect.xml If it's working for everyone i might push it to repo later on today or tomorrow. RE: [RELEASE] Artwork Downloader - Skin support - mikebzh44 - 2012-03-19 Bad news. Even with DialogSelect from Aeon Nox, Glass can freeze. I think it's occure when addon use fileops to cleanup directory. Because, when it work I can see (less than 1 second) the progress bar and the dialog box is display with differents artwork category to choose. And when XBMC freeze, progress bar was not displayed. On Aeon Nox, I didn't manage to freeze XBMC but fmronan does on is PC. Very strange RE: [RELEASE] Artwork Downloader - Skin support - Martijn - 2012-03-19 (2012-03-19, 15:38)mikebzh44 Wrote: Bad news. Even with DialogSelect from Aeon Nox, Glass can freeze. Well you have the latest XBMC build from latest code and fmroman doesn't? RE: [RELEASE] Artwork Downloader - Skin support - mikebzh44 - 2012-03-19 I don't know if it could help you but I have put al lot of debug print in script and each type XBMC freeze, the script was in utils.py, method dialog_msg, action create : line 85 dialog.create( __addonname__, line1, line2, line3 ) Freeze occures in Glass but not in Aeon Nox. I have copy DialogProgress.xml from Aeon to Glass with no success RE: [RELEASE] Artwork Downloader - Skin support - Martijn - 2012-03-19 (2012-03-19, 16:53)mikebzh44 Wrote: I don't know if it could help you but I have put al lot of debug print in script and each type XBMC freeze, the script was in utils.py, method dialog_msg, action create : what happens if you replace it with PHP Code: dialog.create( 'Artwork Downloader', 'line1', 'line2', 'line3' ) just for testing sake. So now the the dialog will just show line1, line2,line 3 as text output to see if that works. And this is with the build I send you? RE: [RELEASE] Artwork Downloader - Skin support - mikebzh44 - 2012-03-19 Same issue Each time, last line in log is : INFO: Loading skin file: DialogProgress.xml For testing, I have completly disable Dialog by modding code this way : Code: if not background: And I have seach extrafanarts in GUI mode for a lot of movies and I didn't manage to freeze XBMC. Frost (aka Frostbox on this forum) has the same issue when developping Metadata Actors addon and he has developped is own progress bar window. RE: [RELEASE] Artwork Downloader - Skin support - Martijn - 2012-03-19 (2012-03-19, 17:31)mikebzh44 Wrote: Same issue This should really be fixed in XBMC core. If frostbox can make some stacktrace on why it is crashing that would be great. so the devs can try to fx it. RE: [RELEASE] Artwork Downloader - Skin support - jfcarroll - 2012-03-19 Is there a backtrace available? Can someone that can make this freeze please pastebin a full backtrace? RE: [RELEASE] Artwork Downloader - Skin support - mikebzh44 - 2012-03-19 How to produce a full back trace ? Did you mean full debug log ? I can do that. EDIT : OK backtrace is different from debug log. I will install Visual C++ on my PC and download XBMC source code to produce backtrace. RE: [RELEASE] Artwork Downloader - Skin support - Martijn - 2012-03-19 (2012-03-19, 17:46)mikebzh44 Wrote: How to produce a full back trace ? For example running running XBMC in a debugger like Microsoft Visual Studio. Only then you get the real reason why it's crashing. Debug Log won't be any good. Maybe the crashlog on a ATV would help RE: [RELEASE] Artwork Downloader - Skin support - jfcarroll - 2012-03-19 No. I need someone to run it in gdb (or VS) and when it locks up, send a picture of the complete call-stack for each thread. On linux it's easy. You: 1) Compile it for debugging (assuming you're compiling it) 2) run it in gdb from the directory where the executable built run: gdb xbmc.bin then type "run" at the gdb prompt - this will start xbmc 3) When it locks up hit Ctrl-c in the gdb window 4) Then type "thread apply all bt" and pastebin everything that prints out (and put a link here) RE: [RELEASE] Artwork Downloader - Skin support - FrostBox - 2012-03-19 (2012-03-19, 17:31)mikebzh44 Wrote: If frostbox can make some stacktrace on why it is crashing that would be great. so the devs can try to fx it. yes i can. but tonight, Québec time. but on trac, there are already similar bugs! http://trac.xbmc.org/ticket/12581 http://trac.xbmc.org/ticket/12274 http://trac.xbmc.org/ticket/10303 frost RE: [RELEASE] Artwork Downloader - Skin support - jfcarroll - 2012-03-19 Thanks. 12581 will help - it has a backtrace. I might be able to do a patch tonight. RE: [RELEASE] Artwork Downloader - Skin support - thrak76 - 2012-03-19 Strange thing happening here... Everytime I launch AD, XBMC minimizes to the taskbar. This happens anytime I use the script, whether within an info panel, initiating it from program addons, or searching for artwork individually. Here's a log with manually launching AD. http://pastebin.com/22P3gK0s RE: [RELEASE] Artwork Downloader - Skin support - Balinus - 2012-03-20 Hello! I've added support for Artwork Downloader in Shade and there's some strange behavior. I wouldn't be surprised the problem is my implementation but who knows..! The script works, but strangely. Here's what happen : in the info screen (DialogVideoInfo.xml), I've added the following code : PHP Code: <control type="button" id="13"> Now, when I click Get Artwork for a movie, I have a dialog where i choose the movie, but then, it's just like the "information screen" is loaded again and the window where I could chose the type of artwork is behind the information screen. It's just when I escape from the information screen and go back to movie selection that the window to chose the type of media is shown. Thanks for any help! edit - Skin is available here in case someone would like to test it out : here or here |