|
Post by KB on Nov 6, 2005 23:06:35 GMT
Hello,
After checking out a bug reported in one of the threads below, I have just realised that there is a strange problem whereby the word count can be trhown off slightly. You can see this in the Tutorial, even. Select the whole of the text in either Step 11 or Step 15 and delete it - even with no words in the text view, the word count will read 1 for these two documents.
Now, the word count is cached, so this isn't a problem in the word counting routines themselves. Rather, at some point, a word has been wiped but the document didn't save the change - or something.
The problem is that I am having problems recreating when this happens.
I would be very grateful to anybody who can look out for this and provide me with steps to recreate the bug. Essentially, I need to locate exactly where and when the word count gets thrown off - the exact circumstances - before I can squash the bug.
Thanks to anybody who is willing to try finding, Keith
|
|
nina
New Member
Posts: 8
|
Post by nina on Nov 7, 2005 2:58:41 GMT
This might be related...
Tonight I was working in a document I had worked on earlier this afternoon. According to Scrivener, when I began the session, my word count (in Target) was 6,153/50,000 (I have three documents or chapters in draft).
In full screen mode, I added to the document. Then I went back and cut a section then pasted it to the very bottom of the document. I continued to write a few more paragraphs.
I existed full screen and checked my daily stats (I know that feature isn't complete yet). It told me I wrote 148 words for this particular session.
Then I checked my Target. It read: 5,228/50,000!
I did not delete anything from the document. My earlier cut and paste involved a sentence of 14 words.
|
|
nina
New Member
Posts: 8
|
Post by nina on Nov 7, 2005 3:06:33 GMT
In case this is important, I should note that in my afternoon writing session (when I achieved the word count of 6153), I did a test Export (both Export Files and Export Draft). I didn't open the program to write until now and got the funky word count.
My preferences for this document are:
font: Mshtakan, 12pt line spacing: double
In full screen, I had a zoom of 150%.
|
|
|
Post by ambimb on Nov 7, 2005 12:25:07 GMT
|
|
|
Post by ambimb on Nov 7, 2005 12:39:19 GMT
As a test, I just exported all my documents from my NaNo project. In that NaNo project the counts were: Right-click and Target window: 6567 Bottom of drafts window: 8296
Then I created a new project (NaNo2) and imported all the documents I previously exported. After moving them from the Research folder into the Drafts folder, the counts were: Right-click and Target window: 8286 Bottom of drafts window: 8294
So that's how it should work, right? Maybe I'll continue using the NaNo2 project and see if I can tell when/if the word counts start to diverge....
(The only trouble w/that is that the export didn't preserve what was on my notecards or in my notes panes. Will those things ever be preserved in export? They could be kind of important...)
|
|
nina
New Member
Posts: 8
|
Post by nina on Nov 7, 2005 19:01:29 GMT
here's another funky word count problem that I forgot to mention.
I have three chapters under Drafts. One whole chapter I cut and pasted from JNW. The word count at the bottom of the screen reads zero, although there's about 1,000 words on the screen. But this gets even weirder: according to Scrivener, there are 5,573 characters in the document!
Another strange phenom: I cut and pasted another chapter from JNW into a new document in Scrivener. Same thing: word count reads zero. When I added to the document in Scrivener, the word count started at 1 and continued until I stopped. Basically word count was counting only the section I added, and not the cut and pasted portion.
|
|
|
Post by KB on Nov 7, 2005 19:07:07 GMT
Thanks for input so far... This one is driving me nuts. This, along with the scrolling issues in full screen, are what's holding up the next beta. I need to fix these first. I still can't isolate it. I have been playing around with typing in various views, saving, everything I can think of, for hours last night and since I got home tonight - and still I can't throw the word count off. And yet I know it happens. If anybody can isolate a case in which this happens I would be very grateful. In fact, I will put the first person who can give me exact steps to reproduce this bug on the "Version 1.0 for free" list, okay? Thanks, Keith
|
|
|
Post by ambimb on Nov 8, 2005 0:53:01 GMT
Nina's post jogged my memory a little more about how this word count discrepancy first appeared -- I think it's related to to the cutting and pasting from another program. Here's why: I started my writing projecte in another program and I got abotu 1500 words done. Then I copied those words and pasted into Scrivener and kept writing. Since then, the word counts have been off by about 1500 words. So it looks kind of like Scrivener is just not counting any words that are pasted in from elsewhere. Do you think that could be?
|
|
|
Post by KB on Nov 8, 2005 6:34:51 GMT
It *might* be related, but on the other hand I have tried cutting and pasting from other programs with no problem. Moreover, the word count is off by one word in two documents in the tutorial, and nothing was cut and pasted in there - the whole thing was typed within Scrivener. (The only thing I did was change the fonts to all the documents, but again, after testing I still can't reroduce it.)
At least I think I have a fix for the full screen bug... But ike I say, there if anyone can help me find a surefire way to throw the word count off, there's a free copy in it upon release.
Thanks! Keith
|
|
|
Post by chumbake on Nov 10, 2005 5:31:48 GMT
GRRRRRR. I'm pretty frustrated now too. I've spent quite some time tonight with that stinking Step 11 and 15. I've typed it exactly and differently and created other documents and deleted and added and saved and just done all sorts of things to get that word count to be off, but I just can't get it to be wrong. Step 11 is definitely 234 words! Where's the invisible word coming from?
Well KB, I hadn't seen anyone else reply to this thread so I just wanted you to know that there are those of us out here trying to find these bugs and help you out. You're not alone. We'll get this one!!!
|
|
|
Post by KB on Nov 10, 2005 6:38:25 GMT
Thanks for trying chumbake - I've been doing exactly the same, too - retyping and everything - with no joy. I'll continue looking into it, but I guess I won't be able to fix this as quickly as I had hoped (ie. by the next beta). Thanks again, Keith
|
|
|
Post by KB on Nov 11, 2005 18:00:17 GMT
This one is still driving me nuts. Like I say, a free copy of 1.0 to anyone who can provide steps to reproduce this... Yes, I am getting desperate.
|
|
|
Post by futurosity on Nov 15, 2005 3:58:08 GMT
Is it possible that the word count glitch has something to do with special characters?
I pasted a file from Word into Scrivener. The word count in Scrivener was off by 1 (+1). I noticed that I had a few em dashes in the Word document. When I deleted these from the Word document and pasted the text into Scrivener, the word counts matched.
|
|
|
Post by KB on Nov 15, 2005 6:36:46 GMT
Could you please send me the Word document? That way I might be able to track it down. If you don't want me to see what's in the document, could you please mess around with it until you find which part is causing the glitch, and send me a test document that has the same effect? I will look into it... Thanks! Keith
|
|
|
Post by KB on Nov 15, 2005 20:25:01 GMT
Things get weirder... Having messed around, my Steps 11 and 15 - the dodgy docs from the tutorial - now show that they only have 1 word in each, when they have loads. This was what was shown previously whenever I deleted all the text. What this leads me to believe:
I think that somewhere, somehow, the statistics to a document are getting saved even when you don't save changes to the document itself. Or the text is getting saved without the statistics. In code, however, I can't see this, so I still really need to track down a test case in which we can throw off statistics every time...
|
|