pyTivo Discussion Forum Forum Index pyTivo Discussion Forum
Answers and the development of pyTivo a TiVo transcoding server
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

need help with "no viewable photos" and exception

 
Post new topic   Reply to topic    pyTivo Discussion Forum Forum Index -> Support
 View previous topic :: View next topic  
Author Message
tlc



Joined: 06 Jan 2008
Posts: 21

PostPosted: Fri Feb 22, 2008 11:50 pm    Post subject: need help with "no viewable photos" and exception Reply with quote

I'm running the most recent snapshot from here: http://repo.or.cz/w/pyTivo/wmcbrine.git (log comment "Neater.").

A quick video test works fine. But I traverse photos and never see photos. A directory with photos and sub-dirs shows the sub-dirs. When I get to a directory with only photos, I see "This folder does not contain any viewable photos". When I return from that it throws an exception.

If anyone could recommend a version with a confirmed working photo module, I'd appreciate it. We've got people coming over tomorrow and we want to show photos.

-tlc



down.txt
 Description:
log

Download
 Filename:  down.txt
 Filesize:  5.89 KB
 Downloaded:  74 Time(s)

Back to top
View user's profile Send private message
krkeegan
Site Admin


Joined: 04 Jan 2008
Posts: 458
Location: Los Angeles, CA

PostPosted: Fri Feb 22, 2008 11:57 pm    Post subject: Reply with quote

wtf??

Is this a separate photo share with "type = photo"??

It looks like video.py is being called which seems odd.
Back to top
View user's profile Send private message Visit poster's website
tlc



Joined: 06 Jan 2008
Posts: 21

PostPosted: Sat Feb 23, 2008 12:15 am    Post subject: Reply with quote

OK, weird. It's working now, but how it got working...

I had video share [Mastershake] and photo share [Mastershake Images]. Based on you pointing out the video was being called, I changed to [Mastershake_Images]. Same problem.

So I tried [Images] and it worked. I thought "no way they're substring matching" and tried [Mastershake_Images] again (which worked this time) then [Mastershake Images] again which also worked.

I'm quite sure I'm only running one copy and restarted it after each change. There's not a cache stored across invocations is there? Because before all this I had mistakenly configured both shares to be [Mastershake].

Thanks,
tlc
Back to top
View user's profile Send private message
krkeegan
Site Admin


Joined: 04 Jan 2008
Posts: 458
Location: Los Angeles, CA

PostPosted: Sat Feb 23, 2008 12:57 am    Post subject: Reply with quote

yeah there are a few places where we use "startswith" to catch things. We have been trying to clean them up but i suspect one or two is still out there.

In the mean time i would recommend not using shares that start with the same name.
Back to top
View user's profile Send private message Visit poster's website
wmcbrine



Joined: 04 Jan 2008
Posts: 2009
Location: Maryland

PostPosted: Sat Feb 23, 2008 2:21 am    Post subject: Reply with quote

Argh. Yes, I'd fixed armooo's first "startswith", for send_file(), but missed the second one, for QueryContainer(). Fixed now in my repo.
_________________
My pyTivo fork . My page
Back to top
View user's profile Send private message Visit poster's website
krkeegan
Site Admin


Joined: 04 Jan 2008
Posts: 458
Location: Los Angeles, CA

PostPosted: Sat Feb 23, 2008 4:18 am    Post subject: Reply with quote

cool thanks, I will merge that it.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    pyTivo Discussion Forum Forum Index -> Support All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum
Site is in NO WAY affiliated with TiVo Inc

Powered by phpBB © 2001, 2005 phpBB Group
phpBB SEO

Get pytivo at SourceForge.net. Fast, secure and Free Open Source software downloads
[ Time: 0.1756s ][ Queries: 14 (0.0142s) ][ GZIP on - Debug on ]