Problems with annotate papers on MACOSX

Added by Simone Deparis over 9 years ago

version: 1.2.1463
OS: MacOSX (installed by port)

When I annotate papers on MacOSX I get empty or corrupted pdfs.
If I rsync the directory to a Debian system with AMC 1.2.1 I have no troubles.

Any hint? I don't need it fixed since I can do it on Debian, if it is a bug it is good to know.

Best regards
Simone


Replies (6)

RE: Problems with annotate papers on MACOSX - Added by Alexis Bienvenüe over 9 years ago

Can you find something interesting in the log file produced running AMC in debugging mode?

RE: Problems with annotate papers on MACOSX - Added by Simone Deparis over 9 years ago

There is a waring
WARNING: PDF corrected file not found: /Users/simone/ASSISTENZA/Exams/NumericalAnalysis-2014-07/NumericalAnalysis-2014-07//DOC-corrected.pdf

I also joine an anonimized log file

AMC-DEBUG-QzEKrbNq.log - debug info (7.6 kB)

RE: Problems with annotate papers on MACOSX - Added by Alexis Bienvenüe over 9 years ago

Can you remove all annotated PDFs before building the log file?

RE: Problems with annotate papers on MACOSX - Added by Simone Deparis over 9 years ago

Here it is:
just exporting, debug active after removing everything in the pdf directory

RE: Problems with annotate papers on MACOSX - Added by Alexis Bienvenüe over 9 years ago

dyld: lazy symbol binding failed: Symbol not found: __ZN2cv6imreadERKSsi
Referenced from: /opt/local/lib/AMC/exec/AMC-buildpdf
Expected in: /opt/local/lib/libopencv_highgui.2.4.dylib

It seems that there is a problem when AMC-buildpdf is trying to use OpenCV.
Do you have these messages when running /opt/local/lib/AMC/exec/AMC-buildpdf (with no arguments) from the command-line?
Can you try to recompile AMC binaries (build again the port) and look for strange messages in the log?

RE: Problems with annotate papers on MACOSX - Added by Simone Deparis over 9 years ago

I could not see the compilation output with port.
However I made this discovery:

The problem arises with

auto-multiple-choice-devel @1.2.1.1464 (x11, tex, education)
Auto Multiple Choice - Multiple Choice Papers Management

Which, according to "about", is indeed: Auto Multiple Choice 1.2.1463 (svn:)

Version

auto-multiple-choice @1.2.1_1 (x11, tex, education)
Auto Multiple Choice - Multiple Choice Papers Management

is broken because of missing dependences.
According to "about", it is : Auto Multiple Choice 1.2.1 (svn:1403)

However, if I install auto-multiple-choice-devel @1.2.1.1464 version first and uninstall it just after (without cleaning up the leaves),
then install auto-multiple-choice @1.2.1_1, the problem is not appearing.

My guess is that:
  1. auto-multiple-choice-devel has been broken between svn:1403 and svn:1463
  2. the dependencies of -multiple-choice @1.2.1_1 needs to be aligned with those of auto-multiple-choice-devel

My fixed instructions for installing multiple choice on MacoSX using port 2.3.1:

sudo port install auto-multiple-choice-devel
sudo port uninstall auto-multiple-choice-devel
sudo port install auto-multiple-choice

Hope this help,
Best regards
Simone

(1-6/6)