有馬総一郎のブログ

(彼氏の事情)

2015年01月24日 22:23:00 JST - 1 minute read - Mozilla

firefoxのアドオンvimperatorのgiが機能しなくなった

Firefoxの便利なアドオンvimperatorを導入しているのだけど、最近giを入力しても TypeError: 'snapshotLength' getter called on an object that does not implement interface XPathResult. と表示されるようになってしまった。

arimasou16@arimasou16-Peppy:$ cd git/ arimasou16@arimasou16-Peppy:/git$ git clone https://github.com/vimperator/vimperator-labs/ Cloning into ‘vimperator-labs’… remote: Counting objects: 31654, done. remote: Compressing objects: 100% (14/14), done. remote: Total 31654 (delta 0), reused 0 (delta 0) Receiving objects: 100% (31654/31654), 6.80 MiB | 1.87 MiB/s, done. Resolving deltas: 100% (23619/23619), done. Checking connectivity… done. arimasou16@arimasou16-Peppy:/git$ cd vimperator-labs arimasou16@arimasou16-Peppy:/git/vimperator-labs$ git checkout 3.8.3-a3 Note: checking out ‘3.8.3-a3’.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b new_branch_name

HEAD is now at 8dde9da... fix: don't display help message on click event. Fix #124
arimasou16@arimasou16-Peppy:~/git/vimperator-labs$ make
MAKE muttator.xpi
Building XPI...
Including en-US documentation
Including ja documentation
Replacing ###VERSION### and ###DATE### tags
Packaging up muttator-1.2.xpi
SUCCESS: downloads/muttator-1.2.xpi
MAKE vimperator.xpi
Building XPI...
Including en-US documentation
Including ja documentation
Replacing ###VERSION### and ###DATE### tags
Packaging up vimperator-3.8.3.xpi
SUCCESS: downloads/vimperator-3.8.3.xpi

と作成されたvimperator-3.8.3.xpiを導入したらちゃんと機能するようになった。