cc-devel AT lists.ibiblio.org
Subject: Developer discussion for Creative Commons technology and tools
List archive
- From: Asheesh Laroia <asheesh AT creativecommons.org>
- To: Sebastian Pipping <webmaster AT hartwork.org>
- Cc: cc-devel AT lists.ibiblio.org
- Subject: Re: [cc-devel] liblicense-0.8.1
- Date: Thu, 5 Mar 2009 16:10:17 -0800 (PST)
On Tue, 3 Mar 2009, Sebastian Pipping wrote:
Asheesh Laroia wrote:
4) See what related files nautilus is accessing on startup:
$ strace nautilus 2>&1 | grep /usr/lib/.\*nautilus
open("/usr/lib/libnautilus-extension.so.1", O_RDONLY) = 3
What's next?
Try putting the CC Nautilus extension in the path that Nautilus looks in
for Python extensions and see if you get a new properties pane.
But one more thing:
/usr/lib/pkgconfig/nautilus-python.pc
/usr/share/doc/nautilus-python/README
/usr/share/doc/nautilus-python/documentation.py
/usr/share/doc/nautilus-python/examples
/usr/share/doc/nautilus-python/examples/background-image.py
/usr/share/doc/nautilus-python/examples/block-size-column.py
/usr/share/doc/nautilus-python/examples/md5sum-property-page.py
/usr/share/doc/nautilus-python/examples/open-terminal.py
Can you get these files to work? What does README or documentation.py say?
README says I should copy the examples to one of
/usr/lib/nautilus/extensions-1.0/python/
~/.nautilus/python-extensions/
However Nautilus does not seem to look into that, both
strace nautilus 2>&1 | fgrep extensions
strace nautilus 2>&1 | fgrep .nautilus/python-extensions
give nothing.
For me (on Ubuntu), it sure does give output. Have you tried killing nautilus on your system (you may already have a Nautilus process running) and starting a fresh one?
I ran:
paulproteus@vellum:~ $ killall nautilus
paulproteus@vellum:~ $ strace -f nautilus 2>&1 | fgrep extensions | less
The first few lines of output are:
[pid 16972] open("/usr/lib/nautilus/extensions-2.0",
O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = 21
[pid 16972] stat64("/usr/lib/nautilus/extensions-2.0/libnautilus-python.so",
{st_mode=S_IFREG|0644, st_size=22028, ...}) = 0
[pid 16972] open("/usr/lib/nautilus/extensions-2.0/libnautilus-python.so",
O_RDONLY) = 22
[pid 16972] open("/usr/lib/nautilus/extensions-2.0/python",
O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = 22
[pid 16972] open("/home/paulproteus/.nautilus/python-extensions/",
O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = -1 ENOENT (No such file or
directory)
I cannot make any sense from documentation.py with my current knowledge of Python.
The 0.4.1-r1 ebuild I've been using latest can be found
at [1] if anybody feels like playing around with it.
Thanks. We at CC mostly use Ubuntu and teensy bit of Debian, but Scott who co-wrote liblicense originally used Gentoo when he was an intern here.
Still, I think that you should be able to move forward. I hope we can work through this!
-- Asheesh.
--
There is an old time toast which is golden for its beauty.
"When you ascend the hill of prosperity may you not meet a friend."
-- Mark Twain
-
Re: [cc-devel] liblicense-0.8.1,
Sebastian Pipping, 03/02/2009
-
Re: [cc-devel] liblicense-0.8.1,
Asheesh Laroia, 03/05/2009
-
Re: [cc-devel] liblicense-0.8.1,
Sebastian Pipping, 03/05/2009
-
Re: [cc-devel] liblicense-0.8.1,
Asheesh Laroia, 03/06/2009
-
Re: [cc-devel] liblicense-0.8.1,
Sebastian Pipping, 03/06/2009
-
Re: [cc-devel] liblicense-0.8.1,
Asheesh Laroia, 03/08/2009
-
Message not available
- Re: [cc-devel] liblicense-0.8.1, Asheesh Laroia, 03/11/2009
-
Message not available
-
Re: [cc-devel] liblicense-0.8.1,
Asheesh Laroia, 03/08/2009
-
Re: [cc-devel] liblicense-0.8.1,
Sebastian Pipping, 03/06/2009
-
Re: [cc-devel] liblicense-0.8.1,
Asheesh Laroia, 03/06/2009
-
Re: [cc-devel] liblicense-0.8.1,
Sebastian Pipping, 03/05/2009
-
[cc-devel] destdir patch for liblicense-gnome 0.4 / was Re: liblicense-0.8.1,
Sebastian Pipping, 03/05/2009
- Re: [cc-devel] destdir patch for liblicense-gnome 0.4 / was Re: liblicense-0.8.1, Asheesh Laroia, 03/06/2009
-
Re: [cc-devel] liblicense-0.8.1,
Asheesh Laroia, 03/05/2009
Archive powered by MHonArc 2.6.24.