addSubscribedFeed - debug mode?

0 views
Skip to first unread message

Edwin Khodabakchian

unread,
Feb 4, 2009, 2:30:08 PM2/4/09
to ubiquity-firefox
Hello,
A quick question: a few of the feedly users are no longer able to use
their feedly command since they go upgraded to 0.2pre10. I am
personally not able to reproduce that problem. Is there a way to turn
ubiquity in debug mode and get more information about what happens
when we call addSubscribedFeed:

function installUbiquityCommands()
{
try
{
var url = getBaseUri() + "content/app/ubiquity/commands.js"

var jsm = importModule( "resource://ubiquity/modules/setup.js" )

jsm.UbiquitySetup.createServices().feedManager.addSubscribedFeed( {
url: url,
sourceUrl: url,
canAutoUpdate: true,
isBuiltIn: true
} );

$debug( "[ubiquity] successfully added feedly commands to
ubiquity" );
}
catch( e )
{
$debug( "[ubiquity] failed to add feedly commands to ubiquity
because: " + e.name + " -- " + e.message );
}
}

I am trying to see if there is an error preventing the commands from
being added/registered.

The symptoms the users are seeing is the commands being added (no
exception in the console) but typing fee in the ubiquity UI does not
list the feedly commands. If it can help, this is happening only with
a subset of users and I went back to prefixing all the feedly commands
to feedly- to make sure that there are no command name collisions.

Thank you
Edwin

Edwin Khodabakchian

unread,
Feb 4, 2009, 2:33:40 PM2/4/09
to ubiquity-firefox
Here is a link to the thread in the feedly support forum re: this
issue.
http://getsatisfaction.com/feedly/topics/cant_get_ubiquity_running

Edwin Khodabakchian

unread,
Feb 5, 2009, 6:34:22 AM2/5/09
to ubiquity-firefox
Closing this thread. By debugging through the addSubscribedFeed I was
able to identify the problem.
-Edwin


On Feb 4, 11:33 am, Edwin Khodabakchian

Fernando Takai

unread,
Feb 5, 2009, 6:38:05 AM2/5/09
to ubiquity-firefox
Was the problem an Ubiquity bug?

2009/2/5 Edwin Khodabakchian <edwin.kho...@gmail.com>



--
Fernando "Takai"
http://flickr.com/photos/supeertakai
http://fernandotakai.jaiku.com

Get Ubiquity: https://ubiquity.mozilla.com

Edwin Khodabakchian

unread,
Feb 5, 2009, 12:45:51 PM2/5/09
to ubiquity-firefox
No. But addSubscribedFeed does not seem to log or return any exception
even if there is an error in the in the script being past it. Not a
big problem changed our build script to do the validation at build
time.

On Feb 5, 3:38 am, Fernando Takai <fernando.ta...@gmail.com> wrote:
> Was the problem an Ubiquity bug?
>
> 2009/2/5 Edwin Khodabakchian <edwin.khodabakch...@gmail.com>
>
>
>
> > Closing this thread. By debugging through the addSubscribedFeed I was
> > able to identify the problem.
> > -Edwin
>
> > On Feb 4, 11:33 am, Edwin Khodabakchian
> > <edwin.khodabakch...@gmail.com> wrote:
> > > Here is a link to the thread in the feedly support forum re: this
> > > issue.http://getsatisfaction.com/feedly/topics/cant_get_ubiquity_running
>
> --
> Fernando "Takai"http://flickr.com/photos/supeertakaihttp://fernandotakai.jaiku.com
>
> Get Ubiquity:https://ubiquity.mozilla.com
Reply all
Reply to author
Forward
0 new messages