Ticket #999 (closed defect: fixed)

Opened 2 years ago

Last modified 7 weeks ago

Call UI problem, probably related to looking up names

Reported by: sybren Owned by: ainulindale
Priority: blocker Milestone:
Component: SHR Image Version: SHR-testing
Keywords: phoneui call crash Cc: sybren@…

Description

Yesterday I upgraded my Freerunner to the new SHR-testing.

When a call comes in the window is briefly shown, indicating the dialling number. After that it disappears, so I can't answer nor reject the call. The same thing happens with outgoing calls. The window briefly appears, then disappears. libphoneuid.log shows "[libphone-ui-shr] CRITICAL: Tried to hide a unitinialized window". I have never heard of "unitinialization", but I guess the typo isn't the cause of the problem.

I just sent a text message to myself. It didn't immediately showed up in the messages window, so I closed and re-opened it. Now it behaves in the same way as the in-call windows do: it is shown in a flash, then it's gone. This didn't happen before, when I had no messages.

This leads me to believe that it has something to do with looking up names.

There is nothing in the log about this, just:

==> phoneuid.log <==
2010.03.10 11:55:02.237099 [libphone-ui] MESSAGE: Found 1 messages, retrieving

Attachments

hangup Download (240 bytes) - added by elhennig 2 years ago.
hangup.desktop Download (272 bytes) - added by elhennig 2 years ago.

Change History

comment:1 Changed 2 years ago by elhennig

I have the same problem and solved it temporarily with a script and an entry in /usr/share/applications

see attachments

Changed 2 years ago by elhennig

Changed 2 years ago by elhennig

comment:2 Changed 2 years ago by elhennig

Forgot to mention: I am using shr-unstable.
The workaround only enables the user to end an active call.

comment:3 Changed 2 years ago by sybren

Thanks for the workaround, that at least enables me to keep the phone bill down ;-)

comment:4 Changed 2 years ago by sybren

I got a lot further removing /etc/freesmartphone/opim/pim.db and running /usr/bin/remove-tel - the messages app now doesn't crash and shows contact names, and outgoing calls work. Incoming don't work yet, but with different symptoms so it may be a different issue.

comment:5 Changed 2 years ago by sybren

Oh, don't remove pim.do (or run opimd_convert_db after that)

Incoming calls now also work, it must have been a hickup at my telephone provider.

comment:6 Changed 2 years ago by elhennig

Problem seems to be fixed with latest upgrade of phoneuid. At least the call window works now.

comment:7 Changed 2 years ago by elhennig

New problem: The call window does to disappear, but it stalls, so you cannot release a call nor you can adjust volume and speaker settings.

comment:8 in reply to: ↑ description Changed 2 years ago by Rukk

Same here, format & fresh install off testing on SD card. UI shows for a sec, and goes away. opkg update,upgrade didn't help

comment:9 follow-up: ↓ 12 Changed 2 years ago by krayon

If this is the same problem I experienced, phoneui log set to debug showed that it was an attempt to iter over a typeNothing object, or something similar. I had no contacts (fresh install) so I created a new contact, and then it all started working fine. (Sorry if this is unrelated, I'm new to SHR).

comment:10 Changed 2 years ago by Rukk

I have contacts on my SIM, but the contact app doesn't load them, i tried adding a new one and nothing happens, i also don't have any SMS messages on the list and i know they are on the SIM.

comment:11 Changed 2 years ago by apoapo

Same here as Rukk.

comment:12 in reply to: ↑ 9 Changed 23 months ago by TAsn

Replying to krayon:

If this is the same problem I experienced, phoneui log set to debug showed that it was an attempt to iter over a typeNothing object, or something similar. I had no contacts (fresh install) so I created a new contact, and then it all started working fine. (Sorry if this is unrelated, I'm new to SHR).

Hey all please provide logs and maybe sum everything up in a sane manner. I can't understand what's wrong. :P

comment:13 Changed 23 months ago by Heinervdm

  • Milestone set to MS1

comment:14 Changed 23 months ago by spaetz

OK, shr-testing has been upgraded to the latest phonestack, fixing a bunch of issues and bullet proofing things. Please could one of the original reporters state if this is still an issue with a current shr-testing?

Otherwise we are going to close this one soon, assuming it has been fixed.

comment:15 follow-up: ↓ 16 Changed 23 months ago by sybren

The issue was mostly about the upgrade process. I've already fixed my database, so it's working on my phone.

I still find it strange that a harmless message about some file not being found is repeated at the end of the upgrade process, but that the "IMPORTANT" message about upgrading your database is not. As far as I'm concerned that's enough to keep this ticket open.

comment:16 in reply to: ↑ 15 Changed 23 months ago by spaetz

  • Status changed from new to closed
  • Resolution set to fixed

Replying to sybren:

The issue was mostly about the upgrade process. I've already fixed my database, so it's working on my phone.

Yes, that upgrade path was messy, as I got caught in the middle of database changes, and the phonestack was apparently not bullet-proofed at all against old databases. There has been quite some error checking added and the disappearing windows should be gone. So that issue should be solved.

I still find it strange that a harmless message about some file not being found is repeated at the end of the upgrade process, but that the "IMPORTANT" message about upgrading your database is not. As far as I'm concerned that's enough to keep this ticket open.

That is due to the fact, that opkg is the thing outputting the message not found thing at the end of it's upgrade process itself. We have no way of getting opkg output messages at the end of an upgrade process. The best we can do is display a big fat note inbetween.

I will therefore close this bug: The reported issue: disappearing windows is solved. As for the conversion, there is a SIM importer now and PISI is installed in the lite images by default. There is no way to display change notes more prominently at the end of an opkg upgrade process, I am sorry.

comment:17 Changed 7 weeks ago by morphis

  • Milestone MS1 deleted

Milestone MS1 deleted

Note: See TracTickets for help on using tickets.