Skip to content

Instantly share code, notes, and snippets.

View mandeep's full-sized avatar

mandeep

View GitHub Profile
running 11 tests
test compression::optimize_bytes::test::roundtrip_derive ... ok
test compression::rle::test::test ... ok
test io::test::peek ... ok
test compression::optimize_bytes::test::roundtrip_interleave ... ok
test meta::attributes::test::rounding_up ... ok
test meta::attributes::test::rounding_down ... ok
test meta::attributes::test::attribute_write_read_roundtrip_and_byte_size ... ok
test meta::attributes::test::tile_description_write_read_roundtrip ... ok
import sys
from PyQt5.QtMultimedia import QMediaPlayer
from PyQt5.QtWidgets import QApplication, QMainWindow
class Application(QMainWindow):
def __init__(self, parent=None):
super(Application, self).__init__(parent)
mandeep@debian:~/Downloads/hw2d$ make
g++ -g -I/home/l/i/lib175/usr/glew/include -c -o asst1.o asst1.cpp
asst1.cpp:98:39: error: template argument 1 is invalid
static vector<shared_ptr<ShaderState> > g_shaderStates; // our global shader states
^
asst1.cpp:98:39: error: template argument 2 is invalid
asst1.cpp:100:8: error: reference to ‘shared_ptr’ is ambiguous
static shared_ptr<GlTexture> g_tex0, g_tex1; // our global texture instance
^~~~~~~~~~
In file included from /usr/include/c++/6/tr1/memory:50:0,
@mandeep
mandeep / gist:eff732745239fee016063215b1cb170c
Created July 28, 2017 16:18
pytest-xdist internalerror
0216-mbhutani:conda-build mbhutani$ pytest -v -n auto
============================================ test session starts =============================================
platform darwin -- Python 3.6.1, pytest-3.1.3, py-1.4.34, pluggy-0.4.0 -- /Users/mbhutani/miniconda3/bin/python
cachedir: .cache
rootdir: /Users/mbhutani/Repos/conda-build, inifile: setup.cfg
plugins: xdist-1.18.2, mock-1.6.0, cov-2.5.1, cookies-0.2.0, catchlog-1.2.2
[gw0] darwin Python 3.6.1 cwd: /Users/mbhutani/Repos/conda-build
[gw1] darwin Python 3.6.1 cwd: /Users/mbhutani/Repos/conda-build
[gw2] darwin Python 3.6.1 cwd: /Users/mbhutani/Repos/conda-build
[gw3] darwin Python 3.6.1 cwd: /Users/mbhutani/Repos/conda-build