Giter Club home page Giter Club logo

ifcopenshell-jupyterhub's Issues

fails to build `sudo docker build -t jupyterhub-image-ifcopenshell ..`

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)

s.set(s.USE_PYTHON_OPENCASCADE, True)

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

oauth_callback 400 Bad Request

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.