Bug#432703: flickrfs: no sets directory

2008-01-22 Thread Y Giridhar Appaji Nag
On 08/01/22 14:15 +0530, Varun Hiremath said ...
 Hmm.. looks like you have too many sets. It just works for me.

You should expect people to have plenty of sets.  In particular, people
who would want to use flickrfs will have a lot of pictures with a flickr
paid account and also a lot of sets :).

 Could you please try again? I have tried to put the threads in
 background this time.
 
 http://people.debian.org/~varun/flickrfs_1.3.9.1-7_all.deb

This works like a charm.

Except that I can't seem to look at the directory as a different user.

$ id
uid=1000(appaji) gid=100(users)
groups=6(disk),24(cdrom),25(floppy),27(sudo),29(audio),44(video),100(users),104(nvram),105(thinkpad),112(powerdev),113(netdev),114(vmware),126(fuse)
$ pwd
/home/appaji
$ ls -ld mount
drwxr-xr-x 4 appaji users 0 2008-01-22 14:05 mount
[able to browse and look at stuff]

And as a different user

$ id
uid=5908(giridhar) gid=30(engr)
groups=6(disk),24(cdrom),25(floppy),27(sudo),29(audio),30(engr),44(video),100(users),104(nvram),105(thinkpad),112(powerdev),113(netdev),114(vmware),3001(btceng)
$ pwd
/home/appaji
$ ls -ld mount
ls: mount: Permission denied
$ ls -l
[snip...]
drwx--  2 appaji users   4096 2006-05-25 17:32 Mail
?-  ? ?  ?  ?? mount
drwxr-xr-x  4 appaji users   4096 2007-07-01 15:14 n73
[snip...]

But I suppose we can file this as a different bug and not cover it under
this one.

 Thanks a lot for testing.

My pleasure.

Giridhar

-- 
Y Giridhar Appaji Nag | http://www.appaji.net/


signature.asc
Description: Digital signature


Bug#432703: flickrfs: no sets directory

2008-01-22 Thread Varun Hiremath
Hi,

On Tue, 22 Jan, 2008 at 11:20:12AM +0530, Y Giridhar Appaji Nag wrote:
 On 08/01/22 07:30 +0530, Varun Hiremath said ...
  This seems to be some new bug with unicode strings. I have added a
  patch to log this error. Could you please try the updated package?
  
  http://people.debian.org/~varun/flickrfs_1.3.9.1-7_all.deb
 
 I gave this a spin on testing.  No joy.
 
 $ flickrfs mount 
 Authorizing with flickr...
 Authorization complete.
 Sets are being populated in the background.
 $
 ls -l mount
 [hangs here...]
 
 ... In another terminal
 
 $ sudo strace -f -p 5564 (5564 is the pid of /usr/bin/python 
 /usr/bin/flickrfs mount)
 Process 5597 attached with 3 threads - interrupt to quit
 [pid  5564] futex(0xbfa9bdd4, 0x80 /* FUTEX_??? */, 0 unfinished ...
 [pid  5596] read(7,  unfinished ...
 [pid  5597] futex(0x408e3550, FUTEX_WAIT, 1, NULL unfinished ...
 [hangs here...]

Hmm.. looks like you have too many sets. It just works for me.

[1:[EMAIL PROTECTED]|~] ls snaps/
[1:[EMAIL PROTECTED]|~] flickrfs snaps/
Authorizing with flickr...
Authorization complete.
Sets are being populated in the background.
[1:[EMAIL PROTECTED]|~] ls snaps/
sets  tags
[1:[EMAIL PROTECTED]|~] ls snaps/sets/
Evening  IIT Madras  Insects
[1:[EMAIL PROTECTED]|~] ls -l snaps/sets/Evening/
total 0
-rwxr--r-- 1 god god 0 2007-08-29 01:51 A hot summer Chennai
sunset.jpg
-rwxr--r-- 1 god god 0 2007-12-13 04:09 A view from Horsley Hills.jpg
-rwxr--r-- 1 god god 0 2007-08-05 11:02 Awesome threesome !!!.jpg
-rwxr--r-- 1 god god 0 2007-10-02 13:48 Birds enjoying the cool
weather.jpg
-rwxr--r-- 1 god god 0 2007-08-22 21:02 Break time for the Sun.jpg
..[snip]..

Could you please try again? I have tried to put the threads in
background this time.

http://people.debian.org/~varun/flickrfs_1.3.9.1-7_all.deb

Thanks a lot for testing.

Regards
Varun

-- 
Varun Hiremath
Undergraduate Student,
Aerospace Engineering Department,
Indian Institute of Technology Madras,
Chennai, India
-
Homepage: http://varun.travisbsd.org



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#432703: flickrfs: no sets directory

2008-01-22 Thread Varun Hiremath
On Tue, 22 Jan, 2008 at 02:12:20PM +0530, Y Giridhar Appaji Nag wrote:
 On 08/01/22 14:15 +0530, Varun Hiremath said ...
  Hmm.. looks like you have too many sets. It just works for me.
 
 You should expect people to have plenty of sets.  In particular, people
 who would want to use flickrfs will have a lot of pictures with a flickr
 paid account and also a lot of sets :).

Yes, I agree.. :-)

 
  Could you please try again? I have tried to put the threads in
  background this time.
  
  http://people.debian.org/~varun/flickrfs_1.3.9.1-7_all.deb
 
 This works like a charm.

Great!

 
 Except that I can't seem to look at the directory as a different user.
 
 $ id
 uid=1000(appaji) gid=100(users)
 groups=6(disk),24(cdrom),25(floppy),27(sudo),29(audio),44(video),100(users),104(nvram),105(thinkpad),112(powerdev),113(netdev),114(vmware),126(fuse)
 $ pwd
 /home/appaji
 $ ls -ld mount
 drwxr-xr-x 4 appaji users 0 2008-01-22 14:05 mount
 [able to browse and look at stuff]
 
 And as a different user
 
 $ id
 uid=5908(giridhar) gid=30(engr)
 groups=6(disk),24(cdrom),25(floppy),27(sudo),29(audio),30(engr),44(video),100(users),104(nvram),105(thinkpad),112(powerdev),113(netdev),114(vmware),3001(btceng)
 $ pwd
 /home/appaji
 $ ls -ld mount
 ls: mount: Permission denied

Hmm.. this could be something to do with fuse permissions. Does fuse
allow other users to view mounted drives? I will have to check this.

BTW, user 'giridhar' is not in fuse group.. could you please add
yourself to fuse and check.


 $ ls -l
 [snip...]
 drwx--  2 appaji users   4096 2006-05-25 17:32 Mail
 ?-  ? ?  ?  ?? mount
 drwxr-xr-x  4 appaji users   4096 2007-07-01 15:14 n73
 [snip...]
 
 But I suppose we can file this as a different bug and not cover it under
 this one.
 
  Thanks a lot for testing.
 
 My pleasure.
 
 Giridhar
 
 -- 
 Y Giridhar Appaji Nag | http://www.appaji.net/

Regards
Varun

-- 
Varun Hiremath
Undergraduate Student,
Aerospace Engineering Department,
Indian Institute of Technology Madras,
Chennai, India
-
Homepage: http://varun.travisbsd.org



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#432703: flickrfs: no sets directory

2008-01-22 Thread Y Giridhar Appaji Nag
On 08/01/23 11:24 +0530, Varun Hiremath said ...
  BTW, user 'giridhar' is not in fuse group.. could you please add
  yourself to fuse and check.
 
 I checked this, and it looks like fuse doesn't allow viewing drives
 mounted by other users.

Sure, thank you.

 Is everything else working fine in flickrfs? I hope I haven't
 introduced any new bug :-)

Looks OK to me.

Giridhar

-- 
Y Giridhar Appaji Nag | http://www.appaji.net/


signature.asc
Description: Digital signature


Bug#432703: flickrfs: no sets directory

2008-01-21 Thread Varun Hiremath
Hi,

On Mon, 21 Jan, 2008 at 11:07:36AM +0530, Y Giridhar Appaji Nag wrote:
 On 07/08/20 00:51 +0200, Roberto Lumbreras said ...
  The debian version is already including all last CVS changes (more
  than two months ago).
  
  I've checked one more time and the bug is still there, this time with
  a different computer, with testing updated two weeks ago.
 
 I also see this problem.
 
 I am not allowed to create the sets directory (which is the expected
 behaviour) but if I uncomment the self._mkdir in __init__, I see the
 sets directory but no files in there.  Actually, It looks like the sets
 thread should create the sets directory but the thread doesn't even
 start let alone start the sync.
 
 There isn't anything in the tags/{public,private} directories either.
 
 Maybe we are just passing over some exception.
 

I spent some time today debugging this, and I think I have managed to
fix this bug. The new package is available here:

http://people.debian.org/~varun/flickrfs_1.3.9.1-7_all.deb

Could you please check and tell me if it works.

Regards
Varun

-- 
Varun Hiremath
Undergraduate Student,
Aerospace Engineering Department,
Indian Institute of Technology Madras,
Chennai, India
-
Homepage: http://varun.travisbsd.org



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#432703: flickrfs: no sets directory

2008-01-21 Thread Roberto Lumbreras
Hi...

It doesnt't work for me:

$ flickrfs ~/flickr
Authorizing with flickr...
Authorization complete.
Traceback (most recent call last):
  File /usr/bin/flickrfs, line 1097, in ?
server = Flickrfs()
  File /usr/bin/flickrfs, line 202, in __init__
self.sync_sets_thread();
  File /usr/bin/flickrfs, line 341, in sync_sets_thread
if (title,0) not in setListLocal: #New set added online
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 10: 
ordinal not in range(128)
$ ls ~/flickr
$ 

Salud,
-- 
Roberto Lumbreras   .''`.
rover : :' : debian.org
Debian Developer   `. `' 
 `-  

On Tue, Jan 22, 2008 at 12:35:52AM +0530, Varun Hiremath wrote:
: Hi,
: 
: On Mon, 21 Jan, 2008 at 11:07:36AM +0530, Y Giridhar Appaji Nag wrote:
:  On 07/08/20 00:51 +0200, Roberto Lumbreras said ...
:   The debian version is already including all last CVS changes (more
:   than two months ago).
:   
:   I've checked one more time and the bug is still there, this time with
:   a different computer, with testing updated two weeks ago.
:  
:  I also see this problem.
:  
:  I am not allowed to create the sets directory (which is the expected
:  behaviour) but if I uncomment the self._mkdir in __init__, I see the
:  sets directory but no files in there.  Actually, It looks like the sets
:  thread should create the sets directory but the thread doesn't even
:  start let alone start the sync.
:  
:  There isn't anything in the tags/{public,private} directories either.
:  
:  Maybe we are just passing over some exception.
:  
: 
: I spent some time today debugging this, and I think I have managed to
: fix this bug. The new package is available here:
: 
: http://people.debian.org/~varun/flickrfs_1.3.9.1-7_all.deb
: 
: Could you please check and tell me if it works.
:
: Regards
: Varun
: 
: -- 
: Varun Hiremath
: Undergraduate Student,
: Aerospace Engineering Department,
: Indian Institute of Technology Madras,
: Chennai, India
: -
: Homepage: http://varun.travisbsd.org




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#432703: flickrfs: no sets directory

2008-01-21 Thread Varun Hiremath
Hi Roberto,

Thanks for trying the new package.

On Mon, 21 Jan, 2008 at 08:50:59PM +0100, Roberto Lumbreras wrote:
 Hi...
 
 It doesnt't work for me:
 
 $ flickrfs ~/flickr
 Authorizing with flickr...
 Authorization complete.
 Traceback (most recent call last):
   File /usr/bin/flickrfs, line 1097, in ?
 server = Flickrfs()
   File /usr/bin/flickrfs, line 202, in __init__
 self.sync_sets_thread();
   File /usr/bin/flickrfs, line 341, in sync_sets_thread
 if (title,0) not in setListLocal: #New set added online
 UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 10: 
 ordinal not in range(128)
 $ ls ~/flickr
 $ 

This seems to be some new bug with unicode strings. I have added a
patch to log this error. Could you please try the updated package?

http://people.debian.org/~varun/flickrfs_1.3.9.1-7_all.deb

Thanks
Varun

-- 
Varun Hiremath
Undergraduate Student,
Aerospace Engineering Department,
Indian Institute of Technology Madras,
Chennai, India
-
Homepage: http://varun.travisbsd.org



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#432703: flickrfs: no sets directory

2008-01-21 Thread Y Giridhar Appaji Nag
On 08/01/22 07:30 +0530, Varun Hiremath said ...
 This seems to be some new bug with unicode strings. I have added a
 patch to log this error. Could you please try the updated package?
 
 http://people.debian.org/~varun/flickrfs_1.3.9.1-7_all.deb

I gave this a spin on testing.  No joy.

$ flickrfs mount 
Authorizing with flickr...
Authorization complete.
Sets are being populated in the background.
$
ls -l mount
[hangs here...]

... In another terminal

$ sudo strace -f -p 5564 (5564 is the pid of /usr/bin/python /usr/bin/flickrfs 
mount)
Process 5597 attached with 3 threads - interrupt to quit
[pid  5564] futex(0xbfa9bdd4, 0x80 /* FUTEX_??? */, 0 unfinished ...
[pid  5596] read(7,  unfinished ...
[pid  5597] futex(0x408e3550, FUTEX_WAIT, 1, NULL unfinished ...
[hangs here...]

Giridhar

-- 
Y Giridhar Appaji Nag | http://www.appaji.net/


signature.asc
Description: Digital signature


Bug#432703: flickrfs: no sets directory

2008-01-20 Thread Y Giridhar Appaji Nag
On 07/08/20 00:51 +0200, Roberto Lumbreras said ...
 The debian version is already including all last CVS changes (more
 than two months ago).
 
 I've checked one more time and the bug is still there, this time with
 a different computer, with testing updated two weeks ago.

I also see this problem.

I am not allowed to create the sets directory (which is the expected
behaviour) but if I uncomment the self._mkdir in __init__, I see the
sets directory but no files in there.  Actually, It looks like the sets
thread should create the sets directory but the thread doesn't even
start let alone start the sync.

There isn't anything in the tags/{public,private} directories either.

Maybe we are just passing over some exception.

Giridhar

-- 
Y Giridhar Appaji Nag | http://www.appaji.net/


signature.asc
Description: Digital signature


Bug#432703: flickrfs: no sets directory

2007-08-18 Thread Varun Hiremath
Hi,

On Wed, 11 Jul, 2007 at 03:35:29PM +0200, Roberto Lumbreras wrote:
 Package: flickrfs
 Version: 1.3.9.1-3
 Severity: important
 
 
 flickrfs does not work anymore...
 
 [EMAIL PROTECTED]:~$ flickrfs ~/flickr
 Authorizing with flickr...
 Authorization complete.
 [EMAIL PROTECTED]:~$ ls -l ~/flickr
 total 0
 drwxr-xr-x 4 rover rover 0 2007-07-11 15:34 tags
 [EMAIL PROTECTED]:~$ 
 
 there is no sets directory?!!!

Since, I have not been able to reproduce this bug on my system. Could
you please checkout the upstream sources from the CVS[1] and check if
the problem still persists. The upstream author wants to be sure that
the bug is not fixed in the CVS also before trying to debug it.

[1]: http://flickrfs.cvs.sourceforge.net/flickrfs/flickrfs/

Regards
Varun

-- 
Varun Hiremath
Undergraduate Student,
Aerospace Engineering Department,
Indian Institute of Technology Madras,
Chennai, India
---
Homepage : http://varun.travisbsd.org


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#432703: flickrfs: no sets directory

2007-07-11 Thread Roberto Lumbreras
Package: flickrfs
Version: 1.3.9.1-3
Severity: important


flickrfs does not work anymore...

[EMAIL PROTECTED]:~$ flickrfs ~/flickr
Authorizing with flickr...
Authorization complete.
[EMAIL PROTECTED]:~$ ls -l ~/flickr
total 0
drwxr-xr-x 4 rover rover 0 2007-07-11 15:34 tags
[EMAIL PROTECTED]:~$ 

there is no sets directory?!!!

Regards,
Roberto Lumbreras

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.21-2-k7 (SMP w/1 CPU core)
Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages flickrfs depends on:
ii  fuse-utils  2.6.5-1  Filesystem in USErspace (utilities
ii  python  2.4.4-6  An interactive high-level object-o
ii  python-central  0.5.14   register and build utility for Pyt
ii  python-fuse 1:0.2-pre3-3 Python bindings for FUSE (Filesyst

Versions of packages flickrfs recommends:
ii  epiphany-browser [www 2.18.2-1   Intuitive GNOME web browser
ii  iceape-browser [www-b 1.1.2-1Iceape Navigator (Internet browser
ii  iceweasel [www-browse 2.0.0.4-1  lightweight web browser based on M
ii  imagemagick   7:6.2.4.5.dfsg1-1  Image manipulation programs
ii  links [www-browser]   0.99+1.00pre12-1.2 Character mode WWW browser
ii  lynx-ssl [www-browser 1:2.8.4.1b-3.1 Text-mode WWW Browser supporting S
ii  w3m [www-browser] 0.5.1-5.1  WWW browsable pager with excellent

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]