Hi,
I set up a project to publish, and had excluded all files in the folders ".hg", "Patches" and "Tests", so that my Excluded Files and Folders list looked like this
.hg\*.*
Patches\*.*
Tests\*.*
All was well until I wanted to exclude the auto-generated CSS test files, e.g. "prev0~.htm"
On the Project panel I clicked the "Projects" button, then "Manage Projects..." then edited the project I'd set up. I went to the "Excluded Files and Folders" tab, and clicked the "Add Folder..." button. I selected the "In all folders" radio button and added the file mask "*~.htm" in the "Exclude files of type" drop list. Finally, I clicked "OK", "OK" again and "Close" buttons.
That appeared to work, as the "prev0~.htm" and "prev3~.htm" files disappeared from file list in the project. But when I click the "Publish Project to FTP" button, I get a "List index out of bounds (12)" error although the number in parentheses sometimes changes.
Editing the project and removing the "*~.htm" file mask allows the publish to work without error again, although I then have to manually uncheck any *~.htm files.
A bit more testing shows that the exclusion works as expected if I enter it before the other "Only in selected folder(s)" masks. That is, when Excluded Files and Folders looks like this:
*~.htm
.hg\*.*
Patches\*.*
Tests\*.*
publishing works without error, but when it looks like this:
.hg\*.*
Patches\*.*
Tests\*.*
*~.htm
I get the "List index out of bounds".
Also, while trying things out, I spotted what may be another problem. I set a folder exclusion mask of "Only in selected folder(s)", highlighting the the top level folder of my project, and a file mask of test*.html. I expected that to exclude any HTML files beginning with "test", but only in the top level folder, nowhere else. My Excluded Files and Folders list now looked like this:
.hg\*.*
Patches\*.*
Tests\*.*
\test*.html
But the project list still showed the file "test1.html" in the root folder of my project. Publishing still generated a "List index out of bounds", but there's the secondary issue that a file mask seems to be ignored if it's set to take effect only in the top-level folder.
I'm using HTMLPad 2011 v11.1 (11.1.0.128) under Windows XP SP3.
--
Narny
"List index out of bounds (12)" publishing project
Moderator: kfury77
Forum rules
Please try to follow these guidelines. This will help to receive faster and more accurate response.
Please try to follow these guidelines. This will help to receive faster and more accurate response.
- Check the Support section of the corresponding product first. Chances are you will find your answer there;
- Do not create new topics for already reported problems. Add your comments to the existing topics instead;
- Create separate topic for each problem request. Do NOT post a number of non-related problem reports in a single topic;
- Give your topic a meaningful title. Titles such as "A question," "Bug report" and "Help!" provide others no clue what your message is about;
- Include the version number of the software you are using;
- This is not an official customer support helpdesk. If you need a prompt and official response, please contact our support team directly instead. It may take a while until you receive a reply in the forum;
- Karlis
- Site Admin
- Posts: 3605
- Joined: Mon Jul 15, 2002 5:24 pm
- Location: Riga, Latvia, Europe
- Contact:
Re: "List index out of bounds (12)" publishing project
I have no luck reproducing this error. Can you provide steps how to reproduce this on an empty project with just a few files? The error means that program tried to access some more items than in the list or some item that was supposed to be in the list but is not there.