Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Web and WebWorks Development

Reply
Developer
Roshnal
Posts: 104
Registered: ‎04-15-2012
My Device: BlackBerry PlayBook with OS 2.0
My Carrier: N/A
Accepted Solution

Failure 881 Application Author Does Not Match Debug Token Auther

Hi,

 

I'm a Cascades developer and I started developing WebWorks (didn't start yet actually, just setuped my environment and read the docs) 'cos I wanted to develop for PlayBook also.

 

The problem is, although I have everything set up exactly as in the HTML5/WebWorks docs (I'm basically talking about the HelloWorld tutorial), I can't deploy my app on my PlayBook (real one; not the simulator).

 

Tried both Ripple (Chrome Extension) and CLI, but when deploying my app to the PlayBook, I get:

 

Info: Sending request: Install
Info: Action: Install
Info: File size: 418873
Info: Installing ...
Info: Processing 418873 bytes
actual_dname::
actual_id::
actual_version::
result::failure 881 application author does not match debug token author

 

Any idea why this is? I'm more than sure that my config.xml file has the same name (between the <author></author> tags) I used for debug tokens. I checked Settings -> Security -> Development on my PlayBook and its the same author name displayed there also.

 

Can someone please help me? I'm really stuck on this one... I'm using MacOS btw.

 

Thanks.

My BlackBerry 10 apps: Roshnal Lihinikadu
Lots more coming up!
Please use plain text.
Developer
JRab
Posts: 2,462
Registered: ‎11-04-2010
My Device: Bold 9700

Re: Failure 881 Application Author Does Not Match Debug Token Auther

Hey Roshnal,

 

Welcome to WebWorks !

 

First, have you saved a copy of your debugtoken.bar in the root of your webworks SDK directory? This is the way that WebWorks compiles a non-signed bar file to be usable on the device. 

 

Instructions from https://developer.blackberry.com/html5/documentation/runnning_unsigned_apps_using_a_debug_token_1866...

 

1. Create a copy of your debug token .bar file and name it debugtoken.bar.
2. Move the debugtoken.bar file to the root of the BlackBerry 10 WebWorks SDK installation folder. The installation folder location varies based on your operating system:
-- Windows XP: C:\Program Files\Research In Motion\BlackBerry 10 WebWorks SDK <version> -- Windows 7: C:\Program Files (x86)\Research In Motion\BlackBerry 10 WebWorks SDK <version> -- Mac OS: /Developer/SDKs/Research In Motion/BlackBerry 10 WebWorks SDK <version>
3. Once you've moved and renamed the debug token file, you do not have to do anything else to set the debug token.

 

Hope that helps -- good luck!

J. Rab (Blog) (Twitter)
--
1. If you liked my post or found it useful please click on the thumbs up and provide a Like!
2. If my post solved your problem please click on the Accept as Solution button. Much appreciated!

Approved Apps: OnTrack | ssShots | Hangman
Please use plain text.
Developer
Roshnal
Posts: 104
Registered: ‎04-15-2012
My Device: BlackBerry PlayBook with OS 2.0
My Carrier: N/A

Re: Failure 881 Application Author Does Not Match Debug Token Auther

Thanks for your reply! Yes, I read that, but it says "BlackBerry 10". I did the "Playbook OS" part below that- typing the path of the debugtoken.bar between the <debugToken> tags in bbwp.properties file.

My BlackBerry 10 apps: Roshnal Lihinikadu
Lots more coming up!
Please use plain text.
Developer
JRab
Posts: 2,462
Registered: ‎11-04-2010
My Device: Bold 9700

Re: Failure 881 Application Author Does Not Match Debug Token Auther


Roshnal wrote:

Thanks for your reply! Yes, I read that, but it says "BlackBerry 10". I did the "Playbook OS" part below that- typing the path of the debugtoken.bar between the <debugToken> tags in bbwp.properties file.


 

Ahh sorry -- I completely misread your post -- i'll take another crack at it :smileyhappy:

J. Rab (Blog) (Twitter)
--
1. If you liked my post or found it useful please click on the thumbs up and provide a Like!
2. If my post solved your problem please click on the Accept as Solution button. Much appreciated!

Approved Apps: OnTrack | ssShots | Hangman
Please use plain text.
Developer
JRab
Posts: 2,462
Registered: ‎11-04-2010
My Device: Bold 9700

Re: Failure 881 Application Author Does Not Match Debug Token Auther

Hey Roshnal,

 

Can you post a copy of your bbwp.properties file as well as your config.xml file if you can? Thanks!

J. Rab (Blog) (Twitter)
--
1. If you liked my post or found it useful please click on the thumbs up and provide a Like!
2. If my post solved your problem please click on the Accept as Solution button. Much appreciated!

Approved Apps: OnTrack | ssShots | Hangman
Please use plain text.
Developer
Roshnal
Posts: 104
Registered: ‎04-15-2012
My Device: BlackBerry PlayBook with OS 2.0
My Carrier: N/A

Re: Failure 881 Application Author Does Not Match Debug Token Auther

Sure, here they are:

 

config.xml

 

<?xml version="1.0" encoding="UTF-8"?>
<widget xmlns="http://www.w3.org/ns/widgets"
        xmlns:rim="http://www.blackberry.com/ns/widgets"
        version="1.0.0.0" id="HelloWorldApp">
        
    <name>
    	Hello World
    </name>
    
    <author>
    	Cuibono Studios
    </author>
    
    <description>
    	Hello World location display
    </description>
    
    <icon src="images/icon.png"/>
    
    <content src="index.html"/>
    
    <rim:permissions>
        <rim:permit>read_geolocation</rim:permit>
    </rim:permissions>
</widget>

 

 

bbwp.properties

 

<?xml version="1.0" encoding="UTF-8"?>
<wcp>
  <additional>-quiet</additional>
  <java>/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home</java>
  <wcp_template>AirAppTemplates</wcp_template>

  <air_template>AirAppTemplates</air_template>
  <tablet_sdk>/Developer/SDKs/Research In Motion/BlackBerry WebWorks SDK for TabletOS 2.2.0.5/bbwp/blackberry-tablet-sdk</tablet_sdk>

  <extension_repository>ext</extension_repository>
  <debug_token>/Users/Roshnal/Downloads/BlackBerry WebWorks/keys.bar</debug_token>
</wcp>

 

My BlackBerry 10 apps: Roshnal Lihinikadu
Lots more coming up!
Please use plain text.
Developer
JRab
Posts: 2,462
Registered: ‎11-04-2010
My Device: Bold 9700

Re: Failure 881 Application Author Does Not Match Debug Token Auther

Hey Roshnal,

 

Hmm -- everything looks like it's the way it's suposed to be -- at this point we should try eveything. Try to do the following:

 

  1. Remove the whitespace and line-breaks around your author tag -- so just use this:

    <author>Cuibono Studios</author>
  2. Remove any spaces in your path to the debug token in your bbwp.properties file. Also rename it to debugtoken.bar (sometimes the SDK can be tempermental:

    <debug_token>/Users/Roshnal/Downloads/debugtoken.bar</debug_token>

Try those out and let me know how it goes. Good luck!

 

J. Rab (Blog) (Twitter)
--
1. If you liked my post or found it useful please click on the thumbs up and provide a Like!
2. If my post solved your problem please click on the Accept as Solution button. Much appreciated!

Approved Apps: OnTrack | ssShots | Hangman
Please use plain text.
Developer
Roshnal
Posts: 104
Registered: ‎04-15-2012
My Device: BlackBerry PlayBook with OS 2.0
My Carrier: N/A

Re: Failure 881 Application Author Does Not Match Debug Token Auther

Tried both of 'em- no luck. I'm still getting the failure 881... error. However, when I did your 2nd suggestion, I got the following output (Notice the space-differences).

 

Info: Processing 418879 bytes

actual_dname::
actual_id::

actual_version::
result::failure 881 application author does not match debug token author

 

 

And this is the one I got earlier:

 

Info: Processing 418888 bytes

actual_dname::
actual_id::
actual_version::

result::failure 881 application author does not match debug token author

 

The byte sizes are different, and the actual_* parts have different spacings. I changed it back, and got the above (usual-spaced output).

 

My BlackBerry 10 apps: Roshnal Lihinikadu
Lots more coming up!
Please use plain text.
Developer
JRab
Posts: 2,462
Registered: ‎11-04-2010
My Device: Bold 9700

Re: Failure 881 Application Author Does Not Match Debug Token Auther

Hey Roshnal,

 

Well that bites -- next step is to inspect your debug token bar file by using this command:

 

<PATH TO WEBWORKS SDK>/dependencies/tools/bin/blackberry-airpackager -listManifest <PATH TO DEBUG TOKEN>/debugtoken.bar 

 

This will produce a list of information. If you can paste that data here that'll be great. Thanks!

J. Rab (Blog) (Twitter)
--
1. If you liked my post or found it useful please click on the thumbs up and provide a Like!
2. If my post solved your problem please click on the Accept as Solution button. Much appreciated!

Approved Apps: OnTrack | ssShots | Hangman
Please use plain text.
Developer
Roshnal
Posts: 104
Registered: ‎04-15-2012
My Device: BlackBerry PlayBook with OS 2.0
My Carrier: N/A

Re: Failure 881 Application Author Does Not Match Debug Token Auther

I didn't find a folder called "dependencies/tools" anywhere, but I did find the "bin" folder inside <path-to-sdk>/bbwp/blackberry-tablet-os/" and it had an executable called blackberry-airpackager.

 

And this is the output:

 

Package-Author: Cuibono Studios
Package-Name: debug.token
Package-Version: 0.0.0.2
Package-Type: debug-token
Package-Author-Certificate-Hash: f3UX5kIw3Pcy-9STHN02UNCapi4vXp0d6XN2I1cI8A-PF549l7AdyLlpnct_teTcv5h1mhJQ0luj5edCB0nMTg
Package-Author-Id: gYAAgLprR5ONkeSxIu3mDvYdjSo
Package-Id: gYABgKlJWBdJV3rzmpgXgYp_QuY
Package-Version-Id: gYACgDL6FkrF-uUr_IZz6sJXjDU
Package-Issue-Date: 2013-02-05T11:14:16Z

Debug-Token-System-Actions: execute,multi_window,multi_instance,run_air_native,run_native,_sys_use_consumer_push
Debug-Token-Expiry-Date: 2013-03-07T11:14:16Z
Debug-Token-Device-Id: 1345473186

 

I'll be back after school tomorrow, gonna sleep now. Thanks again for your help! :smileyhappy:

My BlackBerry 10 apps: Roshnal Lihinikadu
Lots more coming up!
Please use plain text.