Menu

#24 Error during installation attempt at Ubuntu 16.04

v1.0_(example)
open
nobody
None
1
2018-08-06
2018-07-23
Anonymous
No

During installation of DAE Tools 1.8.0 at Ubuntu 16.04 64 bit, I get the following error:
error: can't copy 'daetools/docs/html/_static/bootstrap-3.3.6': doesn't exist or not a regular file

I followed the steps at 4.3.1.1.1. Use the system’s Python
Earlier, it gives UserWarning: Unknown distribution option: 'python_requires'
Also, I think the package name to be installed must be python-pyqt5 rather than python-qt5.

Discussion

  • ciroki

    ciroki - 2018-07-23

    It is difficult to tell what is the error. Does the daetools/docs/html/_static/bootstrap-3.3.6 folder exist? What is your Python version?
    The warning is probably due to the outdated setuptools. You are correct about python-pyqt5, I'll update the docs.

     
  • Anonymous

    Anonymous - 2018-07-24

    Yes, the folder exists, containing three subfolders.

    $ ls daetools/docs/html/_static/bootstrap-3.3.6/
    css  fonts  js
    

    My Python version is 2.7.12, and Setuptool 20.7.0-1

    $ python --version
    Python 2.7.12
    
    $ dpkg -l python-setuptools
    ii  python-setuptools                    20.7.0-1                all                     Python Distutils Enhancements
    
     
  • ciroki

    ciroki - 2018-07-25

    Well, it is hard to tell why it fails to copy the files from a folder when the files do exist.
    Could you send me the output and perhaps run it with the --verbose flag? Perhaps it can help with the source of the error.

     
  • Anonymous

    Anonymous - 2018-07-26

    Yes, sure.

    $ sudo python setup.py --verbose install
    ('shared_libs_dir = ', '/home/me/programming/python-scripts/daetools-1.8.0/daetools/solibs/Linux_x86_64')
    ('shared_libs = ', ['/home/me/programming/python-scripts/daetools-1.8.0/daetools/solibs/Linux_x86_64/libboost_python-daetools-py27.so', '/home/me/programming/python-scripts/daetools-1.8.0/daetools/solibs/Linux_x86_64/libboost_python-daetools-py27.so.1.65.1', '/home/me/programming/python-scripts/daetools-1.8.0/daetools/solibs/Linux_x86_64/libboost_system-daetools-py27.so', '/home/me/programming/python-scripts/daetools-1.8.0/daetools/solibs/Linux_x86_64/libboost_filesystem-daetools-py27.so', '/home/me/programming/python-scripts/daetools-1.8.0/daetools/solibs/Linux_x86_64/libboost_system-daetools-py27.so.1.65.1', '/home/me/programming/python-scripts/daetools-1.8.0/daetools/solibs/Linux_x86_64/libboost_thread-daetools-py27.so', '/home/me/programming/python-scripts/daetools-1.8.0/daetools/solibs/Linux_x86_64/libboost_thread-daetools-py27.so.1.65.1', '/home/me/programming/python-scripts/daetools-1.8.0/daetools/solibs/Linux_x86_64/libcdaeConfig-py27.so', '/home/me/programming/python-scripts/daetools-1.8.0/daetools/solibs/Linux_x86_64/libboost_filesystem-daetools-py27.so.1.65.1'])
    /usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'python_requires'
      warnings.warn(msg)
    running install
    running bdist_egg
    running egg_info
    writing requirements to daetools.egg-info/requires.txt
    writing daetools.egg-info/PKG-INFO
    writing top-level names to daetools.egg-info/top_level.txt
    writing dependency_links to daetools.egg-info/dependency_links.txt
    reading manifest file 'daetools.egg-info/SOURCES.txt'
    writing manifest file 'daetools.egg-info/SOURCES.txt'
    installing library code to build/bdist.linux-x86_64/egg
    running install_lib
    running build_py
    not copying daetools/__init__.py (output up-to-date)
    not copying daetools/pyDAE/eval_node_graph.py (output up-to-date)
    not copying daetools/pyDAE/simulation_loader_aux.py (output up-to-date)
    not copying daetools/pyDAE/units.py (output up-to-date)
    not copying daetools/pyDAE/WebView_ui.py (output up-to-date)
    not copying daetools/pyDAE/thermo_packages.py (output up-to-date)
    not copying daetools/pyDAE/hr_upwind_scheme.py (output up-to-date)
    not copying daetools/pyDAE/variable_types.py (output up-to-date)
    not copying daetools/pyDAE/init_files.py (output up-to-date)
    not copying daetools/pyDAE/__init__.py (output up-to-date)
    not copying daetools/pyDAE/evaluator_opencl.py (output up-to-date)
    not copying daetools/pyDAE/logs.py (output up-to-date)
    not copying daetools/pyDAE/web_view_dialog.py (output up-to-date)
    not copying daetools/pyDAE/data_reporters.py (output up-to-date)
    not copying daetools/solvers/bonmin.py (output up-to-date)
    not copying daetools/solvers/superlu.py (output up-to-date)
    not copying daetools/solvers/aztecoo_options.py (output up-to-date)
    not copying daetools/solvers/deal_II.py (output up-to-date)
    not copying daetools/solvers/intel_pardiso.py (output up-to-date)
    not copying daetools/solvers/nlopt.py (output up-to-date)
    not copying daetools/solvers/ipopt.py (output up-to-date)
    not copying daetools/solvers/__init__.py (output up-to-date)
    not copying daetools/solvers/pardiso.py (output up-to-date)
    not copying daetools/solvers/trilinos.py (output up-to-date)
    not copying daetools/solvers/minpack.py (output up-to-date)
    not copying daetools/solvers/superlu_mt.py (output up-to-date)
    not copying daetools/solibs/__init__.py (output up-to-date)
    not copying daetools/code_generators/modelica.py (output up-to-date)
    not copying daetools/code_generators/analyzer.py (output up-to-date)
    not copying daetools/code_generators/code_generator.py (output up-to-date)
    not copying daetools/code_generators/c99.py (output up-to-date)
    not copying daetools/code_generators/formatter.py (output up-to-date)
    not copying daetools/code_generators/fmi.py (output up-to-date)
    not copying daetools/code_generators/gproms.py (output up-to-date)
    not copying daetools/code_generators/cxx_mpi.py (output up-to-date)
    not copying daetools/code_generators/__init__.py (output up-to-date)
    not copying daetools/code_generators/fmi_xml_support.py (output up-to-date)
    not copying daetools/dae_plotter/formlayout.py (output up-to-date)
    not copying daetools/dae_plotter/save_video_ui.py (output up-to-date)
    not copying daetools/dae_plotter/save_video.py (output up-to-date)
    not copying daetools/dae_plotter/plotter.py (output up-to-date)
    not copying daetools/dae_plotter/user_data.py (output up-to-date)
    not copying daetools/dae_plotter/data_receiver_io.py (output up-to-date)
    not copying daetools/dae_plotter/animation_parameters.py (output up-to-date)
    not copying daetools/dae_plotter/custom_plots_ui.py (output up-to-date)
    not copying daetools/dae_plotter/choose_variable_ui.py (output up-to-date)
    not copying daetools/dae_plotter/custom_plots.py (output up-to-date)
    not copying daetools/dae_plotter/mayavi_plot3d.py (output up-to-date)
    not copying daetools/dae_plotter/table_widget.py (output up-to-date)
    not copying daetools/dae_plotter/__init__.py (output up-to-date)
    not copying daetools/dae_plotter/choose_variable.py (output up-to-date)
    not copying daetools/dae_plotter/about_ui.py (output up-to-date)
    not copying daetools/dae_plotter/user_data_ui.py (output up-to-date)
    not copying daetools/dae_plotter/plot2d.py (output up-to-date)
    not copying daetools/dae_plotter/animation_params_ui.py (output up-to-date)
    not copying daetools/dae_plotter/plot_options.py (output up-to-date)
    not copying daetools/dae_plotter/about.py (output up-to-date)
    not copying daetools/dae_simulator/html_form.py (output up-to-date)
    not copying daetools/dae_simulator/editor_quantity_array_ui.py (output up-to-date)
    not copying daetools/dae_simulator/simulation_explorer_ui.py (output up-to-date)
    not copying daetools/dae_simulator/web_service_client.py (output up-to-date)
    not copying daetools/dae_simulator/daetools_ws.py (output up-to-date)
    not copying daetools/dae_simulator/tree_item.py (output up-to-date)
    not copying daetools/dae_simulator/simulator.py (output up-to-date)
    not copying daetools/dae_simulator/auxiliary.py (output up-to-date)
    not copying daetools/dae_simulator/optimization_progress_monitor.py (output up-to-date)
    not copying daetools/dae_simulator/activity.py (output up-to-date)
    not copying daetools/dae_simulator/daetools_fmi_ws_client.py (output up-to-date)
    not copying daetools/dae_simulator/fmi_interface.py (output up-to-date)
    not copying daetools/dae_simulator/simulation_explorer.py (output up-to-date)
    not copying daetools/dae_simulator/daetools_fmi_ws.py (output up-to-date)
    not copying daetools/dae_simulator/exception_dlg_ui.py (output up-to-date)
    not copying daetools/dae_simulator/editor_state_transition_ui.py (output up-to-date)
    not copying daetools/dae_simulator/editor_domain_distributed_ui.py (output up-to-date)
    not copying daetools/dae_simulator/editor_domain_array_ui.py (output up-to-date)
    not copying daetools/dae_simulator/__init__.py (output up-to-date)
    not copying daetools/dae_simulator/simulator_ui.py (output up-to-date)
    not copying daetools/dae_simulator/web_service.py (output up-to-date)
    not copying daetools/dae_simulator/editor_quantity_ui.py (output up-to-date)
    not copying daetools/dae_simulator/simulation_inspector.py (output up-to-date)
    not copying daetools/examples/tutorial_dealii_4.py (output up-to-date)
    not copying daetools/examples/tutorial_che_opt_2.py (output up-to-date)
    not copying daetools/examples/tutorial_adv_3.py (output up-to-date)
    not copying daetools/examples/tutorial17.py (output up-to-date)
    not copying daetools/examples/membrane_variable_types.py (output up-to-date)
    not copying daetools/examples/tutorial12.py (output up-to-date)
    not copying daetools/examples/tutorial_che_9.py (output up-to-date)
    not copying daetools/examples/tutorial_che_1.py (output up-to-date)
    not copying daetools/examples/tutorial_sa_1.py (output up-to-date)
    not copying daetools/examples/tutorial16.py (output up-to-date)
    not copying daetools/examples/opt_tutorial6.py (output up-to-date)
    not copying daetools/examples/tutorial_dealii_2.py (output up-to-date)
    not copying daetools/examples/tutorial_cv_5.py (output up-to-date)
    not copying daetools/examples/tutorial_cv_8.py (output up-to-date)
    not copying daetools/examples/tutorial9.py (output up-to-date)
    not copying daetools/examples/tutorial17_ui.py (output up-to-date)
    not copying daetools/examples/tutorial6.py (output up-to-date)
    not copying daetools/examples/tutorial_che_opt_3.py (output up-to-date)
    not copying daetools/examples/tutorial8.py (output up-to-date)
    not copying daetools/examples/tutorial_sa_3.py (output up-to-date)
    not copying daetools/examples/tutorial_che_8.py (output up-to-date)
    not copying daetools/examples/tutorial_dealii_5.py (output up-to-date)
    not copying daetools/examples/tutorial_cv_10.py (output up-to-date)
    not copying daetools/examples/opt_tutorial3.py (output up-to-date)
    not copying daetools/examples/tutorial_dealii_7.py (output up-to-date)
    not copying daetools/examples/opt_tutorial5.py (output up-to-date)
    not copying daetools/examples/tutorial_che_11.py (output up-to-date)
    not copying daetools/examples/tutorial_cv_9.py (output up-to-date)
    not copying daetools/examples/tutorial3.py (output up-to-date)
    not copying daetools/examples/tutorial_che_opt_1.py (output up-to-date)
    not copying daetools/examples/tutorial_che_10.py (output up-to-date)
    not copying daetools/examples/RunExamples_ui_webengine.py (output up-to-date)
    not copying daetools/examples/opt_tutorial1.py (output up-to-date)
    not copying daetools/examples/tutorial7.py (output up-to-date)
    not copying daetools/examples/tutorial_cv_1.py (output up-to-date)
    not copying daetools/examples/tutorial_che_5.py (output up-to-date)
    not copying daetools/examples/tutorial_adv_4.py (output up-to-date)
    not copying daetools/examples/tutorial21.py (output up-to-date)
    not copying daetools/examples/tutorial_cv_3.py (output up-to-date)
    not copying daetools/examples/tutorial_che_2.py (output up-to-date)
    not copying daetools/examples/tutorial5.py (output up-to-date)
    not copying daetools/examples/tutorial_che_opt_5.py (output up-to-date)
    not copying daetools/examples/tutorial11.py (output up-to-date)
    not copying daetools/examples/tutorial1.py (output up-to-date)
    not copying daetools/examples/run_examples.py (output up-to-date)
    not copying daetools/examples/membrane.py (output up-to-date)
    not copying daetools/examples/fl_analytical.py (output up-to-date)
    not copying daetools/examples/tutorial_cv_4.py (output up-to-date)
    not copying daetools/examples/tutorial10.py (output up-to-date)
    not copying daetools/examples/tutorial13.py (output up-to-date)
    not copying daetools/examples/support.py (output up-to-date)
    not copying daetools/examples/tutorial_dealii_1.py (output up-to-date)
    not copying daetools/examples/tutorial_che_opt_6.py (output up-to-date)
    not copying daetools/examples/tutorial15.py (output up-to-date)
    not copying daetools/examples/opt_tutorial7.py (output up-to-date)
    not copying daetools/examples/tutorial_che_6.py (output up-to-date)
    not copying daetools/examples/tutorial_cv_11.py (output up-to-date)
    not copying daetools/examples/membrane_unit.py (output up-to-date)
    not copying daetools/examples/tutorial_adv_1_ui.py (output up-to-date)
    not copying daetools/examples/tutorial_cv_6.py (output up-to-date)
    not copying daetools/examples/tutorial_che_7.py (output up-to-date)
    not copying daetools/examples/tutorial_adv_2.py (output up-to-date)
    not copying daetools/examples/__init__.py (output up-to-date)
    not copying daetools/examples/whats_the_time.py (output up-to-date)
    not copying daetools/examples/tutorial_che_3.py (output up-to-date)
    not copying daetools/examples/tutorial19.py (output up-to-date)
    not copying daetools/examples/tutorial4.py (output up-to-date)
    not copying daetools/examples/tutorial_dealii_8.py (output up-to-date)
    not copying daetools/examples/RunExamples_ui.py (output up-to-date)
    not copying daetools/examples/tutorial20.py (output up-to-date)
    not copying daetools/examples/tutorial_dealii_3.py (output up-to-date)
    not copying daetools/examples/tutorial2.py (output up-to-date)
    not copying daetools/examples/tutorial18.py (output up-to-date)
    not copying daetools/examples/tutorial_dealii_6.py (output up-to-date)
    not copying daetools/examples/generate_fmus.py (output up-to-date)
    not copying daetools/examples/tutorial14.py (output up-to-date)
    not copying daetools/examples/tutorial_che_4.py (output up-to-date)
    not copying daetools/examples/compartment.py (output up-to-date)
    not copying daetools/examples/opt_tutorial4.py (output up-to-date)
    not copying daetools/examples/tutorial_che_opt_4.py (output up-to-date)
    not copying daetools/examples/opt_tutorial2.py (output up-to-date)
    not copying daetools/examples/tutorial_cv_2.py (output up-to-date)
    not copying daetools/examples/tutorial_adv_1.py (output up-to-date)
    not copying daetools/examples/tutorial_cv_7.py (output up-to-date)
    not copying daetools/examples/tutorial_sa_2.py (output up-to-date)
    not copying daetools/unit_tests/tests_object.py (output up-to-date)
    not copying daetools/unit_tests/tests_domain.py (output up-to-date)
    not copying daetools/unit_tests/all.py (output up-to-date)
    not copying daetools/unit_tests/tests_jacobian_expressions.py (output up-to-date)
    not copying daetools/unit_tests/tests_parameter.py (output up-to-date)
    not copying daetools/unit_tests/tests_numpy_ufuncs.py (output up-to-date)
    not copying daetools/unit_tests/__init__.py (output up-to-date)
    not copying daetools/unit_tests/tests_dealii_feobject.py (output up-to-date)
    not copying daetools/ext_libs/__init__.py (output up-to-date)
    not copying daetools/ext_libs/pyevtk/vtk.py (output up-to-date)
    not copying daetools/ext_libs/pyevtk/hl.py (output up-to-date)
    not copying daetools/ext_libs/pyevtk/__init__.py (output up-to-date)
    not copying daetools/ext_libs/pyevtk/xml.py (output up-to-date)
    not copying daetools/ext_libs/pyevtk/evtk.py (output up-to-date)
    not copying daetools/ext_libs/SALib/__init__.py (output up-to-date)
    not copying daetools/ext_libs/SALib/analyze/sobol.py (output up-to-date)
    not copying daetools/ext_libs/SALib/analyze/delta.py (output up-to-date)
    not copying daetools/ext_libs/SALib/analyze/dgsm.py (output up-to-date)
    not copying daetools/ext_libs/SALib/analyze/fast.py (output up-to-date)
    not copying daetools/ext_libs/SALib/analyze/ff.py (output up-to-date)
    not copying daetools/ext_libs/SALib/analyze/common_args.py (output up-to-date)
    not copying daetools/ext_libs/SALib/analyze/__init__.py (output up-to-date)
    not copying daetools/ext_libs/SALib/analyze/morris.py (output up-to-date)
    not copying daetools/ext_libs/SALib/plotting/__init__.py (output up-to-date)
    not copying daetools/ext_libs/SALib/plotting/morris.py (output up-to-date)
    not copying daetools/ext_libs/SALib/sample/saltelli.py (output up-to-date)
    not copying daetools/ext_libs/SALib/sample/finite_diff.py (output up-to-date)
    not copying daetools/ext_libs/SALib/sample/sobol_sequence.py (output up-to-date)
    not copying daetools/ext_libs/SALib/sample/latin.py (output up-to-date)
    not copying daetools/ext_libs/SALib/sample/fast_sampler.py (output up-to-date)
    not copying daetools/ext_libs/SALib/sample/directions.py (output up-to-date)
    not copying daetools/ext_libs/SALib/sample/ff.py (output up-to-date)
    not copying daetools/ext_libs/SALib/sample/common_args.py (output up-to-date)
    not copying daetools/ext_libs/SALib/sample/morris_util.py (output up-to-date)
    not copying daetools/ext_libs/SALib/sample/__init__.py (output up-to-date)
    not copying daetools/ext_libs/SALib/sample/optimal_trajectories.py (output up-to-date)
    not copying daetools/ext_libs/SALib/sample/morris.py (output up-to-date)
    not copying daetools/ext_libs/SALib/test_functions/Ishigami.py (output up-to-date)
    not copying daetools/ext_libs/SALib/test_functions/Sobol_G.py (output up-to-date)
    not copying daetools/ext_libs/SALib/test_functions/__init__.py (output up-to-date)
    not copying daetools/ext_libs/SALib/util/__init__.py (output up-to-date)
    not copying daetools/licence-Netlib.txt (output up-to-date)
    not copying daetools/licence.txt (output up-to-date)
    not copying daetools/ReadMe.txt (output up-to-date)
    not copying daetools/licence-CPL.txt (output up-to-date)
    not copying daetools/licence-MUMPS.txt (output up-to-date)
    not copying daetools/licence-SALib.txt (output up-to-date)
    not copying daetools/licence-Sundials.txt (output up-to-date)
    not copying daetools/licence-GNU-LGPL-2.1.txt (output up-to-date)
    not copying daetools/licence-SuperLU.txt (output up-to-date)
    not copying daetools/licence-Boost.txt (output up-to-date)
    not copying daetools/licence-pyevtk.txt (output up-to-date)
    not copying daetools/licence-EPL.txt (output up-to-date)
    not copying daetools/licence-numpy.txt (output up-to-date)
    not copying daetools/bonmin.cfg (output up-to-date)
    not copying daetools/daetools.cfg (output up-to-date)
    not copying daetools/docs/presentations/daetools-introduction.pdf (output up-to-date)
    not copying daetools/docs/html/index.html (output up-to-date)
    not copying daetools/docs/html/tutorials-fe.html (output up-to-date)
    not copying daetools/docs/html/objects.inv (output up-to-date)
    not copying daetools/docs/html/log.html (output up-to-date)
    not copying daetools/docs/html/pyDAE_user_guide.html (output up-to-date)
    not copying daetools/docs/html/introduction.html (output up-to-date)
    not copying daetools/docs/html/searchindex.js (output up-to-date)
    not copying daetools/docs/html/tutorials-chemeng.html (output up-to-date)
    not copying daetools/docs/html/activity.html (output up-to-date)
    not copying daetools/docs/html/getting_daetools.html (output up-to-date)
    not copying daetools/docs/html/dae_plotter.html (output up-to-date)
    not copying daetools/docs/html/tutorials-basic.html (output up-to-date)
    not copying daetools/docs/html/tutorials-sa.html (output up-to-date)
    not copying daetools/docs/html/tutorials-cv.html (output up-to-date)
    not copying daetools/docs/html/core.html (output up-to-date)
    not copying daetools/docs/html/tutorials-all.html (output up-to-date)
    not copying daetools/docs/html/hr_upwind_scheme.html (output up-to-date)
    not copying daetools/docs/html/getting_started.html (output up-to-date)
    not copying daetools/docs/html/search.html (output up-to-date)
    not copying daetools/docs/html/py-modindex.html (output up-to-date)
    not copying daetools/docs/html/dae_solver.html (output up-to-date)
    not copying daetools/docs/html/tutorials.html (output up-to-date)
    not copying daetools/docs/html/solvers.html (output up-to-date)
    not copying daetools/docs/html/data_reporting.html (output up-to-date)
    not copying daetools/docs/html/tutorials-chemeng-optimisation.html (output up-to-date)
    not copying daetools/docs/html/publications.html (output up-to-date)
    not copying daetools/docs/html/variable_types.html (output up-to-date)
    not copying daetools/docs/html/finite_element.html (output up-to-date)
    not copying daetools/docs/html/genindex.html (output up-to-date)
    not copying daetools/docs/html/paradigms.html (output up-to-date)
    not copying daetools/docs/html/units.html (output up-to-date)
    not copying daetools/docs/html/code_generators.html (output up-to-date)
    not copying daetools/docs/html/thermo_packages.html (output up-to-date)
    not copying daetools/docs/html/tutorials-advanced.html (output up-to-date)
    not copying daetools/docs/html/tutorials-optimisation.html (output up-to-date)
    not copying daetools/docs/html/pyDAE_api_ref.html (output up-to-date)
    not copying daetools/docs/html/dae_simulator.html (output up-to-date)
    not copying daetools/docs/html/architecture.html (output up-to-date)
    not copying daetools/docs/html/_sources/data_reporting.rst.txt (output up-to-date)
    not copying daetools/docs/html/_sources/dae_simulator.rst.txt (output up-to-date)
    not copying daetools/docs/html/_sources/getting_daetools.rst.txt (output up-to-date)
    not copying daetools/docs/html/_sources/tutorials-all.rst.txt (output up-to-date)
    not copying daetools/docs/html/_sources/getting_started.rst.txt (output up-to-date)
    not copying daetools/docs/html/_sources/tutorials-chemeng.rst.txt (output up-to-date)
    not copying daetools/docs/html/_sources/introduction.rst.txt (output up-to-date)
    not copying daetools/docs/html/_sources/tutorials-chemeng-optimisation.rst.txt (output up-to-date)
    not copying daetools/docs/html/_sources/paradigms.rst.txt (output up-to-date)
    not copying daetools/docs/html/_sources/thermo_packages.rst.txt (output up-to-date)
    not copying daetools/docs/html/_sources/tutorials-basic.rst.txt (output up-to-date)
    not copying daetools/docs/html/_sources/code_generators.rst.txt (output up-to-date)
    not copying daetools/docs/html/_sources/dae_plotter.rst.txt (output up-to-date)
    not copying daetools/docs/html/_sources/hr_upwind_scheme.rst.txt (output up-to-date)
    not copying daetools/docs/html/_sources/dae_solver.rst.txt (output up-to-date)
    not copying daetools/docs/html/_sources/tutorials-optimisation.rst.txt (output up-to-date)
    not copying daetools/docs/html/_sources/pyDAE_user_guide.rst.txt (output up-to-date)
    not copying daetools/docs/html/_sources/activity.rst.txt (output up-to-date)
    not copying daetools/docs/html/_sources/core.rst.txt (output up-to-date)
    not copying daetools/docs/html/_sources/variable_types.rst.txt (output up-to-date)
    not copying daetools/docs/html/_sources/pyDAE_api_ref.rst.txt (output up-to-date)
    not copying daetools/docs/html/_sources/log.rst.txt (output up-to-date)
    not copying daetools/docs/html/_sources/tutorials.rst.txt (output up-to-date)
    not copying daetools/docs/html/_sources/publications.rst.txt (output up-to-date)
    not copying daetools/docs/html/_sources/units.rst.txt (output up-to-date)
    not copying daetools/docs/html/_sources/tutorials-fe.rst.txt (output up-to-date)
    not copying daetools/docs/html/_sources/tutorials-sa.rst.txt (output up-to-date)
    not copying daetools/docs/html/_sources/architecture.rst.txt (output up-to-date)
    not copying daetools/docs/html/_sources/tutorials-advanced.rst.txt (output up-to-date)
    not copying daetools/docs/html/_sources/index.rst.txt (output up-to-date)
    not copying daetools/docs/html/_sources/finite_element.rst.txt (output up-to-date)
    not copying daetools/docs/html/_sources/solvers.rst.txt (output up-to-date)
    not copying daetools/docs/html/_sources/tutorials-cv.rst.txt (output up-to-date)
    not copying daetools/docs/html/_modules/index.html (output up-to-date)
    not copying daetools/docs/html/_modules/daetools/dae_plotter/plot2d.html (output up-to-date)
    not copying daetools/docs/html/_modules/daetools/dae_plotter/plot_options.html (output up-to-date)
    not copying daetools/docs/html/_modules/daetools/dae_plotter/mayavi_plot3d.html (output up-to-date)
    not copying daetools/docs/html/_modules/daetools/dae_plotter/plotter.html (output up-to-date)
    not copying daetools/docs/html/_modules/daetools/dae_simulator/web_service_client.html (output up-to-date)
    not copying daetools/docs/html/_modules/daetools/dae_simulator/fmi_interface.html (output up-to-date)
    not copying daetools/docs/html/_modules/daetools/dae_simulator/daetools_fmi_ws_client.html (output up-to-date)
    not copying daetools/docs/html/_modules/daetools/dae_simulator/daetools_ws.html (output up-to-date)
    not copying daetools/docs/html/_modules/daetools/dae_simulator/daetools_fmi_ws.html (output up-to-date)
    not copying daetools/docs/html/_modules/daetools/dae_simulator/simulation_explorer.html (output up-to-date)
    not copying daetools/docs/html/_modules/daetools/dae_simulator/simulator.html (output up-to-date)
    not copying daetools/docs/html/_modules/daetools/dae_simulator/simulation_inspector.html (output up-to-date)
    not copying daetools/docs/html/_modules/daetools/dae_simulator/web_service.html (output up-to-date)
    not copying daetools/docs/html/_modules/daetools/pyDAE/eval_node_graph.html (output up-to-date)
    not copying daetools/docs/html/_modules/daetools/pyDAE/logs.html (output up-to-date)
    not copying daetools/docs/html/_modules/daetools/pyDAE/hr_upwind_scheme.html (output up-to-date)
    not copying daetools/docs/html/_modules/daetools/pyDAE/data_reporters.html (output up-to-date)
    not copying daetools/docs/html/_modules/daetools/pyDAE/thermo_packages.html (output up-to-date)
    not copying daetools/docs/html/_modules/daetools/solvers/minpack.html (output up-to-date)
    not copying daetools/docs/html/_modules/daetools/code_generators/modelica.html (output up-to-date)
    not copying daetools/docs/html/_modules/daetools/code_generators/formatter.html (output up-to-date)
    not copying daetools/docs/html/_modules/daetools/code_generators/fmi.html (output up-to-date)
    not copying daetools/docs/html/_modules/daetools/code_generators/cxx_mpi.html (output up-to-date)
    not copying daetools/docs/html/_modules/daetools/code_generators/c99.html (output up-to-date)
    not copying daetools/docs/html/_modules/daetools/code_generators/analyzer.html (output up-to-date)
    not copying daetools/docs/html/_modules/daetools/code_generators/gproms.html (output up-to-date)
    not copying daetools/docs/html/_static/architecture_7.png (output up-to-date)
    not copying daetools/docs/html/_static/Screenshot-DAEToolsTutorials-Run.png (output up-to-date)
    not copying daetools/docs/html/_static/daetools_web_service.png (output up-to-date)
    not copying daetools/docs/html/_static/sample_2d_plot.png (output up-to-date)
    not copying daetools/docs/html/_static/down-pressed.png (output up-to-date)
    not copying daetools/docs/html/_static/architecture_3.png (output up-to-date)
    not copying daetools/docs/html/_static/daetools-architecture.png (output up-to-date)
    not copying daetools/docs/html/_static/tutorial_che_6-results.png (output up-to-date)
    not copying daetools/docs/html/_static/tutorial_cv_9-results2.png (output up-to-date)
    not copying daetools/docs/html/_static/tutorial_cv_7-results-koren.png (output up-to-date)
    not copying daetools/docs/html/_static/tutorial_che_5-results.png (output up-to-date)
    not copying daetools/docs/html/_static/cell-centerred_finite-volume-discretisation-domain-x.png (output up-to-date)
    not copying daetools/docs/html/_static/doctools.js (output up-to-date)
    not copying daetools/docs/html/_static/tutorial_che_3-results2.png (output up-to-date)
    not copying daetools/docs/html/_static/ajax-loader.gif (output up-to-date)
    not copying daetools/docs/html/_static/tutorial_adv_3-results.png (output up-to-date)
    not copying daetools/docs/html/_static/tutorial_che_opt_3-results2.png (output up-to-date)
    not copying daetools/docs/html/_static/CodeGeneration.png (output up-to-date)
    not copying daetools/docs/html/_static/tutorial_cv_8-results-koren.png (output up-to-date)
    not copying daetools/docs/html/_static/tutorial_cv_9-animation-32x32.gif (output up-to-date)
    not copying daetools/docs/html/_static/tutorial_cv_3-results.png (output up-to-date)
    not copying daetools/docs/html/_static/tutorial15-results2.png (output up-to-date)
    not copying daetools/docs/html/_static/tutorial_cv_3-results2.png (output up-to-date)
    not copying daetools/docs/html/_static/daetools_fmi_ws_html_plots.png (output up-to-date)
    not copying daetools/docs/html/_static/tutorial_dealii_8-results.png (output up-to-date)
    not copying daetools/docs/html/_static/tutorial_cv_4-v_component.png (output up-to-date)
    not copying daetools/docs/html/_static/rect(1.5,0.5)-100x50.png (output up-to-date)
    not copying daetools/docs/html/_static/tutorial_cv_10-animation-96x96.gif (output up-to-date)
    not copying daetools/docs/html/_static/architecture_2.png (output up-to-date)
    not copying daetools/docs/html/_static/tutorial_sa_3-scatter_fast.png (output up-to-date)
    not copying daetools/docs/html/_static/square(-1,1)x(-1,1)-64x64.png (output up-to-date)
    not copying daetools/docs/html/_static/tutorial_dealii_7-animation.gif (output up-to-date)
    not copying daetools/docs/html/_static/tutorial11-results.png (output up-to-date)
    not copying daetools/docs/html/_static/tutorial_che_1-results2.png (output up-to-date)
    not copying daetools/docs/html/_static/tutorial15-results.png (output up-to-date)
    not copying daetools/docs/html/_static/SimulationExplorer4.png (output up-to-date)
    not copying daetools/docs/html/_static/tutorial_cv_7-results.png (output up-to-date)
    not copying daetools/docs/html/_static/tutorial_dealii_1-animation.gif (output up-to-date)
    not copying daetools/docs/html/_static/tutorial_cv_5-results-5_elements-II_order.png (output up-to-date)
    not copying daetools/docs/html/_static/bootstrap-sphinx.css (output up-to-date)
    not copying daetools/docs/html/_static/deal.II_tutorial_5-porous_media.png (output up-to-date)
    not copying daetools/docs/html/_static/gPROMS_model.png (output up-to-date)
    not copying daetools/docs/html/_static/tutorial_cv_7-results-superbee.png (output up-to-date)
    not copying daetools/docs/html/_static/[d][a][e].ico (output up-to-date)
    not copying daetools/docs/html/_static/tutorial3-results.png (output up-to-date)
    not copying daetools/docs/html/_static/tutorial_che_7-results.png (output up-to-date)
    not copying daetools/docs/html/_static/tutorial_che_opt_3-results.png (output up-to-date)
    not copying daetools/docs/html/_static/SensitivitiesInDataReporter.png (output up-to-date)
    not copying daetools/docs/html/_static/SimulationExplorer1.png (output up-to-date)
    not copying daetools/docs/html/_static/square(0,1)x(0,1)-64x64.png (output up-to-date)
    not copying daetools/docs/html/_static/tutorial_cv_9-animation-96x96.gif (output up-to-date)
    not copying daetools/docs/html/_static/tutorial_dealii_6-results2.png (output up-to-date)
    not copying daetools/docs/html/_static/tutorial2-results.png (output up-to-date)
    not copying daetools/docs/html/_static/Screenshot-2Dplot.png (output up-to-date)
    not copying daetools/docs/html/_static/tutorial_sa_3-scatter_morris.png (output up-to-date)
    not copying daetools/docs/html/_static/tutorial_adv_1-screenshot.png (output up-to-date)
    not copying daetools/docs/html/_static/tutorial_cv_10-results1.png (output up-to-date)
    not copying daetools/docs/html/_static/tutorial_cv_5-results-20_elements-I_order.png (output up-to-date)
    not copying daetools/docs/html/_static/EquationBounds_OO_OO.png (output up-to-date)
    error: can't copy 'daetools/docs/html/_static/bootstrap-3.3.6': doesn't exist or not a regular file
    

    By the way, I got DAE Tools to work on another machine running Debian 9, with Python 2.7.13 and setuptools 33.1.1-1. So with Ubuntu 16.04, there seems to be some version issue I guess.

     
  • Jaime Souza

    Jaime Souza - 2018-08-01

    I had the same problem.

     
  • ciroki

    ciroki - 2018-08-01

    I just saw the post, it was stuck in moderation.
    From the output I would say it tries to copy a folder as a file and fails. If I can recall correctly I faced something similar in the past, but can't remember the versions of python and the OS.
    I'll try to install Ubuntu 16.04 and detect the error.

    Dragan

     
  • ciroki

    ciroki - 2018-08-01

    I would need one more thing.
    Can you guys take setup.py, uncomment line 291:
    print('\n'.join(docshtmldirs))
    add sys.exit() after it and send me the output?
    I'd like to check the contents of the list on buntu 16.04.

     
  • ciroki

    ciroki - 2018-08-01
     
  • ciroki

    ciroki - 2018-08-01

    Since I do not get that error, can you test the solution for me?
    Please replace the lines in setup.py:

    docs_html_dirs = []
    for f in os.walk(docs_html_folder):
        try:
            p = os.path.relpath(f[0], daetools_folder)
            docs_html_dirs.append(os.path.join(p, '*.*'))
        except:
            pass
    

    with

    docs_html_dirs = []
    for root, dirs, files in os.walk(docs_html_folder):
        try:
            if files:
                relative_path = os.path.relpath(root, daetools_folder)
                docs_html_dirs.append(os.path.join(relative_path, '*.*'))
        except:
            pass
    

    and let me know if it works.
    The error you get is because in your system copying of the glob: directory/*.* fails if that directory does not contain files (only folders).

    Dragan

     
  • ciroki

    ciroki - 2018-08-02

    I tested in Ubuntu 16.04 and this is the working solution.
    The lines starting at 291:

    docs_html_dirs = []
    for f in os.walk(docs_html_folder):
        try:
            p = os.path.relpath(f[0], daetools_folder)
            docs_html_dirs.append(os.path.join(p, '*.*'))
        except:
            pass
    

    should be replaced wth:

    docs_html_dirs = []
    for root, dirs, files in os.walk(docs_html_folder):
        try:
            for f in files:
                full_path = os.path.join(root, f)
                relative_path = os.path.relpath(full_path, daetools_folder)
                docs_html_dirs.append(relative_path)
        except:
            pass
    

    Please try.

     
  • Anonymous

    Anonymous - 2018-08-04

    Thanks a lot for looking into this! I can confirm the installation now finishes on my machine!
    I used Python3, i.e., I installed the python3-* versions of the required packages (via apt-get), and also ran the installation script as in sudo python3 setup.py install
    When I try starting daeplotter or daeexamples, I get:
    /usr/bin/python: No module named daetools.dae_plotter
    (Python version is 3.5.2 btw)
    Since I mostly use the daeCSVFileDataReporter() for my model, it's not that big of an issue, except that most tutorials won't run. Do you have an idea how to fix this?
    Looking forward to start working seriously with DAE Tools for my research.

     
  • ciroki

    ciroki - 2018-08-06

    No problem. Great that it works.
    Can't say for sure, but these scripts use the default python. It could be that the default python command in your system is python2 and you explicitly used python3. Try with:
    python -m daetools.dae_plotter.plotter
    and
    python3 -m daetools.dae_plotter.plotter
    and see what happens. It should work in the second case.
    Probably it is the same issues with daeexamples.

     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB