flickrfs-users Mailing List for Flickr Filesystem (Page 4)
Brought to you by:
manishrjain
You can subscribe to this list here.
2005 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(28) |
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2006 |
Jan
(5) |
Feb
(22) |
Mar
|
Apr
(7) |
May
(11) |
Jun
(2) |
Jul
(3) |
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
(3) |
2007 |
Jan
(5) |
Feb
(8) |
Mar
(1) |
Apr
(2) |
May
(1) |
Jun
(5) |
Jul
|
Aug
|
Sep
|
Oct
(5) |
Nov
(4) |
Dec
|
2008 |
Jan
(21) |
Feb
(3) |
Mar
|
Apr
(1) |
May
(1) |
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2009 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(2) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2010 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(5) |
2014 |
Jan
(2) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Augie S. <aug...@gm...> - 2006-06-11 23:45:34
|
I get this very nondescript error when trying to use FlickrFS: [augie@pear flickrfs-1.2.9]$ python flickrfs.py /tmp/flickrfs Traceback (most recent call last): File "flickrfs.py", line 1218, in ? server = Flickrfs() File "flickrfs.py", line 475, in __init__ log.info("flickrfs.py:Flickrfs:mountpoint: %s" % repr(self.mountpoint)) File "/usr/lib/python2.4/site-packages/fuse.py", line 710, in __getattr__ raise AttributeError, "Fuse instance has no attribute '%s'" % meth AttributeError: Fuse instance has no attribute 'mountpoint' flickrfs 1.2.9 fuse 2.3 fuse-py-089c6a510fd3 The test.py from flickrfs works fine, and so does the example/xmp.py from fuse-py . So I'm not really sure what this errors is supposed to mean. Any help would be appreciated; I've been itching to try out flickrfs since the latest 1.2.9 release. -- Augie Schwer - Au...@Sc... - http://schwer.us Key fingerprint = 9815 AE19 AFD1 1FE7 5DEE 2AC3 CB99 2784 27B0 C072 |
From: Manish R. J. <man...@gm...> - 2006-05-29 01:58:13
|
Proud to announce the release of flickrfs-sync v1.2.9. Here at blogspot<http://tuxmann.blogspot.com/2006/05/releasing-flickrfs-syn= c.html> . This one includes a lot of bug fixes, and is much more stable than the previous versions. Do try it out! <http://manishrjain.googlepages.com/flickrfs> Cheers Manish |
From: Manish R. J. <man...@gm...> - 2006-05-26 01:25:43
|
Thnx Fabio I cudn't reproduce the error. However, I realized what cud be a possible cause, and have put up a fix, as version 1.29.1. Try that out, and check if the bug is fixed. If still not, then can please provide steps to reproduce the error. Cheers Manish On 5/26/06, Fabio Spelta <sp...@gm...> wrote: > > ughi@ughi:~/flickrfs-v1.29 $ sudo ./flickrfs.py /home/ughi/flickrfs > Password: > No default size of image found. Will upload original size of images. > Authorizing with flickr... > Authorization complete. Retrieving photos... > Traceback (most recent call last): > File "/usr/lib/python2.4/site-packages/fuse.py", line 40, in __call__ > return apply(self.func, args, kw) > File "./flickrfs.py", line 1147, in write > self._mkfileWithMeta(parentPath, id) > File "./flickrfs.py", line 623, in _mkfileWithMeta > INFO =3D self.transfl.getPhotoInfo(id) > File "./flickrfs.py", line 235, in getPhotoInfo > rsp =3D self.fapi.photos_getInfo(auth_token=3Dself.authtoken, > photo_id=3DphotoId) > File "/home/ughi/flickrfs-v1.29/flickrapi.py", line 240, in handler > postData =3D str(urllib.urlencode(arg)) + "&api_sig=3D" + \ > File "/home/ughi/flickrfs-v1.29/flickrapi.py", line 195, in __sign > for a in keys: dataName +=3D (a + data[a]) > TypeError: cannot concatenate 'str' and 'NoneType' objects > Traceback (most recent call last): > File "/usr/lib/python2.4/site-packages/fuse.py", line 40, in __call__ > return apply(self.func, args, kw) > File "./flickrfs.py", line 1136, in write > self.transfl.put2Set(pinode.setId, id) > File "./flickrfs.py", line 206, in put2Set > log.info("Uploading photo:"+photo_id+":to set_id:"+set_id) > TypeError: cannot concatenate 'str' and 'NoneType' objects > Traceback (most recent call last): > File "/usr/lib/python2.4/site-packages/fuse.py", line 40, in __call__ > return apply(self.func, args, kw) > File "./flickrfs.py", line 1136, in write > self.transfl.put2Set(pinode.setId, id) > File "./flickrfs.py", line 206, in put2Set > log.info("Uploading photo:"+photo_id+":to set_id:"+set_id) > TypeError: cannot concatenate 'str' and 'NoneType' objects > > |
From: Manish R. J. <man...@gm...> - 2006-05-25 17:03:59
|
Hi all Its time that I release a new version of flickrfs, with all the functionality I had earlier talked about. Without saying much, I'd redirect you to a webpage <http://manishrjain.googlepages.com/flickrfs> I created fo= r flickrfs: http://manishrjain.googlepages.com/flickrfs There is download link in top right side, which provides the latest still unreleased version of flickrfs. Before I release this new version, it would be great if people on this list try it out. Do check out the new features, I hope you like them. Any feedback is awaited :). Cheers Manish |
From: <rdm...@bi...> - 2006-05-19 02:30:45
|
On Thu, 18 May 2006 at 12:57, Manish Rai Jain wrote: > Forgot to add. Can you test out the code to see if there is any bug. I'm trying to access the CVS repository, but I'm getting a timeout. I'll try again tomorrow. --David |
From: Manish R. J. <man...@gm...> - 2006-05-18 04:57:24
|
Forgot to add. Can you test out the code to see if there is any bug. Manish On 5/18/06, Manish Rai Jain <man...@gm...> wrote: > > > I observed the fs not always unmounting during every stage of my testing > > > > It was due to this repetitive calling of statfs. Once, I blocked it, > unmounting became fine. > > --=20 Final Year, ABP School of Comp. Engg. NTU, Singapore +65-97960183 |
From: Manish R. J. <man...@gm...> - 2006-05-18 04:53:25
|
> I observed the fs not always unmounting during every stage of my testing > It was due to this repetitive calling of statfs. Once, I blocked it, unmounting became fine. |
From: Manish R. J. <man...@gm...> - 2006-05-18 04:51:40
|
Hi Finally after quite a long time, I found time to spend upon flickrfs again. Here is a list of changes: Bugs (fixed/blocked): 1. statfs is not functioning properly, and was being called every 1 sec. I cudn't pinpoint the cause of this (may be it lies with the OS itself.), so = I blocked this call completely for the time being. 2. auth_token was being automatically appended by flickrapi.py, which cause= d a failure while retrieving token from the browser. So, I removed the automatic appending by flickrapi.py; and shifted the passing of token as a parameter to functions in flickrfs.py. Fixed the bug. 3. Indentation was causing problems with vim editor. Replaced all spaces with tabs, and fixed the indentation. 4. Multiple images with the same title were not allowed. Now, each image name =3D title + photo id (unique). Now allows title to be same. Fixed. 5. chmod - changing permissions of images was not working. Fixed. 6. photoset_getList was getting stuck w/o user_id specified. Added 2 params - user_id, and auth_token. Features: 1. Automatic image resizing - Finally, we have this feature! An ideal pytho= n way to do it, using PIL was causing exif data to be lost while resizing. Using convert command from imagemagick package created sharper pics, with exif data retained. Not to mention, this feature requires Imagemagick to be installed. The needed size is specified thro' a config.txt file placed in $HOMEDIR/.flickrfs/. An example file is in CVS. #Placed as $HOMEDIR/.flickrfs/config.txt [configuration] image.size:1024x760 To retain the original size, dun specify any size. Like this: image.size: 2. More info in metadata files - Contains data abt owner, and a handy url link to the photo. Link<http://flickrfs.cvs.sourceforge.net/flickrfs/flickrfs/flickrfs.py?r1= =3D1.41&r2=3D1.43>to check the differences. Cheers Manish --=20 Final Year, ABP School of Comp. Engg. NTU, Singapore +65-97960183 |
From: <rdm...@bi...> - 2006-05-17 11:41:24
|
On Wed, 17 May 2006 at 18:34, Manish Rai Jain wrote: > While trying out the code, I realized that getBandwidthInfo was being called > every second. The fs didn't umount as well. What is causing this? And why is > statfs being called repetitively? I observed the fs not always unmounting during every stage of my testing (ie: even before I modified the code). Sometimes it does, sometimes it doesn't. I assumed it was just "normal" and haven't tried to debug it yet. I didn't notice the statfs thing, but I didn't think I touched any code that would increase calls to getBandwidthInfo. I may well have done so inadvertently, though, and it has been a while since I have made time to work on the code. I might actually be able to make some time to take a look today. --David |
From: Manish R. J. <man...@gm...> - 2006-05-17 10:38:43
|
Hi David While trying out the code, I realized that getBandwidthInfo was being calle= d every second. The fs didn't umount as well. What is causing this? And why i= s statfs being called repetitively? Manish |
From: Manish R. J. <man...@gm...> - 2006-05-16 11:38:30
|
Hi Steven Looks like the python-fuse module is missing. You can install it from synaptic. Manish On 5/13/06, Steven Belz <ste...@gm...> wrote: > > I just upgraded to Ubuntu Dapper with the hopes that the Kernel-embedded > FUSE module would work better than my previous installation efforts. > > Tis not the case. Unfortunately. Any assistance is appreciated. > > Here is my error: > > froggy@pictureframe:~$ ./software/flickrfs-1.1.9/flickrfs.py /flickrfs & > [1] 5146 > froggy@pictureframe:~$ Traceback (most recent call last): > File "./software/flickrfs-1.1.9/flickrfs.py", line 20, in ? > from fuse import Fuse > ImportError: No module named fuse > > and here is the result of ls -al /dev/fuse: > > froggy@pictureframe:~$ ls -al /dev/fuse > crw-rw---- 1 root root 10, 229 2006-05-12 12:25 /dev/fuse > > Any thoughts? > > Thanks, > > Steven > > --=20 Final Year, ABP School of Comp. Engg. NTU, Singapore +65-97960183 |
From: Steven B. <ste...@gm...> - 2006-05-12 17:11:35
|
I just upgraded to Ubuntu Dapper with the hopes that the Kernel-embedded FUSE module would work better than my previous installation efforts. Tis not the case. Unfortunately. Any assistance is appreciated. Here is my error: froggy@pictureframe:~$ ./software/flickrfs-1.1.9/flickrfs.py /flickrfs & [1] 5146 froggy@pictureframe:~$ Traceback (most recent call last): File "./software/flickrfs-1.1.9/flickrfs.py", line 20, in ? from fuse import Fuse ImportError: No module named fuse and here is the result of ls -al /dev/fuse: froggy@pictureframe:~$ ls -al /dev/fuse crw-rw---- 1 root root 10, 229 2006-05-12 12:25 /dev/fuse Any thoughts? Thanks, Steven |
From: <rdm...@bi...> - 2006-04-21 15:06:10
|
On Fri, 21 Apr 2006 at 09:06, Sebastien Perez-Duarte wrote: > However I get the following error as soon as I start flickrfs.py: > Unhandled exception in thread started by > Traceback (most recent call last): > File "flickrfs-1.1.9/flickrfs.py", line 459, in sets_thread > self.writeMetaInfo(b['id'], INFO) #Write to a localfile > File "flickrfs-1.1.9/flickrfs.py", line 407, in writeMetaInfo > f.write("%s:%s\n"%('description', INFO[3])) > UnicodeEncodeError: 'ascii' codec can't encode character u'\xe2' in position > 174: ordinal not in range(128) Can you do an anonymous CVS checkout from the project and try that version? The unicode support is slightly different and I'm hoping it works better. The last time I touched the unicode stuff I could view files that had unicode characters in the titles, but I couldn't upload them (I haven't gotten back to working on that bug yet). Unfortunately my experience level with unicode is minimal, so I'm doing a bit of shooting in the dark as I try to fix things... --David |
From: Sebastien Perez-D. <sb...@gm...> - 2006-04-21 08:56:07
|
Hi Trying Flickrfs with Ubuntu (had first to change the permission on /usr/bin/fusermount since it did not allow execution as normal user). Mount is OK However I get the following error as soon as I start flickrfs.py: Unhandled exception in thread started by Traceback (most recent call last): File "flickrfs-1.1.9/flickrfs.py", line 459, in sets_thread self.writeMetaInfo(b['id'], INFO) #Write to a localfile File "flickrfs-1.1.9/flickrfs.py", line 407, in writeMetaInfo f.write("%s:%s\n"%('description', INFO[3])) UnicodeEncodeError: 'ascii' codec can't encode character u'\xe2' in positio= n 174: ordinal not in range(128) Then of my three sets only one of the shows up (all created in Flickr befor= e I start flickrfs) and no images can be found inside (not sure if this is th= e normal way though). So in my case we are less than half-way there... hope these bugs can be fixed, as it seems to be a really cool tool to use in Linux. Sebastien |
From: Keith D. T. <ke...@ke...> - 2006-04-12 06:13:06
|
Took a little twiddling, but flickrfs worked well for me (not all things do.) Couple things. I noticed I need to run "modprobe flickrfs" before the mount would work properly. (My kernel is 2.4.21-xfs) Also, for some reason, even though I created a directory under tags/public, all the photos I uploaded were added as private. Still, the photos and tags came out OK, which is the bulk of the timesaver. Regards, Kdt |
From: Manish R. J. <man...@gm...> - 2006-04-07 01:58:33
|
This is a prob with fuse. Quick check, which version of fuse, and flickrfs are u using? Manish On 4/7/06, Danny Barron <db...@wi...> wrote: > > I believe I may have left out the most important part in my zeal of cut > and paste. If I actually got this into my post...I'm sorry to send > everyone another email. > $ python flickrfs.py ~/mnt/flickrfs/ > python: fuse_opt.c:67: fuse_opt_insert_arg: Assertion `pos <=3D > args->argc' failed. > Aborted > $ > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting > language > that extends applications into web and mobile media. Attend the live > webcast > and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D110944&bid=3D241720&dat= =3D121642 > _______________________________________________ > Flickrfs-users mailing list > Fli...@li... > https://lists.sourceforge.net/lists/listinfo/flickrfs-users > -- Final Year, ABP School of Comp. Engg. NTU, Singapore +65-97960183 |
From: Manish R. J. <man...@gm...> - 2006-04-07 01:54:16
|
I had encountered this problem once, and it was because of problem in fuse. However, a reboot (followed by mount) worked for me. Manish On 4/7/06, Danny Barron <dba...@ya...> wrote: > > Ok, assuredly I'm doing something stupid....can > someone help me figure out what though :) > I downloaded/compiled/installed the > fuse/bindings/flickrfs components...but when I try to > run it, I get something like this: > > pharazon:~/Desktop/flickrfs$ ls -al ~/mnt/flickrfs > ls: /home/dbarron/mnt/flickrfs: Transport endpoint is > not connected > pharazon:~/Desktop/flickrfs$ ls -al ~/mnt/ > total 11 > drwxr-xr-x 3 dbarron root 72 Apr 6 19:50 . > drwxr-xr-x 88 dbarron dbarron 10864 Apr 6 20:44 .. > ?--------- ? ? ? ? ? > /home/dbarron/mnt/flickrfs > > Ideas ? > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting > language > that extends applications into web and mobile media. Attend the live > webcast > and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D110944&bid=3D241720&dat= =3D121642 > _______________________________________________ > Flickrfs-users mailing list > Fli...@li... > https://lists.sourceforge.net/lists/listinfo/flickrfs-users > -- Final Year, ABP School of Comp. Engg. NTU, Singapore +65-97960183 |
From: Danny B. <db...@wi...> - 2006-04-07 01:52:04
|
I believe I may have left out the most important part in my zeal of cut and paste. If I actually got this into my post...I'm sorry to send everyone another email. $ python flickrfs.py ~/mnt/flickrfs/ python: fuse_opt.c:67: fuse_opt_insert_arg: Assertion `pos <= args->argc' failed. Aborted $ |
From: Danny B. <dba...@ya...> - 2006-04-07 01:48:00
|
Ok, assuredly I'm doing something stupid....can someone help me figure out what though :) I downloaded/compiled/installed the fuse/bindings/flickrfs components...but when I try to run it, I get something like this: pharazon:~/Desktop/flickrfs$ ls -al ~/mnt/flickrfs ls: /home/dbarron/mnt/flickrfs: Transport endpoint is not connected pharazon:~/Desktop/flickrfs$ ls -al ~/mnt/ total 11 drwxr-xr-x 3 dbarron root 72 Apr 6 19:50 . drwxr-xr-x 88 dbarron dbarron 10864 Apr 6 20:44 .. ?--------- ? ? ? ? ? /home/dbarron/mnt/flickrfs Ideas ? __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |
From: <rdm...@bi...> - 2006-02-22 15:27:07
|
Would anyone object to my deleting the @+/-node comments? They look like something from a particular editor or IDE, and I suspect they aren't that useful when multiple people are using different editors to work on the same source. --David |
From: <rdm...@bi...> - 2006-02-15 13:39:41
|
I've done a bunch of refactoring. The major accomplishment was to combine the duplicated code in the various tag threads that dealt with computing the title and meta-data for a photo into a single function. Once that was done it was a lot easier to fix the bug where a title that already contained the extension name was getting an extra copy of the extension tacked on (ex: dscn5789.jpg.jpg in the test suite). I also figured out how to get the INFO code to work for non-personal images, so now all images have metadata attached. This means you can do things like grep out the licenses attached to photos you have downloaded, which I think is a nice feature. I've still got a lot more refactoring planned. --David |
From: Manish R. J. <man...@gm...> - 2006-02-13 03:15:14
|
> > Also, I've got some other lines commented out in the tests. I expected > that after I uploaded the test image it would show up in tags/personal > like it shows up in /stream. But it didn't. One time I forgot to delete > the test image before the next run, and that time it _did_ show up. > So at this point I'm assuming its non-appearance is due to some sort > of processing delay at the flickr end. If anyone knows different, > please let me know. In the meantime the tests are expecting the > observed behavior. You won't see anything new in tags/personal if you're uploading the image after already creating the (tobe) search tag (in tags/personal). The reason is obv, coz flickrfs is not syncing with flickr currently. It just does a one time job of retrieving information. However, in your case, you're first uploading the image and then searching. It _shd_ show up, and if it doesn't show up, as you pointed out, its due to some delay at flickr side. Manish |
From: <rdm...@bi...> - 2006-02-13 01:48:15
|
OK, so I've got the tests to a point where I think I'm comfortable starting the refactoring work. The only thing I haven't done that I want/need is to test uploading an image with non-ASCII chars. I tried such a test, but I got a UnicodeDecodeError during the .encode('utf8') step, which makes no sense to me from anything I've read in the python docs or from google. Maybe I didn't write the test correctly (you can see what I tried, commented out, in the test file). Can someone with unicode/UTF8 experience check this out and see if you can find the fix? Also, I've got some other lines commented out in the tests. I expected that after I uploaded the test image it would show up in tags/personal like it shows up in /stream. But it didn't. One time I forgot to delete the test image before the next run, and that time it _did_ show up. So at this point I'm assuming its non-appearance is due to some sort of processing delay at the flickr end. If anyone knows different, please let me know. In the meantime the tests are expecting the observed behavior. --David |
From: Fabio S. <sp...@gm...> - 2006-02-10 12:53:36
|
> Thanks David. Fabio, I'd like you to take up one of the functionalities, > and complete that. For now, photo resizing is the topmost priority. At your command. :-) Well, it seems pretty easy, I will do that when I'll get the time. Meanwhile, I'm still waiting for support from sourceforge to recover my pass, I will eventually create a new account. Ciao -- Fabio |
From: <rdm...@bi...> - 2006-02-10 12:39:48
|
On Fri, 10 Feb 2006 at 08:58, Manish Rai Jain wrote: > Can you please upload the test suite to CVS. Done. I've added the set creation test. I'm going to work on fixing the remaining bugs and further improving the tests before I do any refactoring. There is a README with notes on how to run it and what its current status is. Suggestions for improvements and pointers to things it isn't testing are welcome. --David |