ifcopenshell / ifcopenshell-jupyterhub Goto Github PK
View Code? Open in Web Editor NEWA jupyterhub setup script with IfcOpenShell and PythonOCC modules
License: GNU General Public License v3.0
A jupyterhub setup script with IfcOpenShell and PythonOCC modules
License: GNU General Public License v3.0
Is anyone getting this error also:
[ 6%] Building CXX object CMakeFiles/IfcParse.dir/opt/build/IfcOpenShell/src/ifcparse/Ifc2x3.cpp.o
virtual memory exhausted: Cannot allocate memory
make[2]: *** [CMakeFiles/IfcParse.dir/opt/build/IfcOpenShell/src/ifcparse/Ifc2x3.cpp.o] Error 1
CMakeFiles/IfcParse.dir/build.make:110: recipe for target 'CMakeFiles/IfcParse.dir/opt/build/IfcOpenShell/src/ifcparse/Ifc2x3.cpp.o' failed
CMakeFiles/IfcParse.dir/build.make:86: recipe for target 'CMakeFiles/IfcParse.dir/opt/build/IfcOpenShell/src/ifcparse/IfcGlobalId.cpp.o' failed
c++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-5/README.Bugs> for instructions.
make[2]: *** [CMakeFiles/IfcParse.dir/opt/build/IfcOpenShell/src/ifcparse/IfcGlobalId.cpp.o] Error 4
virtual memory exhausted: Cannot allocate memory
CMakeFiles/IfcParse.dir/build.make:62: recipe for target 'CMakeFiles/IfcParse.dir/opt/build/IfcOpenShell/src/ifcparse/IfcSpfHeader.cpp.o' failed
make[2]: *** [CMakeFiles/IfcParse.dir/opt/build/IfcOpenShell/src/ifcparse/IfcSpfHeader.cpp.o] Error 1
CMakeFiles/Makefile2:223: recipe for target 'CMakeFiles/IfcParse.dir/all' failed
make[1]: *** [CMakeFiles/IfcParse.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
The command '/bin/sh -c make -j4 install' returned a non-zero code: 2
(Ubuntu 16.04 and also 18.04)
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 7.3.0-16ubuntu3' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --with-as=/usr/bin/x86_64-linux-gnu-as --with-ld=/usr/bin/x86_64-linux-gnu-ld --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 7.3.0 (Ubuntu 7.3.0-16ubuntu3)
I'm a new user of ifcopenshell, I'm trying to visualise the geometry of an ifc, so I tried your code (visualize.py) and I have this error message that I can't understand.
`AttributeError Traceback (most recent call last)
in ()
4
5 s = ifcopenshell.geom.settings()
----> 6 s.set(s.USE_PYTHON_OPENCASCADE, True)
7 geometry = dict((f[item.data.id], (item.geometry, item.styles)) for item in ifcopenshell.geom.iterator(s, f))
8
/home/jaraib/pythonpackages/ifcopenshell/ifcopenshell_wrapper.pyc in (self, name)
95 setattr = lambda self, name, value: _swig_setattr(self, settings, name, value)
96 swig_getmethods = {}
---> 97 getattr = lambda self, name: _swig_getattr(self, settings, name)
98 repr = _swig_repr
99 WELD_VERTICES = _ifcopenshell_wrapper.settings_WELD_VERTICES
/home/jaraib/pythonpackages/ifcopenshell/ifcopenshell_wrapper.pyc in _swig_getattr(self, class_type, name)
72
73 def _swig_getattr(self, class_type, name):
---> 74 return _swig_getattr_nondynamic(self, class_type, name, 0)
75
76
/home/jaraib/pythonpackages/ifcopenshell/ifcopenshell_wrapper.pyc in _swig_getattr_nondynamic(self, class_type, name, static)
67 return method(self)
68 if (not static):
---> 69 return object.getattr(self, name)
70 else:
71 raise AttributeError(name)
AttributeError: type object 'object' has no attribute 'getattr'`
Thank you for your help
Hi, thanks for this nice work.
I setup the server and notebook, and access the login page. However, after authentication with Github credentials I receive 400 : Bad Request OAuth callback made without a code
The Authorization callback URL in Github in settings is like https://mydomain.com/hub/oauth_callback
Should I change the c.GitHubOAuthenticator.oauth_callback_url
in jupyterhub_config.py
?
Due to the Docker-based installation, I assume not to touch config file.
Otherwise, what should be the Authorization callback URL ? Thanks.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.