Home | Blog | Software | Reviews and Features | Forum | Help | Donate | About us
topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • December 11, 2016, 02:06:18 AM
  • Proudly celebrating 10 years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: Folder Node does not like spaces in filenames  (Read 3645 times)

ScreenManiac

  • Supporting Member
  • Joined in 2014
  • **
  • Posts: 87
    • View Profile
    • Donate to Member
Folder Node does not like spaces in filenames
« on: December 07, 2014, 03:04:36 AM »
It will list all existing files, but upon clicking opens only those without spaces in the name.

No big deal, I can simply Ctrl click to open the containing folder. But it were more comfortable not having to take this detour.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 36,435
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Folder Node does not like spaces in filenames
« Reply #1 on: December 07, 2014, 03:23:25 AM »
Thanks i will fix.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 36,435
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Folder Node does not like spaces in filenames
« Reply #2 on: December 19, 2014, 12:50:19 AM »
Question -- is it having trouble opening files with spaces in the name or only files that have spaces at the BEGINNING or END of their filename?

ScreenManiac

  • Supporting Member
  • Joined in 2014
  • **
  • Posts: 87
    • View Profile
    • Donate to Member
Re: Folder Node does not like spaces in filenames
« Reply #3 on: December 19, 2014, 03:10:01 PM »
In the middle of file names, the blanks between words. Replacing them with underscores solves the problem, but that has repurcussions on other programs that depend on these files.

Not something I could not live with, just wanted to mention it. If you can fix it easily, great, if not, I'll keep opening their parent folder.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 36,435
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Folder Node does not like spaces in filenames
« Reply #4 on: December 19, 2014, 03:15:58 PM »
Spaces in the middle of file names should not cause any problems for LBC and that is a bug that needs to be fixed asap.
Problem is I am having a hard time reproducing the issue.
Any way you could help me reproduce the issue or any other clues?

ps.
I'm updating a beta release with bugfixes here:
http://www.donationc...dex.php?topic=2578.0

ScreenManiac

  • Supporting Member
  • Joined in 2014
  • **
  • Posts: 87
    • View Profile
    • Donate to Member
Re: Folder Node does not like spaces in filenames
« Reply #5 on: December 20, 2014, 10:26:28 AM »
Step by step:
I add a 2nd level subtree on the left side
I assign it the Node Tye: Folder
Checkmark "Divide Leter Groups" = ON
Root Folder to Display: ..\MyHelp
Accept File Patterns: *.htm*|*.chm

That's about it. The folder "MyHelp" contains the output of my personal wiki-system, exported mostly as html, some longer topics as chm. Some have file names like "JPEG Illuminator.html" or "A + B Company.html". No error message or anything, LCB simply refuses to do anything with them. Renaming them to "JPEG_Illuminator" and "A_+_B_Company" solves the problem.

I am on Win7.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 36,435
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Folder Node does not like spaces in filenames
« Reply #6 on: December 20, 2014, 10:34:12 AM »
Ok so without trying to reproduce yet, i am noticing that those are both HTML files.. i wonder.. could you see if the behavior is also present on non .html files?

ScreenManiac

  • Supporting Member
  • Joined in 2014
  • **
  • Posts: 87
    • View Profile
    • Donate to Member
Re: Folder Node does not like spaces in filenames
« Reply #7 on: December 20, 2014, 03:21:27 PM »
You're right, doesn't happen with chm and txt - never noticed that it does indeed only occur with html files.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 36,435
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Folder Node does not like spaces in filenames
« Reply #8 on: December 20, 2014, 03:39:23 PM »
next question:

if you go to the main Options node, and the second tab "Program Options 2", what do you have for Custom Internet Browser?
If you have something specified and are using $$1, try "$$1" instead.

IainB

  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 6,143
  • Slartibartfarst
    • View Profile
    • Donate to Member
Re: Folder Node does not like spaces in filenames
« Reply #9 on: December 20, 2014, 04:22:39 PM »
Ok so without trying to reproduce yet, i am noticing that those are both HTML files.. i wonder.. could you see if the behavior is also present on non .html files?
Good point. I have noticed that other software and file-handlers sometimes dislike .html files with embedded spaces in the filename. I had presumed this was in line with some obscure Microsoft or other filenaming standard that I was unaware of.

ScreenManiac

  • Supporting Member
  • Joined in 2014
  • **
  • Posts: 87
    • View Profile
    • Donate to Member
Re: Folder Node does not like spaces in filenames
« Reply #10 on: December 25, 2014, 01:46:17 AM »
"Program Options 2", what do you have for Custom Internet Browser?
Nothing, the whole field is empty.
Firefox is my default browser which opens the help.html files when dbl-clicking them directly after I call up their folder by Ctrl-clicking their file names in LBC. I discovered I can also right-click them from LBC and choose OPEN which works fine too, so again, no worries here if it's too much hassle to fix it.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 36,435
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Folder Node does not like spaces in filenames
« Reply #11 on: December 25, 2014, 05:25:55 AM »
i'll look into it again, now that i know the basic cause.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 36,435
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Folder Node does not like spaces in filenames
« Reply #12 on: December 25, 2014, 05:35:40 AM »
Ok, I think i have fixed the problem; can you redownload the newly uploaded beta and give it a try?

ScreenManiac

  • Supporting Member
  • Joined in 2014
  • **
  • Posts: 87
    • View Profile
    • Donate to Member
Re: Folder Node does not like spaces in filenames
« Reply #13 on: December 26, 2014, 12:43:00 PM »
Thanks. That did the trick. It works fine now.  :Thmbsup:

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 36,435
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Folder Node does not like spaces in filenames
« Reply #14 on: December 26, 2014, 02:25:16 PM »
 :up: