ERROR_BAD_PATH (problem importing)

AvutonOlrich
AvutonOlrich's picture

Joined: 2005-03-10
Posts: 29
Posted: Thu, 2005-03-10 20:51

Hello,

Was importing photos as symlinks into an album and I got an error. It's not a big deal, I just wanted to post it somewhere in case it's an issue that needs to be fixed.

Thanks
:evil: Avuton Olrich :evil:

Error Detail -
Error (ERROR_BAD_PATH) : /mnt/aux/pictures/personal/military/westpac_2000/At_Sea/USS Denver- Bahrain.jpg

* in modules/core/classes/GalleryPhotoItem.class at line 121 (gallerystatus::error)
* in modules/core/classes/helpers/GalleryItemHelper_medium.class at line 207 (galleryphotoitem::create)
* in modules/core/classes/GalleryCoreApi.class at line 1382 (galleryitemhelper_medium::additemtoalbum)
* in modules/core/ItemAddFromServer.inc at line 146 (gallerycoreapi::additemtoalbum)
* in modules/core/ItemAddFromServer.inc at line 264 (itemaddfromserver::additem)
* in modules/core/ItemAddFromServer.inc at line 257 (itemaddfromserver::adddirectory)
* in modules/core/ItemAddFromServer.inc at line 257 (itemaddfromserver::adddirectory)
* in modules/core/ItemAddFromServer.inc at line 257 (itemaddfromserver::adddirectory)
* in modules/core/ItemAddFromServer.inc at line 95 (itemaddfromserver::adddirectory)
* in modules/core/ItemAdd.inc at line 72 (itemaddfromserver::handlerequest)
* in main.php at line 166 (itemaddcontroller::handlerequest)
* in main.php at line 46
* in main.php at line 39

---


System Information
Gallery version 2.0-beta-1
PHP version 4.3.10 apache2handler
Webserver Apache/2.0.52 (Gentoo/Linux) mod_python/3.1.3 Python/2.3.4 mod_ssl/2.0.52 OpenSSL/0.9.7e PHP/4.3.10
Database mysql 4.0.22
Toolkits ImageMagick, NetPBM, Gd
Operating system Linux shapeshifter 2.6.10 #3 Mon Jan 17 10:20:10 PST 2005 i686
Browser Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.6) Gecko/20050227 Firefox/1.0.1

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Thu, 2005-03-10 21:13

can you test to see if this is a space-in-filename problem? thanks!

 
AvutonOlrich
AvutonOlrich's picture

Joined: 2005-03-10
Posts: 29
Posted: Mon, 2005-03-14 01:30
mindless wrote:
can you test to see if this is a space-in-filename problem? thanks!

OK, looking at the file it's supposed to be it includes the character '+'. Is it documented that the '+' character is unusable in the file?

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Mon, 2005-03-14 04:58

maybe we'll fix it rather than document it :-)
url-encodings use + to represent a space.. perhaps something is translating + to space when it really should be a +
can you file a bug on sourceforge for this? thanks.