First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 112550
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Josh Glover <jmglov@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Gunnar Wrobel <wrobel@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
flickrfs-1.1.ebuild Ebuild for flickrfs-1.1 text/plain Gunnar Wrobel 2005-11-14 13:38 0000 721 bytes Details
flickrfs-1.1.patch Patch for flickrfs (goes in ${FILESDIR}) text/plain Gunnar Wrobel 2005-11-14 13:39 0000 5.92 KB Details
flickrfs-1.1.9.ebuild Ebuild for flickrfs-1.1.9 text/plain Gunnar Wrobel 2005-11-16 10:03 0000 713 bytes Details
flickrfs-1.1.9.patch Patch for flickrfs-1.1.9 (goes in ${FILESDIR}) text/plain Gunnar Wrobel 2005-11-16 10:03 0000 3.63 KB Details
flickrfs-1.3.9.ebuild flickrfs-1.3.9.ebuild text/plain Josh Glover 2007-06-17 13:57 0000 991 bytes Details
setup.py Python distutils setup script text/plain Josh Glover 2007-06-17 13:58 0000 974 bytes Details
flickrfs-1.3.9.patch updated 1.1.9 patch for 1.3.9 (goes in ${FILESDIR}) patch Josh Glover 2007-06-17 14:50 0000 3.66 KB Details | Diff
flickrfs-1.3.9.ebuild New flickrfs-1.3.9.ebuild uses flickrfs-1.3.9.patch text/plain Josh Glover 2007-06-17 14:52 0000 690 bytes Details
flickrfs-1.3.9.ebuild Creates a flickrfs wrapper script for flickrfs.py that sets FUSE_PYTHON_API=0.1 text/plain Josh Glover 2007-06-24 03:42 0000 693 bytes Details
flickrfs-1.3.9.patch Fix all the bugs introduced by my ham-handed, Python-ignorant patching ;) patch Josh Glover 2007-06-24 03:43 0000 4.52 KB Details | Diff
flickrfs Wrapper script for flickrfs.py that sets FUSE_PYTHON_API=0.1 text/plain Josh Glover 2007-06-24 03:43 0000 171 bytes Details
flickrfs-1.3.9.ebuild flickrfs-1.3.9.ebuild text/plain Josh Glover 2007-07-02 04:10 0000 784 bytes Details
flickrfs-1.3.9.patch files/flickrfs-1.3.9.patch patch Josh Glover 2007-07-02 04:11 0000 4.52 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 112550 depends on: 63789 183710 183924 Show dependency tree
Show dependency graph
Bug 112550 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-11-14 13:37 0000
flickrfs is a virtual filesystem that provides access to the images from flickr
(http://www.flickr.com).

While this has version number 1.1 it is still somewhat difficult to handle.

The ebuild depends on python-fuse which is not yet part of the tree. You find
the necessary ebuild attached to bug #63789

I was not able to get the authentication token with firefox but elinks worked
fine for me. This can be changed in the config file.

Some help is available here: http://flickrfs.sourceforge.net/ and you can also
contact me if you need help.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.

------- Comment #1 From Gunnar Wrobel 2005-11-14 13:38:28 0000 -------
Created an attachment (id=72900) [edit]
Ebuild for flickrfs-1.1

------- Comment #2 From Gunnar Wrobel 2005-11-14 13:39:17 0000 -------
Created an attachment (id=72901) [edit]
Patch for flickrfs (goes in ${FILESDIR})

------- Comment #3 From Gunnar Wrobel 2005-11-16 10:03:19 0000 -------
Created an attachment (id=73016) [edit]
Ebuild for flickrfs-1.1.9

New release. You can now run the tool as a non-root user.
More information here: 
http://tuxmann.blogspot.com/

------- Comment #4 From Gunnar Wrobel 2005-11-16 10:03:49 0000 -------
Created an attachment (id=73017) [edit]
Patch for flickrfs-1.1.9 (goes in ${FILESDIR})

------- Comment #5 From Josh Glover 2007-06-17 12:53:14 0000 -------
Snagging this.

------- Comment #6 From Josh Glover 2007-06-17 12:53:34 0000 -------
Planning to add latest version to Portage now.

------- Comment #7 From Josh Glover 2007-06-17 13:57:36 0000 -------
Created an attachment (id=122325) [edit]
flickrfs-1.3.9.ebuild

Ebuild for the latest version requires the setup.py in files

------- Comment #8 From Josh Glover 2007-06-17 13:58:01 0000 -------
Created an attachment (id=122326) [edit]
Python distutils setup script

------- Comment #9 From Josh Glover 2007-06-17 14:00:27 0000 -------
(From update of attachment 73017 [edit])
Ugh. Looks like I obsoleted this too quickly. Bringing it back in lieu of my
crappy setup.py

------- Comment #10 From Josh Glover 2007-06-17 14:00:54 0000 -------
(From update of attachment 122326 [edit])
Using the 1.1.9 patch to provide setup.py

------- Comment #11 From Josh Glover 2007-06-17 14:50:35 0000 -------
Created an attachment (id=122330) [edit]
updated 1.1.9 patch for 1.3.9 (goes in ${FILESDIR})

------- Comment #12 From Josh Glover 2007-06-17 14:52:22 0000 -------
Created an attachment (id=122334) [edit]
New flickrfs-1.3.9.ebuild uses flickrfs-1.3.9.patch

This ebuild works, but then flickrfs bombs out with:


Traceback (most recent call last):
  File "/usr/bin/flickrfs", line 1086, in ?
    server = Flickrfs()
  File "/usr/bin/flickrfs", line 159, in __init__
    log.info("flickrfs.py:Flickrfs:mountpoint: %s" % repr(self.mountpoint))
  File "/usr/lib/python2.4/site-packages/fuse.py", line 834, in __getattr__
    raise AttributeError, "Fuse instance has no attribute '%s'" % meth
AttributeError: Fuse instance has no attribute 'mountpoint'


This seems to be an issue with the fuse-python bindings or something. As it is
beyond my abilities to debug, I'm going to hit up my local LUG's Pythonistas
for help.

------- Comment #13 From Josh Glover 2007-06-17 16:20:53 0000 -------
Got this back from TLUG: set FUSE_PYTHON_API=0.1 and it works. :)

I guess I'll patch up flickrfs to set this in the Python for now. But that will
have to wait until tomorrow, because it is way past time for me to collapse
into my bed. ;)

Thanks Mattia!

------- Comment #14 From Josh Glover 2007-06-24 03:42:24 0000 -------
Created an attachment (id=122933) [edit]
Creates a flickrfs wrapper script for flickrfs.py that sets FUSE_PYTHON_API=0.1

------- Comment #15 From Josh Glover 2007-06-24 03:43:18 0000 -------
Created an attachment (id=122936) [edit]
Fix all the bugs introduced by my ham-handed, Python-ignorant patching ;)

------- Comment #16 From Josh Glover 2007-06-24 03:43:49 0000 -------
Created an attachment (id=122938) [edit]
Wrapper script for flickrfs.py that sets FUSE_PYTHON_API=0.1

------- Comment #17 From Josh Glover 2007-06-24 03:53:43 0000 -------
Bang! In Portage!

------- Comment #18 From Josh Glover 2007-06-30 05:47:10 0000 -------
This is not exactly working; you can view your stream, but not sets and
collections, or meta-data, and cannot modify permissions, etc.

------- Comment #19 From Josh Glover 2007-07-02 04:10:03 0000 -------
Created an attachment (id=123584) [edit]
flickrfs-1.3.9.ebuild

We now depend on virtual/fuse-python, which is now provided by
sys-fs/python-fuse, but will be provided by sys-fs/fuse-python (which is the
newer version of the FUSE bindings for Python) in the future as soon as I pound
all of the bugs out of it and/or its client scripts.

With sys-fs/python-fuse, we get these errors, but stuff kinda works:

07/02/07 13:07:17 ERROR      Exception in function <bound method
Flickrfs.__sync_set_in_background of <__main__.Flickrfs instance at
0xb7bf192c>>
07/02/07 13:07:17 ERROR      Traceback (most recent call last):
  File "/usr/bin/flickrfs", line 101, in _log_exception_wrapper
    func(*args, **kw)
  File "/usr/bin/flickrfs", line 312, in __sync_set_in_background
    psetOnline = self.transfl.getPhotosFromPhotoset(set_id)
  File "/usr/lib/python2.4/site-packages/transactions.py", line 376, in
getPhotosFromPhotoset
    for p in rsp.photoset[0].photo:
AttributeError: XMLNode instance has no attribute 'photo'

------- Comment #20 From Josh Glover 2007-07-02 04:11:47 0000 -------
Created an attachment (id=123585) [edit]
files/flickrfs-1.3.9.patch

We don't need the wrapper any more, so setup.py now installs flickrfs, not
flickrfs.py

------- Comment #21 From Josh Glover 2007-07-02 05:25:30 0000 -------
I've committed the version of this ebuild that depends on virtual/fuse-python
to CVS, because it works better than the current ebuild.

However, flickrfs is still not working completely, so I cannot resolve this bug
yet.

------- Comment #22 From Jakub Moc 2007-08-15 14:20:28 0000 -------
In the tree. Everything else -> new bug instead of more mess here.

------- Comment #23 From Ulrich Müller 2007-12-31 13:27:22 0000 -------
(In reply to comment #21)
> I've committed the version of this ebuild that depends on virtual/fuse-python
> to CVS, because it works better than the current ebuild.

Hm, just wondering: flickrfs-1.3.9 depends on sys-fs/fuse-python, not on
virtual/fuse-python.

Is the virtual for fuse-python needed at all? It's only provided by
sys-fs/python-fuse, and no other package depends on it.

First Last Prev Next    No search results available      Search page      Enter new bug