Bug 110990 - NaturalDocs can't find the Config/Topics.txt file
Summary: NaturalDocs can't find the Config/Topics.txt file
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Frank J. Laszlo
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-29 01:50 UTC by Carlos Rocha
Modified: 2007-07-10 19:20 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Carlos Rocha 2007-03-29 01:50:04 UTC
I get the following Error when running Natural Docs:

--------------------------------------------------------------------------------
Natural Docs encountered the following error and was stopped: readme.txt -o html doc/html/ -p doc

   Couldn't open topics file /usr/local/bin/Config/Topics.txt

You can get help at the following web site:

   http://www.naturaldocs.org

If sending an error report, please include the information found in the
following file:

   /usr/home/rocha/src/orlib/doc/data/LastCrash.txt

--------------------------------------------------------------------------------

LastCrash.txt hast the following:

--------------------------------------------------------------------------------

Crash Message:

   Couldn't open topics file /usr/local/bin/Config/Topics.txt

Natural Docs version 1.35
Perl version 5.8.8 on freebsd

Command Line:

   -i include/ -o html doc/html/ -p doc/data/

Stack Trace:

   NaturalDocs::Error::CatchDeath, called from
   NaturalDocs::Topics::LoadFile, line 727, called from
   NaturalDocs::Topics::Load, line 306, called from
   (eval), line 309 of /usr/local/bin/NaturalDocs

--------------------------------------------------------------------------------

It seems that the install script is not copying the Config folder from the distribution. Maybe the NaturalDocs script needs a patch?

How-To-Repeat: Just run NaturalDocs on any project with the following sample arguments:

NaturalDocs -i include/ -o html doc/html/ -p doc/data/
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2007-03-31 21:54:43 UTC
Responsible Changed
From-To: freebsd-ports-bugs->laszlof

Over to maintainer
Comment 2 Frank Laszlo 2007-07-09 03:51:49 UTC
Hello:
    Could you please try this patch [1] and let me know if it resolves 
your problem. Sorry for the delay, I have recently moved and have not 
had much time for freebsd related work. Thanks

-Frank Laszlo

[1] http://people.freebsd.org/~laszlof/patches/naturaldocs-1.35_1.diff
Comment 3 Carlos Rocha 2007-07-10 18:48:23 UTC
Hi Frank,

Thanks a lot for the patch! It seems to do the job perfectly :)
I think we can close this one.

--
Carlos

Frank J. Laszlo wrote:
> Hello:
>    Could you please try this patch [1] and let me know if it resolves
> your problem. Sorry for the delay, I have recently moved and have not
> had much time for freebsd related work. Thanks
> 
> -Frank Laszlo
> 
> [1] http://people.freebsd.org/~laszlof/patches/naturaldocs-1.35_1.diff
Comment 4 Frank J. Laszlo freebsd_committer freebsd_triage 2007-07-10 18:57:52 UTC
Thanks for testing it Carlos, I will commit it to the tree.

Regards,
    -Frank
Comment 5 dfilter service freebsd_committer freebsd_triage 2007-07-10 19:01:02 UTC
laszlof     2007-07-10 18:00:56 UTC

  FreeBSD ports repository

  Modified files:
    devel/naturaldocs    Makefile 
  Added files:
    devel/naturaldocs    pkg-plist 
    devel/naturaldocs/files NaturalDocs 
  Log:
  - Move all files into DATADIR
  - Create script in PREFIX/bin as workaround for bug.
  
  PR:             ports/110990
  Submitted by:   Carlos Rocha <carlos.rocha@gmail.com>
  
  Revision  Changes    Path
  1.6       +8 -2      ports/devel/naturaldocs/Makefile
  1.1       +3 -0      ports/devel/naturaldocs/files/NaturalDocs (new)
  1.1       +127 -0    ports/devel/naturaldocs/pkg-plist (new)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 6 Frank J. Laszlo freebsd_committer freebsd_triage 2007-07-10 19:01:06 UTC
State Changed
From-To: open->closed

Committed. Thanks!