[Bug 399452] Re: Error when mounting flickrfs
The https fix just landed in vivid: https://lists.canonical.com/archives/vivid- changes/2014-December/002111.html flickrfs (1.3.9.1-9.2ubuntu2) vivid; urgency=medium * Fix lack of HTTPS in flickrapi.py; flickr requires https now ** Changed in: flickrfs (Ubuntu) Status: Confirmed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/399452 Title: Error when mounting flickrfs To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/flickrfs/+bug/399452/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 399452] Re: Error when mounting flickrfs
+1 to that patch - I just applied it and got my flickrfs back. Any chance of getting it into the package or upstream? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/399452 Title: Error when mounting flickrfs To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/flickrfs/+bug/399452/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 399452] Re: Error when mounting flickrfs
I tried applying HorsePunchKid's patch (by hand), and can confirm that it works for me. Happy customer :-) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/399452 Title: Error when mounting flickrfs To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/flickrfs/+bug/399452/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 399452] Re: Error when mounting flickrfs
The attachment "Changes REST endpoints from http to https" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu- reviewers, unsubscribe the team. [This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.] ** Tags added: patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/399452 Title: Error when mounting flickrfs To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/flickrfs/+bug/399452/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 399452] Re: Error when mounting flickrfs
This patch might help. I haven't been able to test it because attempting to install flickrfs-ng has apparently broken my python fuse library. ** Patch added: "Changes REST endpoints from http to https" https://bugs.launchpad.net/ubuntu/+source/flickrfs/+bug/399452/+attachment/4205661/+files/flickrfs_https.patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/399452 Title: Error when mounting flickrfs To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/flickrfs/+bug/399452/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 399452] Re: Error when mounting flickrfs
I can't even get to the point of reproducing any of these errors anymore. A typical session now fails like this: $ flickrfs [...]/flickr Authorizing with flickr... Can't retrieve token from browser:/usr/bin/firefox: If you're behind a proxy server, first set http_proxy environment variable. Please close all your browser windows, and try again I've tried with Firefox, Chrome, Opera, and x-www-browser (probably points to Chrome for me), and none of them work. As indicated on the man page, I ensured the browser was not running when I ran flickrfs. No browser is started. At this point, I would guess that it's because flickrfs is using the old non-https API endpoint. A quick strace supports that theory to some extent: getsockopt(5, SOL_SOCKET, SO_ERROR, [0], [4]) = 0 poll([{fd=5, events=POLLOUT}], 1, 1) = 1 ([{fd=5, revents=POLLOUT}]) sendto(5, "POST /services/rest/ HTTP/1.1\r\nA"..., 355, 0, NULL, 0) = 355 poll([{fd=5, events=POLLIN}], 1, 1) = 1 ([{fd=5, revents=POLLIN}]) recvfrom(5, "HTTP/1.1 403 Forbidden\r\nDate: Tu"..., 8192, 0, NULL, NULL) = 710 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/399452 Title: Error when mounting flickrfs To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/flickrfs/+bug/399452/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 399452] Re: Error when mounting flickrfs
Does anybody succeded in using flickrfs? I'm (sadly) not able to use any tool to manage Flickr... -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/399452 Title: Error when mounting flickrfs To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/flickrfs/+bug/399452/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 399452] Re: Error when mounting flickrfs
I hate to "me-too" this, but Ubuntu 10.04 Lucid, exactly this error. /usr/share/pyshared/flickrfs/flickrapi.py:63: DeprecationWarning: the md5 module is deprecated; use hashlib instead import md5 Authorizing with flickr... Authorization complete. Sets are being populated in the background. Please wait... Sets have been populated. Done. Exception RuntimeError: 'maximum recursion depth exceeded while calling a Python object' in ignored Exception RuntimeError: 'maximum recursion depth exceeded while calling a Python object' in ignored Exception RuntimeError: 'maximum recursion depth exceeded while calling a Python object' in ignored -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/399452 Title: Error when mounting flickrfs To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/flickrfs/+bug/399452/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 399452] Re: Error when mounting flickrfs
No news on this bug ? -- Error when mounting flickrfs https://bugs.launchpad.net/bugs/399452 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 399452] Re: Error when mounting flickrfs
I just ran out of my python understanding looking for what Berto suggested and still can not get it to work. I could easily not understand the process as python is a very new adventure for me. I do not get errors except the ones listed here so I suspect that at minimum I did not break the world too badly. How do I tell python 2.5 which I hand installed (and appears functional) how to find the fuse modules which claim to be for python >2.5 <2.7 This is of course assuming that I can share a module installed for python 2.6 without causing problems. -- Error when mounting flickrfs https://bugs.launchpad.net/bugs/399452 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 399452] Re: Error when mounting flickrfs
Just found another problem in my script. Doing something like this also causes an error; class B(A): def __init__(self): if 'foo' in dir(self): [...] I swapped that out with: if hasattr(self, 'foo'): [...] -- Error when mounting flickrfs https://bugs.launchpad.net/bugs/399452 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 399452] Re: Error when mounting flickrfs
I found this issue searching for the recursion error in google. After digging through some personal code that was having this problem, I tracked the problem down to being the way I call a class' parent class, for example, this would cause the problem: class A(object): def __init__(self, arg): self.arg = arg class B(A): def __init__(self, arg): A.__init__(self, arg) The recursion errors went away when modifying class B to use super() instead: class B(A): def __init__(self, arg): super(B, self).__init__(arg) I've not looked at the flickrfs code, but hopefully this helps. -- Error when mounting flickrfs https://bugs.launchpad.net/bugs/399452 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 399452] Re: Error when mounting flickrfs
Nope, can't get it to work there, due to fuse not playing well with python2.5 (or 2.4). I'd love to try out this flickrfs. -- Error when mounting flickrfs https://bugs.launchpad.net/bugs/399452 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 399452] Re: Error when mounting flickrfs
Not elegant, but you can add deb http://ubuntu.media.mit.edu/ubuntu/ karmic main restricted deb-src http://ubuntu.media.mit.edu/ubuntu/ karmic main restricted deb http://ubuntu.media.mit.edu/ubuntu/ karmic-updates main restricted deb-src http://ubuntu.media.mit.edu/ubuntu/ karmic-updates main restricted deb http://ubuntu.media.mit.edu/ubuntu/ karmic universe deb-src http://ubuntu.media.mit.edu/ubuntu/ karmic universe deb http://ubuntu.media.mit.edu/ubuntu/ karmic-updates universe deb-src http://ubuntu.media.mit.edu/ubuntu/ karmic-updates universe deb http://ubuntu.media.mit.edu/ubuntu/ karmic multiverse deb-src http://ubuntu.media.mit.edu/ubuntu/ karmic multiverse deb http://ubuntu.media.mit.edu/ubuntu/ karmic-updates multiverse deb-src http://ubuntu.media.mit.edu/ubuntu/ karmic-updates multiverse deb http://ubuntu.media.mit.edu/ubuntu/ karmic-security main restricted deb-src http://ubuntu.media.mit.edu/ubuntu/ karmic-security main restricted deb http://ubuntu.media.mit.edu/ubuntu/ karmic-security universe deb-src http://ubuntu.media.mit.edu/ubuntu/ karmic-security universe deb http://ubuntu.media.mit.edu/ubuntu/ karmic-security multiverse deb-src http://ubuntu.media.mit.edu/ubuntu/ karmic-security multiverse deb http://archive.canonical.com/ karmic partner to a file in /etc/apt/sources.list.d such as karmic_sources.list, then apt-get install python2.5 (haven't verified if having 2.5 actually allows use of flickrfs). -- Error when mounting flickrfs https://bugs.launchpad.net/bugs/399452 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 399452] Re: Error when mounting flickrfs
Heya! 9.04 64bit here, same dealio. I have done: sudo apt-get install python2.5 And also changed the shebang on /usr/bin/flickrfs: 0-22:44 d...@noneedto ~$ head -1 /usr/bin/flickrfs #!/usr/bin/python2.5 0-22:45 d...@noneedto ~$ python2.5 /usr/bin/flickrfs $HOME/Flickr Authorizing with flickr... Authorization complete. Sets are being populated in the background. Please wait... Sets have been populated. Done. 0-22:49 d...@noneedto ~$ ls Flickr ls: cannot access Flickr: Invalid argument Oh well. :/ -- Error when mounting flickrfs https://bugs.launchpad.net/bugs/399452 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 399452] Re: Error when mounting flickrfs
I am also seeing this problem with ubuntu 10.04 In 10.04 its a much bigger problem because the python2.5 binaries are no longer in the repositories so a simple 'apt-get install python2.5' will no longer work -- Error when mounting flickrfs https://bugs.launchpad.net/bugs/399452 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 399452] Re: Error when mounting flickrfs
** Changed in: flickrfs (Ubuntu) Status: New => Confirmed -- Error when mounting flickrfs https://bugs.launchpad.net/bugs/399452 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 399452] Re: Error when mounting flickrfs
This bug is still present in karmic and this makes flickrfs totaly unusable. I've created python2.5 symlink for python instead of the deafult python2.6 and this resolves the "Exception RuntimeError: 'maximum recursion depth exceeded while calling a Python object' in ignored" problem. But when I enter the flickrfs directory this is what I got: w...@pasifae:~> cd Desktop/myflickr w...@pasifae:.> ls -l ls: impossibile accedere a sets: Argomento non valido ls: impossibile accedere a tags: Argomento non valido totale 0 ?? ? ? ? ?? sets ?? ? ? ? ?? tags And this is the flickrfs log: 12/17/09 10:11:21 DEBUG getdir:/ 12/17/09 10:11:21 DEBUG getattr:/sets: 12/17/09 10:11:21 DEBUG getattr:/tags: 12/17/09 10:11:21 DEBUG getattr:/.git: 12/17/09 10:11:21 DEBUG getattr:/.git: 12/17/09 10:11:21 DEBUG getattr:/objects: -- Error when mounting flickrfs https://bugs.launchpad.net/bugs/399452 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 399452] Re: Error when mounting flickrfs
if you open a terminal and run: sudo apt-get install python2.5 that will install python 2.5 -- Error when mounting flickrfs https://bugs.launchpad.net/bugs/399452 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 399452] Re: Error when mounting flickrfs
Sorry to ask again. I am quite new to Linux and I do not exactly understand the workaround. When I type "python2.5 /usr/bin/flickrfs flickr/" I just get the message that phyton2.5 is currently not installed. What do I have to do to use Phyton 2.5. for flickrfs? Thank you very much in advance for any hint. -- Error when mounting flickrfs https://bugs.launchpad.net/bugs/399452 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 399452] Re: Error when mounting flickrfs
I've verified Robert Jordens' workaround; Python 2.5 doesn't reports the "maximum recursion depth exceeded" errors. I ought to have mentioned in my original comment that /usr/bin/python on my host is a symbolic link to /usr/bin/python2.6. Thanks to Robert for the quick feedback! -- Error when mounting flickrfs https://bugs.launchpad.net/bugs/399452 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 399452] Re: Error when mounting flickrfs
that seems to be a flickrfs incompatibility with python2.6 and above. try python2.5 /usr/bin/flickrfs flickr/ to work around it -- Error when mounting flickrfs https://bugs.launchpad.net/bugs/399452 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 399452] Re: Error when mounting flickrfs
After the Python runtime error is reported, flickrfs exits with code 0. This makes flickrfs unusable, as flickrfs must remain running for the FUSE filesystem to work. Once flickrfs has exited, an attempt to list the contents of the flickrfs mountpoint hangs indefinitely. This bug occurs on Jaunty 9.04 using flickrfs 1.3.9.1-8. To reproduce: * install flickrfs: sudo apt-get install flickrfs * Create a mountpoint, make it world-readable: sudo mkdir /media/flickrfs && sudo chmod 777 /media/flickrfs * Start flickrfs: flickrfs /media/flickrfs * In another terminal, follow the flickrfs log: tail -F ~/.flickrfs/log. Nothing in the log indicates the problem. An attempt to unmount the flickrfs mount using fusermount fails with the following error message: $ fusermount -u /media/flickrfs umount: /media/flickrfs: device is busy. (In some cases useful info about processes that use the device is found by lsof(8) or fuser(1)) lsof and fuser report that the process using the mount is gvfs-hal- volume-monitor. -- Error when mounting flickrfs https://bugs.launchpad.net/bugs/399452 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs