maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   General (https://talk.maemo.org/forumdisplay.php?f=7)
-   -   Can anyone help me update these mystery apps? (https://talk.maemo.org/showthread.php?t=21810)

cmdowns 2008-07-12 00:26

Can anyone help me update these mystery apps?
 
2 Attachment(s)
I've recently updated my n800 to Diablo. Now I'm having a difficult time with some of my apps. The app manager tells me these updates are available, but when I attempt to do so, it tells me I don't have the necessary dependencies.

Does anyone recognize these? Anyone know where I can get them?

Mutiny32 2008-07-12 00:49

Re: Can anyone help me update these mystery apps?
 
I had the same issue. This where my complaint about dependency hell and apt was based. I honestly don't remember how I fixed it. Sorry I couldn't help. I know someone in here knows. I want to say power off and power on the device, then retry, but I may be wrong.

GeneralAntilles 2008-07-12 00:55

Re: Can anyone help me update these mystery apps?
 
Why did you turn on Red Pill mode? . . . :rolleyes:

cmdowns 2008-07-12 01:19

Re: Can anyone help me update these mystery apps?
 
Uh. . .yeah. . .Red Pill Mode. . .

Actually, I noticed these update issues after turning on Red Pill Mode because I was trying to work out some issues I'm have getting PyGame to work correctly.

I used PyGame no problem with some short Python script I was using in a project (see this post for more info about that).

Since I've updated to Diablo, I'm getting the following errors.
Code:

helloworld.py:6: RuntimeWarning: import cdrom: No module named cdrom

import pygame

helloworld.py:6: RuntimeWarning: import joystick: No module named joystick

import pygame

Traceback (most recent call last):

File "helloworld.py", line 12, in <module>

screen = pygame.display.set_mode((640, 480), 0, 32)

pygame.error: Maximum supported bitdepth is 16

This is a different Python script, so I can't say with complete certainty that it would have worked with my pre-Diablo OS. But it's a fairly simple script, taken from Will McGugan's Beginning Game Development with Python and Pygame:
Code:

#!/usr/bin/env python

background_image_filename = 'sushiplate.jpg'
mouse_image_filename = 'fugu.png'

import pygame
from pygame.locals import *
from sys import exit

pygame.init()

screen = pygame.display.set_mode((640, 480), 0, 32)
pygame.display.set_caption("Hello, World!")

background = pygame.image.load(background_image_filename).convert()
mouse_cursor = pygame.image.load(mouse_image_filename)

while True:
   
    for event in pygame.event.get():
        if event.type == QUIT:
            exit()
   
    screen.blit(background, (0,0))

    x, y = pygame.mouse.get_pos()
    x-= mouse_cursor.get_width() / 2
    y-= mouse_cursor.get_height() / 2
    screen.blit(mouse_cursor, (x, y))
       
    pygame.display.update()

Really, I wasn't going to bring up the pyGame issue in this thread, since I was thought I might first work out these mystery updates and that might make my pyGame play nice.

But that, General, is why I turned on Red Pill mode.

So my questions are: Do I need to be concerned about these updates? If so, how do I fix them? And, why can't run my pyGame script?

GeneralAntilles 2008-07-12 01:28

Re: Can anyone help me update these mystery apps?
 
Quote:

Originally Posted by cmdowns (Post 202012)
But that, General, is why I turned on Red Pill mode.

So my questions are: Do I need to be concerned about these updates? If so, how do I fix them? And, why can't run my pyGame script?

No, you don't see these unless you're in Red Pill (which you really shouldn't be, if there are issues that need to be pounded out, you should use apt and dpkg), so turn Red Pill off and move on (if you really must have Red Pill on, then at least turn off the Magic system package and "Show all packages" in Settings. . . .).

tso 2008-07-12 01:57

Re: Can anyone help me update these mystery apps?
 
Quote:

Originally Posted by GeneralAntilles (Post 202016)
No, you don't see these unless you're in Red Pill (which you really shouldn't be, if there are issues that need to be pounded out, you should use apt and dpkg), so turn Red Pill off and move on (if you really must have Red Pill on, then at least turn off the Magic system package and "Show all packages" in Settings. . . .).

what settings would those be exactly?

i cant find a settings entry in any menu for app manager...

GeneralAntilles 2008-07-12 02:01

Re: Can anyone help me update these mystery apps?
 
Quote:

Originally Posted by tso (Post 202029)
i cant find a settings entry in any menu for app manager...

Do you have Red Pill mode on?

cmdowns 2008-07-12 02:06

Re: Can anyone help me update these mystery apps?
 
Ok. I'll turn off Red Pill mode and assume those mystery apps don't have anything to do with my PyProblem. I'll post another thread specific to that.

D'ohboy 2008-07-25 11:57

Re: Can anyone help me update these mystery apps?
 
Um hypothetically speaking, what exactly would be bad about updating while in red pill mode? Yes...hypothetically speaking...that's my story and I am sticking to it;)

GeneralAntilles 2008-07-25 12:21

Re: Can anyone help me update these mystery apps?
 
Quote:

Originally Posted by D'ohboy (Post 206856)
Um hypothetically speaking, what exactly would be bad about updating while in red pill mode? Yes...hypothetically speaking...that's my story and I am sticking to it;)

Reboot loop bad. Don't do it, don't listen to people that tell you to do it. You don't need Red Pill, it's not a fix for anything. Turn it off, forget about it.

D'ohboy 2008-07-25 12:28

Re: Can anyone help me update these mystery apps?
 
Well I should have phrased my question in the past tense, lol. Well fortunately not everything updated and no reboot loop. So is there anything I should still be worried about...hypothetically speaking;)?

pycage 2008-07-25 20:32

Re: Can anyone help me update these mystery apps?
 
Quote:

File "helloworld.py", line 12, in <module>

screen = pygame.display.set_mode((640, 480), 0, 32)

pygame.error: Maximum supported bitdepth is 16
This looks like your problem has nothing to do with package updating.
PyGame won't let you use a display mode with 32 bpp because the tablet only supports 16 bpp (65536 colors). It's a hardware limitation. :(

Code:

screen = pygame.display.set_mode((640, 480), 0, 16)
should do it.


All times are GMT. The time now is 20:09.

vBulletin® Version 3.8.8