Douglas - For Sale Items

Douglas 1913 Model P motorcycle

Douglas - Wanted Items

Douglas 1915 3 Spd-Gearbox and Clutch

Quick Comments

Reminders, links to interesting topics, bump your own topic, quick comments or any short message of interest to members. Try it out!
Please note - 500 character current limit


Dave

2025-01-07, 19:16:39
Forgotten your password?
Click the 'Log in' button in the main menu, then use the 'Forgot your password?' function to create a new one.

The new password will be sent to your email address. If your email address has changed since your last login, that method won't work as the email will go to the old address in your profile.
In this case, use the 'Contact' option in the main menu to send us a message and we can issue a new password.

Dave

2024-06-11, 21:02:05
Have you tried the new Drafts feature yet? I just lost a long message today and learned my lesson. It is a good idea to save a draft of any long post you are writing. You can then just keep writing and keep saving a draft, knowing you have a backup if there is a glitch. The draft is automatically deleted when you post the message.

Dave

2024-06-08, 19:30:04
For Sale
xman has two very nice 1950's machines available - a green 1950 mk4 and black 1951 mk5 - both in good condition and running well.

Dave

2024-06-07, 03:13:36

Dave

2024-06-03, 09:23:05
For Sale
Duncan has just listed his green and cream 1957 Dragonfly for sale with spares and documents.

Dave

2024-06-02, 09:34:05
Parts avalable
alistair still has parts available - barrels, carburettor, castings - see all listings.


Dave

2024-06-01, 19:33:27

Dave

2024-05-28, 01:09:46
Welcome to the new site!
Recommended viewing for a fast start...
 - Quick Tour of the Front Page
 - Quick Tour of the new Attachments
Learn all about attaching photos in the User Guide. Any problems with anything please Contact us     Faulty links fixed - 01June2024

Pre-existing file names and dumping of message

Started by cardan, 03 Nov 2018 at 09:58

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

cardan

I've been caught a couple of times with this one.

If you try to post a message with an attachment with the same name as a pre-existing attachment already on the system, you get an error message to that effect. Fair enough. But it also deletes the post you have just typed! Very frustrating.

Is the message saved somewhere, or do I just have to type it again?

Leon

Dave

Hi Leon,

Yes, that is very frustrating and it shouldn't happen. I don't know which piece of software is at fault - the browser or the forum software, probably both.
I have seen situations where the message was preserved and where it was lost. I seem to recall Google's Chrome browser was more successful in retaining the message than Mozilla's Firefox. I don't use the Microsoft browsers frequently enough to comment on how they handle it.

When the forum started back in 2004, losing messages while posting happened more frequently, even though no attachments were involved. In those days, the Preview step involved sending the message to the server and could cause problems. Now the Preview step is handled locally on the PC. But any brief loss of communication between the browser and the server would also bounce you back to a blank message window. Brief glitches were more common back then.

To hedge against these situations, I developed a habit of copying and pasting the text of a long message into Notepad, both during drafting of the message and before clicking the 'Preview' or 'Post' button. So if any kind of a glitch happened, the text is preserved in a separate application and can be recovered.  I still do this today even though I am not attaching any files. I will make a copy of this message shortly as it gets longer.

I am working on a long term plan to gradually convert all attachments to inline linked images. This will reduce the number of attachments and hence the number of pre-existing names. But there's a truckload of learning and testing involved to implement that plan.

In the meantime, there are a few things one can do to insure against name clashes and message loss in general.

1. Add the date to the beginning of the attachments in the form yyyy-mm-dd will almost certainly guarantee there is not an existing file with the same name. So '4hp.jpg' becomes '2018-11-03-4hp.jpg'.
This is recommended for all attachments. Having to repeat any post is annoying. But this alone won't protect against all possible message loss situations.

2. Using a Notepad backup for the text (suggested for any long message whether attachments included or not).
- Open Notepad.
- Put the cursor in the forum message window where you are are writing your message.
- Right click 'Select All'
- Right click 'Copy'
- Move the cursor to the Notepad window.
- Right click 'Paste'
Or you can use the keyboard shortcuts
- Control-A (select all)
- Control-C (copy)
- Control-V (paste)

Should any kind of message loss situation occur, you can recover your text from Notepad.

3. This is an easier variation of the above, but not as robust as you can't see your backup copy of the text.
- After typing your message, click on 'Preview'.
- Highlight the text in the Preview with the cursor.
- Right click 'Select All'
- Right click 'Copy'
- Now there is a copy of your text in memory
- Should a glitch of any kind occur, you can paste it back into the message window.
But please note, because you can't see your backup copy, there is no guarantee you have one.
The Notepad method is the safest option.

Dave




Doug

Dave, Leon,

I suspected the problem is in the browser, caused by an oversight in the forum. The browser actually loses the message. When the message is rejected by the forum due to the error, you are returned to the message editing window. The Forum does not save a snapshot of the editing window; as far as it is concerned it has not received a post yet. And apparently the browser does not save a copy either. It remembers the page, but the contents of the editing window are not apparently part of that page address/history. I got the same results (in FF), using the browser's back page button rather than the "back" button under the error message.

As far as incremental saves, I do the same. I have been burned more than once with a long and intricate post that went up in smoke often enough that paranoid, compulsive saves are a second nature! There is a quicker (though more ethereal) way than opening and pasting into Notepad, and that is to just use the Clipboard function only. In the text window, just do a "Crtl+A" to highlight all the text, and then a "Ctrl+C" to copy it to the Clipboard. There is no need to paste it into Notepad or other text editing application. I just do that every now and then on the fly to keep updating the Clipboard. You do have to remember to de-select the highlighted text, else you next keystroke will replace it. Then if the post does get wiped (or you hit a key without de-selecting the text!), the first thing I do is plant the cursor in the text area and do a "Ctrl+V" (paste) to recover the contents of the Clipboard.

The only time I will actually paste it into Notepad is if I am using other applications (like a word processor or email) at the same time and I might inadvertently overwrite the Clipboard from there, or if I suspect I might loose power, or I am using one of the other applications that freeze or crash the computer due to heavy demands on the CPU. Then pasting into Notepad will give a more permanent storage of the text vs. Clipboard, which is emptied when the computer shuts down.

-Doug

patrickwhitty

I've spent all morning trying to send a reply to the request for photographs of Dragonfly points and all I get is Important Notice!
Sorry! There is already an attachment with the same filename as the one you tried to upload. Please rename the file and try again.
I have tried all sorts of names, even reducing the name to a couple of full stops. Well, maybe the forum is already choked with messages titled '..'. It is, however, rather frustrating.
I did get one variation when I was told that the forum wasn't functioning. I note that other members have been able to post messages. Is it just me?

patrickwhitty

Well, that went ok, so maybe it was my photographs which were causing internetic indigestion. I could try again without the attachements but that would be a little pointless since photographs of the distributor were requested.

Doug

I suspect the "There is already an attachment with the same filename as the one you tried to upload. Please rename the file and try again." may be triggered by an underlying error besides just a duplicate file name. Excessive file size, personal embedded metadata, and some images captured by phones also seem to be problematic. The basic per-analytics of the forum attachment handling software is not that sophisticated, nor helpful in its diagnostic errors. It does not always say what is really wrong.

Best thing to do in this situation if balked is to forward the image(s) to the address shown in this topic for Admin/Moderator to subsequently attach to your post. If you could send the original file, we would like to experiment with it to try and see what the forum's issue with it is.

Doug

Updated details for emailing photos - Dave, 11Feb2021