9 Replies Latest reply on Jul 1, 2013 4:37 AM by Kutir Mobility

    Rhoconnect partition_type:app not working

      Hi I am using FIXED Schema model but with out using: partition_type my code is working and downloading records

       

      but with :partition_type: app   not syncing any records

       

      this is my application.rb file code to authenticate user and store session for that user, i am using this session in each source adopter to fetch data from backend.

      class Application < Rhoconnect::Base

        class << self

          ROOT_PATH = File.expand_path(File.dirname(__FILE__))unless defined? ROOT_PATH

              def authenticate(username,pin,session)

            settings = Rhoconnect.get_config(Rhoconnect.base_directory)

            @login_url = settings[:development][:WebAPIServer] + settings[:login_url]

            puts "login_url:  '#{@login_url}'"

            @username = username

            @pin = Digest::MD5.hexdigest(pin) #convert the pin into MD5 encrypted format

            ## Get user login using username and pin and get response

            get_response = RestClient.post(@login_url, {:post1=> "#{@username}", :post2=> "#{@pin}"})

      #      puts "RESPONSE TOKEN IS:  '#{get_response.cookies['abc']}'"

      #      Store.put_data('AppSession',{'1' => get_response.cookies})  #TODO Use Client ID instead of 1

      #      puts "RESPONSE TOKEN from redis:  '#{Store.get_data('AppSession')['1']}'"

      #      Parse get_response data

            @node = ""

            user_info = Nokogiri::XML(get_response)

            user_info.search('//error').each do |m|

              @node = m.text

            end

            puts "'m here inside rhoconnect."

            if( @node == "Invalid login")

              false

            else

              puts "RESPONSE TOKEN IS:  '#{get_response.cookies['abc']}'"

               Store.put_data('AppSession',{'1' => get_response.cookies})  #TODO Use Client ID instead of 1

               puts "RESPONSE TOKEN from redis:  '#{Store.get_data('AppSession')['1']}'"

              return Store.get_data('AppSession')['1']

            end

          end


       

      in build.yml file i set 1 source adopter as user type and others app type

       

        Department:

          :poll_interval: 1000

          :priority: 2

          :partition_type: app

       

        Salary:

          :poll_interval: 1000

          :priority: 2

          :partition_type: user

       

      but is not sync any data but with out :partition_type it is working.

       

      Please help me to provide solution bcoz by default it is "user partition type " and take unnecessary space at redis. how can i use :partition_type : app .

       

       

      Thanks

       

      Amit

       

        • Re: Rhoconnect partition_type:app not working
          Kutir Mobility

          Hi Amit,

          Two questions to you.

          1. Can you send the relevant log you see on RhoConnect console when you try to sync?
          2. RhoConnect admin console: What data you see when your app uses partition type.

          Please see the attached images from the sample app I tried for you.

          img1.png

          img3.png

          img4.png

          Thanks

          Visnupriya R

          Kutir Mobility

            • Re: Rhoconnect partition_type:app not working

              Here is my log file from Rho simulator while starting bulk sync

               

               

                Sync| Bulk sync: start

              I 06/27/2013 16:44:47:337 00001dec                 Sync| Fire notification. Source : ; Url :http://127.0.0.1:57238/app/Settings/sync_notify; Params:

              I 06/27/2013 16:44:47:337 00001dec                  Net| Method: POST;Url: http://127.0.0.1:57238/app/Settings/sync_notify

              I 06/27/2013 16:44:47:339 00001cd0           HttpServer| Process URI: '/app/Settings/sync_notify'

              I 06/27/2013 16:44:47:339 00001cd0                  APP| RHO serve: /app/Settings/sync_notify

              I 06/27/2013 16:44:47:340 00001cd0              RhoRuby| require_compiled: Settings/settings_controller

              I 06/27/2013 16:44:47:345 00001cd0              RhoRuby| require_compiled: helpers/browser_helper

              I 06/27/2013 16:44:47:346 00001cd0                  APP| Params: {"partition"=>"", "bulk_status"=>"start", "sync_type"=>"bulk", "status"=>"in_progress", "rho_callback"=>"1"}

              I 06/27/2013 16:44:47:347 00001cd0           HttpServer| GC Start.

              I 06/27/2013 16:44:47:350 00001dec                 Sync| Fire notification. Source : ; Url :http://127.0.0.1:57238/app/Settings/sync_notify; Params:

              I 06/27/2013 16:44:47:350 00001dec                  Net| Method: POST;Url: http://127.0.0.1:57238/app/Settings/sync_notify

              I 06/27/2013 16:44:47:353 00001cd0           HttpServer| GC End.

              I 06/27/2013 16:44:47:354 00001cd0           HttpServer| Process URI: '/app/Settings/sync_notify'

              I 06/27/2013 16:44:47:354 00001cd0                  APP| RHO serve: /app/Settings/sync_notify

              I 06/27/2013 16:44:47:355 00001cd0              RhoRuby| require_compiled: Settings/settings_controller

              I 06/27/2013 16:44:47:360 00001cd0              RhoRuby| require_compiled: helpers/browser_helper

              I 06/27/2013 16:44:47:361 00001cd0                  APP| Params: {"partition"=>"user", "bulk_status"=>"start", "sync_type"=>"bulk", "status"=>"in_progress", "rho_callback"=>"1"}

              I 06/27/2013 16:44:47:362 00001cd0           HttpServer| GC Start.

              I 06/27/2013 16:44:47:364 00001cd0           HttpServer| GC End.

              I 06/27/2013 16:44:47:364 00001dec                  Net| Method: GET;Url: http://172.16.10.151:9292/application/bulk_data?client_id=3f6b92e89d114a7bb6c93d51fbe611fb&partition=user&sources=LoginSession,Users,Location,Department,MenuOptions,CustomMenuValues,UserTypes

              I 06/27/2013 16:44:47:365 00001dec                  Net| Cookie : rhoconnect_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRiJFMTk1YzU3ZWEzNGYzM2FhMDNlMDkx%0AZDU1MTIxMmEzNzlhYWM0Y2JjNWNlMmFkYmYwNGU5MzAzZWRlNTNiYTY0ZEki%0ACmxvZ2luBjsARkkiC3NrdW1hcgY7AFRJIg1hcHBfbmFtZQY7AEZJIhBhcHBs%0AaWNhdGlvbgY7AEY%3D%0A--0e1605e42b2b53ad87eeda7225b5baea247d311e;path=/;rhoconnect_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRiJFMTk1YzU3ZWEzNGYzM2FhMDNlMDkx%0AZDU1MTIxMmEzNzlhYWM0Y2JjNWNlMmFkYmYwNGU5MzAzZWRlNTNiYTY0ZEki%0ACmxvZ2luBjsARkkiC3NrdW1hcgY7AFRJIg1hcHBfbmFtZQY7AEZJIhBhcHBs%0AaWNhdGlvbgY7AEY%3D%0A--0e1605e42b2b53ad87eeda7225b5baea247d311e;path=/;

              I 06/27/2013 16:44:47:443 00001dec                 Sync| Bulk sync: got response from server: {"result":"wait"}

              I 06/27/2013 16:44:47:444 00001dec                  Net| Method: GET;Url: http://172.16.10.151:9292/application/bulk_data?client_id=3f6b92e89d114a7bb6c93d51fbe611fb&partition=user&sources=LoginSession,Users,Location,Department,MenuOptions,CustomMenuValues,UserTypes

              I 06/27/2013 16:44:47:444 00001dec                  Net| Cookie : rhoconnect_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRiJFMTk1YzU3ZWEzNGYzM2FhMDNlMDkx%0AZDU1MTIxMmEzNzlhYWM0Y2JjNWNlMmFkYmYwNGU5MzAzZWRlNTNiYTY0ZEki%0ACmxvZ2luBjsARkkiC3NrdW1hcgY7AFRJIg1hcHBfbmFtZQY7AEZJIhBhcHBs%0AaWNhdGlvbgY7AEY%3D%0A--0e1605e42b2b53ad87eeda7225b5baea247d311e;path=/;rhoconnect_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRiJFMTk1YzU3ZWEzNGYzM2FhMDNlMDkx%0AZDU1MTIxMmEzNzlhYWM0Y2JjNWNlMmFkYmYwNGU5MzAzZWRlNTNiYTY0ZEki%0ACmxvZ2luBjsARkkiC3NrdW1hcgY7AFRJIg1hcHBfbmFtZQY7AEZJIhBhcHBs%0AaWNhdGlvbgY7AEY%3D%0A--0e1605e42b2b53ad87eeda7225b5baea247d311e;path=/;

              I 06/27/2013 16:44:47:469 00001dec                 Sync| Bulk sync: got response from server: {"result":"wait"}

              I 06/27/2013 16:44:52:470 00001dec                  Net| Method: GET;Url: http://172.16.10.151:9292/application/bulk_data?client_id=3f6b92e89d114a7bb6c93d51fbe611fb&partition=user&sources=LoginSession,Users,Location,Department,MenuOptions,CustomMenuValues,UserTypes

              I 06/27/2013 16:44:52:470 00001dec                  Net| Cookie : rhoconnect_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRiJFMTk1YzU3ZWEzNGYzM2FhMDNlMDkx%0AZDU1MTIxMmEzNzlhYWM0Y2JjNWNlMmFkYmYwNGU5MzAzZWRlNTNiYTY0ZEki%0ACmxvZ2luBjsARkkiC3NrdW1hcgY7AFRJIg1hcHBfbmFtZQY7AEZJIhBhcHBs%0AaWNhdGlvbgY7AEY%3D%0A--0e1605e42b2b53ad87eeda7225b5baea247d311e;path=/;rhoconnect_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRiJFMTk1YzU3ZWEzNGYzM2FhMDNlMDkx%0AZDU1MTIxMmEzNzlhYWM0Y2JjNWNlMmFkYmYwNGU5MzAzZWRlNTNiYTY0ZEki%0ACmxvZ2luBjsARkkiC3NrdW1hcgY7AFRJIg1hcHBfbmFtZQY7AEZJIhBhcHBs%0AaWNhdGlvbgY7AEY%3D%0A--0e1605e42b2b53ad87eeda7225b5baea247d311e;path=/;

              I 06/27/2013 16:44:52:499 00001dec                 Sync| Bulk sync: got response from server: {"result":"wait"}

              I 06/27/2013 16:44:57:499 00001dec                  Net| Method: GET;Url: http://172.16.10.151:9292/application/bulk_data?client_id=3f6b92e89d114a7bb6c93d51fbe611fb&partition==user&sources=LoginSession,Users,Location,Department,MenuOptions,CustomMenuValues,UserTypes

              I 06/27/2013 16:44:57:499 00001dec                  Net| Cookie : rhoconnect_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRiJFMTk1YzU3ZWEzNGYzM2FhMDNlMDkx%0AZDU1MTIxMmEzNzlhYWM0Y2JjNWNlMmFkYmYwNGU5MzAzZWRlNTNiYTY0ZEki%0ACmxvZ2luBjsARkkiC3NrdW1hcgY7AFRJIg1hcHBfbmFtZQY7AEZJIhBhcHBs%0AaWNhdGlvbgY7AEY%3D%0A--0e1605e42b2b53ad87eeda7225b5baea247d311e;path=/;rhoconnect_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRiJFMTk1YzU3ZWEzNGYzM2FhMDNlMDkx%0AZDU1MTIxMmEzNzlhYWM0Y2JjNWNlMmFkYmYwNGU5MzAzZWRlNTNiYTY0ZEki%0ACmxvZ2luBjsARkkiC3NrdW1hcgY7AFRJIg1hcHBfbmFtZQY7AEZJIhBhcHBs%0AaWNhdGlvbgY7AEY%3D%0A--0e1605e42b2b53ad87eeda7225b5baea247d311e;path=/;

              I 06/27/2013 16:44:57:645 00001dec                 Sync| Bulk sync: got response from server: {"result":"url","url":"/data/application/skumar/skumar_1372331692.data"}

              I 06/27/2013 16:44:57:645 00001dec                 Sync| Fire notification. Source : ; Url :http://127.0.0.1:57238/app/Settings/sync_notify; Params:

              I 06/27/2013 16:44:57:645 00001dec                  Net| Method: POST;Url: http://127.0.0.1:57238/app/Settings/sync_notify

              I 06/27/2013 16:44:57:646 00001cd0           HttpServer| Process URI: '/app/Settings/sync_notify'

              I 06/27/2013 16:44:57:646 00001cd0                  APP| RHO serve: /app/Settings/sync_notify

              I 06/27/2013 16:44:57:647 00001cd0              RhoRuby| require_compiled: Settings/settings_controller

              I 06/27/2013 16:44:57:649 00001cd0              RhoRuby| require_compiled: helpers/browser_helper

              I 06/27/2013 16:44:57:649 00001cd0                  APP| Params: {"partition"=>"user", "bulk_status"=>"download", "sync_type"=>"bulk", "status"=>"in_progress", "rho_callback"=>"1"}

              I 06/27/2013 16:44:57:650 00001cd0           HttpServer| GC Start.

              I 06/27/2013 16:44:57:651 00001dec                 Sync| Bulk sync: download data from server: http://172.16.10.151:9292/data/application/skumar/skumar_1372331692.data.rzip

              I 06/27/2013 16:44:57:651 00001dec                  Net| Method: GET;Url: http://172.16.10.151:9292/data/application/skumar/skumar_1372331692.data.rzip

              I 06/27/2013 16:44:57:651 00001dec                  Net| Cookie : rhoconnect_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRiJFMTk1YzU3ZWEzNGYzM2FhMDNlMDkx%0AZDU1MTIxMmEzNzlhYWM0Y2JjNWNlMmFkYmYwNGU5MzAzZWRlNTNiYTY0ZEki%0ACmxvZ2luBjsARkkiC3NrdW1hcgY7AFRJIg1hcHBfbmFtZQY7AEZJIhBhcHBs%0AaWNhdGlvbgY7AEY%3D%0A--0e1605e42b2b53ad87eeda7225b5baea247d311e;path=/;rhoconnect_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRiJFMTk1YzU3ZWEzNGYzM2FhMDNlMDkx%0AZDU1MTIxMmEzNzlhYWM0Y2JjNWNlMmFkYmYwNGU5MzAzZWRlNTNiYTY0ZEki%0ACmxvZ2luBjsARkkiC3NrdW1hcgY7AFRJIg1hcHBfbmFtZQY7AEZJIhBhcHBs%0AaWNhdGlvbgY7AEY%3D%0A--0e1605e42b2b53ad87eeda7225b5baea247d311e;path=/;

              I 06/27/2013 16:44:57:652 00001cd0           HttpServer| GC End.

              I 06/27/2013 16:44:57:668 00001dec                 Sync| Bulk sync: unzip db

              I 06/27/2013 16:44:57:668 00001dec RhodesAppBase.cpp: 257| Unzip : D:/workspace/SvntestserverRho/testserverRhoElement/rhosimulator/db/skumar_1372331692.data.rzip; Number of items : 1

              I 06/27/2013 16:44:57:688 00001dec                 Sync| Bulk sync: start change db

              I 06/27/2013 16:44:57:688 00001dec                 Sync| Fire notification. Source : ; Url :http://127.0.0.1:57238/app/Settings/sync_notify; Params:

              I 06/27/2013 16:44:57:688 00001dec                  Net| Method: POST;Url: http://127.0.0.1:57238/app/Settings/sync_notify

              I 06/27/2013 16:44:57:689 00001cd0           HttpServer| Process URI: '/app/Settings/sync_notify'

              I 06/27/2013 16:44:57:690 00001cd0                  APP| RHO serve: /app/Settings/sync_notify

              I 06/27/2013 16:44:57:690 00001cd0              RhoRuby| require_compiled: Settings/settings_controller

              I 06/27/2013 16:44:57:692 00001cd0              RhoRuby| require_compiled: helpers/browser_helper

              I 06/27/2013 16:44:57:693 00001cd0                  APP| Params: {"partition"=>"user", "bulk_status"=>"change_db", "sync_type"=>"bulk", "status"=>"in_progress", "rho_callback"=>"1"}

              I 06/27/2013 16:44:57:693 00001cd0           HttpServer| GC Start.

              I 06/27/2013 16:44:57:693 00001dec                   DB| Open DB: D:/workspace/SvntestserverRho/testserverRhoElement/rhosimulator/db/skumar_1372331692.data

              I 06/27/2013 16:44:57:696 00001cd0           HttpServer| GC End.

              I 06/27/2013 16:44:57:935 00001dec                   DB| Open DB: D:/workspace/SvntestserverRho/testserverRhoElement/rhosimulator/db/syncdbuser.sqlite

              I 06/27/2013 16:44:57:936 00001dec                  Net| Method: POST;Url: http://127.0.0.1:57238/system/loadserversources

              I 06/27/2013 16:44:57:938 00001cd0           HttpServer| Process URI: '/system/loadserversources'

              I 06/27/2013 16:44:57:938 00001cd0                  APP| load_server_sources : {"partition":"user"}

              I 06/27/2013 16:44:57:938 00001cd0                  APP| skip_schema = false

              I 06/27/2013 16:44:57:938 00001cd0                  APP| reload sources for partition: user

              I 06/27/2013 16:44:58:015 00001dec                  Net| Method: POST;Url: http://127.0.0.1:57238/system/loadallsyncsources

              I 06/27/2013 16:44:58:017 00001cd0           HttpServer| Process URI: '/system/loadallsyncsources'

              I 06/27/2013 16:44:58:020 00001dec                 Sync| Bulk sync: end change db

              I 06/27/2013 16:44:58:020 00001dec                 Sync| Fire notification. Source : ; Url :http://127.0.0.1:57238/app/Settings/sync_notify; Params:

              I 06/27/2013 16:44:58:020 00001dec                  Net| Method: POST;Url: http://127.0.0.1:57238/app/Settings/sync_notify

              I 06/27/2013 16:44:58:022 00001cd0           HttpServer| Process URI: '/app/Settings/sync_notify'

              I 06/27/2013 16:44:58:022 00001cd0                  APP| RHO serve: /app/Settings/sync_notify

              I 06/27/2013 16:44:58:023 00001cd0              RhoRuby| require_compiled: Settings/settings_controller

              I 06/27/2013 16:44:58:028 00001cd0              RhoRuby| require_compiled: helpers/browser_helper

              I 06/27/2013 16:44:58:029 00001cd0                  APP| Params: {"partition"=>"user", "bulk_status"=>"ok", "sync_type"=>"bulk", "status"=>"in_progress", "rho_callback"=>"1"}

              I 06/27/2013 16:44:58:030 00001cd0           HttpServer| GC Start.

              I 06/27/2013 16:44:58:033 00001cd0           HttpServer| GC End.

              I 06/27/2013 16:44:58:037 00001dec                 Sync| Bulk sync: download BLOBs

              I 06/27/2013 16:44:58:038 00001dec                 Sync| Fire notification. Source : ; Url :http://127.0.0.1:57238/app/Settings/sync_notify; Params:

              I 06/27/2013 16:44:58:038 00001dec                  Net| Method: POST;Url: http://127.0.0.1:57238/app/Settings/sync_notify

              I 06/27/2013 16:44:58:041 00001cd0           HttpServer| Process URI: '/app/Settings/sync_notify'

              I 06/27/2013 16:44:58:041 00001cd0                  APP| RHO serve: /app/Settings/sync_notify

              I 06/27/2013 16:44:58:042 00001cd0              RhoRuby| require_compiled: Settings/settings_controller

              I 06/27/2013 16:44:58:045 00001cd0              RhoRuby| require_compiled: helpers/browser_helper

              I 06/27/2013 16:44:58:046 00001cd0                  APP| Params: {"partition"=>"", "bulk_status"=>"blobs", "sync_type"=>"bulk", "status"=>"in_progress", "rho_callback"=>"1"}

              I 06/27/2013 16:44:58:046 00001cd0           HttpServer| GC Start.

              I 06/27/2013 16:44:58:048 00001dec                 Sync| Fire notification. Source : ; Url :http://127.0.0.1:57238/app/Settings/sync_notify; Params:

              I 06/27/2013 16:44:58:048 00001dec                  Net| Method: POST;Url: http://127.0.0.1:57238/app/Settings/sync_notify

              I 06/27/2013 16:44:58:049 00001cd0           HttpServer| GC End.

              I 06/27/2013 16:44:58:049 00001cd0           HttpServer| Process URI: '/app/Settings/sync_notify'

              I 06/27/2013 16:44:58:049 00001cd0                  APP| RHO serve: /app/Settings/sync_notify

              I 06/27/2013 16:44:58:050 00001cd0              RhoRuby| require_compiled: Settings/settings_controller

              I 06/27/2013 16:44:58:052 00001cd0              RhoRuby| require_compiled: helpers/browser_helper

              I 06/27/2013 16:44:58:052 00001cd0                  APP| Params: {"partition"=>"", "bulk_status"=>"complete", "sync_type"=>"bulk", "status"=>"ok", "rho_callback"=>"1"}

              I 06/27/2013 16:44:58:053 00001cd0           HttpServer| GC Start.

              I 06/27/2013 16:44:58:055 00001cd0           HttpServer| GC End.

              I 06/27/2013 16:44:58:134 00001dec                 Sync| Sync server changes source ID :1

              I 06/27/2013 16:44:58:134 00001dec                 Sync| Pull changes from server. Url: http://172.16.10.151:9292/application?client_id=3f6b92e89d114a7bb6c93d51fbe611fb&p_size=2000&version=3&source_name=LoginSession

              I 06/27/2013 16:44:58:134 00001dec                  Net| Method: GET;Url: http://172.16.10.151:9292/application?client_id=3f6b92e89d114a7bb6c93d51fbe611fb&p_size=2000&version=3&source_name=LoginSession

              I 06/27/2013 16:44:58:135 00001dec                  Net| Cookie : rhoconnect_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRiJFMTk1YzU3ZWEzNGYzM2FhMDNlMDkx%0AZDU1MTIxMmEzNzlhYWM0Y2JjNWNlMmFkYmYwNGU5MzAzZWRlNTNiYTY0ZEki%0ACmxvZ2luBjsARkkiC3NrdW1hcgY7AFRJIg1hcHBfbmFtZQY7AEZJIhBhcHBs%0AaWNhdGlvbgY7AEY%3D%0A--0e1605e42b2b53ad87eeda7225b5baea247d311e;path=/;rhoconnect_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRiJFMTk1YzU3ZWEzNGYzM2FhMDNlMDkx%0AZDU1MTIxMmEzNzlhYWM0Y2JjNWNlMmFkYmYwNGU5MzAzZWRlNTNiYTY0ZEki%0ACmxvZ2luBjsARkkiC3NrdW1hcgY7AFRJIg1hcHBfbmFtZQY7AEZJIhBhcHBs%0AaWNhdGlvbgY7AEY%3D%0A--0e1605e42b2b53ad87eeda7225b5baea247d311e;path=/;

              I 06/27/2013 16:44:58:279 00001dec                 Sync| Got 0(Processed: 0) records of 1 from server. Source: LoginSession. Version: 3

              I 06/27/2013 16:44:58:351 00001dec                 Sync| Fire notification. Source : LoginSession; Url :http://127.0.0.1:57238/app/Settings/sync_notify; Params:

              I 06/27/2013 16:44:58:351 00001dec                  Net| Method: POST;Url: http://127.0.0.1:57238/app/Settings/sync_notify

              I 06/27/2013 16:44:58:353 00001cd0           HttpServer| Process URI: '/app/Settings/sync_notify'

              I 06/27/2013 16:44:58:353 00001cd0                  APP| RHO serve: /app/Settings/sync_notify

              I 06/27/2013 16:44:58:353 00001cd0              RhoRuby| require_compiled: Settings/settings_controller

              I 06/27/2013 16:44:58:359 00001cd0              RhoRuby| require_compiled: helpers/browser_helper

              I 06/27/2013 16:44:58:360 00001cd0                  APP| Params: {"total_count"=>"1", "processed_count"=>"0", "cumulative_count"=>"0", "source_id"=>"1", "source_name"=>"LoginSession", "sync_type"=>"incremental", "status"=>"ok", "rho_callback"=>"1"}

              I 06/27/2013 16:44:58:361 00001cd0           HttpServer| GC Start.

              I 06/27/2013 16:44:58:363 00001dec                 Sync| Fire notification. Source : ; Url :http://127.0.0.1:57238/app/Settings/sync_notify; Params:

              I 06/27/2013 16:44:58:787 00001dec                  Net| Method: POST;Url: http://127.0.0.1:57238/app/Settings/sync_notify

              I 06/27/2013 16:44:58:790 00001cd0           HttpServer| GC End.

              I 06/27/2013 16:44:58:790 00001cd0           HttpServer| Process URI: '/app/Settings/sync_notify'

              I 06/27/2013 16:44:58:790 00001cd0                  APP| RHO serve: /app/Settings/sync_notify

              I 06/27/2013 16:44:58:790 00001cd0              RhoRuby| require_compiled: Settings/settings_controller

              I 06/27/2013 16:44:58:792 00001cd0              RhoRuby| require_compiled: helpers/browser_helper

              I 06/27/2013 16:44:58:793 00001cd0                  APP| Params: {"sync_type"=>"incremental", "status"=>"complete", "rho_callback"=>"1"}

              I 06/27/2013 16:44:58:793 00001964           MainWindow| navigate: 'http://127.0.0.1:57238/app/Home?username=skumar'

              I 06/27/2013 16:44:58:793 00001cd0           HttpServer| GC Start.

              I 06/27/2013 16:44:58:793 00001964         QtMainWindow| WebView: loading...

              I 06/27/2013 16:44:58:795 00001cd0           HttpServer| GC End.

              I 06/27/2013 16:44:58:795 00001dec                 Sync| ThreadQueue blocked for 4294967295 seconds...

              I 06/27/2013 16:44:58:796 00001cd0           HttpServer| Process URI: '/app/Home'

              I 06/27/2013 16:44:58:796 00001cd0                  APP| RHO serve: /app/Home

              I 06/27/2013 16:44:58:796 00001cd0              RhoRuby| require_compiled: Home/home_controller

              I 06/27/2013 16:44:58:798 00001cd0              RhoRuby| require_compiled: helpers/browser_helper

              I 06/27/2013 16:44:58:798 00001cd0              RhoRuby| require_compiled: common

              I 06/27/2013 16:44:58:801 00001cd0              RhoRuby| require_compiled: serverupdate

              I 06/27/2013 16:44:58:803 00001cd0              RhoRuby| require_compiled: common

              I 06/27/2013 16:44:58:805 00001cd0                  APP| Params: {"username"=>"skumar"}

              I 06/27/2013 16:44:58:888 00001cd0                  APP| App error: undefined method `[]' for nil:NilClass

              C:/MotorolaRhoMobileSuite2.2.1.13/ruby/lib/ruby/gems/1.9.1/gems/rhodes-3.5.1.13/lib/framework/rhom/rhom_object_factory.rb:184:in `is_schema_source'

              C:/MotorolaRhoMobileSuite2.2.1.13/ruby/lib/ruby/gems/1.9.1/gems/rhodes-3.5.1.13/lib/framework/rhom/rhom_object_factory.rb:838:in `find'

              D:/workspace/SvntestserverRho/testserverRhoElement/app/common.rb:138:in `GetAllowedProcessForUser'

              D:/workspace/SvntestserverRho/testserverRhoElement/app/Home/home_controller.rb:148:in `index'

              C:/MotorolaRhoMobileSuite2.2.1.13/ruby/lib/ruby/gems/1.9.1/gems/rhodes-3.5.1.13/lib/framework/rho/rhocontroller.rb:104:in `serve'

              C:/MotorolaRhoMobileSuite2.2.1.13/ruby/lib/ruby/gems/1.9.1/gems/rhodes-3.5.1.13/lib/framework/rho/rhoapplication.rb:248:in `serve'

              C:/MotorolaRhoMobileSuite2.2.1.13/ruby/lib/ruby/gems/1.9.1/gems/rhodes-3.5.1.13/lib/framework/rho/rho.rb:883:in `serve'

              I 06/27/2013 16:44:58:889 00001cd0           HttpServer| GC Start.

              I 06/27/2013 16:44:58:893 00001cd0           HttpServer| GC End.

              I 06/27/2013 16:44:58:898 00001964         QtMainWindow| WebView: URL changed

              I 06/27/2013 16:44:58:902 00001964         QtMainWindow| Page load complete.

              I 06/27/2013 16:45:13:537 00001964            RhodesApp| callAppActiveCallback

              I 06/27/2013 16:45:13:537 00001964         AppCallbacks| addCommand: APP-DEACTIVATED

              I 06/27/2013 16:45:13:537 00001964                  Net| Method: GET;Url: http://127.0.0.1:57238/system/deactivateapp

              I 06/27/2013 16:45:13:537 00001658         AppCallbacks| process command: APP-DEACTIVATED

              I 06/27/2013 16:45:13:537 00001658         AppCallbacks| ThreadQueue blocked for 4294967295 seconds...

              I 06/27/2013 16:45:13:556 00001cd0           HttpServer| Process URI: '/system/deactivateapp'

              • Re: Rhoconnect partition_type:app not working

                Here is my log file from Rho simulator while starting bulk sync

                 

                 

                  Sync| Bulk sync: start

                I 06/27/2013 16:44:47:337 00001dec                 Sync| Fire notification. Source : ; Url :http://127.0.0.1:57238/app/Settings/sync_notify; Params:

                I 06/27/2013 16:44:47:337 00001dec                  Net| Method: POST;Url: http://127.0.0.1:57238/app/Settings/sync_notify

                I 06/27/2013 16:44:47:339 00001cd0           HttpServer| Process URI: '/app/Settings/sync_notify'

                I 06/27/2013 16:44:47:339 00001cd0                  APP| RHO serve: /app/Settings/sync_notify

                I 06/27/2013 16:44:47:340 00001cd0              RhoRuby| require_compiled: Settings/settings_controller

                I 06/27/2013 16:44:47:345 00001cd0              RhoRuby| require_compiled: helpers/browser_helper

                I 06/27/2013 16:44:47:346 00001cd0                  APP| Params: {"partition"=>"", "bulk_status"=>"start", "sync_type"=>"bulk", "status"=>"in_progress", "rho_callback"=>"1"}

                I 06/27/2013 16:44:47:347 00001cd0           HttpServer| GC Start.

                I 06/27/2013 16:44:47:350 00001dec                 Sync| Fire notification. Source : ; Url :http://127.0.0.1:57238/app/Settings/sync_notify; Params:

                I 06/27/2013 16:44:47:350 00001dec                  Net| Method: POST;Url: http://127.0.0.1:57238/app/Settings/sync_notify

                I 06/27/2013 16:44:47:353 00001cd0           HttpServer| GC End.

                I 06/27/2013 16:44:47:354 00001cd0           HttpServer| Process URI: '/app/Settings/sync_notify'

                I 06/27/2013 16:44:47:354 00001cd0                  APP| RHO serve: /app/Settings/sync_notify

                I 06/27/2013 16:44:47:355 00001cd0              RhoRuby| require_compiled: Settings/settings_controller

                I 06/27/2013 16:44:47:360 00001cd0              RhoRuby| require_compiled: helpers/browser_helper

                I 06/27/2013 16:44:47:361 00001cd0                  APP| Params: {"partition"=>"user", "bulk_status"=>"start", "sync_type"=>"bulk", "status"=>"in_progress", "rho_callback"=>"1"}

                I 06/27/2013 16:44:47:362 00001cd0           HttpServer| GC Start.

                I 06/27/2013 16:44:47:364 00001cd0           HttpServer| GC End.

                I 06/27/2013 16:44:47:364 00001dec                  Net| Method: GET;Url: http://172.16.10.151:9292/application/bulk_data?client_id=3f6b92e89d114a7bb6c93d51fbe611fb&partition=user&sources=LoginSession,Users,Location,Department,MenuOptions,CustomMenuValues,UserTypes

                I 06/27/2013 16:44:47:365 00001dec                  Net| Cookie : rhoconnect_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRiJFMTk1YzU3ZWEzNGYzM2FhMDNlMDkx%0AZDU1MTIxMmEzNzlhYWM0Y2JjNWNlMmFkYmYwNGU5MzAzZWRlNTNiYTY0ZEki%0ACmxvZ2luBjsARkkiC3NrdW1hcgY7AFRJIg1hcHBfbmFtZQY7AEZJIhBhcHBs%0AaWNhdGlvbgY7AEY%3D%0A--0e1605e42b2b53ad87eeda7225b5baea247d311e;path=/;rhoconnect_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRiJFMTk1YzU3ZWEzNGYzM2FhMDNlMDkx%0AZDU1MTIxMmEzNzlhYWM0Y2JjNWNlMmFkYmYwNGU5MzAzZWRlNTNiYTY0ZEki%0ACmxvZ2luBjsARkkiC3NrdW1hcgY7AFRJIg1hcHBfbmFtZQY7AEZJIhBhcHBs%0AaWNhdGlvbgY7AEY%3D%0A--0e1605e42b2b53ad87eeda7225b5baea247d311e;path=/;

                I 06/27/2013 16:44:47:443 00001dec                 Sync| Bulk sync: got response from server: {"result":"wait"}

                I 06/27/2013 16:44:47:444 00001dec                  Net| Method: GET;Url: http://172.16.10.151:9292/application/bulk_data?client_id=3f6b92e89d114a7bb6c93d51fbe611fb&partition=user&sources=LoginSession,Users,Location,Department,MenuOptions,CustomMenuValues,UserTypes

                I 06/27/2013 16:44:47:444 00001dec                  Net| Cookie : rhoconnect_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRiJFMTk1YzU3ZWEzNGYzM2FhMDNlMDkx%0AZDU1MTIxMmEzNzlhYWM0Y2JjNWNlMmFkYmYwNGU5MzAzZWRlNTNiYTY0ZEki%0ACmxvZ2luBjsARkkiC3NrdW1hcgY7AFRJIg1hcHBfbmFtZQY7AEZJIhBhcHBs%0AaWNhdGlvbgY7AEY%3D%0A--0e1605e42b2b53ad87eeda7225b5baea247d311e;path=/;rhoconnect_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRiJFMTk1YzU3ZWEzNGYzM2FhMDNlMDkx%0AZDU1MTIxMmEzNzlhYWM0Y2JjNWNlMmFkYmYwNGU5MzAzZWRlNTNiYTY0ZEki%0ACmxvZ2luBjsARkkiC3NrdW1hcgY7AFRJIg1hcHBfbmFtZQY7AEZJIhBhcHBs%0AaWNhdGlvbgY7AEY%3D%0A--0e1605e42b2b53ad87eeda7225b5baea247d311e;path=/;

                I 06/27/2013 16:44:47:469 00001dec                 Sync| Bulk sync: got response from server: {"result":"wait"}

                I 06/27/2013 16:44:52:470 00001dec                  Net| Method: GET;Url: http://172.16.10.151:9292/application/bulk_data?client_id=3f6b92e89d114a7bb6c93d51fbe611fb&partition=user&sources=LoginSession,Users,Location,Department,MenuOptions,CustomMenuValues,UserTypes

                I 06/27/2013 16:44:52:470 00001dec                  Net| Cookie : rhoconnect_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRiJFMTk1YzU3ZWEzNGYzM2FhMDNlMDkx%0AZDU1MTIxMmEzNzlhYWM0Y2JjNWNlMmFkYmYwNGU5MzAzZWRlNTNiYTY0ZEki%0ACmxvZ2luBjsARkkiC3NrdW1hcgY7AFRJIg1hcHBfbmFtZQY7AEZJIhBhcHBs%0AaWNhdGlvbgY7AEY%3D%0A--0e1605e42b2b53ad87eeda7225b5baea247d311e;path=/;rhoconnect_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRiJFMTk1YzU3ZWEzNGYzM2FhMDNlMDkx%0AZDU1MTIxMmEzNzlhYWM0Y2JjNWNlMmFkYmYwNGU5MzAzZWRlNTNiYTY0ZEki%0ACmxvZ2luBjsARkkiC3NrdW1hcgY7AFRJIg1hcHBfbmFtZQY7AEZJIhBhcHBs%0AaWNhdGlvbgY7AEY%3D%0A--0e1605e42b2b53ad87eeda7225b5baea247d311e;path=/;

                I 06/27/2013 16:44:52:499 00001dec                 Sync| Bulk sync: got response from server: {"result":"wait"}

                I 06/27/2013 16:44:57:499 00001dec                  Net| Method: GET;Url: http://172.16.10.151:9292/application/bulk_data?client_id=3f6b92e89d114a7bb6c93d51fbe611fb&partition==user&sources=LoginSession,Users,Location,Department,MenuOptions,CustomMenuValues,UserTypes

                I 06/27/2013 16:44:57:499 00001dec                  Net| Cookie : rhoconnect_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRiJFMTk1YzU3ZWEzNGYzM2FhMDNlMDkx%0AZDU1MTIxMmEzNzlhYWM0Y2JjNWNlMmFkYmYwNGU5MzAzZWRlNTNiYTY0ZEki%0ACmxvZ2luBjsARkkiC3NrdW1hcgY7AFRJIg1hcHBfbmFtZQY7AEZJIhBhcHBs%0AaWNhdGlvbgY7AEY%3D%0A--0e1605e42b2b53ad87eeda7225b5baea247d311e;path=/;rhoconnect_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRiJFMTk1YzU3ZWEzNGYzM2FhMDNlMDkx%0AZDU1MTIxMmEzNzlhYWM0Y2JjNWNlMmFkYmYwNGU5MzAzZWRlNTNiYTY0ZEki%0ACmxvZ2luBjsARkkiC3NrdW1hcgY7AFRJIg1hcHBfbmFtZQY7AEZJIhBhcHBs%0AaWNhdGlvbgY7AEY%3D%0A--0e1605e42b2b53ad87eeda7225b5baea247d311e;path=/;

                I 06/27/2013 16:44:57:645 00001dec                 Sync| Bulk sync: got response from server: {"result":"url","url":"/data/application/skumar/skumar_1372331692.data"}

                I 06/27/2013 16:44:57:645 00001dec                 Sync| Fire notification. Source : ; Url :http://127.0.0.1:57238/app/Settings/sync_notify; Params:

                I 06/27/2013 16:44:57:645 00001dec                  Net| Method: POST;Url: http://127.0.0.1:57238/app/Settings/sync_notify

                I 06/27/2013 16:44:57:646 00001cd0           HttpServer| Process URI: '/app/Settings/sync_notify'

                I 06/27/2013 16:44:57:646 00001cd0                  APP| RHO serve: /app/Settings/sync_notify

                I 06/27/2013 16:44:57:647 00001cd0              RhoRuby| require_compiled: Settings/settings_controller

                I 06/27/2013 16:44:57:649 00001cd0              RhoRuby| require_compiled: helpers/browser_helper

                I 06/27/2013 16:44:57:649 00001cd0                  APP| Params: {"partition"=>"user", "bulk_status"=>"download", "sync_type"=>"bulk", "status"=>"in_progress", "rho_callback"=>"1"}

                I 06/27/2013 16:44:57:650 00001cd0           HttpServer| GC Start.

                I 06/27/2013 16:44:57:651 00001dec                 Sync| Bulk sync: download data from server: http://172.16.10.151:9292/data/application/skumar/skumar_1372331692.data.rzip

                I 06/27/2013 16:44:57:651 00001dec                  Net| Method: GET;Url: http://172.16.10.151:9292/data/application/skumar/skumar_1372331692.data.rzip

                I 06/27/2013 16:44:57:651 00001dec                  Net| Cookie : rhoconnect_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRiJFMTk1YzU3ZWEzNGYzM2FhMDNlMDkx%0AZDU1MTIxMmEzNzlhYWM0Y2JjNWNlMmFkYmYwNGU5MzAzZWRlNTNiYTY0ZEki%0ACmxvZ2luBjsARkkiC3NrdW1hcgY7AFRJIg1hcHBfbmFtZQY7AEZJIhBhcHBs%0AaWNhdGlvbgY7AEY%3D%0A--0e1605e42b2b53ad87eeda7225b5baea247d311e;path=/;rhoconnect_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRiJFMTk1YzU3ZWEzNGYzM2FhMDNlMDkx%0AZDU1MTIxMmEzNzlhYWM0Y2JjNWNlMmFkYmYwNGU5MzAzZWRlNTNiYTY0ZEki%0ACmxvZ2luBjsARkkiC3NrdW1hcgY7AFRJIg1hcHBfbmFtZQY7AEZJIhBhcHBs%0AaWNhdGlvbgY7AEY%3D%0A--0e1605e42b2b53ad87eeda7225b5baea247d311e;path=/;

                I 06/27/2013 16:44:57:652 00001cd0           HttpServer| GC End.

                I 06/27/2013 16:44:57:668 00001dec                 Sync| Bulk sync: unzip db

                I 06/27/2013 16:44:57:668 00001dec RhodesAppBase.cpp: 257| Unzip : D:/workspace/SvntestserverRho/testserverRhoElement/rhosimulator/db/skumar_1372331692.data.rzip; Number of items : 1

                I 06/27/2013 16:44:57:688 00001dec                 Sync| Bulk sync: start change db

                I 06/27/2013 16:44:57:688 00001dec                 Sync| Fire notification. Source : ; Url :http://127.0.0.1:57238/app/Settings/sync_notify; Params:

                I 06/27/2013 16:44:57:688 00001dec                  Net| Method: POST;Url: http://127.0.0.1:57238/app/Settings/sync_notify

                I 06/27/2013 16:44:57:689 00001cd0           HttpServer| Process URI: '/app/Settings/sync_notify'

                I 06/27/2013 16:44:57:690 00001cd0                  APP| RHO serve: /app/Settings/sync_notify

                I 06/27/2013 16:44:57:690 00001cd0              RhoRuby| require_compiled: Settings/settings_controller

                I 06/27/2013 16:44:57:692 00001cd0              RhoRuby| require_compiled: helpers/browser_helper

                I 06/27/2013 16:44:57:693 00001cd0                  APP| Params: {"partition"=>"user", "bulk_status"=>"change_db", "sync_type"=>"bulk", "status"=>"in_progress", "rho_callback"=>"1"}

                I 06/27/2013 16:44:57:693 00001cd0           HttpServer| GC Start.

                I 06/27/2013 16:44:57:693 00001dec                   DB| Open DB: D:/workspace/SvntestserverRho/testserverRhoElement/rhosimulator/db/skumar_1372331692.data

                I 06/27/2013 16:44:57:696 00001cd0           HttpServer| GC End.

                I 06/27/2013 16:44:57:935 00001dec                   DB| Open DB: D:/workspace/SvntestserverRho/testserverRhoElement/rhosimulator/db/syncdbuser.sqlite

                I 06/27/2013 16:44:57:936 00001dec                  Net| Method: POST;Url: http://127.0.0.1:57238/system/loadserversources

                I 06/27/2013 16:44:57:938 00001cd0           HttpServer| Process URI: '/system/loadserversources'

                I 06/27/2013 16:44:57:938 00001cd0                  APP| load_server_sources : {"partition":"user"}

                I 06/27/2013 16:44:57:938 00001cd0                  APP| skip_schema = false

                I 06/27/2013 16:44:57:938 00001cd0                  APP| reload sources for partition: user

                I 06/27/2013 16:44:58:015 00001dec                  Net| Method: POST;Url: http://127.0.0.1:57238/system/loadallsyncsources

                I 06/27/2013 16:44:58:017 00001cd0           HttpServer| Process URI: '/system/loadallsyncsources'

                I 06/27/2013 16:44:58:020 00001dec                 Sync| Bulk sync: end change db

                I 06/27/2013 16:44:58:020 00001dec                 Sync| Fire notification. Source : ; Url :http://127.0.0.1:57238/app/Settings/sync_notify; Params:

                I 06/27/2013 16:44:58:020 00001dec                  Net| Method: POST;Url: http://127.0.0.1:57238/app/Settings/sync_notify

                I 06/27/2013 16:44:58:022 00001cd0           HttpServer| Process URI: '/app/Settings/sync_notify'

                I 06/27/2013 16:44:58:022 00001cd0                  APP| RHO serve: /app/Settings/sync_notify

                I 06/27/2013 16:44:58:023 00001cd0              RhoRuby| require_compiled: Settings/settings_controller

                I 06/27/2013 16:44:58:028 00001cd0              RhoRuby| require_compiled: helpers/browser_helper

                I 06/27/2013 16:44:58:029 00001cd0                  APP| Params: {"partition"=>"user", "bulk_status"=>"ok", "sync_type"=>"bulk", "status"=>"in_progress", "rho_callback"=>"1"}

                I 06/27/2013 16:44:58:030 00001cd0           HttpServer| GC Start.

                I 06/27/2013 16:44:58:033 00001cd0           HttpServer| GC End.

                I 06/27/2013 16:44:58:037 00001dec                 Sync| Bulk sync: download BLOBs

                I 06/27/2013 16:44:58:038 00001dec                 Sync| Fire notification. Source : ; Url :http://127.0.0.1:57238/app/Settings/sync_notify; Params:

                I 06/27/2013 16:44:58:038 00001dec                  Net| Method: POST;Url: http://127.0.0.1:57238/app/Settings/sync_notify

                I 06/27/2013 16:44:58:041 00001cd0           HttpServer| Process URI: '/app/Settings/sync_notify'

                I 06/27/2013 16:44:58:041 00001cd0                  APP| RHO serve: /app/Settings/sync_notify

                I 06/27/2013 16:44:58:042 00001cd0              RhoRuby| require_compiled: Settings/settings_controller

                I 06/27/2013 16:44:58:045 00001cd0              RhoRuby| require_compiled: helpers/browser_helper

                I 06/27/2013 16:44:58:046 00001cd0                  APP| Params: {"partition"=>"", "bulk_status"=>"blobs", "sync_type"=>"bulk", "status"=>"in_progress", "rho_callback"=>"1"}

                I 06/27/2013 16:44:58:046 00001cd0           HttpServer| GC Start.

                I 06/27/2013 16:44:58:048 00001dec                 Sync| Fire notification. Source : ; Url :http://127.0.0.1:57238/app/Settings/sync_notify; Params:

                I 06/27/2013 16:44:58:048 00001dec                  Net| Method: POST;Url: http://127.0.0.1:57238/app/Settings/sync_notify

                I 06/27/2013 16:44:58:049 00001cd0           HttpServer| GC End.

                I 06/27/2013 16:44:58:049 00001cd0           HttpServer| Process URI: '/app/Settings/sync_notify'

                I 06/27/2013 16:44:58:049 00001cd0                  APP| RHO serve: /app/Settings/sync_notify

                I 06/27/2013 16:44:58:050 00001cd0              RhoRuby| require_compiled: Settings/settings_controller

                I 06/27/2013 16:44:58:052 00001cd0              RhoRuby| require_compiled: helpers/browser_helper

                I 06/27/2013 16:44:58:052 00001cd0                  APP| Params: {"partition"=>"", "bulk_status"=>"complete", "sync_type"=>"bulk", "status"=>"ok", "rho_callback"=>"1"}

                I 06/27/2013 16:44:58:053 00001cd0           HttpServer| GC Start.

                I 06/27/2013 16:44:58:055 00001cd0           HttpServer| GC End.

                I 06/27/2013 16:44:58:134 00001dec                 Sync| Sync server changes source ID :1

                I 06/27/2013 16:44:58:134 00001dec                 Sync| Pull changes from server. Url: http://172.16.10.151:9292/application?client_id=3f6b92e89d114a7bb6c93d51fbe611fb&p_size=2000&version=3&source_name=LoginSession

                I 06/27/2013 16:44:58:134 00001dec                  Net| Method: GET;Url: http://172.16.10.151:9292/application?client_id=3f6b92e89d114a7bb6c93d51fbe611fb&p_size=2000&version=3&source_name=LoginSession

                I 06/27/2013 16:44:58:135 00001dec                  Net| Cookie : rhoconnect_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRiJFMTk1YzU3ZWEzNGYzM2FhMDNlMDkx%0AZDU1MTIxMmEzNzlhYWM0Y2JjNWNlMmFkYmYwNGU5MzAzZWRlNTNiYTY0ZEki%0ACmxvZ2luBjsARkkiC3NrdW1hcgY7AFRJIg1hcHBfbmFtZQY7AEZJIhBhcHBs%0AaWNhdGlvbgY7AEY%3D%0A--0e1605e42b2b53ad87eeda7225b5baea247d311e;path=/;rhoconnect_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRiJFMTk1YzU3ZWEzNGYzM2FhMDNlMDkx%0AZDU1MTIxMmEzNzlhYWM0Y2JjNWNlMmFkYmYwNGU5MzAzZWRlNTNiYTY0ZEki%0ACmxvZ2luBjsARkkiC3NrdW1hcgY7AFRJIg1hcHBfbmFtZQY7AEZJIhBhcHBs%0AaWNhdGlvbgY7AEY%3D%0A--0e1605e42b2b53ad87eeda7225b5baea247d311e;path=/;

                I 06/27/2013 16:44:58:279 00001dec                 Sync| Got 0(Processed: 0) records of 1 from server. Source: LoginSession. Version: 3

                I 06/27/2013 16:44:58:351 00001dec                 Sync| Fire notification. Source : LoginSession; Url :http://127.0.0.1:57238/app/Settings/sync_notify; Params:

                I 06/27/2013 16:44:58:351 00001dec                  Net| Method: POST;Url: http://127.0.0.1:57238/app/Settings/sync_notify

                I 06/27/2013 16:44:58:353 00001cd0           HttpServer| Process URI: '/app/Settings/sync_notify'

                I 06/27/2013 16:44:58:353 00001cd0                  APP| RHO serve: /app/Settings/sync_notify

                I 06/27/2013 16:44:58:353 00001cd0              RhoRuby| require_compiled: Settings/settings_controller

                I 06/27/2013 16:44:58:359 00001cd0              RhoRuby| require_compiled: helpers/browser_helper

                I 06/27/2013 16:44:58:360 00001cd0                  APP| Params: {"total_count"=>"1", "processed_count"=>"0", "cumulative_count"=>"0", "source_id"=>"1", "source_name"=>"LoginSession", "sync_type"=>"incremental", "status"=>"ok", "rho_callback"=>"1"}

                I 06/27/2013 16:44:58:361 00001cd0           HttpServer| GC Start.

                I 06/27/2013 16:44:58:363 00001dec                 Sync| Fire notification. Source : ; Url :http://127.0.0.1:57238/app/Settings/sync_notify; Params:

                I 06/27/2013 16:44:58:787 00001dec                  Net| Method: POST;Url: http://127.0.0.1:57238/app/Settings/sync_notify

                I 06/27/2013 16:44:58:790 00001cd0           HttpServer| GC End.

                I 06/27/2013 16:44:58:790 00001cd0           HttpServer| Process URI: '/app/Settings/sync_notify'

                I 06/27/2013 16:44:58:790 00001cd0                  APP| RHO serve: /app/Settings/sync_notify

                I 06/27/2013 16:44:58:790 00001cd0              RhoRuby| require_compiled: Settings/settings_controller

                I 06/27/2013 16:44:58:792 00001cd0              RhoRuby| require_compiled: helpers/browser_helper

                I 06/27/2013 16:44:58:793 00001cd0                  APP| Params: {"sync_type"=>"incremental", "status"=>"complete", "rho_callback"=>"1"}

                I 06/27/2013 16:44:58:793 00001964           MainWindow| navigate: 'http://127.0.0.1:57238/app/Home?username=skumar'

                I 06/27/2013 16:44:58:793 00001cd0           HttpServer| GC Start.

                I 06/27/2013 16:44:58:793 00001964         QtMainWindow| WebView: loading...

                I 06/27/2013 16:44:58:795 00001cd0           HttpServer| GC End.

                I 06/27/2013 16:44:58:795 00001dec                 Sync| ThreadQueue blocked for 4294967295 seconds...

                I 06/27/2013 16:44:58:796 00001cd0           HttpServer| Process URI: '/app/Home'

                I 06/27/2013 16:44:58:796 00001cd0                  APP| RHO serve: /app/Home

                I 06/27/2013 16:44:58:796 00001cd0              RhoRuby| require_compiled: Home/home_controller

                I 06/27/2013 16:44:58:798 00001cd0              RhoRuby| require_compiled: helpers/browser_helper

                I 06/27/2013 16:44:58:798 00001cd0              RhoRuby| require_compiled: common

                I 06/27/2013 16:44:58:801 00001cd0              RhoRuby| require_compiled: serverupdate

                I 06/27/2013 16:44:58:803 00001cd0              RhoRuby| require_compiled: common

                I 06/27/2013 16:44:58:805 00001cd0                  APP| Params: {"username"=>"skumar"}

                I 06/27/2013 16:44:58:888 00001cd0                  APP| App error: undefined method `[]' for nil:NilClass

                C:/MotorolaRhoMobileSuite2.2.1.13/ruby/lib/ruby/gems/1.9.1/gems/rhodes-3.5.1.13/lib/framework/rhom/rhom_object_factory.rb:184:in `is_schema_source'

                C:/MotorolaRhoMobileSuite2.2.1.13/ruby/lib/ruby/gems/1.9.1/gems/rhodes-3.5.1.13/lib/framework/rhom/rhom_object_factory.rb:838:in `find'

                D:/workspace/SvntestserverRho/testserverRhoElement/app/common.rb:138:in `GetAllowedProcessForUser'

                D:/workspace/SvntestserverRho/testserverRhoElement/app/Home/home_controller.rb:148:in `index'

                C:/MotorolaRhoMobileSuite2.2.1.13/ruby/lib/ruby/gems/1.9.1/gems/rhodes-3.5.1.13/lib/framework/rho/rhocontroller.rb:104:in `serve'

                C:/MotorolaRhoMobileSuite2.2.1.13/ruby/lib/ruby/gems/1.9.1/gems/rhodes-3.5.1.13/lib/framework/rho/rhoapplication.rb:248:in `serve'

                C:/MotorolaRhoMobileSuite2.2.1.13/ruby/lib/ruby/gems/1.9.1/gems/rhodes-3.5.1.13/lib/framework/rho/rho.rb:883:in `serve'

                I 06/27/2013 16:44:58:889 00001cd0           HttpServer| GC Start.

                I 06/27/2013 16:44:58:893 00001cd0           HttpServer| GC End.

                I 06/27/2013 16:44:58:898 00001964         QtMainWindow| WebView: URL changed

                I 06/27/2013 16:44:58:902 00001964         QtMainWindow| Page load complete.

                I 06/27/2013 16:45:13:537 00001964            RhodesApp| callAppActiveCallback

                I 06/27/2013 16:45:13:537 00001964         AppCallbacks| addCommand: APP-DEACTIVATED

                I 06/27/2013 16:45:13:537 00001964                  Net| Method: GET;Url: http://127.0.0.1:57238/system/deactivateapp

                I 06/27/2013 16:45:13:537 00001658         AppCallbacks| process command: APP-DEACTIVATED

                I 06/27/2013 16:45:13:537 00001658         AppCallbacks| ThreadQueue blocked for 4294967295 seconds...

                I 06/27/2013 16:45:13:556 00001cd0           HttpServer| Process URI: '/system/deactivateapp'

              • Rhoconnect partition_type:app not working

                In Web console I see some data for User but for some source adotpter there is no data

                • Rhoconnect partition_type:app not working

                  Here is my log file from Rho simulator while starting bulk sync

                   

                   

                    Sync| Bulk sync: start

                  I 06/27/2013 16:44:47:337 00001dec                 Sync| Fire notification. Source : ; Url :http://127.0.0.1:57238/app/Settings/sync_notify; Params:

                  I 06/27/2013 16:44:47:337 00001dec                  Net| Method: POST;Url: http://127.0.0.1:57238/app/Settings/sync_notify

                  I 06/27/2013 16:44:47:339 00001cd0           HttpServer| Process URI: '/app/Settings/sync_notify'

                  I 06/27/2013 16:44:47:339 00001cd0                  APP| RHO serve: /app/Settings/sync_notify

                  I 06/27/2013 16:44:47:340 00001cd0              RhoRuby| require_compiled: Settings/settings_controller

                  I 06/27/2013 16:44:47:345 00001cd0              RhoRuby| require_compiled: helpers/browser_helper

                  I 06/27/2013 16:44:47:346 00001cd0                  APP| Params: {"partition"=>"", "bulk_status"=>"start", "sync_type"=>"bulk", "status"=>"in_progress", "rho_callback"=>"1"}

                  I 06/27/2013 16:44:47:347 00001cd0           HttpServer| GC Start.

                  I 06/27/2013 16:44:47:350 00001dec                 Sync| Fire notification. Source : ; Url :http://127.0.0.1:57238/app/Settings/sync_notify; Params:

                  I 06/27/2013 16:44:47:350 00001dec                  Net| Method: POST;Url: http://127.0.0.1:57238/app/Settings/sync_notify

                  I 06/27/2013 16:44:47:353 00001cd0           HttpServer| GC End.

                  I 06/27/2013 16:44:47:354 00001cd0           HttpServer| Process URI: '/app/Settings/sync_notify'

                  I 06/27/2013 16:44:47:354 00001cd0                  APP| RHO serve: /app/Settings/sync_notify

                  I 06/27/2013 16:44:47:355 00001cd0              RhoRuby| require_compiled: Settings/settings_controller

                  I 06/27/2013 16:44:47:360 00001cd0              RhoRuby| require_compiled: helpers/browser_helper

                  I 06/27/2013 16:44:47:361 00001cd0                  APP| Params: {"partition"=>"user", "bulk_status"=>"start", "sync_type"=>"bulk", "status"=>"in_progress", "rho_callback"=>"1"}

                  I 06/27/2013 16:44:47:362 00001cd0           HttpServer| GC Start.

                  I 06/27/2013 16:44:47:364 00001cd0           HttpServer| GC End.

                  I 06/27/2013 16:44:47:364 00001dec                  Net| Method: GET;Url: http://172.16.10.151:9292/application/bulk_data?client_id=3f6b92e89d114a7bb6c93d51fbe611fb&partition=user&sources=LoginSession,Users,Location,Department,MenuOptions,CustomMenuValues,UserTypes

                  I 06/27/2013 16:44:47:365 00001dec                  Net| Cookie : rhoconnect_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRiJFMTk1YzU3ZWEzNGYzM2FhMDNlMDkx%0AZDU1MTIxMmEzNzlhYWM0Y2JjNWNlMmFkYmYwNGU5MzAzZWRlNTNiYTY0ZEki%0ACmxvZ2luBjsARkkiC3NrdW1hcgY7AFRJIg1hcHBfbmFtZQY7AEZJIhBhcHBs%0AaWNhdGlvbgY7AEY%3D%0A--0e1605e42b2b53ad87eeda7225b5baea247d311e;path=/;rhoconnect_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRiJFMTk1YzU3ZWEzNGYzM2FhMDNlMDkx%0AZDU1MTIxMmEzNzlhYWM0Y2JjNWNlMmFkYmYwNGU5MzAzZWRlNTNiYTY0ZEki%0ACmxvZ2luBjsARkkiC3NrdW1hcgY7AFRJIg1hcHBfbmFtZQY7AEZJIhBhcHBs%0AaWNhdGlvbgY7AEY%3D%0A--0e1605e42b2b53ad87eeda7225b5baea247d311e;path=/;

                  I 06/27/2013 16:44:47:443 00001dec                 Sync| Bulk sync: got response from server: {"result":"wait"}

                  I 06/27/2013 16:44:47:444 00001dec                  Net| Method: GET;Url: http://172.16.10.151:9292/application/bulk_data?client_id=3f6b92e89d114a7bb6c93d51fbe611fb&partition=user&sources=LoginSession,Users,Location,Department,MenuOptions,CustomMenuValues,UserTypes

                  I 06/27/2013 16:44:47:444 00001dec                  Net| Cookie : rhoconnect_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRiJFMTk1YzU3ZWEzNGYzM2FhMDNlMDkx%0AZDU1MTIxMmEzNzlhYWM0Y2JjNWNlMmFkYmYwNGU5MzAzZWRlNTNiYTY0ZEki%0ACmxvZ2luBjsARkkiC3NrdW1hcgY7AFRJIg1hcHBfbmFtZQY7AEZJIhBhcHBs%0AaWNhdGlvbgY7AEY%3D%0A--0e1605e42b2b53ad87eeda7225b5baea247d311e;path=/;rhoconnect_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRiJFMTk1YzU3ZWEzNGYzM2FhMDNlMDkx%0AZDU1MTIxMmEzNzlhYWM0Y2JjNWNlMmFkYmYwNGU5MzAzZWRlNTNiYTY0ZEki%0ACmxvZ2luBjsARkkiC3NrdW1hcgY7AFRJIg1hcHBfbmFtZQY7AEZJIhBhcHBs%0AaWNhdGlvbgY7AEY%3D%0A--0e1605e42b2b53ad87eeda7225b5baea247d311e;path=/;

                  I 06/27/2013 16:44:47:469 00001dec                 Sync| Bulk sync: got response from server: {"result":"wait"}

                  I 06/27/2013 16:44:52:470 00001dec                  Net| Method: GET;Url: http://172.16.10.151:9292/application/bulk_data?client_id=3f6b92e89d114a7bb6c93d51fbe611fb&partition=user&sources=LoginSession,Users,Location,Department,MenuOptions,CustomMenuValues,UserTypes

                  I 06/27/2013 16:44:52:470 00001dec                  Net| Cookie : rhoconnect_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRiJFMTk1YzU3ZWEzNGYzM2FhMDNlMDkx%0AZDU1MTIxMmEzNzlhYWM0Y2JjNWNlMmFkYmYwNGU5MzAzZWRlNTNiYTY0ZEki%0ACmxvZ2luBjsARkkiC3NrdW1hcgY7AFRJIg1hcHBfbmFtZQY7AEZJIhBhcHBs%0AaWNhdGlvbgY7AEY%3D%0A--0e1605e42b2b53ad87eeda7225b5baea247d311e;path=/;rhoconnect_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRiJFMTk1YzU3ZWEzNGYzM2FhMDNlMDkx%0AZDU1MTIxMmEzNzlhYWM0Y2JjNWNlMmFkYmYwNGU5MzAzZWRlNTNiYTY0ZEki%0ACmxvZ2luBjsARkkiC3NrdW1hcgY7AFRJIg1hcHBfbmFtZQY7AEZJIhBhcHBs%0AaWNhdGlvbgY7AEY%3D%0A--0e1605e42b2b53ad87eeda7225b5baea247d311e;path=/;

                  I 06/27/2013 16:44:52:499 00001dec                 Sync| Bulk sync: got response from server: {"result":"wait"}

                  I 06/27/2013 16:44:57:499 00001dec                  Net| Method: GET;Url: http://172.16.10.151:9292/application/bulk_data?client_id=3f6b92e89d114a7bb6c93d51fbe611fb&partition==user&sources=LoginSession,Users,Location,Department,MenuOptions,CustomMenuValues,UserTypes

                  I 06/27/2013 16:44:57:499 00001dec                  Net| Cookie : rhoconnect_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRiJFMTk1YzU3ZWEzNGYzM2FhMDNlMDkx%0AZDU1MTIxMmEzNzlhYWM0Y2JjNWNlMmFkYmYwNGU5MzAzZWRlNTNiYTY0ZEki%0ACmxvZ2luBjsARkkiC3NrdW1hcgY7AFRJIg1hcHBfbmFtZQY7AEZJIhBhcHBs%0AaWNhdGlvbgY7AEY%3D%0A--0e1605e42b2b53ad87eeda7225b5baea247d311e;path=/;rhoconnect_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRiJFMTk1YzU3ZWEzNGYzM2FhMDNlMDkx%0AZDU1MTIxMmEzNzlhYWM0Y2JjNWNlMmFkYmYwNGU5MzAzZWRlNTNiYTY0ZEki%0ACmxvZ2luBjsARkkiC3NrdW1hcgY7AFRJIg1hcHBfbmFtZQY7AEZJIhBhcHBs%0AaWNhdGlvbgY7AEY%3D%0A--0e1605e42b2b53ad87eeda7225b5baea247d311e;path=/;

                  I 06/27/2013 16:44:57:645 00001dec                 Sync| Bulk sync: got response from server: {"result":"url","url":"/data/application/skumar/skumar_1372331692.data"}

                  I 06/27/2013 16:44:57:645 00001dec                 Sync| Fire notification. Source : ; Url :http://127.0.0.1:57238/app/Settings/sync_notify; Params:

                  I 06/27/2013 16:44:57:645 00001dec                  Net| Method: POST;Url: http://127.0.0.1:57238/app/Settings/sync_notify

                  I 06/27/2013 16:44:57:646 00001cd0           HttpServer| Process URI: '/app/Settings/sync_notify'

                  I 06/27/2013 16:44:57:646 00001cd0                  APP| RHO serve: /app/Settings/sync_notify

                  I 06/27/2013 16:44:57:647 00001cd0              RhoRuby| require_compiled: Settings/settings_controller

                  I 06/27/2013 16:44:57:649 00001cd0              RhoRuby| require_compiled: helpers/browser_helper

                  I 06/27/2013 16:44:57:649 00001cd0                  APP| Params: {"partition"=>"user", "bulk_status"=>"download", "sync_type"=>"bulk", "status"=>"in_progress", "rho_callback"=>"1"}

                  I 06/27/2013 16:44:57:650 00001cd0           HttpServer| GC Start.

                  I 06/27/2013 16:44:57:651 00001dec                 Sync| Bulk sync: download data from server: http://172.16.10.151:9292/data/application/skumar/skumar_1372331692.data.rzip

                  I 06/27/2013 16:44:57:651 00001dec                  Net| Method: GET;Url: http://172.16.10.151:9292/data/application/skumar/skumar_1372331692.data.rzip

                  I 06/27/2013 16:44:57:651 00001dec                  Net| Cookie : rhoconnect_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRiJFMTk1YzU3ZWEzNGYzM2FhMDNlMDkx%0AZDU1MTIxMmEzNzlhYWM0Y2JjNWNlMmFkYmYwNGU5MzAzZWRlNTNiYTY0ZEki%0ACmxvZ2luBjsARkkiC3NrdW1hcgY7AFRJIg1hcHBfbmFtZQY7AEZJIhBhcHBs%0AaWNhdGlvbgY7AEY%3D%0A--0e1605e42b2b53ad87eeda7225b5baea247d311e;path=/;rhoconnect_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRiJFMTk1YzU3ZWEzNGYzM2FhMDNlMDkx%0AZDU1MTIxMmEzNzlhYWM0Y2JjNWNlMmFkYmYwNGU5MzAzZWRlNTNiYTY0ZEki%0ACmxvZ2luBjsARkkiC3NrdW1hcgY7AFRJIg1hcHBfbmFtZQY7AEZJIhBhcHBs%0AaWNhdGlvbgY7AEY%3D%0A--0e1605e42b2b53ad87eeda7225b5baea247d311e;path=/;

                  I 06/27/2013 16:44:57:652 00001cd0           HttpServer| GC End.

                  I 06/27/2013 16:44:57:668 00001dec                 Sync| Bulk sync: unzip db

                  I 06/27/2013 16:44:57:668 00001dec RhodesAppBase.cpp: 257| Unzip : D:/workspace/SvntestserverRho/testserverRhoElement/rhosimulator/db/skumar_1372331692.data.rzip; Number of items : 1

                  I 06/27/2013 16:44:57:688 00001dec                 Sync| Bulk sync: start change db

                  I 06/27/2013 16:44:57:688 00001dec                 Sync| Fire notification. Source : ; Url :http://127.0.0.1:57238/app/Settings/sync_notify; Params:

                  I 06/27/2013 16:44:57:688 00001dec                  Net| Method: POST;Url: http://127.0.0.1:57238/app/Settings/sync_notify

                  I 06/27/2013 16:44:57:689 00001cd0           HttpServer| Process URI: '/app/Settings/sync_notify'

                  I 06/27/2013 16:44:57:690 00001cd0                  APP| RHO serve: /app/Settings/sync_notify

                  I 06/27/2013 16:44:57:690 00001cd0              RhoRuby| require_compiled: Settings/settings_controller

                  I 06/27/2013 16:44:57:692 00001cd0              RhoRuby| require_compiled: helpers/browser_helper

                  I 06/27/2013 16:44:57:693 00001cd0                  APP| Params: {"partition"=>"user", "bulk_status"=>"change_db", "sync_type"=>"bulk", "status"=>"in_progress", "rho_callback"=>"1"}

                  I 06/27/2013 16:44:57:693 00001cd0           HttpServer| GC Start.

                  I 06/27/2013 16:44:57:693 00001dec                   DB| Open DB: D:/workspace/SvntestserverRho/testserverRhoElement/rhosimulator/db/skumar_1372331692.data

                  I 06/27/2013 16:44:57:696 00001cd0           HttpServer| GC End.

                  I 06/27/2013 16:44:57:935 00001dec                   DB| Open DB: D:/workspace/SvntestserverRho/testserverRhoElement/rhosimulator/db/syncdbuser.sqlite

                  I 06/27/2013 16:44:57:936 00001dec                  Net| Method: POST;Url: http://127.0.0.1:57238/system/loadserversources

                  I 06/27/2013 16:44:57:938 00001cd0           HttpServer| Process URI: '/system/loadserversources'

                  I 06/27/2013 16:44:57:938 00001cd0                  APP| load_server_sources : {"partition":"user"}

                  I 06/27/2013 16:44:57:938 00001cd0                  APP| skip_schema = false

                  I 06/27/2013 16:44:57:938 00001cd0                  APP| reload sources for partition: user

                  I 06/27/2013 16:44:58:015 00001dec                  Net| Method: POST;Url: http://127.0.0.1:57238/system/loadallsyncsources

                  I 06/27/2013 16:44:58:017 00001cd0           HttpServer| Process URI: '/system/loadallsyncsources'

                  I 06/27/2013 16:44:58:020 00001dec                 Sync| Bulk sync: end change db

                  I 06/27/2013 16:44:58:020 00001dec                 Sync| Fire notification. Source : ; Url :http://127.0.0.1:57238/app/Settings/sync_notify; Params:

                  I 06/27/2013 16:44:58:020 00001dec                  Net| Method: POST;Url: http://127.0.0.1:57238/app/Settings/sync_notify

                  I 06/27/2013 16:44:58:022 00001cd0           HttpServer| Process URI: '/app/Settings/sync_notify'

                  I 06/27/2013 16:44:58:022 00001cd0                  APP| RHO serve: /app/Settings/sync_notify

                  I 06/27/2013 16:44:58:023 00001cd0              RhoRuby| require_compiled: Settings/settings_controller

                  I 06/27/2013 16:44:58:028 00001cd0              RhoRuby| require_compiled: helpers/browser_helper

                  I 06/27/2013 16:44:58:029 00001cd0                  APP| Params: {"partition"=>"user", "bulk_status"=>"ok", "sync_type"=>"bulk", "status"=>"in_progress", "rho_callback"=>"1"}

                  I 06/27/2013 16:44:58:030 00001cd0           HttpServer| GC Start.

                  I 06/27/2013 16:44:58:033 00001cd0           HttpServer| GC End.

                  I 06/27/2013 16:44:58:037 00001dec                 Sync| Bulk sync: download BLOBs

                  I 06/27/2013 16:44:58:038 00001dec                 Sync| Fire notification. Source : ; Url :http://127.0.0.1:57238/app/Settings/sync_notify; Params:

                  I 06/27/2013 16:44:58:038 00001dec                  Net| Method: POST;Url: http://127.0.0.1:57238/app/Settings/sync_notify

                  I 06/27/2013 16:44:58:041 00001cd0           HttpServer| Process URI: '/app/Settings/sync_notify'

                  I 06/27/2013 16:44:58:041 00001cd0                  APP| RHO serve: /app/Settings/sync_notify

                  I 06/27/2013 16:44:58:042 00001cd0              RhoRuby| require_compiled: Settings/settings_controller

                  I 06/27/2013 16:44:58:045 00001cd0              RhoRuby| require_compiled: helpers/browser_helper

                  I 06/27/2013 16:44:58:046 00001cd0                  APP| Params: {"partition"=>"", "bulk_status"=>"blobs", "sync_type"=>"bulk", "status"=>"in_progress", "rho_callback"=>"1"}

                  I 06/27/2013 16:44:58:046 00001cd0           HttpServer| GC Start.

                  I 06/27/2013 16:44:58:048 00001dec                 Sync| Fire notification. Source : ; Url :http://127.0.0.1:57238/app/Settings/sync_notify; Params:

                  I 06/27/2013 16:44:58:048 00001dec                  Net| Method: POST;Url: http://127.0.0.1:57238/app/Settings/sync_notify

                  I 06/27/2013 16:44:58:049 00001cd0           HttpServer| GC End.

                  I 06/27/2013 16:44:58:049 00001cd0           HttpServer| Process URI: '/app/Settings/sync_notify'

                  I 06/27/2013 16:44:58:049 00001cd0                  APP| RHO serve: /app/Settings/sync_notify

                  I 06/27/2013 16:44:58:050 00001cd0              RhoRuby| require_compiled: Settings/settings_controller

                  I 06/27/2013 16:44:58:052 00001cd0              RhoRuby| require_compiled: helpers/browser_helper

                  I 06/27/2013 16:44:58:052 00001cd0                  APP| Params: {"partition"=>"", "bulk_status"=>"complete", "sync_type"=>"bulk", "status"=>"ok", "rho_callback"=>"1"}

                  I 06/27/2013 16:44:58:053 00001cd0           HttpServer| GC Start.

                  I 06/27/2013 16:44:58:055 00001cd0           HttpServer| GC End.

                  I 06/27/2013 16:44:58:134 00001dec                 Sync| Sync server changes source ID :1

                  I 06/27/2013 16:44:58:134 00001dec                 Sync| Pull changes from server. Url: http://172.16.10.151:9292/application?client_id=3f6b92e89d114a7bb6c93d51fbe611fb&p_size=2000&version=3&source_name=LoginSession

                  I 06/27/2013 16:44:58:134 00001dec                  Net| Method: GET;Url: http://172.16.10.151:9292/application?client_id=3f6b92e89d114a7bb6c93d51fbe611fb&p_size=2000&version=3&source_name=LoginSession

                  I 06/27/2013 16:44:58:135 00001dec                  Net| Cookie : rhoconnect_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRiJFMTk1YzU3ZWEzNGYzM2FhMDNlMDkx%0AZDU1MTIxMmEzNzlhYWM0Y2JjNWNlMmFkYmYwNGU5MzAzZWRlNTNiYTY0ZEki%0ACmxvZ2luBjsARkkiC3NrdW1hcgY7AFRJIg1hcHBfbmFtZQY7AEZJIhBhcHBs%0AaWNhdGlvbgY7AEY%3D%0A--0e1605e42b2b53ad87eeda7225b5baea247d311e;path=/;rhoconnect_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRiJFMTk1YzU3ZWEzNGYzM2FhMDNlMDkx%0AZDU1MTIxMmEzNzlhYWM0Y2JjNWNlMmFkYmYwNGU5MzAzZWRlNTNiYTY0ZEki%0ACmxvZ2luBjsARkkiC3NrdW1hcgY7AFRJIg1hcHBfbmFtZQY7AEZJIhBhcHBs%0AaWNhdGlvbgY7AEY%3D%0A--0e1605e42b2b53ad87eeda7225b5baea247d311e;path=/;

                  I 06/27/2013 16:44:58:279 00001dec                 Sync| Got 0(Processed: 0) records of 1 from server. Source: LoginSession. Version: 3

                  I 06/27/2013 16:44:58:351 00001dec                 Sync| Fire notification. Source : LoginSession; Url :http://127.0.0.1:57238/app/Settings/sync_notify; Params:

                  I 06/27/2013 16:44:58:351 00001dec                  Net| Method: POST;Url: http://127.0.0.1:57238/app/Settings/sync_notify

                  I 06/27/2013 16:44:58:353 00001cd0           HttpServer| Process URI: '/app/Settings/sync_notify'

                  I 06/27/2013 16:44:58:353 00001cd0                  APP| RHO serve: /app/Settings/sync_notify

                  I 06/27/2013 16:44:58:353 00001cd0              RhoRuby| require_compiled: Settings/settings_controller

                  I 06/27/2013 16:44:58:359 00001cd0              RhoRuby| require_compiled: helpers/browser_helper

                  I 06/27/2013 16:44:58:360 00001cd0                  APP| Params: {"total_count"=>"1", "processed_count"=>"0", "cumulative_count"=>"0", "source_id"=>"1", "source_name"=>"LoginSession", "sync_type"=>"incremental", "status"=>"ok", "rho_callback"=>"1"}

                  I 06/27/2013 16:44:58:361 00001cd0           HttpServer| GC Start.

                  I 06/27/2013 16:44:58:363 00001dec                 Sync| Fire notification. Source : ; Url :http://127.0.0.1:57238/app/Settings/sync_notify; Params:

                  I 06/27/2013 16:44:58:787 00001dec                  Net| Method: POST;Url: http://127.0.0.1:57238/app/Settings/sync_notify

                  I 06/27/2013 16:44:58:790 00001cd0           HttpServer| GC End.

                  I 06/27/2013 16:44:58:790 00001cd0           HttpServer| Process URI: '/app/Settings/sync_notify'

                  I 06/27/2013 16:44:58:790 00001cd0                  APP| RHO serve: /app/Settings/sync_notify

                  I 06/27/2013 16:44:58:790 00001cd0              RhoRuby| require_compiled: Settings/settings_controller

                  I 06/27/2013 16:44:58:792 00001cd0              RhoRuby| require_compiled: helpers/browser_helper

                  I 06/27/2013 16:44:58:793 00001cd0                  APP| Params: {"sync_type"=>"incremental", "status"=>"complete", "rho_callback"=>"1"}

                  I 06/27/2013 16:44:58:793 00001964           MainWindow| navigate: 'http://127.0.0.1:57238/app/Home?username=skumar'

                  I 06/27/2013 16:44:58:793 00001cd0           HttpServer| GC Start.

                  I 06/27/2013 16:44:58:793 00001964         QtMainWindow| WebView: loading...

                  I 06/27/2013 16:44:58:795 00001cd0           HttpServer| GC End.

                  I 06/27/2013 16:44:58:795 00001dec                 Sync| ThreadQueue blocked for 4294967295 seconds...

                  I 06/27/2013 16:44:58:796 00001cd0           HttpServer| Process URI: '/app/Home'

                  I 06/27/2013 16:44:58:796 00001cd0                  APP| RHO serve: /app/Home

                  I 06/27/2013 16:44:58:796 00001cd0              RhoRuby| require_compiled: Home/home_controller

                  I 06/27/2013 16:44:58:798 00001cd0              RhoRuby| require_compiled: helpers/browser_helper

                  I 06/27/2013 16:44:58:798 00001cd0              RhoRuby| require_compiled: common

                  I 06/27/2013 16:44:58:801 00001cd0              RhoRuby| require_compiled: serverupdate

                  I 06/27/2013 16:44:58:803 00001cd0              RhoRuby| require_compiled: common

                  I 06/27/2013 16:44:58:805 00001cd0                  APP| Params: {"username"=>"skumar"}

                  I 06/27/2013 16:44:58:888 00001cd0                  APP| App error: undefined method `[]' for nil:NilClass

                  C:/MotorolaRhoMobileSuite2.2.1.13/ruby/lib/ruby/gems/1.9.1/gems/rhodes-3.5.1.13/lib/framework/rhom/rhom_object_factory.rb:184:in `is_schema_source'

                  C:/MotorolaRhoMobileSuite2.2.1.13/ruby/lib/ruby/gems/1.9.1/gems/rhodes-3.5.1.13/lib/framework/rhom/rhom_object_factory.rb:838:in `find'

                  D:/workspace/SvntestserverRho/testserverRhoElement/app/common.rb:138:in `GetAllowedProcessForUser'

                  D:/workspace/SvntestserverRho/testserverRhoElement/app/Home/home_controller.rb:148:in `index'

                  C:/MotorolaRhoMobileSuite2.2.1.13/ruby/lib/ruby/gems/1.9.1/gems/rhodes-3.5.1.13/lib/framework/rho/rhocontroller.rb:104:in `serve'

                  C:/MotorolaRhoMobileSuite2.2.1.13/ruby/lib/ruby/gems/1.9.1/gems/rhodes-3.5.1.13/lib/framework/rho/rhoapplication.rb:248:in `serve'

                  C:/MotorolaRhoMobileSuite2.2.1.13/ruby/lib/ruby/gems/1.9.1/gems/rhodes-3.5.1.13/lib/framework/rho/rho.rb:883:in `serve'

                  I 06/27/2013 16:44:58:889 00001cd0           HttpServer| GC Start.

                  I 06/27/2013 16:44:58:893 00001cd0           HttpServer| GC End.

                  I 06/27/2013 16:44:58:898 00001964         QtMainWindow| WebView: URL changed

                  I 06/27/2013 16:44:58:902 00001964         QtMainWindow| Page load complete.

                  I 06/27/2013 16:45:13:537 00001964            RhodesApp| callAppActiveCallback

                  I 06/27/2013 16:45:13:537 00001964         AppCallbacks| addCommand: APP-DEACTIVATED

                  I 06/27/2013 16:45:13:537 00001964                  Net| Method: GET;Url: http://127.0.0.1:57238/system/deactivateapp

                  I 06/27/2013 16:45:13:537 00001658         AppCallbacks| process command: APP-DEACTIVATED

                  I 06/27/2013 16:45:13:537 00001658         AppCallbacks| ThreadQueue blocked for 4294967295 seconds...

                  I 06/27/2013 16:45:13:556 00001cd0           HttpServer| Process URI: '/system/deactivateapp'

                    • Re: Rhoconnect partition_type:app not working
                      Kutir Mobility

                      Your bulk_sync has downloaded data from the server, see the line in your console log

                      I 06/27/2013 16:44:57:651 00001dec                 Sync| Bulk sync: download data from server: http://172.16.10.151:9292/data/application/skumar/skumar_1372331692.data.rzip
                      I 06/27/2013 16:44:57:651 00001dec                  Net| Method: GET;Url: http://172.16.10.151:9292/data/application/skumar/skumar_1372331692.data.rzip
                      

                       

                      Use SQLiteSpy191zip software to see data in the sqlite table or use Firefox or Chrome plugin for sqlite.

                       

                      Please check your code in the line 148

                      I 06/27/2013 16:44:58:888 00001cd0                  APP| App error: undefined method `[]' for nil:NilClass
                      D:/workspace/SvntestserverRho/testserverRhoElement/app/Home/home_controller.rb:148:in `index'
                      

                       

                       

                      Thank you.

                      Visnupriya

                      Kutir Mobility