|
| Author |
Message |
tlc
Joined: 06 Jan 2008 Posts: 21
|
Posted: Fri Feb 22, 2008 11:50 pm Post subject: need help with "no viewable photos" and exception |
|
|
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
| Description: |
|
 Download |
| Filename: |
down.txt |
| Filesize: |
5.89 KB |
| Downloaded: |
74 Time(s) |
|
|
| Back to top |
|
 |
krkeegan Site Admin

Joined: 04 Jan 2008 Posts: 458 Location: Los Angeles, CA
|
Posted: Fri Feb 22, 2008 11:57 pm Post subject: |
|
|
wtf??
Is this a separate photo share with "type = photo"??
It looks like video.py is being called which seems odd.
|
|
| Back to top |
|
 |
tlc
Joined: 06 Jan 2008 Posts: 21
|
Posted: Sat Feb 23, 2008 12:15 am Post subject: |
|
|
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 |
|
 |
krkeegan Site Admin

Joined: 04 Jan 2008 Posts: 458 Location: Los Angeles, CA
|
Posted: Sat Feb 23, 2008 12:57 am Post subject: |
|
|
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 |
|
 |
wmcbrine

Joined: 04 Jan 2008 Posts: 2009 Location: Maryland
|
Posted: Sat Feb 23, 2008 2:21 am Post subject: |
|
|
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 |
|
 |
krkeegan Site Admin

Joined: 04 Jan 2008 Posts: 458 Location: Los Angeles, CA
|
Posted: Sat Feb 23, 2008 4:18 am Post subject: |
|
|
| cool thanks, I will merge that it.
|
|
| Back to top |
|
 |
|