makehumancommunity / makehuman

This is the main repository for the MakeHuman application as such.
http://www.makehumancommunity.org
Other
1.2k stars 249 forks source link

Viewport is messed (Intel GPU) #46

Closed FabriceSalvaire closed 4 years ago

FabriceSalvaire commented 5 years ago

logs are

Initialized logging
VERSION: master:eaf64acb
HG REVISION: UNKNOWN
SHORT VERSION: alpha4
BASEMESH VERSION: hm08
IS BUILT (FROZEN): No
IS RELEASE VERSION: No
DEFAULT ENCODING: utf-8
FILESYSTEM ENCODING: utf-8
STDOUT ENCODING: UTF-8
LOCALE PREFERRED ENCODING: UTF-8
WORKING DIRECTORY: /usr/local/stow/makehuman/makehuman
HOME LOCATION: /home/fabrice/home/documents
PYTHON PATH: ./:./lib:./apps:./shared:./apps/gui:./core:/usr/local/stow/makehuman/makehuman:/usr/local/stow/python-3.7/lib/python37.zip:/usr/local/stow/python-3.7/lib/python3.7:/usr/local/stow/python-3.7/lib/python3.7/lib-dynload:/opt/python-virtual-env/py37/lib/python3.7/site-packages:/opt/python-virtual-env/py37/lib/python3.7/site-packages/Pyterate-2.0.1-py3.7.egg:/opt/python-virtual-env/py37/lib/python3.7/site-packages/pycparser-2.17-py3.7.egg:/opt/python-virtual-env/py37/lib/python3.7/site-packages/BookBrowser-1.0.0-py3.7.egg:/opt/python-virtual-env/py37/lib/python3.7/site-packages/CodeReview-1.0.0-py3.7-linux-x86_64.egg:/opt/python-virtual-env/py37/lib/python3.7/site-packages/RadioCrawler-1.0.0-py3.7.egg:/home/opt/python-virtual-env/py37/lib/python3.7/site-packages
DLL PATH: /opt/python-virtual-env/py37/bin:.:/home/fabrice/local/bin:/home/fabrice/bin/divers:/home/fabrice/bin/devel:/home/fabrice/bin/web-devel:/home/fabrice/bin/python-devel:/home/fabrice/bin:/opt/Android/Sdk/tools:/home/etc/users/bin:/usr/libexec/python3-sphinx:/usr/lib64/qt-3.3/bin:/usr/lib/qtchooser:/usr/share/Modules/bin:/usr/lib64/ccache:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/home/fabrice/.composer/vendor/bin:/home/fabrice/.local/bin:/home/fabrice/bin
SYS.VERSION: 3.7.2 (default, Jan 17 2019, 00:20:58)  [GCC 8.2.1 20181215 (Red Hat 8.2.1-6)]
SYS.PLATFORM: linux
SYS.EXECUTABLE: /opt/python-virtual-env/py37/bin/python3
PLATFORM.MACHINE: x86_64
PLATFORM.PROCESSOR: x86_64
PLATFORM.UNAME.RELEASE: 5.0.6-200.fc29.x86_64
PLATFORM.LINUX_DISTRIBUTION: Fedora 29 Twenty Nine
NUMPY.VERSION: 1.16.2
No OpenGL_accelerate module loaded: No module named 'OpenGL_accelerate'
QT.VERSION: 5.12.2
QT.JPG_SUPPORT: not supported
QT.SVG_SUPPORT: not supported
QT.PLUGIN_PATH: /home/opt/python-virtual-env/py37/lib/python3.7/site-packages/PyQt5/Qt/plugins:/usr/local/stow/python-3.7/bin
QT.PLUGIN_PATH_ENV: 
QT.CONF: NOT PRESENT
qt.glx: qglx_findConfig: Failed to finding matching FBConfig (8 8 8 1)
qt.glx: qglx_findConfig: Failed to finding matching FBConfig (1 8 8 1)
qt.glx: qglx_findConfig: Failed to finding matching FBConfig (1 1 8 1)
qt.glx: qglx_findConfig: Failed to finding matching FBConfig (1 1 1 1)
qt.glx: qglx_findConfig: Failed to finding matching FBConfig (1 1 1 1)
qt.glx: qglx_findConfig: Failed to finding matching FBConfig (1 1 1 1)
qt.glx: qglx_findConfig: Failed to finding matching FBConfig (8 8 8 1)
qt.glx: qglx_findConfig: Failed to finding matching FBConfig (1 8 8 1)
qt.glx: qglx_findConfig: Failed to finding matching FBConfig (1 1 8 1)
qt.glx: qglx_findConfig: Failed to finding matching FBConfig (1 1 1 1)
qt.glx: qglx_findConfig: Failed to finding matching FBConfig (1 1 1 1)
qt.glx: qglx_findConfig: Failed to finding matching FBConfig (1 1 1 1)
PYOPENGL.VERSION: 3.1.0
GL.VENDOR: Intel Open Source Technology Center
GL.RENDERER: Mesa DRI Intel(R) HD Graphics 5500 (Broadwell GT2) 
GL.VERSION: 3.0 Mesa 18.3.5
1.30
GLSL.VERSION: 1.30
GL.EXTENSION: GL_ARB_multisample enabled (0x samples)
Creating new texture for image data/textures/texture_notfound.png.
GL.EXTENSION: GL_ARB_texture_non_power_of_two enabled
initTexture: 256, 256, False
Setting language to english
Setting language to english
Initializing default theme first.
Theme default version 1.1.0
Loaded theme data/themes/default.mht
Using Qt system style fusion
Loading human
Loading binary mesh data/3dobjs/base.npz.
NPZ-File: maxmimum number of faces for one vertex: 5
Loading material from file data/skins/default.mhmat
Shader: adding built-in uniform b'gl_NormalMatrix'
Shader: adding built-in uniform b'gl_ModelViewProjectionMatrix'
VectorUniform(AdditiveShading) = [0.]
Loaded vertex weights MakeHuman weights from file /usr/local/stow/makehuman/makehuman/data/rigs/default_weights.mhw
Loading scene
Loading scene file: data/scenes/default.mhscene
Loading main GUI
Assigning setting loaddir value /home/fabrice/home/documents/makehuman/v1py3/models that was loaded before the setting was declared.
Assigning setting savedir value /home/fabrice/home/documents/makehuman/v1py3/models that was loaded before the setting was declared.
Assigning setting exportdir value /home/fabrice/home/documents/makehuman/v1py3/exports that was loaded before the setting was declared.
Loading plugins
Importing plugin 0_modeling_0_modifiers
Imported plugin 0_modeling_0_modifiers
Loading plugin 0_modeling_0_modifiers
Loading modifiers from data/modifiers/modeling_modifiers.json
Attempting to load targets from NPZ file.
1258 targets loaded from NPZ file succesfully.
Loaded 249 modifiers from file data/modifiers/modeling_modifiers.json
Loaded 249 modifier descriptions from file data/modifiers/modeling_modifiers_desc.json
Loaded plugin 0_modeling_0_modifiers
Importing plugin 0_modeling_8_random
Imported plugin 0_modeling_8_random
Loading plugin 0_modeling_8_random
Loaded plugin 0_modeling_8_random
Importing plugin 0_modeling_9_custom_targets
Imported plugin 0_modeling_9_custom_targets
Loading plugin 0_modeling_9_custom_targets
Loaded plugin 0_modeling_9_custom_targets
Importing plugin 0_modeling_a_measurement
Imported plugin 0_modeling_a_measurement
Loading plugin 0_modeling_a_measurement
Loading modifiers from data/modifiers/measurement_modifiers.json
Loaded 20 modifiers from file data/modifiers/measurement_modifiers.json
Loaded 20 modifier descriptions from file data/modifiers/measurement_modifiers_desc.json
Recalculated maxmimum number of faces for one vertex: 4
Loaded plugin 0_modeling_a_measurement
Importing plugin 0_modeling_background
Imported plugin 0_modeling_background
Loading plugin 0_modeling_background
Recalculated maxmimum number of faces for one vertex: 4
Recalculated maxmimum number of faces for one vertex: 4
Recalculated maxmimum number of faces for one vertex: 4
Recalculated maxmimum number of faces for one vertex: 4
Recalculated maxmimum number of faces for one vertex: 4
Recalculated maxmimum number of faces for one vertex: 4
Recalculated maxmimum number of faces for one vertex: 4
Loaded plugin 0_modeling_background
Importing plugin 1_convert_model_tags
Imported plugin 1_convert_model_tags
Loading plugin 1_convert_model_tags
Loaded plugin 1_convert_model_tags
Importing plugin 1_mhapi
Imported plugin 1_mhapi
Loading plugin 1_mhapi
Loaded plugin 1_mhapi
Importing plugin 2_foot_posing
Imported plugin 2_foot_posing
Loading plugin 2_foot_posing
Loaded plugin 2_foot_posing
Importing plugin 2_posing_expression
Imported plugin 2_posing_expression
Loading plugin 2_posing_expression
Loaded plugin 2_posing_expression
Importing plugin 3_libraries_animation
Imported plugin 3_libraries_animation
Loading plugin 3_libraries_animation
Loaded plugin 3_libraries_animation
Importing plugin 3_libraries_clothes_chooser
Imported plugin 3_libraries_clothes_chooser
Loading plugin 3_libraries_clothes_chooser
Loaded plugin 3_libraries_clothes_chooser
Importing plugin 3_libraries_eye_chooser
Imported plugin 3_libraries_eye_chooser
Loading plugin 3_libraries_eye_chooser
According to mh.getSysDataPath here's high poly eyes data/eyes/high-poly/high-poly.mhclo
Selecting proxy file "data/eyes/high-poly/high-poly.mhclo" from eyes library.
Loading binary proxy data/eyes/high-poly/high-poly.mhpxy.
Loading proxy file: data/eyes/high-poly/high-poly.mhpxy.
Loading material from file /usr/local/stow/makehuman/makehuman/data/eyes/materials/brown.mhmat
Shader: adding built-in uniform b'gl_NormalMatrix'
Shader: adding built-in uniform b'gl_ModelViewProjectionMatrix'
VectorUniform(AdditiveShading) = [0.]
Loading binary mesh /usr/local/stow/makehuman/makehuman/data/eyes/high-poly/high-poly.npz.
NPZ-File: maxmimum number of faces for one vertex: 4
remapping weights for proxy HighPolyEyes
remapping weights for HighPolyEyes took 33 seconds
Loaded plugin 3_libraries_eye_chooser
Importing plugin 3_libraries_eyebrows
Imported plugin 3_libraries_eyebrows
Loading plugin 3_libraries_eyebrows
Loaded plugin 3_libraries_eyebrows
Importing plugin 3_libraries_eyelashes
Imported plugin 3_libraries_eyelashes
Loading plugin 3_libraries_eyelashes
Loaded plugin 3_libraries_eyelashes
Importing plugin 3_libraries_material_chooser
Imported plugin 3_libraries_material_chooser
Loading plugin 3_libraries_material_chooser
Loaded plugin 3_libraries_material_chooser
Importing plugin 3_libraries_polygon_hair_chooser
Imported plugin 3_libraries_polygon_hair_chooser
Loading plugin 3_libraries_polygon_hair_chooser
Loaded plugin 3_libraries_polygon_hair_chooser
Importing plugin 3_libraries_pose
Imported plugin 3_libraries_pose
Loading plugin 3_libraries_pose
Loaded plugin 3_libraries_pose
Importing plugin 3_libraries_proxy_chooser
Imported plugin 3_libraries_proxy_chooser
Loading plugin 3_libraries_proxy_chooser
Loaded plugin 3_libraries_proxy_chooser
Importing plugin 3_libraries_skeleton
Imported plugin 3_libraries_skeleton
Loading plugin 3_libraries_skeleton
Loaded plugin 3_libraries_skeleton
Importing plugin 3_libraries_teeth
Imported plugin 3_libraries_teeth
Loading plugin 3_libraries_teeth
Loaded plugin 3_libraries_teeth
Importing plugin 3_libraries_tongue
Imported plugin 3_libraries_tongue
Loading plugin 3_libraries_tongue
Loaded plugin 3_libraries_tongue
Importing plugin 4_rendering_9_viewer
Imported plugin 4_rendering_9_viewer
Loading plugin 4_rendering_9_viewer
Loaded plugin 4_rendering_9_viewer
Importing plugin 4_rendering_opengl
Imported plugin 4_rendering_opengl
Loading plugin 4_rendering_opengl
Assigning setting rendering_width value 800 that was loaded before the setting was declared.
Assigning setting rendering_height value 600 that was loaded before the setting was declared.
Assigning setting GL_RENDERER_SSS value False that was loaded before the setting was declared.
Assigning setting GL_RENDERER_AA value True that was loaded before the setting was declared.
Loaded plugin 4_rendering_opengl
Importing plugin 4_rendering_scene
Imported plugin 4_rendering_scene
Loading plugin 4_rendering_scene
Setting rendering_width is already declared. Adding it again has no effect.
Setting rendering_height is already declared. Adding it again has no effect.
Loaded plugin 4_rendering_scene
Importing plugin 5_settings_0_settings
Imported plugin 5_settings_0_settings
Loading plugin 5_settings_0_settings
Recalculated maxmimum number of faces for one vertex: 4
Recalculated maxmimum number of faces for one vertex: 4
Setting language to english
Theme makehuman version 1.1.0
Loaded theme data/themes/makehuman.mht
Loaded Qt style data/themes/makehuman.qss
Loaded plugin 5_settings_0_settings
Importing plugin 5_settings_mouse
Imported plugin 5_settings_mouse
Loading plugin 5_settings_mouse
Loaded plugin 5_settings_mouse
Importing plugin 5_settings_shortcuts
Imported plugin 5_settings_shortcuts
Loading plugin 5_settings_shortcuts
Loaded plugin 5_settings_shortcuts
Importing plugin 5_settings_userplugins
Imported plugin 5_settings_userplugins
Loading plugin 5_settings_userplugins
Loaded plugin 5_settings_userplugins
Importing plugin 6_help
Imported plugin 6_help
Loading plugin 6_help
Loaded plugin 6_help
Importing plugin 7_data
Imported plugin 7_data
Loading plugin 7_data
Loaded plugin 7_data
Importing plugin 7_example
Imported plugin 7_example
Loading plugin 7_example
Loaded plugin 7_example
Importing plugin 7_expression_mixer
Imported plugin 7_expression_mixer
Loading plugin 7_expression_mixer
Loaded plugin 7_expression_mixer
Importing plugin 7_logging
Imported plugin 7_logging
Loading plugin 7_logging
Loaded plugin 7_logging
Importing plugin 7_material_editor
Imported plugin 7_material_editor
Loading plugin 7_material_editor
Loaded plugin 7_material_editor
Importing plugin 7_profile
Imported plugin 7_profile
Loading plugin 7_profile
Loaded plugin 7_profile
Importing plugin 7_save_targets
Imported plugin 7_save_targets
Loading plugin 7_save_targets
Loaded plugin 7_save_targets
Importing plugin 7_scene_editor
Imported plugin 7_scene_editor
Loading plugin 7_scene_editor
Setting rendering_width is already declared. Adding it again has no effect.
Setting rendering_height is already declared. Adding it again has no effect.
Assigning setting Scene_Editor_FileDlgPath value /home/fabrice/home/documents/makehuman/v1py3/data/scenes that was loaded before the setting was declared.
Loaded plugin 7_scene_editor
Importing plugin 7_scripting
Imported plugin 7_scripting
Loading plugin 7_scripting
Loaded plugin 7_scripting
Importing plugin 7_shell
Imported plugin 7_shell
Loading plugin 7_shell

*** MESSAGE TYPE:kernel_info_request***
   Content: {}
   --->

kernel_info_request: {'header': {'msg_id': 'ef6d49b4-ec3d458e0269ea02d2d2125d', 'msg_type': 'kernel_info_request', 'username': 'fabrice', 'session': 'b7a4d4ab-921a5941dd33c58db4e63741', 'date': datetime.datetime(2019, 4, 11, 14, 37, 2, 803268, tzinfo=tzutc()), 'version': '5.3'}, 'msg_id': 'ef6d49b4-ec3d458e0269ea02d2d2125d', 'msg_type': 'kernel_info_request', 'parent_header': {}, 'metadata': {}, 'content': {}, 'buffers': []}
{'header': {'msg_id': '115f7cc5-f99f4a334d4b7f1d4559c201', 'msg_type': 'kernel_info_reply', 'username': 'fabrice', 'session': 'b7a4d4ab-921a5941dd33c58db4e63741', 'date': datetime.datetime(2019, 4, 11, 14, 37, 2, 806671, tzinfo=datetime.timezone.utc), 'version': '5.3'}, 'msg_id': '115f7cc5-f99f4a334d4b7f1d4559c201', 'msg_type': 'kernel_info_reply', 'parent_header': {'msg_id': 'ef6d49b4-ec3d458e0269ea02d2d2125d', 'msg_type': 'kernel_info_request', 'username': 'fabrice', 'session': 'b7a4d4ab-921a5941dd33c58db4e63741', 'date': datetime.datetime(2019, 4, 11, 14, 37, 2, 803268, tzinfo=tzutc()), 'version': '5.3'}, 'content': {'status': 'ok', 'protocol_version': '5.1', 'implementation': 'ipython', 'implementation_version': '7.4.0', 'language_info': {'name': 'python', 'version': '3.7.2', 'mimetype': 'text/x-python', 'codemirror_mode': {'name': 'ipython', 'version': 3}, 'pygments_lexer': 'ipython3', 'nbconvert_exporter': 'python', 'file_extension': '.py'}, 'banner': "Python 3.7.2 (default, Jan 17 2019, 00:20:58) \nType 'copyright', 'credits' or 'license' for more information\nIPython 7.4.0 -- An enhanced Interactive Python. Type '?' for help.\n", 'help_links': [{'text': 'Python Reference', 'url': 'https://docs.python.org/3.7'}, {'text': 'IPython Reference', 'url': 'https://ipython.org/documentation.html'}, {'text': 'NumPy Reference', 'url': 'https://docs.scipy.org/doc/numpy/reference/'}, {'text': 'SciPy Reference', 'url': 'https://docs.scipy.org/doc/scipy/reference/'}, {'text': 'Matplotlib Reference', 'url': 'https://matplotlib.org/contents.html'}, {'text': 'SymPy Reference', 'url': 'http://docs.sympy.org/latest/index.html'}, {'text': 'pandas Reference', 'url': 'https://pandas.pydata.org/pandas-docs/stable/'}]}, 'metadata': {}, 'tracker': <zmq.sugar.tracker.MessageTracker object at 0x7f2fb2cc76a0>}
MakeHuman Copyright (C) 2001-2018 http://www.makehumancommunity.org
This program comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it
under certain conditions. For details use the option --license

*** MESSAGE TYPE:kernel_info_request***
   Content: {}
   --->

kernel_info_request: {'header': {'msg_id': 'd3088db6-f15121b34cf5c1d1cd9204ef', 'msg_type': 'kernel_info_request', 'username': 'fabrice', 'session': 'b7a4d4ab-921a5941dd33c58db4e63741', 'date': datetime.datetime(2019, 4, 11, 14, 37, 2, 809006, tzinfo=tzutc()), 'version': '5.3'}, 'msg_id': 'd3088db6-f15121b34cf5c1d1cd9204ef', 'msg_type': 'kernel_info_request', 'parent_header': {}, 'metadata': {}, 'content': {}, 'buffers': []}
{'header': {'msg_id': '7cb8904e-4f0ad3550ad667e312042a9f', 'msg_type': 'kernel_info_reply', 'username': 'fabrice', 'session': 'b7a4d4ab-921a5941dd33c58db4e63741', 'date': datetime.datetime(2019, 4, 11, 14, 37, 2, 811156, tzinfo=datetime.timezone.utc), 'version': '5.3'}, 'msg_id': '7cb8904e-4f0ad3550ad667e312042a9f', 'msg_type': 'kernel_info_reply', 'parent_header': {'msg_id': 'd3088db6-f15121b34cf5c1d1cd9204ef', 'msg_type': 'kernel_info_request', 'username': 'fabrice', 'session': 'b7a4d4ab-921a5941dd33c58db4e63741', 'date': datetime.datetime(2019, 4, 11, 14, 37, 2, 809006, tzinfo=tzutc()), 'version': '5.3'}, 'content': {'status': 'ok', 'protocol_version': '5.1', 'implementation': 'ipython', 'implementation_version': '7.4.0', 'language_info': {'name': 'python', 'version': '3.7.2', 'mimetype': 'text/x-python', 'codemirror_mode': {'name': 'ipython', 'version': 3}, 'pygments_lexer': 'ipython3', 'nbconvert_exporter': 'python', 'file_extension': '.py'}, 'banner': "Python 3.7.2 (default, Jan 17 2019, 00:20:58) \nType 'copyright', 'credits' or 'license' for more information\nIPython 7.4.0 -- An enhanced Interactive Python. Type '?' for help.\n", 'help_links': [{'text': 'Python Reference', 'url': 'https://docs.python.org/3.7'}, {'text': 'IPython Reference', 'url': 'https://ipython.org/documentation.html'}, {'text': 'NumPy Reference', 'url': 'https://docs.scipy.org/doc/numpy/reference/'}, {'text': 'SciPy Reference', 'url': 'https://docs.scipy.org/doc/scipy/reference/'}, {'text': 'Matplotlib Reference', 'url': 'https://matplotlib.org/contents.html'}, {'text': 'SymPy Reference', 'url': 'http://docs.sympy.org/latest/index.html'}, {'text': 'pandas Reference', 'url': 'https://pandas.pydata.org/pandas-docs/stable/'}]}, 'metadata': {}, 'tracker': <zmq.sugar.tracker.MessageTracker object at 0x7f2fb2cc76a0>}

*** MESSAGE TYPE:history_request***
   Content: {'raw': True, 'output': False, 'hist_access_type': 'tail', 'n': 1000}
   --->

history_request: {'header': {'msg_id': '390c0ef3-e8b72d872581a37a611a0d57', 'msg_type': 'history_request', 'username': 'fabrice', 'session': 'b7a4d4ab-921a5941dd33c58db4e63741', 'date': datetime.datetime(2019, 4, 11, 14, 37, 2, 812950, tzinfo=tzutc()), 'version': '5.3'}, 'msg_id': '390c0ef3-e8b72d872581a37a611a0d57', 'msg_type': 'history_request', 'parent_header': {}, 'metadata': {}, 'content': {'raw': True, 'output': False, 'hist_access_type': 'tail', 'n': 1000}, 'buffers': []}
{'header': {'msg_id': '8e2cc1a1-9a2ec2f9aaf6a36b4ec087c9', 'msg_type': 'history_reply', 'username': 'fabrice', 'session': 'b7a4d4ab-921a5941dd33c58db4e63741', 'date': datetime.datetime(2019, 4, 11, 14, 37, 2, 822545, tzinfo=datetime.timezone.utc), 'version': '5.3'}, 'msg_id': '8e2cc1a1-9a2ec2f9aaf6a36b4ec087c9', 'msg_type': 'history_reply', 'parent_header': {'msg_id': '390c0ef3-e8b72d872581a37a611a0d57', 'msg_type': 'history_request', 'username': 'fabrice', 'session': 'b7a4d4ab-921a5941dd33c58db4e63741', 'date': datetime.datetime(2019, 4, 11, 14, 37, 2, 812950, tzinfo=tzutc()), 'version': '5.3'}, 'content': {'status': 'ok', 'history': [[2423, 5, '15/220'], [2424, 1, 'from rtree import index'], [2424, 2, 'idx = index.Index()'], [2424, 3, 'left, bottom, right, top = (0.79375, 1.05833, 52.79375, 1.05833)'], [2424, 4, 'idx.insert(0, (left, bottom, right, top))'], [2424, 5, 'list(idx.intersection((1.0, 1.0, 2.0, 2.0)))'], [2424, 6, 'list(idx.intersection((27.61899271844659, -0.20866029126212382, 29.61899271844659, 1.7913397087378762)))'], [2425, 1, '25.4/8192'], [2425, 2, '25.4/8192*1000'], [2426, 1, '25.4/8192*1000'], [2427, 1, '25.4/1000'], [2427, 2, '16 * 25.4'], [2427, 3, '16 * 25.4'], [2427, 4, '20 * 25.4'], [2427, 5, '1200*.05'], [2428, 1, '3.9*25.4'], [2428, 2, '2.4*25.4'], [2429, 1, 'a = np.zero(6*1000**3)'], [2429, 2, 'import numpy as np'], [2429, 3, 'a = np.zero(6*1000**3)'], [2429, 4, 'a = np.zeros(6*1000**3)'], [2429, 5, 'a = np.zeros(6*1000**3)'], [2429, 6, 'a = np.zeros(1000**3)'], [2429, 7, 'a = np.zeros(1000**3)'], [2429, 8, 'a = np.zeros(1000**3)'], [2429, 9, 'a = np.zeros(1000**2)'], [2429, 10, 'a = np.zeros(100*1000**2)'], [2429, 11, 'c = np.zeros(100*1000**2)'], [2429, 12, 'd = np.zeros(100*1000**2)'], [2429, 13, 'd = np.zeros(1000**3)'], [2429, 14, 'd = np.zeros(100*1000**2)'], [2429, 15, 'd = np.zeros(900*1000**2)'], [2429, 16, 'd = np.zeros(500*1000**2)'], [2429, 17, 'd = np.zeros(100*1000**2)'], [2429, 18, 'ar = []'], [2429, 19, 'for i in range(1000):\n    ar.append(np.zeros(100*1000**2))\n    '], [2429, 20, 'for i in range(1000):\n    print(i)\n    ar.append(np.zeros(100*1000**2))\n    \n    '], [2429, 21, 'for i in range(1000):\n    print(i)\n    ar.append(np.zeros(10*1000**2))\n    \n    \n    '], [2430, 1, "some_str = ' ' * 512000000"], [2430, 2, "some_str = ' ' * 1000**3"], [2430, 3, "some_str = ' ' * 6*1000**3"], [2430, 4, "some_str = ' ' * 5*1000**3"], [2430, 5, "some_str = ' ' * 4*1000**3"], [2430, 6, "some_str = ' ' * 3*1000**3"], [2430, 7, "some_str = ' ' * 4.5*1000**3"], [2430, 8, "some_str = ' ' * 4,5*1000**3"], [2430, 9, "some_str = ' ' * 350*1000**2"], [2430, 10, "some_str = ' ' * 350*1000**2"], [2430, 11, "some_str = ' ' * 350*1000**3"], [2430, 12, "some_str = ' ' * 300*1000**3"], [2430, 13, "some_str = ' ' * 3*1000**3"], [2430, 14, "asome_str = ' ' * 3*1000**3"], [2430, 15, "asome_str = ' ' * 1*1000**3"], [2430, 16, "asome_str = ' ' * 1*1000**3"], [2430, 17, "asome_str = ' ' * .8*1000**3"], [2431, 1, '(0.002+2*0.0115)*12'], [2431, 2, '(0.002+2*0.0115)*12*10'], [2431, 3, '(0.002+2*0.0115)*12*10*1.20'], [2431, 4, '(0.002+2*0.0115)*12*1000*1.20'], [2431, 5, '60*60'], [2431, 6, '500*1024/60'], [2431, 7, '500*1024/60/60'], [2431, 8, '500*1024/60/3600'], [2432, 1, 'd = {}'], [2432, 2, '#d.setdefault()'], [2432, 3, 'a= ()'], [2432, 4, "a = d.setdefault('a', ())"], [2432, 5, 'd'], [2432, 6, "d['a'].append(1)"], [2432, 7, "a = d.setdefault('a', {})"], [2432, 8, 'a'], [2432, 9, 'd = {}'], [2432, 10, "a = d.setdefault('a', [])"], [2432, 11, "d['a'].append(1)"], [2432, 12, 'd'], [2432, 13, "a = d.setdefault('a', [])"], [2432, 14, 'a'], [2432, 15, "a = d.setdefault('b', [])"], [2432, 16, 'a.append(2)'], [2432, 17, 'd'], [2432, 18, 'd'], [2432, 19, 'a.append(3)'], [2432, 20, 'd'], [2432, 21, 'a'], [2434, 1, '91/25.4'], [2434, 2, '910/25.4'], [2434, 3, '36*25.4'], [2434, 4, '42/45'], [2435, 1, ' import numpy as np\n        image = np.zeros((10, 10, 3), dtype=np.uint8)\n        image[:5][:5][2] = 255'], [2435, 2, ' import numpy as np\n image = np.zeros((10, 10, 3), dtype=np.uint8)\n image[:5][:5][2] = 255'], [2435, 3, 'image'], [2435, 4, 'image[5:10][5:10][1] = 255'], [2435, 5, 'image.shape'], [2435, 6, 'image[5:][5:][1] = 255'], [2435, 7, 'image[5:][5:][1] = 255'], [2435, 8, 'image[5:,5:,1] = 255'], [2435, 9, 'image'], [2437, 1, '1 + 1'], [2437, 2, 'for i in range(10):\n    print(i)\n    '], [2440, 1, '1 + 1'], [2444, 1, '82/13'], [2445, 1, '2.51*25.4'], [2445, 2, '2+3/4'], [2446, 1, 'import mamba'], [2446, 2, 'mamba.'], [2446, 3, 'mamba.__path__'], [2446, 4, 'q'], [2447, 1, 'import ma=b'], [2447, 2, 'import mamba'], [2447, 3, 'import mamba'], [2447, 4, 'import mamba'], [2448, 1, 'import mamba'], [2449, 1, 'import mamba.core'], [2450, 1, 'import core'], [2450, 2, 'import _core'], [2451, 1, '40/25.4'], [2452, 1, '2 * (1.5) / (.5)**2'], [2452, 2, 'import math'], [2452, 3, 'math.sqrt(2*1.5/9.81)'], [2452, 4, 'math.sqrt(2*1.4/9.81)'], [2452, 5, '1/30'], [2452, 6, '2 * (1.5) / (.5)**2'], [2452, 7, '2 * (1.5) / ((21-6)/30)**2'], [2452, 8, '2 * (1.4) / ((21-6)/30)**2'], [2452, 9, '2 * (1.4) / ((21-5)/30)**2'], [2452, 10, '2 * 30**2 * 1.4 / (21-6)**2'], [2452, 11, '2 * 30**2 * 1.4 / (21-5)**2'], [2452, 12, '2 * 30**2 * 1.5 / (21-5)**2'], [2452, 13, '2 * 30**2 * 1.5 / (1)**2'], [2452, 14, '2 * 30**2 * 1.5 / (21-5)**2'], [2452, 15, '2 * 30**2 * 1.5 / (21-6)**2'], [2452, 16, '2 * 60**2 * 1.5 / (21-6)**2'], [2452, 17, '21-6'], [2452, 18, '2 * 60**2 * 1.5 / (30)**2'], [2452, 19, '2 * 60**2 * 1.5 / (31)**2'], [2453, 1, '1/250'], [2453, 2, '1/(250e-6)'], [2453, 3, '1/(100e-6)'], [2454, 1, 'long'], [2454, 2, 'q'], [2455, 1, '15*15'], [2456, 1, '25.4/150'], [2457, 1, 'import math'], [2457, 2, 'math.sqrt(.2 * 62)'], [2457, 3, 'math.sqrt(.2 / 62)'], [2457, 4, 'math.sqrt(.2 / 62) * 1000'], [2457, 5, '3.5/ 0.05679'], [2457, 6, '3.5* 0.05679'], [2457, 7, 'math.sqrt(.138 * 62)'], [2458, 1, '45*1.2'], [2458, 2, '62*1.2'], [2458, 3, '230*1.2'], [2458, 4, '240*1.2'], [2458, 5, '240*1.2'], [2458, 6, '160 / 1.8'], [2458, 7, '360 / 1.8'], [2458, 8, '1.9*.17'], [2458, 9, '1.9*.17 * 10'], [2458, 10, '1.9*.17 * à0'], [2458, 11, '1.9*.17 * 20'], [2459, 1, '1/15e-6'], [2459, 2, '1/15e-6/1000'], [2459, 3, '3.1415*2/200'], [2459, 4, '1e6/30'], [2459, 5, '1000/60'], [2459, 6, '4000/60'], [2459, 7, '66000/30'], [2459, 8, '66000/30*256'], [2459, 9, '66000/30*256/1000'], [2459, 10, '2000/563'], [2459, 11, '2000000/563'], [2459, 12, '2000000/500'], [2459, 13, '200000/500'], [2459, 14, '256*200'], [2459, 15, '5000/60'], [2459, 16, '(3.1415 * 20)/(256 * 200)'], [2459, 17, '(3.1415 * 20)/(256 * 200) * 1000'], [2459, 18, '5000/60 / ((3.1415 * 20)/(256 * 200))'], [2459, 19, '5000/60 / ((3.1415 * 20)/(256 * 200)) / 1000'], [2459, 20, '83000/1.2'], [2459, 21, '5000/60 / ((3.1415 * 20)/(256 * 200)) / 1000'], [2459, 22, '1/68000'], [2459, 23, '1/68000 * 1000'], [2459, 24, '1/68000 * 1e6'], [2459, 25, '1 / (5000/60 / ((3.1415 * 20)/(256 * 200)) ) * 1e6'], [2459, 26, '68/4'], [2459, 27, '200e3/17'], [2459, 28, '200e3/68'], [2459, 29, '1000 / (5000/60)'], [2459, 30, '12*83'], [2460, 1, 'from yaml import load'], [2460, 2, 'document = """\n# The modal groups for G codes are\n1: [G0, G1, G2, G3, G38.2, G80, G81, G82, G83, G84, G85, G86, G87, G88, G89]\n2 : [G17, G18, G19] # plane selection\n3 : [G90, G91] # distance mode\n5 : [G93, G94] # feed rate mode\n6 : [G20, G21] # units\n7 : [G40, G41, G42] # cutter radius compensation\n8 : [G43, G49] # tool length offset\n10 : [G98, G99] # return mode in canned cycles\n12 : [G54, G55, G56, G57, G58, G59, G59.1, G59.2, G59.3] # coordinate system selection\n13 : [G61, G61.1, G64] # path control mode\n# The modal groups for M codes are\n4 : [M0, M1, M2, M30, M60] # stopping\n6 : [M6] # tool change\n7 : [M3, M4, M5] # spindle turning\n8 : [M7, M8, M9] # coolant (special case: M7 and M8 may be active at the same time)\n9 : [M48, M49] # enable/disable feed and speed override switches\n# In addition to the above modal groups, there is a group for non-modal G codes\n0 : [G4, G10, G28, G30, G53, G92, G92.1, G92.2, G92.3]\n"""'], [2460, 3, 'print(yaml.dump(yaml.load(document), default_flow_style=False))'], [2460, 4, 'from yaml import load, dump'], [2460, 5, 'import yaml'], [2460, 6, 'print(yaml.dump(yaml.load(document), default_flow_style=False))'], [2460, 7, 'print(yaml.dump(yaml.load(document), default_flow_style=False))'], [2460, 8, "r= 'aaa\\n'"], [2460, 9, 'r.strip()'], [2460, 10, 'e = ValueError'], [2460, 11, 'e = ValueError()'], [2460, 12, 'e.args'], [2460, 13, 'e.args'], [2462, 1, 'x = float(1.4)'], [2462, 2, 'x.real'], [2462, 3, 'x.is_integer()'], [2462, 4, 'x = float(1)'], [2462, 5, 'x.is_integer()'], [2462, 6, "int('adscs')"], [2462, 7, 'map(str, [1, 2, 3])'], [2462, 8, "' '.join(map(str, [1, 2, 3]))"], [2462, 9, 'import math'], [2462, 10, 'math.fmod?'], [2462, 11, 'round(1.53θ)'], [2462, 12, 'round(1.53)'], [2462, 13, 'staticmethod'], [2462, 14, 'staticmethod()'], [2462, 15, "'|'.join('afdqvaqd')"], [2462, 16, "'|'.join('afdqvaqd')"], [2462, 17, 'list([1,2])'], [2462, 18, 'list([1,2])'], [2462, 19, 'list(1)'], [2469, 1, "'{:5} {:69}'.format('foo', 'bar')"], [2469, 2, "list('fooo')"], [2469, 3, "['fooo']"], [2469, 4, 'a = [1,2,3]'], [2469, 5, 'del a[2]'], [2469, 6, 'a'], [2469, 7, 'a.remove'], [2469, 8, 'a.remove?'], [2469, 9, 'a.pop?'], [2486, 1, 'd = {}'], [2486, 2, 'd.setdefault?'], [2486, 3, 'd'], [2486, 4, 'd.setdefault(1, 0)'], [2486, 5, 'd'], [2486, 6, 'd.setdefault(2, 0) += 1'], [2486, 7, 'd'], [2486, 8, 'a = d.setdefault(2, 0)'], [2486, 9, 'a += 1'], [2486, 10, 'd'], [2486, 11, 'a = d.setdefault(2, 0)'], [2486, 12, 'a += 1'], [2486, 13, 'd'], [2486, 14, 'd[2] += 1'], [2486, 15, 'd'], [2492, 1, 'd = {1:2}'], [2492, 2, 'd.pop(1)'], [2492, 3, 'import numpy as np'], [2492, 4, 'a = np.zeros(3)'], [2492, 5, 'a.shape'], [2492, 6, 'a= np.array((1,2))'], [2492, 7, 'a'], [2492, 8, 'from enum import Enum, auto\nclass Color(Enum):\n  RED = auto()\n  BLUE = auto()\n  GREEN = auto()'], [2492, 9, 'Color'], [2492, 10, 'Color.RED'], [2492, 11, 'Color(Color.RED)'], [2492, 12, 'Color(a)'], [2492, 13, 'Color(10)'], [2492, 14, 'Color(1)'], [2493, 1, 'import numpy as np'], [2493, 2, 'b = np.array((\n            (1, -3,  3, -1),\n            (0,  3, -6,  3),\n            (0,  0,  3, -3),\n            (0,  0,  0,  1),\n        ))'], [2493, 3, 'np.linalg.inv?'], [2493, 4, 'np.linalg.inv(b)'], [2493, 5, 'd = np.array((\n            (1, -3,  3, -1),\n            (4,  0, -6,  3),\n            (1,  3,  3, -3),\n            (0,  0,  0,  1),\n        )) / 6'], [2493, 6, 'd'], [2493, 7, 'np.linalg.inv(b)'], [2493, 8, 'd'], [2493, 9, 'np.linalg.inv(b)'], [2493, 10, ' np.array((\n            (1,    1,   1, 1),\n            (0,  1/3, 2/3, 1),\n            (0,    0, 1/3, 1),\n            (0,    0,   0, 1),\n        ))'], [2493, 11, 'b = np.array((\n            (1, -3,  3, -1),\n            (0,  3, -6,  3),\n            (0,  0,  3, -3),\n            (0,  0,  0,  1),\n        ))'], [2493, 12, 'np.linalg.inv(b)'], [2493, 13, 'd =  np.array((\n            (1, -3,  3, -1),\n            (4,  0, -6,  3),\n            (1,  3,  3, -3),\n            (0,  0,  0,  1),\n        )) / 6'], [2493, 14, 'd'], [2493, 15, 'np.linalg.inv(b)'], [2493, 16, 'np.linalg.inv(b) ==  np.array((\n            (1,    1,   1, 1),\n            (0,  1/3, 2/3, 1),\n            (0,    0, 1/3, 1),\n            (0,    0,   0, 1),\n        ))'], [2493, 17, 'd1=  np.array((\n            (1, -3,  3, -1),\n            (0,  3, -6,  3),\n            (0,  0,  3, -3),\n            (0,  0,  0,  1),\n        ))'], [2493, 18, 'd2= np.array((\n            (1, -3,  3, -1),\n            (4,  0, -6,  3),\n            (1,  3,  3, -3),\n            (0,  0,  0,  1),\n        )) / 6'], [2493, 19, 'd1 == d2'], [2493, 20, 'np.linalg.inv(b1) == np.linalg.inv(b2) '], [2493, 21, 'd1'], [2493, 22, 'np.linalg.inv(d1) == np.linalg.inv(d2) '], [2493, 23, 'np.linalg.inv(d1)'], [2493, 24, 'np.linalg.inv(d2)'], [2493, 25, 'np.linalg.inv(d1)2/3'], [2493, 26, 'np.linalg.inv(d1)'], [2493, 27, '2/3'], [2493, 28, '1/3'], [2493, 29, '3*2/3'], [2493, 30, '3+2/3'], [2493, 31, '11/3'], [2493, 32, ' np.array((\n            (  1,    1,    1,  1),\n            ( -1,    0,    1,  2),\n            (2/3, -1/3,  2/3,  11/3),\n            ( 0,     0,    0,  6),\n        ))'], [2493, 33, 'np.linalg.inv(d1)'], [2493, 34, 'np.linalg.inv(d1) ==  np.array((\n            (  1,    1,    1,  1),\n            ( -1,    0,    1,  2),\n            (2/3, -1/3,  2/3,  11/3),\n            ( 0,     0,    0,  6),\n        ))'], [2493, 35, 'np.linalg.inv(d2) ==  np.array((\n            (  1,    1,    1,  1),\n            ( -1,    0,    1,  2),\n            (2/3, -1/3,  2/3,  11/3),\n            ( 0,     0,    0,  6),\n        ))'], [2493, 36, 'np.linalg.inv(d2)\n\n    '], [2493, 37, 'd2'], [2493, 38, 'np.linalg.inv(d2)'], [2493, 39, 'np.linalg.inv(d2)\n\n    '], [2493, 40, 'np.linalg.inv(d2) -  np.array((\n            (  1,    1,    1,  1),\n            ( -1,    0,    1,  2),\n            (2/3, -1/3,  2/3,  11/3),\n            ( 0,     0,    0,  6),\n        ))'], [2493, 41, 'np.equal?'], [2494, 1, " P0, P1, P2, P3, t = symbols('P0 P1 P2 P3 t')"], [2494, 2, 'from simpy import *'], [2494, 3, 'from sympy import *'], [2494, 4, "P0, P1, P2, P3, t = symbols('P0 P1 P2 P3 t')"], [2494, 5, 'Q =  (\n                  P0 *  (1-t)**3\n                  P1 * (  3*t**3 - 6*t**2       + 4 ) +\n                  P2 * ( -3*t**3 + 3*t**2 + 3*t + 1 ) +\n                  P3 *      t**3\n                ) / 6'], [2494, 6, 'Q = (P0 * (1-t)**3 + P1 * (  3*t**3 - 6*t**2       + 4 ) +\n      P2 * ( -3*t**3 + 3*t**2 + 3*t + 1 ) +\n       P3 *      t**3\n        ) / 6'], [2494, 7, 'Q'], [2494, 8, 'expand(Q)'], [2494, 9, 'collect(expand(Q), t)'], [2494, 10, '    BASIS = np.array((\n        (1, -3,  3, -1),\n        (4,  0, -6,  3),\n        (1,  3,  3, -3),\n        (0,  0,  0,  1),\n    )) / 6\n    INVERSE_BASIS = np.array((\n        (  1,    1,    1,     1),\n        ( -1,    0,    1,     2),\n        (2/3, -1/3,  2/3,  11/3),\n        (  0,    0,    0,     6),\n    ))'], [2494, 11, 'import numpy as np'], [2494, 12, '    BASIS = np.array((\n        (1, -3,  3, -1),\n        (4,  0, -6,  3),\n        (1,  3,  3, -3),\n        (0,  0,  0,  1),\n    )) / 6\n    INVERSE_BASIS = np.array((\n        (  1,    1,    1,     1),\n        ( -1,    0,    1,     2),\n        (2/3, -1/3,  2/3,  11/3),\n        (  0,    0,    0,     6),\n    ))'], [2494, 13, 'BASIS*INVERSE_BASIS'], [2494, 14, 'np.dot(BASIS, INVERSE_BASIS)'], [2494, 15, 'a = np.dot(BASIS, INVERSE_BASIS)'], [2494, 16, 'a.t'], [2495, 1, 'list(range(3-3))'], [2495, 2, 'list(range(3-3 +1))'], [2495, 3, 'list(range(4-3 +1))'], [2495, 4, 'list(range(4-4 +1))'], [2495, 5, 'for i in range(4-4 +1):\n    print(i)\n    '], [2495, 6, 'for i in range(6-4 +1):\n    print(i)\n    \n    '], [2496, 1, '6.5*25.4'], [2496, 2, '6.5*25.4/3.14'], [2496, 3, '7.5*25.4'], [2497, 1, '2.6*25.4'], [2497, 2, '2.17*25.4'], [2497, 3, '2.33*25.4'], [2497, 4, '1.8*25.4'], [2497, 5, '2.09*25.4'], [2497, 6, '2.03*25.4'], [2497, 7, '2.4*25.4'], [2498, 1, '62*3.1415'], [2499, 1, 'import numpy as np'], [2499, 2, 'np.array((\n        (1, -2,  1),\n        (1,  2, -2),\n        (0,  0,  1),\n    ))'], [2499, 3, 'M = np.array((\n        (1, -2,  1),\n        (1,  2, -2),\n        (0,  0,  1),\n    ))'], [2499, 4, 'M.transpose()'], [2499, 5, 'np.invert(M)'], [2499, 6, 'M= np.array((\n        (1, -2,  1),\n        (0,  2, -2),\n        (0,  0,  1),\n    ))'], [2499, 7, 'np.invert(M)'], [2500, 1, '6 % 3'], [2500, 2, '(7 - 1) % 3'], [2500, 3, '7 // 3'], [2500, 4, '8 // 3'], [2500, 5, '3 // 3'], [2500, 6, '(4 -1)% 3'], [2500, 7, '(3 -1)% 3'], [2500, 8, '(0 -1)% 3'], [2500, 9, 'from enum import Enum, auto'], [2500, 10, 'auto()'], [2500, 11, 'a = auto()'], [2500, 12, 'a = auto()'], [2500, 13, 'a = auto()'], [2500, 14, 'a'], [2500, 15, 'a = auto()'], [2500, 16, 'a'], [2500, 17, 'a'], [2500, 18, "int('ff')"], [2500, 19, "int('ff', 16)"], [2500, 20, "'{:x}'.format(16)"], [2500, 21, "'{:x}'.format(1)"], [2500, 22, "'{:2x}'.format(1)"], [2500, 23, "'{:x2}'.format(1)"], [2500, 24, "'{:2x}'.format(1)"], [2500, 25, "'{:02x}'.format(1)"], [2500, 26, "'{:02x}'.format(1, 2 , 3)"], [2501, 1, 'import Patro.Color as C'], [2501, 2, 'import Patro.Color as C'], [2501, 3, 'import Patro.Color as C'], [2501, 4, 'import Patro.Color as C'], [2501, 5, 'import Patro.Color as C'], [2502, 1, 'import Patro.Color as C'], [2503, 1, 'import Patro.Color as C'], [2503, 2, "C.color_database['blue']"], [2503, 3, "str(C.color_database['blue'])"], [2504, 1, "C.color_database['blue']"], [2504, 2, 'import Patro.Color as C'], [2505, 1, 'import Patro.Color as C'], [2505, 2, 'C'], [2505, 3, "C.color_database['blue']"], [2505, 4, "C.color_database['red']"], [2506, 1, 'import Patro.Color as C'], [2507, 1, 'import Patro.Color as C'], [2507, 2, 'reload(C)'], [2508, 1, 'import Patro.Color as C'], [2508, 2, 'import Patro.Color as C'], [2509, 1, 'import Patro.Color as C'], [2509, 2, 'import Patro.Color as C'], [2510, 1, 'import Patro.Color as C'], [2510, 2, 'C.blue'], [2510, 3, 'import Patro.Color as C'], [2510, 4, 'C.blue'], [2511, 1, 'import Patro.Color as C'], [2511, 2, 'import Patro.Color as C'], [2511, 3, 'import Patro.Color as C'], [2511, 4, 'import Patro.Color as C'], [2512, 1, 'import Patro.Color as C'], [2512, 2, 'C.blue'], [2512, 3, 'C'], [2512, 4, 'C.color_database.blue'], [2512, 5, 'C.color_database.iter_names()'], [2512, 6, 'list(C.color_database.iter_names())'], [2514, 1, 'q'], [2517, 1, 'a = np.array(\n    [[1., 1.],\n     [2., 2.],\n     [3., 2.],\n     [4., 1.]\n    ]\n    )\nb = np.array([0.125, 0.375, 0.375, 0.125])'], [2517, 2, 'import numpy as np'], [2517, 3, 'a = np.array(\n    [[1., 1.],\n     [2., 2.],\n     [3., 2.],\n     [4., 1.]\n    ]\n    )\nb = np.array([0.125, 0.375, 0.375, 0.125])'], [2517, 4, 'a[:,0]'], [2517, 5, '[x*y for x, y in zip(a[:,0], b)]'], [2517, 6, 'sum([x*y for x, y in zip(a[:,0], b)])'], [2517, 7, 'sum([x*y for x, y in zip(a[:,1], b)])'], [2517, 8, '.125*2+.375*4'], [2517, 9, '0.125+2* 0.375+3*0.375+4* 0.125'], [2517, 10, '3+int(1.5)'], [2517, 11, 'np.array((1, 2, 5, 3))'], [2517, 12, ' a=np.array((1, 2, 5, 3))'], [2517, 13, 'np.diff(a)'], [2517, 14, 'np.diff(a) >= 0'], [2517, 15, 'np.all'], [2517, 16, 'np.all(np.diff(a) >= 0)'], [2517, 17, 'np.all?'], [2517, 18, 'np.any ?'], [2517, 19, 'np.any?'], [2518, 1, '270-45'], [2518, 2, '(270-45)*16'], [2518, 3, '5760-(270-45)*16'], [2519, 1, "part = '1'"], [2519, 2, 'part.isalpha'], [2519, 3, 'part.isalpha'], [2519, 4, '[1] + [2]*0'], [2519, 5, '[1] + [2]*(3-1)'], [2519, 6, 'a, v = [1] + [2]*(3-1)'], [2519, 7, 'a, *v = [1] + [2]*(3-1)'], [2519, 8, 'v'], [2520, 1, 'import Patro.FileFormat.Svg.SvgFormat as SF'], [2520, 2, 'SF.PresentationAttributes'], [2520, 3, 'SF.PresentationAttributes.__dict__'], [2520, 4, '10071//10'], [2520, 5, 'impor tmath'], [2520, 6, 'import math'], [2520, 7, 'math.log10(10071)'], [2520, 8, '10 * 4'], [2520, 9, '10 ** (4 - 1)'], [2520, 10, '10 ** (int(math.log10(10071)) - 1)'], [2522, 1, 'import numpy as np'], [2522, 2, 'from Patro.GeometryEngine.Vector import Vector2D'], [2522, 3, 'np.array((Vector2D(1,2), Vector2D(3,4)))'], [2522, 4, 'np.array((Vector2D(1,2), Vector2D(3,4))).transpose'], [2522, 5, 'np.array((Vector2D(1,2), Vector2D(3,4))).transpose()'], [2522, 6, 'm = np.array((Vector2D(1,2), Vector2D(3,4))).transpose()'], [2522, 7, 'np.append(m, Vector2D(5,6))'], [2522, 8, 'np.append(m, Vector2D(5,6).transpose())'], [2522, 9, 'np.append(m, Vector2D(5,6)_v.transpose())'], [2522, 10, 'np.append(m, Vector2D(5,6)._v.transpose())'], [2522, 11, 'np.append(m, Vector2D(5,6), axis=0)'], [2522, 12, 'np.append(m, Vector2D(5,6), axis=1)'], [2522, 13, 'np.append(m, Vector2D(5,6))'], [2522, 14, 'm'], [2522, 15, 'np.append(m, Vector2D(5,6))'], [2522, 16, 'np.append(m, [[5],[6]])'], [2523, 1, "P0, P1, P2, P, t = symbols('P0 P1 P2 P t')"], [2523, 2, 'from sympy import *'], [2523, 3, "P0, P1, P2, P, t = symbols('P0 P1 P2 P t')"], [2523, 4, 'Q = P0 * (1-t)**2  +  P1 * 2*t*(1-t)  +  P2 * t**2'], [2523, 5, 'collect(Q, t)'], [2523, 6, 'collect(exapnd(Q), t)'], [2523, 7, 'collect(expand(Q), t)'], [2523, 8, 'B(t)=(1−t)[(1−t)P0+tP1]+t[(1−t)P1+tP2]'], [2523, 9, 'B = (1−t)*((1−t)*P0+t*P1)+t*((1−t)*P1+t*P2)'], [2523, 10, 'B = (1-t)*((1-t)*P0+t*P1)+t*((1-t)*P1+t*P2)'], [2523, 11, 'B'], [2523, 12, 'collect(expand(B), t)'], [2523, 13, 'B2 = (1-t)*((1-t)*P0 + t*P1) + t*((1-t)*P1 + t*P2)'], [2523, 14, 'collect(expand(B2), t)'], [2523, 15, 'B2_012 = (1-t)*((1-t)*P0 + t*P1) + t*((1-t)*P1 + t*P2)'], [2523, 16, 'B2_123 = (1-t)*((1-t)*P1 + t*P2) + t*((1-t)*P2 + t*P3)'], [2523, 17, "P0, P1, P2, P3, P, t = symbols('P0 P1 P2 P3 P t')"], [2523, 18, 'B2_012 = (1-t)*((1-t)*P0 + t*P1) + t*((1-t)*P1 + t*P2)'], [2523, 19, 'B2_123 = (1-t)*((1-t)*P1 + t*P2) + t*((1-t)*P2 + t*P3)'], [2523, 20, 'B3 = (1-t)*B2_012 + t*B2_123'], [2523, 21, 'collect(expand(B3), t)'], [2523, 22, 'simplify(B2.diff(t))'], [2523, 23, 'B2.diff(t)'], [2523, 24, 'collect(simplify(B2.diff(t)))'], [2523, 25, 'collect(simplify(B2.diff(t)), t)'], [2523, 26, 'collect(simplify(B3.diff(t)), t)'], [2523, 27, 'collect(simplify(B2.diff(t)), t)'], [2523, 28, 'B2p = collect(simplify(B2.diff(t)), t)'], [2523, 29, 'collect(expand((P*B2p - B2*B2p)/-2), t)'], [2523, 30, 'C = collect(expand((P*B2p - B2*B2p)/-2), t)'], [2523, 31, ' collect(C, P1 - P0)'], [2523, 32, ' collect(expand(C), P1 - P0)'], [2523, 33, ' A = P1 - P0'], [2523, 34, 'B = P2 - P1 - A'], [2523, 35, 'M = P0 - P'], [2523, 36, 'B**2 * t**3 + 3*A*B * t**2 + (2*A**2 + M*B) * t + M*A'], [2523, 37, 'C2 = B**2 * t**3 + 3*A*B * t**2 + (2*A**2 + M*B) * t + M*A '], [2523, 38, 'C - C2'], [2523, 39, 'expand(C - C2)'], [2523, 40, " n, r, s, v = symbols('n r s v')"], [2523, 41, 'B3 = n*t**3 + r*t**2 + s*t + v'], [2523, 42, 'B3p = simplify(B3.diff(t))'], [2523, 43, 'C = collect(expand((P*B3p - B3*B3p)), t)'], [2523, 44, 'C'], [2524, 1, '360 / 5'], [2524, 2, '360 / 5 * 2'], [2524, 3, '180 - 72'], [2525, 1, '277+177'], [2525, 2, '276-80'], [2525, 3, '276-80-156'], [2526, 1, '(36+312)*1.33'], [2526, 2, '4.1683999e+02'], [2526, 3, '(312)*1.33'], [2526, 4, '312.63*1.3333333e+00'], [2526, 5, '(1.3666781*278.81667 + -105.23662) + -146.99634'], [2526, 6, '160.00369 - ((1.3666781*278.81667 + -105.23662) + -146.99634)'], [2526, 7, '1.3666781*278.81667 + 466.13698866'], [2526, 8, '-1.3666781*278.81667 + 466.13698866'], [2526, 9, '105.23662+146.99634'], [2526, 10, '1.305773*10-15.288648'], [2526, 11, '360-226.6329766651838'], [2527, 1, 'impor tmath'], [2527, 2, 'import math'], [2527, 3, 'math.log10(156)'], [2527, 4, 'math.log10(100)'], [2527, 5, 'math.log10(99)'], [2527, 6, 'math.log10(9)'], [2528, 1, 'import hashlib'], [2528, 2, "s = '/home/fabrice/home/telechargements/hhh/416476_13.jpg'"], [2528, 3, 'hashlib.md5'], [2528, 4, 'hashlib.md5(s)'], [2528, 5, "hashlib.md5(s.encode('utf-8'))"], [2528, 6, "str(hashlib.md5(s.encode('utf-8')))"], [2528, 7, "str(hashlib.md5(s.encode('utf-8')))"], [2528, 8, "h = hashlib.md5(s.encode('utf-8'))"], [2528, 9, 'h.hexdigest'], [2528, 10, 'h.hexdigest()'], [2528, 11, " hashlib.md5(s.encode('utf-8')).hexdigest()"], [2528, 12, 's'], [2528, 13, "s = 'file:///home/fabrice/home/telechargements/hhh/416476_13.jpg'"], [2528, 14, " hashlib.md5(s.encode('utf-8')).hexdigest()"], [2529, 1, 'd = {}'], [2529, 2, 'd.get'], [2530, 1, '4/3*'], [2530, 2, 'import mmath'], [2530, 3, 'import math'], [2530, 4, '4/3*(math.sqrt(2)-1)'], [2530, 5, 'c =4/3*(math.sqrt(2)-1)'], [2530, 6, "'{:.3f}'.format(c)"], [2530, 7, 'math.ceil(math.abs(math.radians(30) / (math.pi/2 + 0.001)))'], [2530, 8, 'import math'], [2530, 9, 'math.ceil(math.abs(math.radians(30) / (math.pi/2 + 0.001)))'], [2530, 10, 'math.ceil(abs(math.radians(30) / (math.pi/2 + 0.001)))'], [2530, 11, 'math.ceil(abs(math.radians(45) / (math.pi/2 + 0.001)))'], [2530, 12, 'math.ceil(abs(math.radians(60) / (math.pi/2 + 0.001)))'], [2530, 13, 'math.ceil(abs(math.radians(90) / (math.pi/2 + 0.001)))'], [2530, 14, 'math.ceil(abs(math.radians(91) / (math.pi/2 + 0.001)))'], [2530, 15, 'math.ceil(abs(math.radians(180) / (math.pi/2 + 0.001)))'], [2530, 16, 'math.ceil(abs(math.radians(181) / (math.pi/2 + 0.001)))'], [2530, 17, 'math.ceil(abs(math.radians(360) / (math.pi/2 + 0.001)))'], [2530, 18, 'math.ceil(abs(math.radians(359) / (math.pi/2 + 0.001)))'], [2530, 19, 'math.ceil(abs(math.radians(270) / (math.pi/2 + 0.001)))'], [2530, 20, 'math.ceil(abs(math.radians(271) / (math.pi/2 + 0.001)))'], [2531, 1, 'import math'], [2531, 2, 'a = math.radians(90)'], [2531, 3, 'a = math.radians(90)'], [2532, 1, 'import math'], [2532, 2, 'a = math.radians(90)'], [2532, 3, 'a = math.radians(90)/a'], [2532, 4, 'a = math.radians(90)/2'], [2532, 5, 'a'], [2532, 6, '8/3'], [2532, 7, '8/3*math.sin(a/2)**2'], [2532, 8, 'math.sin(a)'], [2532, 9, '8/3*math.sin(a/2)**2/math.sin(a)'], [2532, 10, '8/3*(math.sin(a/2))**2/math.sin(a)'], [2533, 1, 'from path import Path'], [2533, 2, "Path('~/.cache/thumbnails/')"], [2533, 3, "Path('~/.cache/thumbnails/').resolve()"], [2533, 4, "Path('~/.cache/thumbnails/').resolve()"], [2533, 5, "Path('~/.cache/thumbnails/').resolve"], [2533, 6, "p = Path('~/.cache/thumbnails/')"], [2533, 7, 'p.resolve()'], [2533, 8, 'p'], [2533, 9, 'p.abspath()'], [2533, 10, 'p.realpath()'], [2533, 11, "p = Path.home().joinpath('.cache', 'thumbnails')"], [2533, 12, "p = Path.home().joinpath('.cache', 'thumbnails')"], [2533, 13, 'p = Path.home'], [2533, 14, 'from path import Path, PosixPath'], [2533, 15, 'from path import Path, PosixPath'], [2533, 16, 'from pathlib import Path'], [2533, 17, "p = Path('~/.cache/thumbnails/')"], [2533, 18, "p = Path('~/.cache/thumbnails/').resolve()"], [2533, 19, 'p'], [2533, 20, "p = Path.home().joinpath('.cache', 'thumbnails')"], [2533, 21, 'p'], [2533, 22, 'p.exists()'], [2534, 1, "e = NameError('foo')"], [2534, 2, 'e.args'], [2535, 1, 'import math'], [2535, 2, 'math.ceil(1.1)'], [2535, 3, 'math.roud(1.1)'], [2535, 4, 'round(1.1)'], [2535, 5, 'round(1.6)'], [2536, 1, '19475988/72'], [2536, 2, '19475988/297'], [2536, 3, '14149222/210'], [2537, 1, '19475988/4235'], [2537, 2, '14149222/3032'], [2538, 1, 'import sys'], [2538, 2, 'sys.prefix '], [2539, 1, 'sys.prefic'], [2539, 2, 'sys.prefix'], [2539, 3, 'import sys'], [2539, 4, 'sys.base_prefix'], [2539, 5, 'sys.path'], [2540, 1, 'import site'], [2540, 2, 'site.USER_BASE '], [2540, 3, 'd'], [2541, 1, 'from pathlib import Path'], [2541, 2, "Path('BookBrowser')"], [2541, 3, "Path('BookBrowser', 'QtAplica')"], [2541, 4, "Path('BookBrowser', 'QtAplica')"], [2542, 1, 'from PIL import Image'], [2542, 2, "im = Image.open('/home/fabrice/.cache/thumbnails/large/e4f1ba713f47d8347a581b5d4b2584eb.png')"], [2542, 3, 'im'], [2542, 4, 'im.info'], [2542, 5, 'im.info'], [2542, 6, 'from PIL import Image, PngImagePlugin'], [2542, 7, " meta = PngImagePlugin.PngInfo()\n        meta.add_text('éé', 'é')"], [2542, 8, ' meta = PngImagePlugin.PngInfo()'], [2542, 9, "meta.add_text('éé', 'é')"], [2542, 10, 'meta'], [2542, 11, 'meta.chunks'], [2542, 12, 'import stat'], [2542, 13, 'import os'], [2542, 14, 'from pathlib import Path'], [2542, 15, "PAth('/home/fabrice/scan-livre-modlisme/Amateur/chemise/chemise.142.r.png')"], [2542, 16, "p = Path('/home/fabrice/scan-livre-modlisme/Amateur/chemise/chemise.142.r.png')"], [2542, 17, 'p'], [2542, 18, 'p.stat()'], [2542, 19, 's = p.stat()'], [2542, 20, 's.st_mtime'], [2542, 21, 's.st_size'], [2542, 22, 'import mimetype'], [2542, 23, 'import mimetypes'], [2542, 24, 'mimetypes.guess(p)'], [2542, 25, 'mimetypes.guess_type(p)'], [2542, 26, 'p'], [2542, 27, 'mimetypes.guess_type(str(p))'], [2542, 28, 'mimetypes.guess_type(str(p))[0]'], [2542, 29, "im = Image.open('/home/fabrice/.cache/thumbnails/large/e4f1ba713f47d8347a581b5d4b2584eb.png')"], [2542, 30, 'im.info'], [2543, 1, 'import uuid'], [2543, 2, 'uuid.uuid1()'], [2543, 3, 'u = uuid.uuid1()'], [2543, 4, 'str( uuid.uuid1())'], [2544, 1, 'd = dict(x_ib=5, x_sup=4)'], [2544, 2, 'd = dict(x_inf=5, x_sup=4)'], [2544, 3, 'd == dict(x_inf=5, x_sup=4)'], [2544, 4, 'd == dict(x_inf=5, x_sup=3)'], [2544, 5, 'd == dict(x_inf=5, x_sup=4, a=3)'], [2545, 1, 'import datatime'], [2545, 2, 'import datetime'], [2545, 3, 'datetime'], [2545, 4, 'datetime.now()'], [2545, 5, 'import time'], [2545, 6, 'datetime.now()'], [2545, 7, 'time.now()'], [2545, 8, 'datetime.datetime.now()'], [2545, 9, 's =datetime.datetime.now()'], [2545, 10, 's  - datetime.datetime.now()'], [2545, 11, ' datetime.datetime.now() - s'], [2545, 12, ' datetime.datetime.now() - s'], [2545, 13, ' datetime.datetime.now() - s'], [2545, 14, 'delta =  datetime.datetime.now() - s'], [2545, 15, 'delta * 5/100'], [2545, 16, 'delta'], [2545, 17, 'delta * (100-5)/100'], [2545, 18, 'delta * (100-5)/100'], [2545, 19, 'delta / 5'], [2545, 20, 'delta / 5'], [2545, 21, 'delta / 5 * (100-5)'], [2545, 22, 'end=delta / 5 * (100-5)'], [2545, 23, 'datetime.datetime(end)'], [2545, 24, 'b'], [2545, 25, 'end=delta / 5 * (100-5)'], [2545, 26, 'end'], [2545, 27, 'datetime.now() + delta / 5 * (100-5)'], [2545, 28, 'datetime.datetime.now() + delta / 5 * (100-5)'], [2545, 29, 'end = datetime.datetime.now() + delta / 5 * (100-5)'], [2545, 30, 'end.strftime()'], [2545, 31, 'str(end)'], [2545, 32, "end.strftime('%h:%m')"], [2545, 33, "end.strftime('%H:%M')"], [2545, 34, 'd'], [2545, 35, 'delta'], [2545, 36, 'str(delta)'], [2545, 37, 'delta.seconds'], [2545, 38, "'{:02}:{:02}:{:02}'.format(int(delta.hours), int(delta.minutes), int(delta.seconds))"], [2545, 39, "'{:02}:{:02}:{:02}'.format(int(delta.hour), int(delta.minutes), int(delta.seconds))"], [2545, 40, 'delta.total_seconds()'], [2546, 1, 'import float'], [2546, 2, 'import math'], [2546, 3, 'math.nan'], [2546, 4, 'math.inf'], [2547, 1, 'import math'], [2547, 2, '-math.inf'], [2548, 1, '#1696 2339 633.3333333333334 888 256 256'], [2548, 2, '2339/1696'], [2548, 3, '888/633.3333333333334'], [2548, 4, '888/633.3333333333334'], [2549, 1, '1024-128'], [2550, 1, 'a,b=1'], [2550, 2, 'a,b,c=1,2'], [2551, 1, '(4+1)%5'], [2551, 2, '(4+2)%5'], [2552, 1, 'def closed_multiwise_index_iterator(number_of_items, n=2):\n    for i range(number_of_items +1):\n        yield [(i+j) % number_of_items for j in range(n)]'], [2552, 2, 'def closed_multiwise_index_iterator(number_of_items, n=2):\n    for i in range(number_of_items +1):\n        yield [(i+j) % number_of_items for j in range(n)]\n        '], [2552, 3, 'closed_multiwise_index_iterator(10, 3)'], [2552, 4, 'list(closed_multiwise_index_iterator(10, 3))'], [2552, 5, 'def closed_multiwise_index_iterator(number_of_items, n=2):\n    for i in range(number_of_items):\n        yield [(i+j) % number_of_items for j in range(n)]\n        '], [2552, 6, 'list(closed_multiwise_index_iterator(10, 3))'], [2552, 7, 'def closed_pairwise(iterable):\n       number_of_items = len(iterable)\n   for i in range(number_of_items):\n       yield iterable[i], iterable[(i+1)%number_of_items]'], [2552, 9, 'def closed_pairwise(iterable):\n   number_of_items = len(iterable)\n   for i in range(number_of_items):\n       yield iterable[i], iterable[(i+1)%number_of_items]\n       '], [2552, 10, 'list(closed_pairwise(list(range(10))))'], [2552, 11, 'x = range(100)'], [2552, 12, 'x[20]'], [2552, 13, 'range(100)'], [2552, 14, 'a = (1,2)'], [2552, 15, 'a = (1,2)'], [2552, 16, 'a[2] = 4'], [2552, 17, 'a[1] = 4'], [2552, 18, 'a[1] = 4'], [2553, 1, 'import langcodes'], [2553, 2, "langcodes.get('fr')"], [2553, 3, "langcodes.get('french')"], [2553, 4, "l =langcodes.get('french')"], [2553, 5, 'l.describe()'], [2553, 6, "l =langcodes.get('sqmliscmsq')"], [2553, 7, 'l'], [2553, 8, 'l.ATTRIBUTES'], [2553, 9, 'l'], [2553, 10, 'l.language_name'], [2553, 11, 'l.language_name()'], [2553, 12, 'langcodes.best_match'], [2553, 13, 'langcodes.best_match()'], [2553, 14, 'l.to_tag()'], [2553, 15, 'l.private'], [2553, 16, 'l.private'], [2553, 17, 'print(l.private)'], [2553, 18, "l =langcodes.get('french')"], [2553, 19, 'print(l.private)'], [2553, 20, 'langcodes.find'], [2553, 21, "langcodes.find('fr')"], [2553, 22, "langcodes.find('french')"], [2553, 23, "langcodes.find('french')"], [2553, 24, "langcodes.find('francais')"], [2553, 25, "langcodes.find('franCais')"], [2553, 26, "langcodes.find('françCais')"], [2553, 27, "langcodes.find('français')"], [2553, 28, "langcodes.find('british')"], [2553, 29, "langcodes.find('British')"], [2553, 30, "langcodes.find('ukh')"], [2553, 31, "langcodes.find('uk')"], [2553, 32, "langcodes.find('english')"], [2553, 33, "langcodes.find('englisqsfsqh')"], [2553, 34, 'l.language_name()'], [2553, 35, 'langcodes.find(None)'], [2554, 1, 'import isbnlib'], [2554, 2, "isbnlib.is_isbn13('978-2-212-67482-8')"], [2554, 3, "isbnlib.infou('978-2-212-67482-8')"], [2554, 4, "isbnlib.info('978-2-212-67482-8')"], [2554, 5, "isbnlib.meta('978-2-212-67482-8')"], [2554, 6, "isbnlib.canonical('978-2-212-67482-8')"], [2554, 7, "isbnlib.clean('978-2-212-67482-8')"], [2554, 8, "isbnlib.get_isbnlike('978-2-212-67482-8')"], [2554, 9, "isbnlib.get_isbnlike('978-2-212-674828')"], [2554, 10, "isbnlib.meta('978-2-212-67482-8')"], [2554, 11, "isbnlib.mask('978-2-212-67482-8', separator='-')"], [2554, 12, "isbnlib.mask('9782212-67482-8', separator='-')"], [2554, 13, "isbnlib.mask('9782212-67482-8')"], [2554, 14, "isbnlib.mask('9782212674828')"], [2555, 1, 'import isbnlib'], [2555, 2, 'import langcodes'], [2556, 1, 'import pstats'], [2556, 2, "p = pstats.Stats('profile.txt')"], [2556, 3, 'p'], [2556, 4, 'p.print_stats()'], [2556, 5, 'from pstats import SortKey'], [2556, 6, 'p.sort_stats(SortKey.CUMULATIVE)'], [2556, 7, 'p.print_stats()'], [2556, 8, '%hist'], [2557, 1, 'import markdown'], [2558, 1, 'import pkg_resources'], [2559, 1, 'from pkg_resources import iter_entry_points'], [2559, 2, "m =  iter_entry_points(group='isbnlib.metadata')"], [2559, 3, 'list(m)'], [2559, 4, "m =  iter_entry_points(group='isbnlib.formatters')"], [2559, 5, 'list(m)'], [2560, 1, 'from googletrans import Translator'], [2560, 2, 'translator = Translator()'], [2560, 3, "translator.translate('hello', src='en', dst='en')"], [2560, 4, "translator.translate('hello', src='en', dest='en')"], [2560, 5, "str(translator.translate('hello', src='en', dest='en'))"], [2560, 6, "str(translator.translate('hello', src='en', dest='en').tetx)"], [2560, 7, "str(translator.translate('hello', src='en', dest='en').text)"], [2560, 8, "translator.translate('hello', src='en', dest='fr').text"], [2561, 1, 'import env'], [2561, 2, 'import os'], [2561, 3, "os.environ['TESSDATA_PREFIX']"], [2561, 4, "os.environ['TESSDATA_PREFIXa']"], [2561, 5, 'os'], [2561, 6, 'os'], [2562, 1, '14149222/21.59'], [2562, 2, '19475988/29.79'], [2562, 3, 'à**16'], [2562, 4, '2**16'], [2562, 5, '14149222/65536'], [2562, 6, '19475988/65536'], [2562, 7, '14149222/655360'], [2562, 8, '19475988/655360'], [2562, 9, '19475988/65536'], [2563, 1, 'import datetime'], [2563, 2, 'datetime.datetime.now'], [2563, 3, 'datetime.datetime.now()'], [2563, 4, 'datetime.datetime.timestamp()'], [2563, 5, 'datetime.datetime.timestamp'], [2563, 6, 'datetime.datetime.now'], [2563, 7, 'datetime.datetime.now()'], [2563, 8, 'datetime.datetime.epo'], [2563, 9, 'datetime.datetime.ctime()'], [2563, 10, 'datetime.datetime.utcnow()'], [2563, 11, 't=datetime.datetime.utcnow()'], [2563, 12, 't.astimezone'], [2563, 13, 'import time'], [2563, 14, 'time.time()'], [2563, 15, 'time.time()-\t1550539002'], [2563, 16, 'time.time()-1550539002'], [2563, 17, 'time.time()-1550538466'], [2563, 18, '1550538466-1550538617'], [2563, 19, 'time.time()-1550538617'], [2563, 20, 'time.time()-1550538617'], [2563, 21, 'time.time()-1550538617'], [2563, 22, 'time.time()-1550538617'], [2563, 23, 'time.time()-1550538617'], [2563, 24, 'time.time()-1550538617'], [2563, 25, 'time.time()-1550538617'], [2563, 26, 'time.time()-1550538617'], [2563, 27, 'time.time()-1550538617'], [2563, 28, 'time.time()-1550538617'], [2563, 29, 'time.time()-1550538617'], [2563, 30, 'time.time()-1550538617'], [2563, 31, 'time.time()-1550538617'], [2564, 1, 'a = [1, 2, 3]'], [2564, 2, 'a.index(2)'], [2564, 3, 'a.index(20)'], [2566, 1, 'import datetime'], [2566, 2, 'datetime.timedelta(100)'], [2566, 3, 'datetime.timedelta(seconds=100)'], [2566, 4, 'd = datetime.timedelta(seconds=100)'], [2566, 5, 'print(d)'], [2566, 6, 'str(d)'], [2567, 1, ' A = np.arange(4).reshape((2,2))'], [2567, 2, 'import numpy as np'], [2567, 3, ' A = np.arange(4).reshape((2,2))'], [2567, 4, 'a.flip()'], [2567, 5, 'np.flip(A)'], [2567, 6, 'A'], [2567, 7, 'np.flip(A, 0)'], [2567, 8, 'type(A)'], [2568, 1, '953779411/1024'], [2568, 2, '953779411/1024**2'], [2569, 1, '100*1024**2'], [2569, 2, '50*1024**2'], [2570, 1, "class Shortcuts:\n\n    previous_page = 'Backspace'\n    next_page = 'n'\n    flip_page = 'r'\n    fit_to_screen = 'f'\n    full_zoom = 'z'\n    "], [2570, 2, 'Shortcuts.__dict__'], [2570, 3, 'dir(Shortcuts)'], [2571, 1, 'import dbus'], [2572, 1, 'import dbus'], [2572, 2, "kid3 = dbus.SessionBus().get_object(net.sourceforge.kid3', '/Kid3')"], [2572, 3, "kid3 = dbus.SessionBus().get_object('net.sourceforge.kid3', '/Kid3')"], [2572, 4, "kid3.getFrame(2, 'title')"], [2572, 5, 'kid3.getTag(2)'], [2572, 6, 'kid3.getTag(1)'], [2572, 7, 'kid3.getTag(2)'], [2572, 8, 'kid3.getTag(3)'], [2572, 9, 'tag = kid3.getTag(3)'], [2572, 10, 'tag[0]'], [2572, 11, 'str(tag[0])'], [2572, 12, 'kid3.quit()'], [2572, 13, '%hist'], [2574, 1, 'a = [1,2,3]'], [2574, 2, 'a[4:]'], [2575, 1, 'a = set((1,2,3))'], [2575, 2, 'list(a)'], [2576, 1, 'a = set((1,2,3))'], [2576, 2, 'b = set((10,22,33))'], [2576, 3, 'a.intersection(b)'], [2576, 4, 'list(a.intersection(b))'], [2577, 1, 'a = []'], [2577, 2, 'a.find(1)'], [2577, 3, 'a.index(1)'], [2577, 4, 'list(range(5, 0, -1))'], [2577, 5, 'list(range(5, -1, -1))'], [2577, 6, 'a = list(range(5, -1, -1))'], [2577, 7, 'reversed(a)'], [2577, 8, 'list(reversed(a))'], [2578, 1, 'import datetime'], [2578, 2, 'datetime.datetime.timestamp()'], [2578, 3, 'datetime.datetime.now()'], [2578, 4, 'datetime.datetime.utcnow()'], [2578, 5, 'datetime.time()'], [2578, 6, 'datetime.time'], [2578, 7, 'datetime.time()'], [2578, 8, 'datetime.datetime.time'], [2578, 9, 'datetime.datetime.time()'], [2578, 10, 'datetime.datetime.today()'], [2578, 11, 'time.time()'], [2578, 12, 'import time'], [2578, 13, 'time.time()'], [2579, 1, 'import discogs_client'], [2579, 2, "d = discogs_client.Client('ExampleApplication/0.1')"], [2579, 3, "results = d.search('Stockholm By Night', type='release')"], [2579, 4, 'print(results)'], [2579, 5, 'artist = results[0].artists[0]'], [2579, 6, ' d = discogs_client.Client(\'ExampleApplication/0.1\', user_token="oKNnGqlUrlKmkKKcmQUGVYlSLmOsmREmzLOiTlOO")'], [2579, 7, 'd'], [2579, 8, "results = d.search('Stockholm By Night', type='release')"], [2579, 9, 'artist = results[0].artists[0]'], [2579, 10, 'artist.name'], [2579, 11, 'print(artist)'], [2579, 12, 'artist.real_name'], [2579, 13, 'artist.url'], [2579, 14, 'artist.urls'], [2579, 15, 'artist.url'], [2579, 16, 'artist.releases'], [2579, 17, '%hist'], [2580, 1, 'import hashlib'], [2580, 2, "string = 'fsdcdsv'.encode('utf-8')"], [2580, 3, ' hashlib.sha1(string).hexdigest()'], [2580, 4, 'len( hashlib.sha1(string).hexdigest())'], [2581, 1, 'import RadioCrawler'], [2581, 2, 'import RadioCrawler.Database.CrawlerDatabase'], [2581, 3, 'import RadioCrawler.Database.CrawlerDatabase as C'], [2582, 1, '1551212213-1551212153'], [2582, 2, '1551212213-1551212153-1551212093'], [2582, 3, '1551212213-15512121531551212093'], [2582, 4, '1551212213-1551212093'], [2585, 1, 'from docutils.core import publish_cmdline, default_description'], [2586, 1, 'from selenium import webdriver'], [2586, 2, 'browser = webdriver.Firefox()'], [2586, 3, 'browser = webdriver.Firefox()'], [2586, 4, "browser.get('http://seleniumhq.org/')"], [2586, 5, "page = browser.get('http://seleniumhq.org/')"], [2586, 6, 'page'], [2586, 7, 'page'], [2586, 8, 'print(browser.page_source)'], [2587, 1, 'from RadioCrawler.Config.ConfigFile import ConfigFile'], [2587, 2, 'config = ConfigFile()'], [2587, 3, 'config.CrawlerDatabase'], [2587, 4, 'from RadioCrawler.Common.Database.ServerDatabase import ServerDatabase'], [2587, 5, 'ServerDatabase.connection_str(config.CrawlerDatabase)'], [2588, 1, 'from RadioCrawler.Config.ConfigFile import ConfigFile\nfrom RadioCrawler.Crawler.DataBase import CrawlerServerDatabase\nfrom RadioCrawler.Common.Database.ServerDatabase import ServerDatabase\n\nradio_crawler_config = ConfigFile()'], [2588, 2, 'from RadioCrawler.Crawler.DataBase import CrawlerServerDatabase'], [2588, 3, 'from RadioCrawler.Crawler.Database import CrawlerServerDatabase'], [2588, 4, 'from RadioCrawler.Common.Database.ServerDatabase import ServerDatabase\n\nradio_crawler_config = ConfigFile()'], [2588, 5, 'CrawlerServerDatabase(radio_crawler_config.CrawlerDatabase).build_tables()'], [2589, 1, 'import yaml'], [2590, 1, 'import secrets'], [2590, 2, 'secrets.token_hex()'], [2590, 3, "len('401f7ac837da42b97f613d789819ff93537bee6a')"], [2590, 4, 'secrets.token_hex(40)'], [2590, 5, 'secrets.token_hex(10)'], [2590, 6, 'secrets.token_hex(40/2)'], [2590, 7, 'secrets.token_hex(40//2)'], [2590, 8, 'secrets.token_hex(20)'], [2669, 1, 'slice(1,20,0.25)'], [2669, 2, 'a = slice(1,20,0.25)'], [2669, 3, 'a.start'], [2669, 4, 'a.step'], [2670, 1, 'from pathlib import Path'], [2670, 2, "p = Path('README.txt')"], [2670, 3, 'with open(p) as fh:\n    print(fh.read())\n    '], [2670, 4, 'd = dict(a=1,b=2,c=3)'], [2670, 5, 'd'], [2670, 6, 'sorted(d)'], [2670, 7, 'sorted(d.items())'], [2670, 8, 'd = dict(ff=53,a=1,b=2,c=3)'], [2670, 9, 'sorted(d.items())'], [2670, 10, 'd.items()'], [2671, 1, 'sum?'], [2720, 1, 'import re'], [2720, 2, "re.match('%d', '3')"], [2720, 3, "re.match('%d', '3')"], [2720, 4, "re.match('\\d', '3')"], [2720, 5, "re.match('\\d+\\.\\d+', '32.124')"], [2720, 6, "re.match('\\d+\\.\\d+(\\.\\d+)?', '32.124')"], [2720, 7, "re.match('\\d+\\.\\d+(\\.\\d+)?', '32.124.3232')"]]}, 'metadata': {}, 'tracker': <zmq.sugar.tracker.MessageTracker object at 0x7f2fb2cc76a0>}
Loaded plugin 7_shell

*** MESSAGE TYPE:execute_request***
   Content: {'code': '', 'silent': True, 'store_history': True, 'user_expressions': {}, 'allow_stdin': True}
   --->

execute_request: {'header': {'msg_id': '57d89909-ee386d3b0ba0db4cefcc1f23', 'msg_type': 'execute_request', 'username': 'fabrice', 'session': 'b7a4d4ab-921a5941dd33c58db4e63741', 'date': datetime.datetime(2019, 4, 11, 14, 37, 2, 846282, tzinfo=tzutc()), 'version': '5.3'}, 'msg_id': '57d89909-ee386d3b0ba0db4cefcc1f23', 'msg_type': 'execute_request', 'parent_header': {}, 'metadata': {}, 'content': {'code': '', 'silent': True, 'store_history': True, 'user_expressions': {}, 'allow_stdin': True}, 'buffers': []}
{'header': {'msg_id': '4ee08772-31c15e5576dbed0589022d0c', 'msg_type': 'execute_reply', 'username': 'fabrice', 'session': 'b7a4d4ab-921a5941dd33c58db4e63741', 'date': datetime.datetime(2019, 4, 11, 14, 37, 2, 849699, tzinfo=datetime.timezone.utc), 'version': '5.3'}, 'msg_id': '4ee08772-31c15e5576dbed0589022d0c', 'msg_type': 'execute_reply', 'parent_header': {'msg_id': '57d89909-ee386d3b0ba0db4cefcc1f23', 'msg_type': 'execute_request', 'username': 'fabrice', 'session': 'b7a4d4ab-921a5941dd33c58db4e63741', 'date': datetime.datetime(2019, 4, 11, 14, 37, 2, 846282, tzinfo=tzutc()), 'version': '5.3'}, 'content': {'status': 'ok', 'execution_count': 0, 'user_expressions': {}, 'payload': []}, 'metadata': {'started': datetime.datetime(2019, 4, 11, 14, 37, 2, 848345, tzinfo=datetime.timezone.utc), 'dependencies_met': True, 'engine': 'ba82afc3-28d4-45ae-9a2b-cdd88b7f1dd1', 'status': 'ok'}, 'tracker': <zmq.sugar.tracker.MessageTracker object at 0x7f2fb2cc76a0>}
Received history reply with 1000 entries
Importing plugin 7_targets
Imported plugin 7_targets
Loading plugin 7_targets
Loaded plugin 7_targets
Importing plugin 8_asset_downloader
Imported plugin 8_asset_downloader
Loading plugin 8_asset_downloader
Loaded plugin 8_asset_downloader
Importing plugin 9_export_bvh
Imported plugin 9_export_bvh
Loading plugin 9_export_bvh
Loaded plugin 9_export_bvh
Importing plugin 9_export_collada
Imported plugin 9_export_collada
Loading plugin 9_export_collada
Loaded plugin 9_export_collada
Importing plugin 9_export_fbx
Imported plugin 9_export_fbx
Loading plugin 9_export_fbx
Loaded plugin 9_export_fbx
Importing plugin 9_export_light
Imported plugin 9_export_light
Loading plugin 9_export_light
Loaded plugin 9_export_light
Importing plugin 9_export_obj
Imported plugin 9_export_obj
Loading plugin 9_export_obj
Loaded plugin 9_export_obj
Importing plugin 9_export_ogre
Imported plugin 9_export_ogre
Loading plugin 9_export_ogre
Loaded plugin 9_export_ogre
Importing plugin 9_export_stl
Imported plugin 9_export_stl
Loading plugin 9_export_stl
Loaded plugin 9_export_stl
Importing plugin 9_export_uvmap
Imported plugin 9_export_uvmap
Loading plugin 9_export_uvmap
Loaded plugin 9_export_uvmap
Loading GUI
showing category Modelling
showing task Macro modelling
Recalculated maxmimum number of faces for one vertex: 4
Recalculated maxmimum number of faces for one vertex: 4
Recalculated maxmimum number of faces for one vertex: 4
Loading theme
Theme makehuman version 1.1.0
Loaded theme data/themes/makehuman.mht
Loaded Qt style data/themes/makehuman.qss
Applying targets
Updating skeleton joint positions
Done baking animations
Loading macro targets
Loading done

libpng warning: iCCP: known incorrect sRGB profile
Creating new texture for dynamic image data/litspheres/adaptive_skin_tone.png.
initTexture: 256, 256, False
Creating new texture for image /usr/local/stow/makehuman/makehuman/data/eyes/materials/brown_eye.png.
initTexture: 1024, 1024, False
Creating new texture for image /usr/local/stow/makehuman/makehuman/data/litspheres/skinmat_eye.png.
initTexture: 256, 256, False
ABOUT TO STOP APPLICATION
Unloading plugin 0_modeling_0_modifiers
Unloaded plugin 9_export_uvmap
Invalid alias: The name clear can't be aliased because it is another magic command.
Invalid alias: The name more can't be aliased because it is another magic command.
Invalid alias: The name less can't be aliased because it is another magic command.
Invalid alias: The name man can't be aliased because it is another magic command.
Aranuvir commented 5 years ago

Can you explain what you mean by a messed desktop?

These error messages look weird:

Invalid alias: The name clear can't be aliased because it is another magic command. Invalid alias: The name more can't be aliased because it is another magic command. Invalid alias: The name less can't be aliased because it is another magic command. Invalid alias: The name man can't be aliased because it is another magic command.

Are you sure, everything was setup correctly?

rwbaer commented 5 years ago

I don't think we have a lot of developer expertise with Fedora linux (not me anyway), but I would be interested in what happens if you start MH with the --noshaders switch.

For reference here is some discussion of the gt:glx error on Qt forum: https://forum.qt.io/topic/90639/comparing-qt-widgets-app-under-gnome-wayland-using-platform-wayland-egl-to-xcb/20 They seem to be indirectly tying it to Wayland.

I also note in passing that you are working with newer versions of many dependencies than we have used as a rule. I don't know if this is critical, but we had some compatibility issues in numpy when ubuntu 18.04 came out.

Your logs show: NUMPY.VERSION: 1.16.2 QT.VERSION: 5.12.2

For the record, I'm still at: NUMPY.VERSION: 1.13.3 QT.VERSION: 5.10.1

Aranuvir commented 5 years ago

I've tested with the latest release of (k)ubuntu and I can confirm the problem. I assume a problem with Intels's Mesa Driver. The viewport isn't really messed up, but the human does not appear i.e. the screen is black and other windows overlaying the viewport do not get cleared. There are no errors in the logging. Using my AMD-GPU some (very) quick tests showed that there it is working. So I'm not convinced it is a Wayland/Qt-issue...

Fak3 commented 5 years ago

I can confirm the issue on intel, after i have upgraded whole system. There are no errors in the log, but the viewport is black. Rendering on the render tab works.

My config from logs: SYS.VERSION: 3.7.2 (default, Dec 30 2018, 16:18:15) [GCC] SYS.PLATFORM: linux PLATFORM.PROCESSOR: x86_64 PLATFORM.UNAME.RELEASE: 5.0.11-1-vanilla PLATFORM.LINUX_DISTRIBUTION:
NUMPY.VERSION: 1.16.2 QT.VERSION: 5.12.3 QT.JPG_SUPPORT: not supported QT.SVG_SUPPORT: not supported QT.PLUGIN_PATH: /usr/lib64/qt5/plugins:/usr/bin QT.PLUGIN_PATH_ENV: QT.CONF: NOT PRESENT qt.glx: qglx_findConfig: Failed to finding matching FBConfig (8 8 8 1) qt.glx: qglx_findConfig: Failed to finding matching FBConfig (1 8 8 1) qt.glx: qglx_findConfig: Failed to finding matching FBConfig (1 1 8 1) qt.glx: qglx_findConfig: Failed to finding matching FBConfig (1 1 1 1) qt.glx: qglx_findConfig: Failed to finding matching FBConfig (1 1 1 1) qt.glx: qglx_findConfig: Failed to finding matching FBConfig (1 1 1 1) qt.glx: qglx_findConfig: Failed to finding matching FBConfig (8 8 8 1) qt.glx: qglx_findConfig: Failed to finding matching FBConfig (1 8 8 1) qt.glx: qglx_findConfig: Failed to finding matching FBConfig (1 1 8 1) qt.glx: qglx_findConfig: Failed to finding matching FBConfig (1 1 1 1) qt.glx: qglx_findConfig: Failed to finding matching FBConfig (1 1 1 1) qt.glx: qglx_findConfig: Failed to finding matching FBConfig (1 1 1 1) PYOPENGL.VERSION: 3.1.3b1 GL.VENDOR: Intel Open Source Technology Center GL.RENDERER: Mesa DRI Intel(R) Ivybridge Mobile GL.VERSION: 3.0 Mesa 19.0.3 GLSL.VERSION: 1.30 GL.EXTENSION: GL_ARB_multisample enabled (0x samples) Creating new texture for image data/textures/texture_notfound.png. GL.EXTENSION: GL_ARB_texture_non_power_of_two enabled

Fak3 commented 5 years ago

"messy" means that viewport shows some static frame with background apps and splash screen, as if captured on the makehuman startup

videlanicolas commented 5 years ago

I had the same problem with Ubuntu 18, but MH worked flawlessly for the first time. I closed the application and re-opened the program and this issue happened. Is there a workaround?

cfeck commented 5 years ago

Workaround that works on my system:

In file lib/qtui.py, line 185, class Canvas, method __init__() comment out the following two lines by prepending them with a #, i.e.

#        format.setSampleBuffers(True)
#        format.setSamples(4)
Aranuvir commented 5 years ago

Thank you Christoph for helping out. It fixes the bug on my system and I couldn't see negative side effects with my second graphics card or on older Linux systems. Pushed the fix with commit 8552716. I'll leave the task open for some days, in case anyone reports further problems.

joepal1976 commented 5 years ago

Thanks cfeck, that's exceptionally good news. I was never able to reproduce the problem on any of my computers, so it was a bit hard to track down.

So far I haven't been able to see any downside on my ubuntu/nvidia system either.

joepal1976 commented 5 years ago

Upon closer examination, the fix does something with transparency. This is obviously better than crashing, but we should take this into account before releasing.

The first image is before the fix, the second is after the fix:

withoutfix

withfix

rwbaer commented 5 years ago

We probably should be careful to document hardware, versions and conditions here.

Did the transparency problem occur with your Nvidia card or an Intel card? Ubuntu 18.04 I presume? The latest Mesa drivers ( https://www.mesa3d.org/ ) are 19.1.1 and 19.0.8. Were these involved?

joepal1976 commented 5 years ago

The images were from an nvidia card with nvidia-384 binary drivers repackaged by ubuntu.

mesa version on the machine is 18.0.5

Aranuvir commented 5 years ago

Oops, I must confess I've missed that one, though the explanation for that is quite simple, since transparency didn't work for a longer time on my system. Which, by the way, is not true when doing a render, regardless of the GPU or version of the OS. Could you recheck this on your systems? In the end, that forces the assumption the problem is in the rest code rather than in the bug fix. Perhaps our user cfeck is affordable for another round of bug fixing ...?

Just to make that discussion a little more complete, here is a short quote of Brecht^:

The original plan for Blender 2.80 was to work on all GPUs that have OpenGL 3.3 drivers and were released in the last 10 years. However, we have found that there are many graphic cards that support OpenGL 3.3 in hardware, but have critical bugs in the OpenGL drivers.

We have found workarounds for dozens of those bugs, which has been very time-consuming. Blender now works on the large majority GPUs that our users have. Unfortunately, there are still some GPUs where Blender does not run reliably, and we won’t be able to officially support them for the 2.80 release. All these are cases where the OpenGL driver was last updated 3 years ago or more.

Reading these lines, I start yearning for an extra dose of Prozac....

rwbaer commented 5 years ago

Just to follow up on the transparency comments, I think we may be introducing fixes that are causing us to lose ground. We may want to reverse commits. Compare the ponytail hairline with the alpha3 windows build and current master 1.2.0 Alpha4 (master:41b65779).

image

joepal1976 commented 5 years ago

I've introduced a change that makes the above fix depend on the --noshaders argument, with the reasoning that on a crippled graphics card --noshaders might make sense anyway. This way users with a working card won't be affected.

Aranuvir commented 5 years ago

I'm not sure if that's the solution. As I stated above the transparency issue is on my AMD Graphics card, too. But when rendering the model, transparency is shown correctly. This makes me think of crippled OpenGL code rather than of a crippled graphics card. Not everyone is in the fortunate situation having multiple high end NVIDIA GPUS in the working machine. Still wondering about the minimum specs to run MakeHuman... Funnily enough Blender 2.8 (sic!) is working without problems on my crippled Intel GPU (though rendering speed could be slightly better...).

joepal1976 commented 5 years ago

The current situation is that the fix with commenting out two lines makes things better for intel cards and worse for an unknown set of other cards.

Until we figure out a proper fix which works for all cards, I don't think we should have these two lines commented out per default. But for intel cards, users need to be able to disable the two offending lines.

An alternative solution for now might be to make the two lines with the fix for intel cards optional using some other mechanism, either through configuration or through command line arguments. I agree that using --noshaders might be a somewhat overkill solution.

bhibb commented 4 years ago

Hey there. I’m still experiencing this same issue with my integrated gpu on my X1 Carbon ThinkPad. I know this bug says a fix exists, but what do we do if we still see this issue?

Aranuvir commented 4 years ago

Checking this task again, one thing is interesting: The eyes still seem to show the correct transparency.

Astrokite commented 4 years ago

I'm also still struggling with this. When I try running makehuman after commenting out those two lines I get this indentation error and it won't open at all.

Traceback (most recent call last): File "./makehuman.py", line 613, in main() File "./makehuman.py", line 603, in main from mhmain import MHApplication File "./core/mhmain.py", line 45, in import mh File "./lib/mh.py", line 50, in from qtui import Keys, Buttons, Modifiers, Application File "./lib/qtui.py", line 188 super(Canvas, self).init(format, parent) ^ IndentationError: expected an indented block

Astrokite commented 4 years ago

Nevermind, just removed

    if not G.args.get('noshaders', False):

and now everything seems to be working perfectly

Sailsman63 commented 4 years ago

Just had the original issue show up on a non-intel gpu:

Nvidia Quadro fx 880m ( yeah, old) Archlinux, Nouveau driver.

Xfce4 w/ compositing disabled. I'll edit in version numbers when I get a chance to check.

canonex commented 4 years ago

I had exact the same issue on Debian 10. Intel® UHD Graphics 630 (Coffeelake 3x8 GT2) / GeForce GTX 1060 Mobile

As suggested by @cfeck removing / commenting the lines in lib/qtui.py solves the issue:

        if not G.args.get('noshaders', False):
            format.setSampleBuffers(True)
            format.setSamples(4)

Thank you! Riccardo

joepal1976 commented 4 years ago

I have now implemented two settings that can be tried if the viewport misbehaves. Their behavior is described in http://www.makehumancommunity.org/wiki/FAQ:The_interface_looks_broken

The current nightly build contains these changes. It'd be nice if someone who had problems with the viewport checked if this is of any help.

glsettings

canonex commented 4 years ago

I have now implemented two settings that can be tried if the viewport misbehaves. Their behavior is described in http://www.makehumancommunity.org/wiki/FAQ:The_interface_looks_broken

The current nightly build contains these changes. It'd be nice if someone who had problems with the viewport checked if this is of any help.

glsettings

After checking those two options and restarting a warning appears, stating that only simple shading will be available. I press ok and... voilà, everything is correct :smiley: !

Thank you @joepal1976 !

joepal1976 commented 4 years ago

Good to hear. I'm going to assume that this available workaround is enough to solve the problem for most people, and thus close the issue.