help! can't subscribe to commands!

1 view
Skip to first unread message

Martin McEvoy

unread,
Aug 27, 2008, 6:12:35 AM8/27/08
to ubiquity...@googlegroups.com
Hello All

Thanks For Ubi Its great!!

One problem I cant seem to subscribe to any commands!, Well I can but
the commands are not available? and when I close FF I am un-subscribed
again?

My commands are at http://transformr.co.uk/

I am using FF3 on Windows Vista.

Thanks

Martin McEvoy

Havvy

unread,
Aug 27, 2008, 6:59:44 AM8/27/08
to ubiquity-firefox
Hmm, I've the same results, using FF3 (portable) on Windows
Vista...though using other commands.

On Aug 27, 3:12 am, Martin McEvoy <mar...@weborganics.co.uk> wrote:
> Hello All
>
> Thanks For Ubi Its great!!
>
> One problem I cant seem to subscribe to any commands!, Well I can but
> the commands are not available? and when I close FF I am un-subscribed
> again?
>
> My commands are athttp://transformr.co.uk/

Abi

unread,
Aug 27, 2008, 7:03:12 AM8/27/08
to ubiquity-firefox
Hi Martin,

What extensions do you have installed on your Firefox?

-Abi

P.S. In future, please post bugs to http://bit.ly/1q5SSV cos this
group is intended for discussion of Ubiquity development.

On Aug 27, 6:12 pm, Martin McEvoy <mar...@weborganics.co.uk> wrote:
> Hello All
>
> Thanks For Ubi Its great!!
>
> One problem I cant seem to subscribe to any commands!, Well I can but
> the commands are not available? and when I close FF I am un-subscribed
> again?
>
> My commands are athttp://transformr.co.uk/

Martin McEvoy

unread,
Aug 27, 2008, 7:16:35 AM8/27/08
to ubiquity...@googlegroups.com
Hello Abi

Abi wrote:
> Hi Martin,
>
> What extensions do you have installed on your Firefox?
>

I have:

British English dictionary 1.19
Delicious Bookmarks 2.0.95
Firebug 1.2.0
Google toolbar for Firefox 3.1.20080730W
Operator 0.9.3
Ubiquity 0.1
Validity 1.4.1

> -Abi
>
> P.S. In future, please post bugs to http://bit.ly/1q5SSV cos this
> group is intended for discussion of Ubiquity development.
>
>

Sorry I am trying to establish If this IS a bug or Just something I am
doing wrong.


Best Wishes

Martin McEvoy

Martin McEvoy

unread,
Aug 27, 2008, 8:15:57 AM8/27/08
to ubiquity...@googlegroups.com
Just A Note I uninstalled FF3 and all add-ons, private stuff etc... then
Re Installed FF3 with Just Ubiquity still no joy, so I guess this Is a
bug! which is a shame really :-)

also https://labs.toolness.com/ubiquity-herd/command-feed/ is
unavailable (maybe too much traffic) can this effect me being unable to
subscribe to commands?

I have also ran the unit tests, result:
>
> Error in test testSandboxSupportsJs17: missing ; before statement (in
> chrome://ubiquity/content/sandboxfactory.js, line 23)
>
> 19 out of 20 tests successful (1 failed).
>
Not sure what the above error is seems to be just a missing ";" somewhere

Anyway hope this helps

by the way Ubiquity is still great stuff, I wont let this issue phase
me, the Twitter command is worth the install on its own.

Martin McEvoy wrote:
> Hello Abi
>
> Abi wrote:
>> Hi Martin,
>>
>> What extensions do you have installed on your Firefox?
>>
>
> I have:
>
> British English dictionary 1.19
> Delicious Bookmarks 2.0.95
> Firebug 1.2.0
> Google toolbar for Firefox 3.1.20080730W
> Operator 0.9.3
> Ubiquity 0.1
> Validity 1.4.1
>
>> -Abi
>>
>> P.S. In future, please post bugs to http://bit.ly/1q5SSV cos this
>> group is intended for discussion of Ubiquity development.
>>
>>
> Sorry I am trying to establish If this IS a bug or Just something I am
> doing wrong.

Thanks

Martin McEvoy

brook

unread,
Aug 27, 2008, 9:26:40 AM8/27/08
to ubiquity-firefox
I can't subscribe either, Martin. (OSX, FF3).

If you want to use your commands locally, you can paste them into the
<a href="chrome://ubiquity/content/editor.html">Command Editor</a>.

brook

Martin McEvoy

unread,
Aug 27, 2008, 10:18:11 AM8/27/08
to ubiquity...@googlegroups.com
Hello Brook

brook wrote:
> I can't subscribe either, Martin. (OSX, FF3).
>

Damn shame...


> If you want to use your commands locally, you can paste them into the
> <a href="chrome://ubiquity/content/editor.html">Command Editor</a>.
>

Yes I have done that the commands work as expected :-) . The command
editor Is a great tool for helping you to get to know the Ubi commands.

I think this may be a security issue in vista for me

Thanks

Martin
> brook
> >
>

Will Moffat

unread,
Aug 27, 2008, 11:03:53 AM8/27/08
to ubiquity-firefox
Hi Martin,

I think the problem is that your web-server is serving .js files as
Content-Type: application/javascript
Ubiquity silently ignores files of this type. (Took me a while to
figure this out too).

Solution: add this to your apache.conf or .htaccess
AddType application/x-javascript .js

Apart from a few bugs like this, Ubiquity is awesome! It only took me
a few hours to write a search command for Freebase: http://blog.hamstersoup.com

great work ubiquity devs,
--Will

Dan Brickley

unread,
Aug 27, 2008, 11:14:33 AM8/27/08
to ubiquity...@googlegroups.com

Ah, thanks for this. I filed some notes for this behaviour earlier today
(others are hitting it too):

http://getsatisfaction.com/mozilla/topics/command_list_not_working

However I've added a .htaccess and confirmed with 'curl -i' that the
headers are now sent as 'application/x-javascript'. Still my command
doesn't show up.

Has anyone else had success via fixing their .htaccess?

My files are at http://danbri.org/2008/ubisg/ if anyone cares to try
(this is a command for 'social graph' lookups from the Google foaf/xfn api).

cheers,

Dan

ps. should we move this bug discussion to getsatisfaction.com? The site
accepts OpenID so is pretty quick to subscribe to...

Martin McEvoy

unread,
Aug 27, 2008, 11:14:30 AM8/27/08
to ubiquity...@googlegroups.com
Will Moffat wrote:
> Hi Martin,
>
> I think the problem is that your web-server is serving .js files as
> Content-Type: application/javascript
> Ubiquity silently ignores files of this type. (Took me a while to
> figure this out too).
>
> Solution: add this to your apache.conf or .htaccess
> AddType application/x-javascript .js
>
Will You are a star thank you, Problem solved :-)

Thanks

Martin

Martin McEvoy

unread,
Aug 27, 2008, 11:19:44 AM8/27/08
to ubiquity...@googlegroups.com
Hello Dan

Dan Brickley wrote:
> Will Moffat wrote:
>
>> Hi Martin,
>>
>> I think the problem is that your web-server is serving .js files as
>> Content-Type: application/javascript
>> Ubiquity silently ignores files of this type. (Took me a while to
>> figure this out too).
>>
>> Solution: add this to your apache.conf or .htaccess
>> AddType application/x-javascript .js
>>
>> Apart from a few bugs like this, Ubiquity is awesome! It only took me
>> a few hours to write a search command for Freebase: http://blog.hamstersoup.com
>>
>
> Ah, thanks for this. I filed some notes for this behaviour earlier today
> (others are hitting it too):
>
> http://getsatisfaction.com/mozilla/topics/command_list_not_working
>
> However I've added a .htaccess and confirmed with 'curl -i' that the
> headers are now sent as 'application/x-javascript'. Still my command
> doesn't show up.
>
> Has anyone else had success via fixing their .htaccess?
>

Yes me, I had issues with this, I simply added

AddType application/x-javascript .js


to the top of my .htaccess everything works fine now try
http://transformr.co.uk/ see if you can subscribe.

I am however un-subscribing somehow when I close the browser, I have to
re-subscribe again.


Best Wishes

Martin McEvoy

Will Moffat

unread,
Aug 27, 2008, 11:27:26 AM8/27/08
to ubiquity-firefox
Hi Dan,

> (this is a command for 'social graph' lookups from the Google foaf/xfn api).

The 'foaf' command installed for me. It's generating errors though.

Make sure you have the all the Chrome messages enabled in the Firebug
Console (Options button) so you can debug your Javascript.

regards,
--Will

Martin McEvoy

unread,
Aug 27, 2008, 11:52:46 AM8/27/08
to ubiquity...@googlegroups.com
Hello All ....

Martin McEvoy wrote:
> Hello Dan
>
> Dan Brickley wrote:
>>
>> Ah, thanks for this. I filed some notes for this behaviour earlier
>> today (others are hitting it too):
>>
>> http://getsatisfaction.com/mozilla/topics/command_list_not_working
>>
>> However I've added a .htaccess and confirmed with 'curl -i' that the
>> headers are now sent as 'application/x-javascript'. Still my command
>> doesn't show up.
>>
>> Has anyone else had success via fixing their .htaccess?
>>
>
> Yes me, I had issues with this, I simply added
>
> AddType application/x-javascript .js
>
>
> to the top of my .htaccess everything works fine now try
> http://transformr.co.uk/ see if you can subscribe.
>
> I am however un-subscribing somehow when I close the browser, I have
> to re-subscribe again.
>

Just a Note... the un-subscribing problem is fixed now when I was
closing Firefox, It was clearing my browsing history, I went to
tools/options/privacy under the private data settings the box was ticked
saying Browser History, I un-ticked the box, and everything is well :-)

I thought you would all like to know just in case anyone else is
struggling with this issue.

Best Wishes

Martin

Dan Brickley

unread,
Aug 27, 2008, 12:04:44 PM8/27/08
to ubiquity...@googlegroups.com

It still doesn't seem to install for me (beyond being listed under my
subscriptions). I'm not sure if this is related, but I don't see any
messages in Firebug Console, even though I've gone into Console ->
Options and checked 'Chrome Errors', and 'Chrome Messages'.

Someone in IRC asked whether you have Growl installed. On my setup, when
I hit something that generates errors (like the 'nofollow' command),
info about the exceptions flows out through Growl. The Firebug console
remains blank. Now I don't use Firebug very often so may be making a
silly error in using it...

cheers,

Dan

ps. would you mind emailing me (offlist) the errors my command
generates? perhaps I can fix those anyway and it might improve things.

--
http://danbri.org/


brook

unread,
Aug 27, 2008, 2:46:00 PM8/27/08
to ubiquity-firefox
On Aug 27, 4:03 pm, Will Moffat <will.mof...@gmail.com> wrote:
>
> Solution: add this to your apache.conf or .htaccess
>    AddType application/x-javascript .js

Frustratingly, this doesn't seem to fix it for me. It's definitely
being servered as x-javascript (according to Firebug), but I'm still
not getting it in my command list.

Martin McEvoy

unread,
Aug 27, 2008, 2:51:47 PM8/27/08
to ubiquity...@googlegroups.com

Hello Brook Same for me I had to clear my cache and cookies, then
subscribe, then I had to refresh my page a couple of times to get the
commands going hope this helps :-) .

> >
>

Atul Varma

unread,
Aug 27, 2008, 3:05:03 PM8/27/08
to ubiquity...@googlegroups.com
Ack!  Really sorry about the MIME type confusion here, I've created a ticket to have this fixed in our first patch:

  http://labs.toolness.com/trac/ticket/145

(Right now the milestone is 0.2, but we'll probably make a 0.1.5 milestone and move this ticket into it.)

- Atul

brook

unread,
Aug 27, 2008, 3:14:52 PM8/27/08
to ubiquity-firefox
> Hello Brook Same for me I had to clear my cache and cookies, then
> subscribe, then I had to refresh my page a couple of times to get the
> commands going hope this helps :-) .

Cool, I cleared my cache and cookies, and restarted for luck. The
commands seem to work now, but they're not showing up on the command
list. I'm sure it'll catch up eventually :) Thanks!

Atul Varma

unread,
Aug 27, 2008, 3:24:50 PM8/27/08
to ubiquity...@googlegroups.com
Sorry about this one too... I've created a ticket for it and it should be resolved (somehow) next release:

  http://labs.toolness.com/trac/ticket/146

- Atul

Martin McEvoy

unread,
Aug 28, 2008, 5:34:10 AM8/28/08
to ubiquity...@googlegroups.com
Hello Atul

Atul Varma wrote:
> Sorry about this one too... I've created a ticket for it and it should
> be resolved (somehow) next release:

First can I say Great work from you guys, Ubiquity is the best thing
since Web2.0 ;-)
>
> http://labs.toolness.com/trac/ticket/146

I read the ticket,

"I think the current lifetime of annotations is that they expire when
the associated URL leaves the browsing history; if we instead set it to
never expire"

I still do not think this will solve your problem, even if you set the
cache to no expire, they still will be cleared when the user clears
their browsing history and cache manually, mine does anyway It may be
because I have enhanced security features that also clears things like
that too (maybe!), a better Idea may be to save the subscribed commands
in the users *bookmarks* (much like regular feed subscriptions) the user
only needs to delete their bookmark to a subscription to un-subscribe,
giving the user a much better control over what commands they subscribe to.


Best Wishes

Martin McEvoy

CyberPrime

unread,
Aug 28, 2008, 5:10:09 PM8/28/08
to ubiquity-firefox
I have the same problem, I have cleared by cache, removed all
subscriptions, reinstalled them, restarted firefox etc. But nothing
works, commands only work in command-editor. Anybody have any ideas?
Reply all
Reply to author
Forward
0 new messages