#87 errors are erroneous and erratic

closed-works-for-me
LeO
Core (65)
5
2004-11-10
2004-08-25
No

First reported in forum on 2004.05.27 by me (http:
//sourceforge.net/forum/forum.php?
thread_id=1082953&forum_id=258688)...
then reported by Remco Douma on 2004.08.13 (https:
//sourceforge.net/forum/message.php?msg_id=2712764)..
.

Summary: I am consistently getting erroneous errors,
whether Unix or Windows line endings are used. First with
eclipse 2.1.3 (and epic 0.2.0), I then upgraded to eclipse
3.0 (and epic 0.3.0) and still get bogus (but different!)
errors. Also, trying the same project on different
computers (from the same eclipse .metadata) yields
different bogus errors. Finally, I'll mention for
completeness that my Java code runs flawlessly in
eclipse--no bogus errors. Any chance this is a memory
problem? I run only a 256MB machine.

Having seen no further posting since the request for
sample files a week or so ago, I took another look at the
issue. I closed all projects except my Perl one, and still
had lots of erroneous errors. I closed that project and
created a new test project. With just one file in
it--attached--the problems are still present. My system
shows 3 errors--all erroneous. If I then delete the large
comment block near the top of the file, they all go away.
(Depending on which pieces you delete, different things
happen.)

Discussion

<< < 1 2 3 4 > >> (Page 2 of 4)
  • LeO

    LeO - 2004-10-03

    Logged In: YES
    user_id=703323

    But let's say it that way: I've downloaded your packages,
    installed most of them and finally could see, that your
    package-list is not complete. (i used perlactive-install
    package).

    And I personally find it quite exausting to hunt down not
    included packages in your zip-file. Especially they are not all
    the time easy to find. So, at least would you provide the
    Math::Round to continue testing?

     
  • LeO

    LeO - 2004-10-04

    Logged In: YES
    user_id=703323

    I took a deeper look into the issue and I'm not quite sure,
    what is the problem of this ticket. Is it that the
    Error-Message are wrong although there is no Error or do you
    mean, the Error-Message is misleading and not specific enough?

     
  • LeO

    LeO - 2004-10-04
    • assigned_to: luelljoc --> leo_forge
     
  • Michael Sorens

    Michael Sorens - 2004-10-10

    Logged In: YES
    user_id=800488

    Here's a bit more detail on my situation (and I do not think I
    have a particularly unique environment, so probably others are
    seeing this also).

    The errors (and warnings) I am seeing are all incorrect and
    spurious--this walk-through illustrates this fact:

    Start Eclipse and open my Perl project -- 40 errors, 31
    warnings
    Invoked Project >> Clean -- now 36 errors, 58 warnings
    Opened a file with errors then closed it-- now 32 errors, 58
    warnings
    ...and that file is now error-free.
    I then proceeded to open each file with errors/warnings by
    double-clicking the item in the problem window, and
    immediately close it. All problems for the target file then
    disappeared from the problem window.
    After going through all such files, I am left with -- 0 errors, 0
    warnings

    Example of some errors:
    Inside a POD section:
    ' Semicolon seems to be missing '
    ' Bareword found where operator expected near "<item> in" '

    Observations:
    --The first error or warning seems to occur on a blank line
    following a 'use' statement. I then typically have extensive
    POD right after that, which is where (I think) all of the
    remaining incorrect errors/warnings appear.
    --None of my errors are regarding missing packages.
    --Just for clarification, my initial summary line indicated errors
    are both erroneous (that is the error message has no relation
    to the line being reported, nor to anything in the file
    sometimes) and erratic (since they disappear as I do things).

    Thanks for checking further.

    I am attaching one snapshot of the problem list and also the
    Math::Round package you requested.

     
  • Michael Sorens

    Michael Sorens - 2004-10-10

    requested Math::Round package

     
  • LeO

    LeO - 2004-10-11

    Logged In: YES
    user_id=703323

    I'm currently stuck into reproducing your problem. And the
    stuck is in trying to open your CleanSource-project and
    seems like more and more Packages are missing.

    e.g. I open your page.pl and there is 'use Data::Diagnostic;
    ' but in the very end it points out that Getopt::ArgvFile
    is missing. Since validate.pl uses the same package => same
    result.

    Or I open Pod2HtmlTree.pl and there is 'use Pod::HtmlTree;'
    which turns finally out of missing HTML::Template.

    Or PageSequencer.pm with missing Config::General.

    etc.....

    => As I've already mentioned, I unwilling to put additonal
    effort in this issue with searching all releavant
    CPAN-Modules. From what I see of your compilation errors are
    not of missing Packages. Please provide ALL missing packages
    (even if I didn't mentioned them here).

    which version of Eclipse + epic you are using? (current
    version of epic is 0.3.8)
    are you using activePerl? which Version?

     
  • Michael Sorens

    Michael Sorens - 2004-10-12

    Logged In: YES
    user_id=800488

    I was running epic 0.3.0; I updated to 0.3.8 (as shown below)
    and still have the problem.

    Here is what I have now:
    ActivePerl 5.8.0 build 806
    eclipse version 3.0.0
    epic project 0.3.8
    (epic components: editor 0.1.9, regexp 0.1.2, debug 0.2.4)

    I have created a better test case for you that exhibits the
    problem (myTestPerl.zip attached). The only external included
    files are CGI and File::stat, both of which are standard Perl
    files, I believe.

    This test project exhibits the following errors on my system
    after I do a clean build, all on just one file:
    ------------
    Severity Description Resource In Folder Location
    Creation Time
    1 Bareword found where operator expected at - line 111,
    near ") instead" Generator.pm myTestPerl/HTML line 111
    October 11, 2004 10:02:16 PM
    1 Number found where operator expected at - line 113, near
    "over 4" Generator.pm myTestPerl/HTML line 113 October
    11, 2004 10:02:16 PM
    1 Bareword found where operator expected at - line 207,
    near "generic("xyz", "data") => <xyz>data</xyz" (Might be a
    runaway multi-line // string starting on line 121) Generator.
    pm myTestPerl/HTML line 207 October 11, 2004 10:02:16
    PM
    1 Bareword found where operator expected at - line 208,
    near "<abc>data" Generator.pm myTestPerl/HTML line 208
    October 11, 2004 10:02:16 PM
    1 Bareword found where operator expected at - line 210,
    near "data" Generator.pm myTestPerl/HTML line 210
    October 11, 2004 10:02:16 PM
    ------------
    Opening and closing the file (Generator.pm) makes the
    warnings go away. See what you can do with this.
    Thanks.

     
  • LeO

    LeO - 2004-10-12

    Logged In: YES
    user_id=703323

    Hm', I don't wanna tortue you with updates, but does not
    seem the lastest version of ActivePerl is running on your
    machine. Mine says 5.8.4 (in the same constellation as
    yours) and I have NO, NO, NO problems at all when opening
    your attached files.

    Generator.pm brings no errors at all.

    So, would you mind to upgrade to lastest Perl version and
    lets see again, what happens. Then we would have the same
    test-equiment!

     
<< < 1 2 3 4 > >> (Page 2 of 4)

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks