Den 09.12.2024 20:31, skrev Phyllis Smith:
In trying to determine where the error is, I was not able to ascertain where things went wrong so I started from scratch to get the steps correct.
Although I can say for sure that the last error of:

    Alt+h
    sh: line 1:
    /home/cinelerra/cinelerra-5.1/bin/doc/ContextManual.pl: No such
    file or directory

is for sure telling me that the default file, which is part of the original source and you should still see in /home/cinelerra/cinelerra-5.1/doc, is missing in /home/cinelerra/cinelerra-5.1/bin/doc; that is ContextManual.pl. Something must have gotten deleted or not copied to AppDir/usr in its entirety.

If it is not too much trouble, I would do a fresh build and only then execute directly "in the bin/doc directory":
   tar xvf HTML_Manual-20241031.tgz
then before running your appimage build, check by executing "bin/cin" and doing Alt h. If that works then the copy via bld_appimage.sh should result in Help being automatically included.

Standing by here for results.

Actually there are three doc locations in my /Cin:

   ./doc
   ./bin/doc
   ./AppDir/usr/bin/doc

and as the first doc folder is empty, I have a feeling I myself by accident cleaned up wrong doc folder.
But what do we preserve backup for 😉

Actually I found the missing file in my backup

   /Cin # ls /Cin/bin_use_system_ffmpeg-702/doc/ContextManual.pl
   /Cin/bin_use_system_ffmpeg-702/doc/ContextManual.pl


Then I cleaned up the first two doc folders above and copied all doc files from the backup and added the Cinelerra-GG_Manual. So in worst case there might be some extra doc files now :) Tested that Help files worked in CinGG, re-built the AppImage and tested successful.

   ~/Applications> du -sh Cin*
   171M CinGG-20241031-x86_64.AppImage
   181M CinGG-20241120-x86_64.AppImage


Phyllis, look up for a new file-link for the complete AppImage in a few minutes 😉


On Mon, Dec 9, 2024 at 8:36 AM Terje J. Hanssen <[email protected]> wrote:




    Den 09.12.2024 15:42, skrev Andrew Randrianasulu:


    пн, 9 дек. 2024 г., 17:36 Terje J. Hanssen <[email protected]>:




        Den 09.12.2024 15:14, skrev Andrew Randrianasulu:


        пн, 9 дек. 2024 г., 17:09 Terje J. Hanssen
        <[email protected]>:




            Den 09.12.2024 13:29, skrev Terje J. Hanssen:



            Den 09.12.2024 13:25, skrev Andrew Randrianasulu:


            пн, 9 дек. 2024 г., 15:22 Terje J. Hanssen via Cin
            <[email protected]>:




                Den 08.12.2024 23:06, skrev Terje J. Hanssen:



                Den 08.12.2024 22:39, skrev Phyllis Smith:

                There must be some kind of interference when you
                try to email the large file. Did you actually
                send from your Gmail account or your teknikk
                account.? When I try to send a large file from
                my gmail account, it says it is too big and
                automatically uploads it to the google drive and
                gives me a link.  I just sent you one now so you
                can see and delete it.

                My old teknikk account is expired. I use
                Thunderbird as email client IMAP connected to my
                gmail account.
                For one or another reason the connection has been
                horrible slow since yesterday. But now I have
                sent you a filelink I hope you receive.


                            I try first to send it without the
                            manual, in case issues to get it
                            included. I've experienced issues
                            before with file attachments larger
                            than ca. 30 MB, either it is due to
                            the sender or receiver side, I don't
                            know.


                    So I need to know from where and how to
                    copy these html files?

                
https://cinelerra-gg.org/download/images/HTML_Manual-20241031.tgz
                Just download the tgz file and tar xvf to
                wherever you have bin/doc so it can be copied
                to AppDir/usr in bld_appimage.sh.

                Yes, I copied all manual files to bin/doc, and
                repeat the steps as follows, to get verified if
                something is wrong:

                cp HTML_Manual-20241031/CinelerraGG_Manual/**
                /home/cinelerra/cinelerra-5.1/bin/doc

                so now the total in AppDir/usr/bin/doc is 1007
                elements, 80.3 MB

                Ran bld_appimage.sh again and now have
                CinGG-20241120-x86_64.AppImage 166.5 MB
                (which still is smaller than the previous
                CinGG-20241031-x86_64.AppImage 178.8 MB)

                While Manual Help works for the latter, it doesn't
                load for the new AppImage:

                ~/Applications> ./CinGG-20241120-x86_64.AppImage

                Alt+h

                Cannot open
                
/tmp/.mount_CinGG-24Mpo2/usr/bin/doc/CinelerraGG_Manual/Contents.html:
                No such file or directory at
                /home/terje/.bcast5/ContextManual.pl line 205.

                Is this a known issue and possibly how to solve it?



            may be you should move in folder named
            CinelerraGG_Manual and not its content?

            Yeah, I thought of that, but forgot to ask that
            question. I was in doubt as I think "all html files"
            was mentioned
            Try to cleanup and make appimage again.


            Still no success to put the whole Manual folder in

            cp -r HTML_Manual-20241031/CinelerraGG_Manual
            /home/cinelerra/cinelerra-5.1/bin/doc

            Alt+h

            sh: line 1:
            /tmp/.mount_CinGG-iDrVm0/usr/bin/doc/ContextManual.pl:
            No such file or directory



        so, it was more correct first time, just perl script was
        unable to find Contents.html

        may be it was named contents.html, from lowercase c ?

        "Contents.html" looks to be the correct one as verified here
        from the latest Manual folder:

        cd /Cin/AppDir/usr/bin/doc/CinelerraGG_Manual

        ls Content* content*
        Contents.html  contents.png

        There looks to be a doc build difference somewhere between my
        AppImage vs the the official AppImage?



    well, for just bin folder

    I removed anything from bin/doc

    then re run 'make install'

    then copied  html docu folder like this:

    cp -r  CinelerraGG_Manual bin/doc/

    firefox startup a bit slow but it worked .... in termux.


    I tried to repeat your steps, but confusingly I still got the
    previous error:

    rm /Cin/bin/doc/**
    ls /Cin/bin/doc/

    /Cin # make install

    cp -r  CinelerraGG_Manual /Cin/bin/doc/
    ls /Cin/bin/doc/
    CinelerraGG_Manual

    du -sh /Cin/bin/doc/
    76M    /Cin/bin/doc/

    /Cin
    bin/cin
    Cinelerra Infinity - built: Nov 20 2024 22:06:05

    BC_DisplayInfo::gl_fb_config failed

    Alt+h
    sh: line 1:
    /home/cinelerra/cinelerra-5.1/bin/doc/ContextManual.pl: No such
    file or directory
















                I thought Manual Help should work before I send
                the complete AppImage.




                Oh, there it is. Actually I had stored a 2023
                version on my system, but now tried to
                "download" the HTML manual from here, and it
                only displayed in Firefox :)
                https://cinelerra-gg.org/download/CinelerraGG_Manual/


                    Can the bld_appimage.sh take the wanted
                    file name as argument, or is it just fine
                    to rename it afterwards?

                It is just fine to name it afterwards; that is
                what I do when renaming for the website to
                include the date.

                    opening index.html and "cinelerra.html" is
                    "Secrets of Cinelerra", Version 4.1 by Adam
                    Williams

                We always want to have these files with the
                source to recognize Cinelerra's origin and
                continuance.

                    And not to forget: it is thanks to Andrew's
                    patchwork and time consuming guiding that
                    has made this possible !

                Yes, that goes without saying, but I should
                have said it anyway.

                It was merely intended for possibly others
                coming to and read this later :)






-- Cin mailing list
                [email protected]
                https://lists.cinelerra-gg.org/mailman/listinfo/cin





-- 
Cin mailing list
[email protected]
https://lists.cinelerra-gg.org/mailman/listinfo/cin

Reply via email to