Discussion Board

Results 1 to 8 of 8

Hybrid View

  1. #1
    Registered User ueffchen's Avatar
    Join Date
    May 2007
    Posts
    39
    Hi

    first of all, I have replaced in raccoonloc.py
    Code:
    	def readLocation(self) :
    
    		loc = location.gsm_location()
    
    		if (loc is not None):
    
    			(self.mcc, self.mnc, self.lac, self.cellid) = loc
    
    		else:
    
    			# 3rd Ed. S60 phone return None without certificate
    
    			(self.mcc, self.mnc, self.lac, self.cellid) = (0, 0, 0, 0)
    with
    Code:
    def readLocation(self) :
    			(mcc, mnc, lac, cellid) = location.gsm_location()
    			(self.mcc, self.mnc, self.lac, self.cellid) = location.gsm_location()
    Is that ok or should I have kept parts of the old code?

    Next, I have downloaded "raccoon_0_9_2_3rdEd_devcert.zip" and unpacked from that "raccoon_0_9_2_3rdEd_devcert.usis". I assume I should rename that to *.sis and sign?
    And then sign "PythonForS60_1_3_21_3rdEd_unsigned_freedevcert.sis"?
    Install both on the handset and it should work?
    I thought I did so, but maybe something went wrong or is something wrong in my above procedure? Thx to let me know...

    One final question: why is it not possible to simply sign the complete Raccoon/Python package?

    Thx, Ueffchen

  2. #2
    Nokia Developer Expert jhnwkmn's Avatar
    Join Date
    Mar 2003
    Posts
    457
    Quote Originally Posted by ueffchen
    Is that ok or should I have kept parts of the old code?
    Actually, the original code you had should work fine as well.
    Next, I have downloaded "raccoon_0_9_2_3rdEd_devcert.zip" and unpacked from that "raccoon_0_9_2_3rdEd_devcert.usis". I assume I should rename that to *.sis and sign?
    Or then you can invoke signsis like
    Code:
    signsis raccoon_0_9_2_3rdEd_devcert.usis raccoon_0_9_2_3rdEd_devcert.sis certificate keyfile passphrase
    And then sign "PythonForS60_1_3_21_3rdEd_unsigned_freedevcert.sis"?
    Install both on the handset and it should work?
    Yes, it should.

    One final question: why is it not possible to simply sign the complete Raccoon/Python package?
    Because the bundled file is a composite SIS that contains embedded SIS-files, and it's the embedded SIS-files that need signing.

    Johan

  3. #3
    Registered User talakosk's Avatar
    Join Date
    Oct 2004
    Posts
    30
    Hi,

    If you want to modify raccoonloc.py (or made your own script) and there seem to something wrong, you can take a look of the Apache error log file in the mobile phone. It usually is in c:/Data/apache/logs/error.log

    Or you can ask it also here

    --Timo

  4. #4
    Registered User ueffchen's Avatar
    Join Date
    May 2007
    Posts
    39
    Hi Timo

    raccoonloc.py does work now, so I don't need to change that.
    The issue I have now is more Cell ID related (see my new post to that).
    The Cell ID does not reflect my right position. Either the ID is wrong (whatever this means) or your server translates it wrong.

    Any idea?

    Rgds, Uwe

  5. #5
    Registered User talakosk's Avatar
    Join Date
    Oct 2004
    Posts
    30
    Hi,

    please take a look of my answer in the other thread.

    Btw. I just checked. In the whole Germany the database currently has location info of 16 cells... I found two of them, in München

    --Timo

  6. #6
    Registered User ueffchen's Avatar
    Join Date
    May 2007
    Posts
    39
    Hi Timo

    I was wondering about that point already - I could not imagine how you could get access to cell ID data, as this is typically ownership of the operators.
    I can collect some more cell ID data in Germany, especially in my region, or gather data from German websites - some guys have done a lot of work. If you can put that in your database, I'd try go summarize that. Could you let me know which format you need to get the data in? PM is ok, if you want to mail an attachment.

    Thx, Ueffchen

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved