This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pdb | |
import os | |
import zipfile | |
import tempfile | |
from pyramid.response import FileIter | |
from pyramid.response import Response | |
from pyramid.config import Configurator | |
from pyramid.view import view_config | |
from wsgiref.simple_server import make_server | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from pyramid.response import Response | |
from pyramid.config import Configurator | |
from pyramid.view import view_config | |
from wsgiref.simple_server import make_server | |
#from pyramid.session import UnencryptedCookieSessionFactoryConfig | |
#from pyramid.authentication import AuthTktAuthenticationPolicy | |
#from pyramid.authorization import ACLAuthorizationPolicy | |
@view_config(route_name='home') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
#import pygst | |
#pygst.require('0.10') | |
from gi.repository import Gtk | |
Gtk.init(None) | |
from gi.repository import Gst, GstVideo | |
Gst.init(None) | |
#import pygtk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
#import pygst | |
#pygst.require('0.10') | |
from gi.repository import Gtk | |
Gtk.init(None) | |
from gi.repository import Gst, GstVideo | |
Gst.init(None) | |
#import pygtk |
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(py2envsitepack)[raj@raj-arch tools]$ python snapshot.py | |
** (snapshot.py:23890): WARNING **: Can't load fallback CSS resource: Failed to import: The resource at '/org/gnome/adwaita/gtk-fallback.css' does not exist | |
** (snapshot.py:23890): WARNING **: Can't load fallback CSS resource: Failed to import: The resource at '/org/gnome/adwaita/gtk-fallback.css' does not exist | |
0:00:00.066134181 23890 0x2567d20 INFO GST_PIPELINE gstparse.c:322:gst_parse_launch_full: parsing pipeline description 'uridecodebin uri=file:///home/raj/vbox_shared/rajbday.mpg ! videoconvert ! videoscale ! gdkpixbufsink name=sink' | |
0:00:00.066382599 23890 0x2567d20 DEBUG GST_PIPELINE parse.l:107:priv_gst_parse_yylex: flex: IDENTIFIER: uridecodebin | |
0:00:00.066456234 23890 0x2567d20 LOG GST_ELEMENT_FACTORY gstelementfactory.c:439:gst_element_factory_make: gstelementfactory: make "uridecodebin" "(NULL)" |
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(py2envsitepack)[raj@raj-arch tools]$ python snapshot.py | |
** (snapshot.py:23866): WARNING **: Can't load fallback CSS resource: Failed to import: The resource at '/org/gnome/adwaita/gtk-fallback.css' does not exist | |
** (snapshot.py:23866): WARNING **: Can't load fallback CSS resource: Failed to import: The resource at '/org/gnome/adwaita/gtk-fallback.css' does not exist | |
0:00:00.065787263 23866 0x24ce520 INFO GST_PIPELINE gstparse.c:322:gst_parse_launch_full: parsing pipeline description 'uridecodebin uri=file:///home/raj/vbox_shared/rajbday.mpg ! videoconvert ! videoscale ! gdkpixbufsink name=sink' | |
0:00:00.066094575 23866 0x24ce520 DEBUG GST_PIPELINE parse.l:107:priv_gst_parse_yylex: flex: IDENTIFIER: uridecodebin | |
0:00:00.066173560 23866 0x24ce520 LOG GST_ELEMENT_FACTORY gstelementfactory.c:439:gst_element_factory_make: gstelementfactory: make "uridecodebin" "(NULL)" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(py2envsitepack)[raj@raj-arch tools]$ python snapshot.py | |
** (snapshot.py:23866): WARNING **: Can't load fallback CSS resource: Failed to import: The resource at '/org/gnome/adwaita/gtk-fallback.css' does not exist | |
** (snapshot.py:23866): WARNING **: Can't load fallback CSS resource: Failed to import: The resource at '/org/gnome/adwaita/gtk-fallback.css' does not exist | |
0:00:00.065787263 23866 0x24ce520 INFO GST_PIPELINE gstparse.c:322:gst_parse_launch_full: parsing pipeline description 'uridecodebin uri=file:///home/raj/vbox_shared/rajbday.mpg ! videoconvert ! videoscale ! gdkpixbufsink name=sink' | |
0:00:00.066094575 23866 0x24ce520 DEBUG GST_PIPELINE parse.l:107:priv_gst_parse_yylex: flex: IDENTIFIER: uridecodebin | |
0:00:00.066173560 23866 0x24ce520 LOG GST_ELEMENT_FACTORY gstelementfactory.c:439:gst_element_factory_make: gstelementfactory: make "uridecodebin" "(NULL)" | |
0:00:00.066253295 23866 0x24ce520 LOG GST_ELEMENT_FACTORY gstelementfactory.c:445:gst_element |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
#import pygst | |
#pygst.require('0.10') | |
from gi.repository import Gtk | |
Gtk.init(None) | |
from gi.repository import Gst, GstVideo | |
Gst.init(None) | |
#import pygtk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
import sys | |
from pyramid_sockjs.session import Session, SessionManager | |
class EchoSession(Session): | |
def __init__(self): | |
self.details = 'abcd' |