Server Add Problem involving square brackets

aprilmay

Joined: 2009-10-16
Posts: 3
Posted: Sat, 2009-10-24 14:45

Hi,

I've downloaded both the stable release and the unstable (gallery-gallery3-e13f92a) release, and I'm encountering the same problem.

I had originally written a huge essay detailing the problem, but it seems that I've partially solved it. I have my photos sorted out in categorical order on the server, which goes pretty deep (C:\photos\2009\panasonic\lx3\(_April_)\museum\ ), and I've tried server adding from photos, and then when it failed, from 2009, etc, going down. I can verify that all my filenames and folder names are free from spaces, unicode foreign languages, and are alphanumeric with the exception of dashes and underscores.

The problem I encountered is that server add will not add photos that are contained in folders that have square brackets, as in [04-19-2009][MetroZoo][PolarBearExhibit] but the round brackets and underscores are okay, as in (_April_).

What can I do to resolve this problem?

thanks

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Sat, 2009-10-24 16:56

I can't duplicate this.

I was able to create an album with brackets in the directory name and I was also able to add an album from Server Add where the directory has square brackets.

Are you taking about 3 different directories above or one directory?

[04-19-2009]
-- [MetroZoo]
-- [PolarBearExhibit]
-- <images here>

Or
[04-19-2009][MetroZoo][PolarBearExhibit]\<images here>

____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 22892
Posted: Sat, 2009-10-24 16:57

I have verified it also does not work in linux ( windows not supported )
http://sourceforge.net/apps/trac/gallery/ticket/855

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

AttachmentSize
squareBrackts.png8.87 KB
 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Sat, 2009-10-24 17:04

It works on Linux just fine for me.

____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

AttachmentSize
G3_Server_Add_Square_Brackets.jpg22.31 KB
 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Sat, 2009-10-24 17:30

EDIT to make more clear:

o.k. It doesn't work fine for me. I don't know why I saw an image first, then don't know. One thing to note. I was about 1 day behind in git, so I updated after my first post.

I don't know if this is an Operating System/Environment issue or a bug in the code. A developer is going to need to look at this or someone with more experience at Linux than us :)

EDIT: and Dave has created a ticket so this issue can be tracked. :)
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
aprilmay

Joined: 2009-10-16
Posts: 3
Posted: Sat, 2009-10-24 18:29
nivekiam wrote:
[04-19-2009][MetroZoo][PolarBearExhibit]\<images here>

Sorry, I was talking about this scenario.

As I was in a bit of a rush, I managed to rename all the folders to parentheses rather than square brackets ... but hopefully that won't be the only solution to this problem.

Thank you everyone for their time and patience.

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 22892
Posted: Fri, 2010-01-01 20:29

Ticket 855 is now fixed:
https://sourceforge.net/apps/trac/gallery/ticket/855#comment:4

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team