shawnchain / isms

Automatically exported from code.google.com/p/weisms
GNU General Public License v2.0
3 stars 0 forks source link

black screen after start since rc2 #101

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. install the program by hand 
2. start it with the icon
3.

What is the expected output? What do you see instead?
i expect the start page (in, draft, out) but i get a black screen!

What version of the product are you using? On what operating system?
Version is isms-1.0-rc2-snapshot-05212243 (same problem as with every rc2
version) on fw 114

Please provide any additional information below.
There was a thread about this problem with the conclusion that the database
was corrupt but no hint how to fix this. But this database works fine with
the original sms app and the isms versions before rc2!?
So i use the rc1 version and rename and copy the new isms and lib files to
the isms dir and create links to test them. 
There is allways at last one unread message on the isms icon and the 1
never disapers and starting isms by touching the icon i get only a black
screen and nothing in the log.
Starting isms from the console does nothing on the (iphone)screen but at
last i get this log

2008-05-24 23:37:45 +0200 - INFO - main.m:55 iSMS 1.0-rc2-snapshot starting
up - iPhone Version 1.1.4 (Build 4A102)/114
2008-05-24 23:37:45 +0200 - INFO - iSMSApp.m:342 View UIMainView -
UIMainView registered
2008-05-24 23:37:45 +0200 - INFO - iSMSApp.m:342 View UIComposeSMSView -
UIComposeSMSView registered
2008-05-24 23:37:45 +0200 - INFO - iSMSApp.m:342 View UIMessageView -
UIMessageView registered
2008-05-24 23:37:45 +0200 - INFO - iSMSApp.m:342 View ISMSConversationView
- ISMSConversationView registered
2008-05-24 23:37:45 +0200 - INFO - iSMSApp.m:90 Loading UIMainView
2008-05-24 23:37:45 +0200 - INFO - iSMSApp.m:342 View UIMessageMainView -
UIMessageMainView registered
2008-05-24 23:37:45 +0200 - INFO - UIMessageMainView.m:135
UIMessageMainView:initWithFrame()
2008-05-24 23:37:45 +0200 - INFO - SQLiteDB.m:64 Initializing SQLiteDB
2008-05-24 23:37:45 +0200 - INFO - SQLiteDB.m:92 database
/var/mobile/Library/SMS/sms.db opened
2008-05-24 23:37:45 +0200 - INFO - DBAdapter.m:55 SQLite version 3.5.4,3005004
2008-05-24 23:37:45 +0200 - INFO - ObjectContainer.m:136 Object
TelephonyHelper(0x333bd0) created
2008-05-24 23:37:45 +0200 - INFO - ObjectContainer.m:141 Object
TelephonyHelper(0x333bd0) cached
2008-05-24 23:37:45 +0200 - INFO - TelephonyHelper.m:311 ERROR - Could not
find symbol "messageIsRead", error is dlsym(0x2fe3f038, messageIsRead):
symbol not found
2008-05-24 23:37:45 +0200 - INFO - TelephonyHelper.m:312 Will use my own
message_is_read function
2008-05-24 23:37:45 +0200 - INFO - DBAdapter.m:201 Attached to database
(/var/mobile/Library/AddressBook/AddressBook.sqlitedb) as name (contact)
2008-05-24 23:37:45 +0200 - INFO - DBAdapter.m:210 Checking database schema
2008-05-24 23:37:45 +0200 - INFO - DBAdapter.m:221 Database schema 102 is OK!
2008-05-24 23:37:45 +0200 - INFO - DBAdapter.m:226 You're using 1.1.3 or
higher version, checking auto-archive trigger and will disable it if found...
2008-05-24 23:37:45 +0200 - INFO - SQLiteDB.m:480 ARCHIVE_MESSAGE Trigger
does not exsits, drop aborted
2008-05-24 23:37:45 +0200 - INFO - ObjectContainer.m:136 Object
SQLiteDB(0x33d7b0) created
2008-05-24 23:37:45 +0200 - INFO - ObjectContainer.m:141 Object
SQLiteDB(0x33d7b0) cached
2008-05-24 23:37:45 +0200 - INFO - ObjectContainer.m:136 Object
UIMessageMainView(0x33b520) created
2008-05-24 23:37:45 +0200 - INFO - ObjectContainer.m:141 Object
UIMessageMainView(0x33b520) cached
2008-05-24 23:37:45 +0200 - INFO - UIMainView.m:106 msgMainView initialized ok
2008-05-24 23:37:45 +0200 - INFO - iSMSApp.m:342 View UIMessageSearchView -
UIMessageSearchView registered
2008-05-24 23:37:45 +0200 - INFO - iSMSApp.m:342 View UIPreferenceView -
UIPreferenceView registered
2008-05-24 23:37:45 +0200 - INFO - iSMSApp.m:342 View UIAboutView -
UIAboutView registered
2008-05-24 23:37:45 +0200 - INFO - UIController.m:290 UIController(main) -
Show view UIView(0x<UIView: 0x35fac0>)
2008-05-24 23:37:45 +0200 - INFO - UIController.m:256 UIController(main) -
Call UIMessageMainView.willShow
2008-05-24 23:37:45 +0200 - INFO - UIMessageMainView.m:261
UIMessageMainView - willShow()
2008-05-24 23:37:45 +0200 - INFO - UIController.m:290 UIController(main) -
Show view UIMessageMainView(0x<UIMessageMainView: 0x33b520>)
2008-05-24 23:37:45 +0200 - INFO - ObjectContainer.m:136 Object
UIMainView(0x335f40) created
2008-05-24 23:37:45 +0200 - INFO - ObjectContainer.m:141 Object
UIMainView(0x335f40) cached
2008-05-24 23:37:45 +0200 - INFO - ObjectContainer.m:136 Object
iSMSPreference(0x361b00) created
2008-05-24 23:37:45 +0200 - INFO - ObjectContainer.m:141 Object
iSMSPreference(0x361b00) cached
2008-05-24 23:37:46 +0200 - INFO - SmileyManager.m:128 Smiley loaded
2008-05-24 23:37:46 +0200 - INFO - ObjectContainer.m:136 Object
SmileyManager(0x3957f0) created
2008-05-24 23:37:46 +0200 - INFO - ObjectContainer.m:141 Object
SmileyManager(0x3957f0) cached
2008-05-24 23:37:46 +0200 - INFO - ObjectContainer.m:136 Object
UIMessageView(0x362a70) created
2008-05-24 23:37:46 +0200 - INFO - ObjectContainer.m:141 Object
UIMessageView(0x362a70) cached
2008-05-24 23:37:46 +0200 - INFO - UIController.m:151 >>>WARNING -
UIController(main) transition to NULL view??? currentView: (null)
2008-05-24 23:37:46 +0200 - INFO - UIController.m:148 >>>UIController(main)
currentView is changed to: <UIMessageMainView: 0x33b520>

what do i have to fix in the database to make it work with rc2 (i have
compared an empty sms database and mine but could not fine any thing wrong)

PS
in isms-1.0-rc2-snapshot-04221718 the installer routine seems to have a
typo so it adds a : to the begining of the path in the plist file and the
phone hangs after reboot. I did not check that for the newest version as i
just link the newer files.

PPS Thank you for making this app.

Original issue reported on code.google.com by marti...@freemail.lt on 24 May 2008 at 10:46

GoogleCodeExporter commented 9 years ago
Looks like the unread message count is > 0 but there're no unread messages left 
indeed.

No idea about the problem cause but you can remove your sms.db(backup if you 
want)
and re-run the MobileSMS to generate a new one, then your problem should gone.

Original comment by Shawn.Ch...@gmail.com on 25 May 2008 at 10:02

GoogleCodeExporter commented 9 years ago
yes i have tried that and it works, but then i loose all my sms and i don't 
want that. 
If you can not find anything wrong with isms i will make a fresh db and try to 
fill
all my sms with a sqlite editor. Maybe this will work then.
Btw can you make the source for the rc2 release avaiable so i could give it a 
try myself?
/Martin

Original comment by marti...@freemail.lt on 25 May 2008 at 10:14

GoogleCodeExporter commented 9 years ago
got it to work :)
i have deleted the message_flags_index _and_ the message_groups_index from the
database and isms recreated them. Now it works! 

Original comment by marti...@freemail.lt on 25 May 2008 at 1:32

GoogleCodeExporter commented 9 years ago

Original comment by Shawn.Ch...@gmail.com on 30 May 2008 at 6:17