Menu

Home

jensgoe

PhotoFilmStrip creates movies out of your pictures in just 3 steps. First select your photos, customize the motion path and render the video. There are several output possibilities for VCD, SVCD, DVD up to FULL-HD. Creates animated slideshows.

Screenshot thumbnail
01 - Mainscreen of PhotoFilmStrip


Project Admins:


Discussion

  • Marius v.d. Hoeven

    maasnet@Intel:~$ photofilmstrip
    Traceback (most recent call last):
    File "/usr/bin/photofilmstrip", line 8, in <module>
    main()
    File "/usr/lib/python3/dist-packages/photofilmstrip/GUI.py", line 46, in main
    guiApp.Start()
    File "/usr/lib/python3/dist-packages/photofilmstrip/AppMixin.py", line 41, in Start
    self.InitI18N()
    File "/usr/lib/python3/dist-packages/photofilmstrip/AppMixin.py", line 31, in InitI18N
    ActionI18N().Execute()
    File "/usr/lib/python3/dist-packages/photofilmstrip/action/ActionI18N.py", line 43, in Execute
    lang.install(True)
    File "/usr/lib/python3.8/gettext.py", line 352, in install
    for name in allowed & set(names):
    TypeError: 'bool' object is not iterable</module>

     
  • jensgoe

    jensgoe - 2020-05-17

    This error is already fixed and should be updated in the ubuntu/debian packages very soon. As long you only can fix it yourself by editing the file /usr/lib/python3/dist-packages/photofilmstrip/AppMixin.py (as root) and change the line (31)
    lang.install(True)
    to
    lang.install()

     
    • Marius v.d. Hoeven



      <meta content="text/html; charset=windows-1252" http-equiv="Content-Type">


      Unfortunately no result but if I change it in file
      /action/Action18N the program will start


      Op 17-05-2020 om 20:18 schreef jensgoe:



      <meta content="text/html; charset=windows-1252" http-equiv="content-type">

      This error is already fixed and should be updated in the
      ubuntu/debian packages very soon. As long you only can fix it
      yourself by editing the file
      /usr/lib/python3/dist-packages/photofilmstrip/AppMixin.py (as
      root) and change the line (31)

      lang.install(True)

      to

      lang.install()




      Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/photostoryx/wiki/Home/


      To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/





      <link href="https://sourceforge.net/p/photostoryx/wiki/Home/" itemprop="url">
      <meta content="View" itemprop="name">

      <meta content="View" itemprop="description">




       
  • the_foster

    the_foster - 2020-12-12

    On Kubuntu 20.04 (LTS) with photofilmstrip version 3.7.2.1 from standard focal repo (no package conflicts shown) i also get this message:

    Traceback (most recent call last):
    File "/usr/bin/photofilmstrip", line 8, in <module>
    main()
    File "/usr/lib/python3/dist-packages/photofilmstrip/GUI.py", line 46, in main
    guiApp.Start()
    File "/usr/lib/python3/dist-packages/photofilmstrip/AppMixin.py", line 41, in Start
    self.InitI18N()
    File "/usr/lib/python3/dist-packages/photofilmstrip/AppMixin.py", line 31, in InitI18N
    ActionI18N().Execute()
    File "/usr/lib/python3/dist-packages/photofilmstrip/action/ActionI18N.py", line 43, in Execute
    lang.install(True)
    File "/usr/lib/python3.8/gettext.py", line 352, in install
    for name in allowed & set(names):
    TypeError: 'bool' object is not iterable
    

    Unfortunately there is no such line containing "lang.install" in AppMixin.py

     
  • the_foster

    the_foster - 2020-12-12

    just found it in ActionI18N.py.
    But i think it would be nice for all the other users not to have to edit a file in an LTS version.
    Maybe an AppImage would be a good compromise for compatibility across the many Linux-Distributions .

     
  • DJonsson

    DJonsson - 2021-07-15

    REF : PhotoFilmStripApp.py line 26
    Thanks the_foster .... that works for me though unearths yet another bug
    on fresh install of Ubuntu 20.04.
    $ photofilmstrip


    Traceback (most recent call last):
    File "/usr/lib/python3/dist-packages/photofilmstrip/gui/PhotoFilmStripApp.py", line 26, in OnInit
    frame = FrmMain()
    File "/usr/lib/python3/dist-packages/photofilmstrip/gui/FrmMain.py", line 80, in init
    self.pnlWelcome = PnlWelcome(self.notebook, self)
    File "/usr/lib/python3/dist-packages/photofilmstrip/gui/PnlWelcome.py", line 51, in init
    sizerHtmlBackground.Add(self.htmlWin, 1, wx.EXPAND | wx.ALL | wx.ALIGN_CENTER_HORIZONTAL, 8)
    wx._core.wxAssertionError: C++ assertion "!(flags & wxALIGN_CENTRE_HORIZONTAL)" failed at /home/wxpy/wxPython-4.1.1/ext/wxWidgets/src/common/sizer.cpp(2172) in DoInsert(): Horizontal alignment flags are ignored in horizontal sizers
    OnInit returned false, exiting...


    any suggestions appreciated.

     
  • Tom Oskar Ortleb

    A lot of trouble with Ubuntu-20.4 LTS here, too:

    No. 1: hopeful try ... sad fail!

    % photofilmstrip
    Traceback (most recent call last):
      File "/usr/bin/photofilmstrip", line 8, in <module>
        main()
      File "/usr/lib/python3/dist-packages/photofilmstrip/GUI.py", line 46, in main
        guiApp.Start()
      File "/usr/lib/python3/dist-packages/photofilmstrip/AppMixin.py", line 41, in Start
        self.InitI18N()
      File "/usr/lib/python3/dist-packages/photofilmstrip/AppMixin.py", line 31, in InitI18N
        ActionI18N().Execute()
      File "/usr/lib/python3/dist-packages/photofilmstrip/action/ActionI18N.py", line 43, in Execute
        lang.install(True)
      File "/usr/lib/python3.8/gettext.py", line 352, in install
        for name in allowed & set(names):
    TypeError: 'bool' object is not iterable
    

    No. 2: making clear everything is gone ... success!

    % sudo apt purge photofilmstrip
    % sudo apt autoremove
    % pip3 uninstall wxpython          # as recommended by @DJonsson
    WARNING: Skipping wxPython as it is not installed.
    

    No. 3: now ... the really ugly one ... ERRORs without end!

    % pip3 install --user wxPython
    Collecting wxPython
      Downloading wxPython-4.1.1.tar.gz (66.0 MB)
         |████████████████████████████████| 66.0 MB 51 kB/s 
    Requirement already satisfied: pillow in /usr/lib/python3/dist-packages (from wxPython) (7.0.0)
    Requirement already satisfied: six in /usr/lib/python3/dist-packages (from wxPython) (1.14.0)
    Requirement already satisfied: numpy in /home/frank/.local/lib/python3.8/site-packages (from wxPython) (1.19.2)
    Building wheels for collected packages: wxPython
      Building wheel for wxPython (setup.py) ... error
      ERROR: Command errored out with exit status 1:
       command: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-k5ziwvit/wxPython/setup.py'"'"'; __file__='"'"'/tmp/pip-install-k5ziwvit/wxPython/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-hjw5hxb_
           cwd: /tmp/pip-install-k5ziwvit/wxPython/
      Complete output (138 lines):
      running bdist_wheel
      running build
      WARNING: Building this way assumes that all generated files have been
      generated already.  If that is not the case then use build.py directly
      to generate the source and perform the build stage.  You can use
      --skip-build with the bdist_* or install commands to avoid this
      message and the wxWidgets and Phoenix build steps in the future.
    
      "/usr/bin/python3" -u build.py build
      Will build using: "/usr/bin/python3"
      3.8.10 (default, Jun  2 2021, 10:49:15)
      [GCC 9.4.0]
      Python's architecture is 64bit
      cfg.VERSION: 4.1.1
    
      Running command: build
      Running command: build_wx
      wxWidgets build options: ['--wxpython', '--unicode', '--gtk3']
      Configure options: ['--enable-unicode', '--with-gtk=3', '--enable-sound', '--enable-graphics_ctx', '--enable-display', '--enable-geometry', '--enable-debug_flag', '--enable-optimise', '--disable-debugreport', '--enable-uiactionsim', '--enable-autoidman', '--with-sdl']
      /tmp/pip-install-k5ziwvit/wxPython/ext/wxWidgets/configure --enable-unicode --with-gtk=3 --enable-sound --enable-graphics_ctx --enable-display --enable-geometry --enable-debug_flag --enable-optimise --disable-debugreport --enable-uiactionsim --enable-autoidman --with-sdl
      checking build system type... x86_64-pc-linux-gnu
      checking host system type... x86_64-pc-linux-gnu
      checking for toolkit... gtk
      checking for gcc... gcc
      checking whether the C compiler works... yes
      checking for C compiler default output file name... a.out
      checking for suffix of executables...
      checking whether we are cross compiling... no
      checking for suffix of object files... o
      checking whether we are using the GNU C compiler... yes
      checking whether gcc accepts -g... yes
      checking for gcc option to accept ISO C89... none needed
      checking whether we are using the Intel C compiler... no
      checking how to run the C preprocessor... gcc -E
      checking for grep that handles long lines and -e... /usr/bin/grep
      checking for egrep... /usr/bin/grep -E
      checking whether gcc needs -traditional... no
      checking for g++... g++
      checking whether we are using the GNU C++ compiler... yes
      checking whether g++ accepts -g... yes
      checking whether we are using the Intel C++ compiler... no
      checking whether we are using the Sun C++ compiler... no
      checking for ar... ar
      checking for ANSI C header files... yes
      checking for sys/types.h... yes
      checking for sys/stat.h... yes
      checking for stdlib.h... yes
      checking for string.h... yes
      checking for memory.h... yes
      checking for strings.h... yes
      checking for inttypes.h... yes
      checking for stdint.h... yes
      checking for unistd.h... yes
      checking for langinfo.h... yes
      checking for wchar.h... yes
      checking for sys/select.h... yes
      checking for cxxabi.h... yes
      checking for an ANSI C-conforming const... yes
      checking for inline... inline
      checking size of short... 2
      checking size of void *... 8
      checking size of int... 4
      checking size of long... 8
      checking size of size_t... 8
      checking size of long long... 8
      checking size of wchar_t... 4
      checking for va_copy... yes
      checking for _FILE_OFFSET_BITS value needed for large files... 64
      checking if large file support is available... yes
      checking for _LARGEFILE_SOURCE value needed for large files... no
      checking whether byte ordering is bigendian... no
      checking for std::wstring in <string>... yes
      checking for std::istream... yes
      checking for std::ostream... yes
      checking for type_traits... yes
      checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... yes
      checking for libraries directories... /usr/lib/x86_64-linux-gnu /usr/lib
      checking for cos... no
      checking for floor... no
      checking if floating point functions link without -lm... no
      checking for sin... yes
      checking for ceil... yes
      checking if floating point functions link with -lm... yes
      checking for strtoull... yes
      checking for pkg-config... /usr/bin/pkg-config
      checking pkg-config is at least version 0.9.0... yes
      configure: WARNING: Defaulting to the builtin regex library for Unicode build.
      checking for zlib.h >= 1.1.4... yes
      checking for zlib.h... (cached) yes
      checking for deflate in -lz... yes
      checking for png.h > 0.90... yes
      checking for png.h... (cached) yes
      checking for png_sig_cmp in -lpng... yes
      checking for jpeglib.h... yes
      checking for jpeg_read_header in -ljpeg... yes
      checking lzma.h usability... no
      checking lzma.h presence... no
      checking for lzma.h... no
      checking for jbg_dec_init in -ljbig... no
      checking for LIBTIFF... not found via pkg-config
      checking for tiffio.h... no
      configure: WARNING: system tiff library not found, will use built-in instead
      checking whether tiff.h file exists... yes
      checking for expat.h... yes
      checking if expat.h is valid C++ header... yes
      checking for XML_ParserCreate in -lexpat... yes
      checking for GTK+ version...
      checking for pkg-config... (cached) /usr/bin/pkg-config
      checking pkg-config is at least version 0.16... yes
      checking for GTK+ - version >= 3.0.0... Package gtk+-3.0 was not found in the pkg-config search path.
      Perhaps you should add the directory containing `gtk+-3.0.pc'
      to the PKG_CONFIG_PATH environment variable
      No package 'gtk+-3.0' found
      no
      *** Could not run GTK+ test program, checking why...
      *** The test program failed to compile or link. See the file config.log for the
      *** exact error that occurred. This usually means GTK+ is incorrectly installed.
      configure: error:
      The development files for GTK+ were not found. For GTK+ 2, please
      ensure that pkg-config is in the path and that gtk+-2.0.pc is
      installed. For GTK+ 1.2 please check that gtk-config is in the path,
      and that the version is 1.2.3 or above. Also check that the
      libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
      --libs' are in the LD_LIBRARY_PATH or equivalent.
    
      Error running configure
      ERROR: failed building wxWidgets
      Traceback (most recent call last):
        File "build.py", line 1510, in cmd_build_wx
          wxbuild.main(wxDir(), build_options)
        File "/tmp/pip-install-k5ziwvit/wxPython/buildtools/build_wxwidgets.py", line 372, in main
          exitIfError(wxBuilder.configure(dir=wxRootDir, options=configure_opts),
        File "/tmp/pip-install-k5ziwvit/wxPython/buildtools/build_wxwidgets.py", line 85, in exitIfError
          raise builder.BuildError(msg)
      buildtools.builder.BuildError: Error running configure
      Finished command: build_wx (0m5.166s)
      Finished command: build (0m5.166s)
      Command '"/usr/bin/python3" -u build.py build' failed with exit code 1.
      ----------------------------------------
      ERROR: Failed building wheel for wxPython
      Running setup.py clean for wxPython
    Failed to build wxPython
    Installing collected packages: wxPython
        Running setup.py install for wxPython ... error
        ERROR: Command errored out with exit status 1:
         command: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-k5ziwvit/wxPython/setup.py'"'"'; __file__='"'"'/tmp/pip-install-k5ziwvit/wxPython/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-6l80g2vi/install-record.txt --single-version-externally-managed --user --prefix= --compile --install-headers /home/frank/.local/include/python3.8/wxPython
             cwd: /tmp/pip-install-k5ziwvit/wxPython/
        Complete output (138 lines):
        running install
        running build
        WARNING: Building this way assumes that all generated files have been
        generated already.  If that is not the case then use build.py directly
        to generate the source and perform the build stage.  You can use
        --skip-build with the bdist_* or install commands to avoid this
        message and the wxWidgets and Phoenix build steps in the future.
    
        "/usr/bin/python3" -u build.py build
        Will build using: "/usr/bin/python3"
        3.8.10 (default, Jun  2 2021, 10:49:15)
        [GCC 9.4.0]
        Python's architecture is 64bit
        cfg.VERSION: 4.1.1
    
        Running command: build
        Running command: build_wx
        wxWidgets build options: ['--wxpython', '--unicode', '--gtk3']
        Configure options: ['--enable-unicode', '--with-gtk=3', '--enable-sound', '--enable-graphics_ctx', '--enable-display', '--enable-geometry', '--enable-debug_flag', '--enable-optimise', '--disable-debugreport', '--enable-uiactionsim', '--enable-autoidman', '--with-sdl']
        /tmp/pip-install-k5ziwvit/wxPython/ext/wxWidgets/configure --enable-unicode --with-gtk=3 --enable-sound --enable-graphics_ctx --enable-display --enable-geometry --enable-debug_flag --enable-optimise --disable-debugreport --enable-uiactionsim --enable-autoidman --with-sdl
        checking build system type... x86_64-pc-linux-gnu
        checking host system type... x86_64-pc-linux-gnu
        checking for toolkit... gtk
        checking for gcc... gcc
        checking whether the C compiler works... yes
        checking for C compiler default output file name... a.out
        checking for suffix of executables...
        checking whether we are cross compiling... no
        checking for suffix of object files... o
        checking whether we are using the GNU C compiler... yes
        checking whether gcc accepts -g... yes
        checking for gcc option to accept ISO C89... none needed
        checking whether we are using the Intel C compiler... no
        checking how to run the C preprocessor... gcc -E
        checking for grep that handles long lines and -e... /usr/bin/grep
        checking for egrep... /usr/bin/grep -E
        checking whether gcc needs -traditional... no
        checking for g++... g++
        checking whether we are using the GNU C++ compiler... yes
        checking whether g++ accepts -g... yes
        checking whether we are using the Intel C++ compiler... no
        checking whether we are using the Sun C++ compiler... no
        checking for ar... ar
        checking for ANSI C header files... yes
        checking for sys/types.h... yes
        checking for sys/stat.h... yes
        checking for stdlib.h... yes
        checking for string.h... yes
        checking for memory.h... yes
        checking for strings.h... yes
        checking for inttypes.h... yes
        checking for stdint.h... yes
        checking for unistd.h... yes
        checking for langinfo.h... yes
        checking for wchar.h... yes
        checking for sys/select.h... yes
        checking for cxxabi.h... yes
        checking for an ANSI C-conforming const... yes
        checking for inline... inline
        checking size of short... 2
        checking size of void *... 8
        checking size of int... 4
        checking size of long... 8
        checking size of size_t... 8
        checking size of long long... 8
        checking size of wchar_t... 4
        checking for va_copy... yes
        checking for _FILE_OFFSET_BITS value needed for large files... 64
        checking if large file support is available... yes
        checking for _LARGEFILE_SOURCE value needed for large files... no
        checking whether byte ordering is bigendian... no
        checking for std::wstring in <string>... yes
        checking for std::istream... yes
        checking for std::ostream... yes
        checking for type_traits... yes
        checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... yes
        checking for libraries directories... /usr/lib/x86_64-linux-gnu /usr/lib
        checking for cos... no
        checking for floor... no
        checking if floating point functions link without -lm... no
        checking for sin... yes
        checking for ceil... yes
        checking if floating point functions link with -lm... yes
        checking for strtoull... yes
        checking for pkg-config... /usr/bin/pkg-config
        checking pkg-config is at least version 0.9.0... yes
        configure: WARNING: Defaulting to the builtin regex library for Unicode build.
        checking for zlib.h >= 1.1.4... yes
        checking for zlib.h... (cached) yes
        checking for deflate in -lz... yes
        checking for png.h > 0.90... yes
        checking for png.h... (cached) yes
        checking for png_sig_cmp in -lpng... yes
        checking for jpeglib.h... yes
        checking for jpeg_read_header in -ljpeg... yes
        checking lzma.h usability... no
        checking lzma.h presence... no
        checking for lzma.h... no
        checking for jbg_dec_init in -ljbig... no
        checking for LIBTIFF... not found via pkg-config
        checking for tiffio.h... no
        configure: WARNING: system tiff library not found, will use built-in instead
        checking whether tiff.h file exists... yes
        checking for expat.h... yes
        checking if expat.h is valid C++ header... yes
        checking for XML_ParserCreate in -lexpat... yes
        checking for GTK+ version...
        checking for pkg-config... (cached) /usr/bin/pkg-config
        checking pkg-config is at least version 0.16... yes
        checking for GTK+ - version >= 3.0.0... Package gtk+-3.0 was not found in the pkg-config search path.
        Perhaps you should add the directory containing `gtk+-3.0.pc'
        to the PKG_CONFIG_PATH environment variable
        No package 'gtk+-3.0' found
        no
        *** Could not run GTK+ test program, checking why...
        *** The test program failed to compile or link. See the file config.log for the
        *** exact error that occurred. This usually means GTK+ is incorrectly installed.
        configure: error:
        The development files for GTK+ were not found. For GTK+ 2, please
        ensure that pkg-config is in the path and that gtk+-2.0.pc is
        installed. For GTK+ 1.2 please check that gtk-config is in the path,
        and that the version is 1.2.3 or above. Also check that the
        libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
        --libs' are in the LD_LIBRARY_PATH or equivalent.
    
        Error running configure
        ERROR: failed building wxWidgets
        Traceback (most recent call last):
          File "build.py", line 1510, in cmd_build_wx
            wxbuild.main(wxDir(), build_options)
          File "/tmp/pip-install-k5ziwvit/wxPython/buildtools/build_wxwidgets.py", line 372, in main
            exitIfError(wxBuilder.configure(dir=wxRootDir, options=configure_opts),
          File "/tmp/pip-install-k5ziwvit/wxPython/buildtools/build_wxwidgets.py", line 85, in exitIfError
            raise builder.BuildError(msg)
        buildtools.builder.BuildError: Error running configure
        Finished command: build_wx (0m4.815s)
        Finished command: build (0m4.815s)
        Command '"/usr/bin/python3" -u build.py build' failed with exit code 1.
        ----------------------------------------
    ERROR: Command errored out with exit status 1: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-k5ziwvit/wxPython/setup.py'"'"'; __file__='"'"'/tmp/pip-install-k5ziwvit/wxPython/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-6l80g2vi/install-record.txt --single-version-externally-managed --user --prefix= --compile --install-headers /home/frank/.local/include/python3.8/wxPython Check the logs for full command output.
    

    Looks like sth. very basic and/or general is missing. Any help/hint is much appreciated!

    TIA,
    too

     
  • jensgoe

    jensgoe - 2021-08-24

    Hi,
    the easiest way would be to install photofilmstrip via apt-get with all dependencies suggested by apt-get (that means wxPython 4.0.x respective deb package python3-wxgtk4.0)
    Unfortunately the photofilmstrip package in 20.04 missed an update so you may edit the file
    "/usr/lib/python3/dist-packages/photofilmstrip/action/ActionI18N.py" navigate to line 43 and change the line "lang.install(True)" to "lang.install()" (remove the True).

    if you install wxPython via pip you get the newest version 4.1.x. But then you need to run/install photofilmstrip from source as well. The Ubuntu packages still ships the version wxPython 4.0.x.

     
    • Tom Oskar Ortleb

      Hi Jens,
      thank you for the fast reply. I use Ubuntu-20.04 (Mate) and the most up-to-date version of photofilmstrip available via the official repo is 3.7.2-5a61cd0 – hope this is rather recent.

      NB: As you recommended, changing line 43 in "/usr/lib/python3/dist-packages/photofilmstrip/action/ActionI18N.py" from "lang.install(True)" to "lang.install()" was easy. First start ... runs instantly and as expected.

      Will dive into it next weekend, thanks again,
      too

       

      Last edit: Tom Oskar Ortleb 2021-08-24

Log in to post a comment.