Notices


Reply
Thread Tools
pycage's Avatar
Posts: 3,404 | Thanked: 4,474 times | Joined on Oct 2005 @ Germany
#241
Originally Posted by stl1859 View Post
It is intermittent, so this is most likely the reason - I do remember accidentally pulling up the keyboard - so that must have done it. I have to say that there still seem to be performance issues. For example the pull up menu is sluggish most of the time. But I do realize that this is just a SVN release - I am still testing !!
The maemo on-screen keyboard is sluggish and somehow breaks event detection on the window it connects to. I had to replace it, which will be in SVN soon. As a side effect, the new keyboard will be themable and fit better to the look & feel of MediaBox, including slide-in animation.

Originally Posted by stl1859 View Post
In general I would say that if putting any feature in cause a performance hit, I would say don't listen to me / us . Having a fast application is still the biggest priority in my opinion
Performance is top-priority for me, too. It's always a trade-off between effects, performance, and memory consumption. In the end we all want well performing effects with low memory consumption. MediaBox tries to get to this ideal as close as possible.
 
Posts: 462 | Thanked: 550 times | Joined on Sep 2008 @ Moscow
#242
In revision 640 some problems occurd with drawing pixbuf...
Code:
/home/user/svn/mediabox/trunk/ui/Pixmap.py:445: GtkWarning: gdk_pixbuf_scale_simple: assertion `dest_width > 0' failed
  pbuf = pbuf.scale_simple(w, h, gtk.gdk.INTERP_BILINEAR)
Traceback (most recent call last):
  File "/home/user/svn/mediabox/trunk/com/MessageBus.py", line 38, in send_event
    mediator.handle_event(event, *args)
  File "/home/user/svn/mediabox/trunk/components/core/AppWindow.py", line 796, in handle_event
    self.render_buffered()
  File "/home/user/svn/mediabox/trunk/mediabox/RootPane.py", line 41, in render_buffered
    self.render_at(self.__buffer)
  File "/home/user/svn/mediabox/trunk/ui/Widget.py", line 635, in render_at
    self.render()
  File "/home/user/svn/mediabox/trunk/ui/Widget.py", line 601, in render
    c.render()
  File "/home/user/svn/mediabox/trunk/ui/Widget.py", line 601, in render
    c.render()
  File "/home/user/svn/mediabox/trunk/ui/Widget.py", line 601, in render
    c.render()
  File "/home/user/svn/mediabox/trunk/ui/Widget.py", line 601, in render
    c.render()
  File "/home/user/svn/mediabox/trunk/ui/Widget.py", line 598, in render
    self.render_this()
  File "/home/user/svn/mediabox/trunk/ui/ImageButton.py", line 50, in render_this
    self.__render_button()
  File "/home/user/svn/mediabox/trunk/ui/ImageButton.py", line 90, in __render_button
    self.__buffer.draw_frame(img, 0, 0, w, h, True)
  File "/home/user/svn/mediabox/trunk/ui/Pixmap.py", line 584, in draw_frame
    self.draw_pixbuf(t, x + w1, y, w - w1 - w2, h1, True)
  File "/home/user/svn/mediabox/trunk/ui/Pixmap.py", line 448, in draw_pixbuf
    0, 0, x, y, w, h)
TypeError: GdkDrawable.draw_pixbuf() argument 2 must be gtk.gdk.Pixbuf, not None
The program 'MediaBox.py' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadAlloc (insufficient resources for operation)'.
  (Details: serial 17799 error_code 11 request_code 53 minor_code 0)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)
 

The Following User Says Thank You to 412b For This Useful Post:
pycage's Avatar
Posts: 3,404 | Thanked: 4,474 times | Joined on Oct 2005 @ Germany
#243
Can this error be reproduced? It looks like a pixbuf was not initialised.
 
Posts: 462 | Thanked: 550 times | Joined on Sep 2008 @ Moscow
#244
Originally Posted by pycage View Post
Can this error be reproduced? It looks like a pixbuf was not initialised.
Yep. It occurs everytime, so I can't listen to the music anymore.
 
pycage's Avatar
Posts: 3,404 | Thanked: 4,474 times | Joined on Oct 2005 @ Germany
#245
Please try a fresh SVN checkout. Maybe you got some version conflict in there.
If the problem still persists, please run MediaBox.py with -vvv and paste the output here.
 
Posts: 462 | Thanked: 550 times | Joined on Sep 2008 @ Moscow
#246
Originally Posted by pycage View Post
Please try a fresh SVN checkout. Maybe you got some version conflict in there.
If the problem still persists, please run MediaBox.py with -vvv and paste the output here.
Unfortunnately, checkout didn't do the trick.
It's plain text in attachment, just renamed to .tar
Attached Files
File Type: tar mediabox-debug-20081217.tar (58.7 KB, 133 views)
 

The Following User Says Thank You to 412b For This Useful Post:
pycage's Avatar
Posts: 3,404 | Thanked: 4,474 times | Joined on Oct 2005 @ Germany
#247
I just tried a fresh checkout from SVN directly on my N800, but did not see this problem.
Maybe some images in your theme/default/ directory got corrupted for some reason (maybe you ran out of disk-space during checkout?).
Anyway, I'm adding some more debugging output to track this problem down.
 
pycage's Avatar
Posts: 3,404 | Thanked: 4,474 times | Joined on Oct 2005 @ Germany
#248
Can you please try again with the latest SVN version and with option -vvv ?
I have added some debugging output that may help finding the problem.

Can you also afterwards please try deleting the "theme/default" directory and do "svn up" again to get it fresh from SVN? I think the error is somewhere in there.
 
Posts: 462 | Thanked: 550 times | Joined on Sep 2008 @ Moscow
#249
post delete

Last edited by 412b; 2008-12-17 at 20:57. Reason: strange submitting :)
 
Posts: 462 | Thanked: 550 times | Joined on Sep 2008 @ Moscow
#250
Originally Posted by pycage View Post
Can you please try again with the latest SVN version and with option -vvv ?
I have added some debugging output that may help finding the problem.

Can you also afterwards please try deleting the "theme/default" directory and do "svn up" again to get it fresh from SVN? I think the error is somewhere in there.
I think, I figured out, why MediaBox fails.
Redownloding images didn't help.
log1: launching Mediabox -> Playlists -> Choosing playlist -> Choosing song -> Tapping play in song menu -> MediaBox crashes
log2: launching Mediabox -> Playlists -> Choosing playlist -> Switching to Player view -> Switching back to Playlist view -> Choosing song -> Tapping play in song menu -> All is OK
Attached Files
File Type: tar log1.tar (55.1 KB, 96 views)
File Type: tar log2.tar (63.2 KB, 101 views)
 

The Following User Says Thank You to 412b For This Useful Post:
Reply

Tags
media player, mediabox


 
Forum Jump


All times are GMT. The time now is 23:44.