after_merge
stringlengths
64
17k
before_merge
stringlengths
60
17k
source code and errors
stringlengths
236
32.3k
full_traceback
stringlengths
170
17.7k
traceback_type
stringclasses
60 values
def send(self, data): """Send data to client, return any unsent data.""" try: sent = self.sock.send(data) return data[sent:] except socket.error as e: if e.errno in (errno.EWOULDBLOCK, errno.EINTR): return data self.stop( ...
def send(self, data): """Send data to client, return any unsent data.""" try: sent = self.sock.send(data) return data[sent:] except socket.error as e: if e.errno in (errno.EWOULDBLOCK, errno.EINTR): return data self.stop('Unexpe...
[{'piece_type': 'error message', 'piece_content': '2015-02-04 06:30:11,901 ERROR [3714:MpdSession-27] pykka: Unhandled exception in MpdSession (urn:uuid:9595028c-486c-4c89-813a-785c3cafc057):\\nTraceback (most recent call last):\\nFile "/usr/lib/python2.7/dist-packages/pykka/actor.py", line 200, in _actor_loop\\nrespon...
2015-02-04 06:30:11,901 ERROR [3714:MpdSession-27] pykka: Unhandled exception in MpdSession (urn:uuid:9595028c-486c-4c89-813a-785c3cafc057): Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/pykka/actor.py", line 200, in _actor_loop response = self._handle_receive(message) File "/usr/lib/python2...
UnicodeDecodeError
def _find_worker(relative, follow, done, work, results, errors): """Worker thread for collecting stat() results. :param str relative: directory to make results relative to :param bool follow: if symlinks should be followed :param threading.Event done: event indicating that all work has been done :p...
def _find_worker(relative, follow, done, work, results, errors): """Worker thread for collecting stat() results. :param str relative: directory to make results relative to :param bool follow: if symlinks should be followed :param threading.Event done: event indicating that all work has been done :p...
[{'piece_type': 'error message', 'piece_content': '2015-02-04 06:30:11,901 ERROR [3714:MpdSession-27] pykka: Unhandled exception in MpdSession (urn:uuid:9595028c-486c-4c89-813a-785c3cafc057):\\nTraceback (most recent call last):\\nFile "/usr/lib/python2.7/dist-packages/pykka/actor.py", line 200, in _actor_loop\\nrespon...
2015-02-04 06:30:11,901 ERROR [3714:MpdSession-27] pykka: Unhandled exception in MpdSession (urn:uuid:9595028c-486c-4c89-813a-785c3cafc057): Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/pykka/actor.py", line 200, in _actor_loop response = self._handle_receive(message) File "/usr/lib/python2...
UnicodeDecodeError
def push(self, buffer_): if self._source is None: return False if buffer_ is None: gst_logger.debug('Sending appsrc end-of-stream event.') return self._source.emit('end-of-stream') == gst.FLOW_OK else: return self._source.emit('push-buffer', b...
def push(self, buffer_): if buffer_ is None: gst_logger.debug('Sending appsrc end-of-stream event.') return self._source.emit('end-of-stream') == gst.FLOW_OK else: return self._source.emit('push-buffer', buffer_) == gst.FLOW_OK
[{'piece_type': 'error message', 'piece_content': '^CINFO Interrupted. Exiting...\\nINFO Stopping Mopidy frontends\\nINFO Stopping Mopidy core\\nINFO Stopping Mopidy backends\\nFrom callback <function music_delivery at 0x7fa14c3c8938>:\\nTraceback (most recent call last):\\nFile "/home/jodal/dev/pyspoti...
^CINFO Interrupted. Exiting... INFO Stopping Mopidy frontends INFO Stopping Mopidy core INFO Stopping Mopidy backends From callback <function music_delivery at 0x7fa14c3c8938>: Traceback (most recent call last): File "/home/jodal/dev/pyspotify2/spotify/session.py", line 989, in music_delivery spotify._s...
AttributeError
def find_exact(tracks, query=None, uris=None): # TODO Only return results within URI roots given by ``uris`` if query is None: query = {} _validate_query(query) for (field, values) in query.items(): if not hasattr(values, '__iter__'): values = [values] # FIXME this...
def find_exact(tracks, query=None, uris=None): # TODO Only return results within URI roots given by ``uris`` if query is None: query = {} _validate_query(query) for (field, values) in query.items(): if not hasattr(values, '__iter__'): values = [values] # FIXME this...
[{'piece_type': 'other', 'piece_content': "Track(artists=[Artist(name=u'Daktyl')], bitrate=320000, comment=u'Visit http://diehighrecords.bandcamp.com', date=u'2014-01-01', last_modified=1397622512, length=208065, name=u'244', uri=u'local:track:sauza/244%201.mp3')"}, {'piece_type': 'error message', 'piece_content': 'INF...
INFO New MPD connection from [::1]:55924 ERROR Unhandled exception in MpdSession (urn:uuid:127f99a4-9753-4960-9b72-368255948637): Traceback (most recent call last): File "/usr/local/lib/python2.7/site-packages/pykka/actor.py", line 200, in _actor_loop response = self._handle_receive(message) File "/usr/local/lib...
AttributeError
def validate_extension(extension): """Verify extension's dependencies and environment. :param extensions: an extension to check :returns: if extension should be run """ logger.debug('Validating extension: %s', extension.ext_name) if extension.ext_name != extension.entry_point.name: lo...
def validate_extension(extension): """Verify extension's dependencies and environment. :param extensions: an extension to check :returns: if extension should be run """ logger.debug('Validating extension: %s', extension.ext_name) if extension.ext_name != extension.entry_point.name: lo...
[{'piece_type': 'error message', 'piece_content': '2014-12-15 19:54:53,052 INFO [7923:MainThread] mopidy.__main__: Starting Mopidy 0.19.4\\n2014-12-15 19:54:53,433 INFO [7923:MainThread] mopidy.config: Loading config from: builtin defaults, /usr/share/mopidy/conf.d, /etc/mopidy/mopidy.conf, command line options\\n2014-...
2014-12-15 19:54:53,052 INFO [7923:MainThread] mopidy.__main__: Starting Mopidy 0.19.4 2014-12-15 19:54:53,433 INFO [7923:MainThread] mopidy.config: Loading config from: builtin defaults, /usr/share/mopidy/conf.d, /etc/mopidy/mopidy.conf, command line options 2014-12-15 19:54:54,860 ERROR [7923:MainThread] mopidy.__mai...
ValueError
def recv_callback(self, fd, flags): if flags & (gobject.IO_ERR | gobject.IO_HUP): self.stop('Bad client flags: %s' % flags) return True try: data = self.sock.recv(4096) except socket.error as e: if e.errno not in (errno.EWOULDBLOCK, errno.EINT...
def recv_callback(self, fd, flags): if flags & (gobject.IO_ERR | gobject.IO_HUP): self.stop('Bad client flags: %s' % flags) return True try: data = self.sock.recv(4096) except socket.error as e: if e.errno not in (errno.EWOULDBLOCK, errno.EINT...
[{'piece_type': 'error message', 'piece_content': 'Traceback (most recent call last):\\nFile "/home/adamcik/dev/mopidy/mopidy/utils/network.py", line 272, in recv_callback\\nself.disable_recv()\\nFile "/home/adamcik/dev/mopidy/mopidy/utils/network.py", line 236, in disable_recv\\ngobject.source_remove(self.recv_id)\\nT...
Traceback (most recent call last): File "/home/adamcik/dev/mopidy/mopidy/utils/network.py", line 272, in recv_callback self.disable_recv() File "/home/adamcik/dev/mopidy/mopidy/utils/network.py", line 236, in disable_recv gobject.source_remove(self.recv_id) TypeError: an integer is required
TypeError
def publish(self): if not dbus: logger.debug('Zeroconf publish failed: dbus not installed.') return False try: bus = dbus.SystemBus() except dbus.exceptions.DBusException as e: logger.debug('Zeroconf publish failed: %s', e) return ...
def publish(self): if not dbus: logger.debug('Zeroconf publish failed: dbus not installed.') return False try: bus = dbus.SystemBus() except dbus.exceptions.DBusException as e: logger.debug('Zeroconf publish failed: %s', e) return ...
[{'piece_type': 'error message', 'piece_content': 'INFO 2013-11-13 23:26:28,001 [4304:MainThread] mopidy.frontends.mpd\\nMPD server running at [::]:6600\\nERROR 2013-11-13 23:26:28,013 [4304:MpdFrontend-5] pykka\\nUnhandled exception in MpdFrontend (urn:uuid:93b3b156-44ca-42de-a0cf-602474d1c582):\\nTraceback (mo...
INFO 2013-11-13 23:26:28,001 [4304:MainThread] mopidy.frontends.mpd MPD server running at [::]:6600 ERROR 2013-11-13 23:26:28,013 [4304:MpdFrontend-5] pykka Unhandled exception in MpdFrontend (urn:uuid:93b3b156-44ca-42de-a0cf-602474d1c582): Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-p...
DBusException
def parse_options(): parser = optparse.OptionParser( version='Mopidy %s' % versioning.get_version()) # NOTE Python 2.6: To support Python versions < 2.6.2rc1 we must use # bytestrings for the first argument to ``add_option`` # See https://github.com/mopidy/mopidy/issues/302 for details parse...
def parse_options(): parser = optparse.OptionParser( version='Mopidy %s' % versioning.get_version()) parser.add_option( '--help-gst', action='store_true', dest='help_gst', help='show GStreamer help options') parser.add_option( '-i', '--interactive', action='st...
[{'piece_type': 'error message', 'piece_content': 'erik@faust:~$ mopidy\\nTraceback (most recent call last):\\nFile "/usr/local/bin/mopidy", line 5, in <module>\\nmain()\\nFile "/usr/local/lib64/python2.6/site-packages/mopidy/__main__.py", line 48, in main\\noptions = parse_options()\\nFile "/usr/local/lib64/python2.6...
erik@faust:~$ mopidy Traceback (most recent call last): File "/usr/local/bin/mopidy", line 5, in <module> main() File "/usr/local/lib64/python2.6/site-packages/mopidy/__main__.py", line 48, in main options = parse_options() File "/usr/local/lib64/python2.6/site-packages/mopidy/__main__.py", line 85, in parse_options h...
TypeError
def _convert_mpd_data(data, tracks, music_dir): if not data: return # NOTE: kwargs are explicitly made bytestrings to work on Python # 2.6.0/2.6.1. See https://github.com/mopidy/mopidy/issues/302 for details. track_kwargs = {} album_kwargs = {} artist_kwargs = {} albumartist_kwargs...
def _convert_mpd_data(data, tracks, music_dir): if not data: return track_kwargs = {} album_kwargs = {} artist_kwargs = {} albumartist_kwargs = {} if 'track' in data: if '/' in data['track']: album_kwargs['num_tracks'] = int(data['track'].split('/')[1]) ...
[{'piece_type': 'error message', 'piece_content': 'erik@faust:~$ mopidy\\nTraceback (most recent call last):\\nFile "/usr/local/bin/mopidy", line 5, in <module>\\nmain()\\nFile "/usr/local/lib64/python2.6/site-packages/mopidy/__main__.py", line 48, in main\\noptions = parse_options()\\nFile "/usr/local/lib64/python2.6...
erik@faust:~$ mopidy Traceback (most recent call last): File "/usr/local/bin/mopidy", line 5, in <module> main() File "/usr/local/lib64/python2.6/site-packages/mopidy/__main__.py", line 48, in main options = parse_options() File "/usr/local/lib64/python2.6/site-packages/mopidy/__main__.py", line 85, in parse_options h...
TypeError
def translator(data): albumartist_kwargs = {} album_kwargs = {} artist_kwargs = {} track_kwargs = {} # NOTE: kwargs are explicitly made bytestrings to work on Python # 2.6.0/2.6.1. See https://github.com/mopidy/mopidy/issues/302 for # details. def _retrieve(source_key, target_key, targ...
def translator(data): albumartist_kwargs = {} album_kwargs = {} artist_kwargs = {} track_kwargs = {} def _retrieve(source_key, target_key, target): if source_key in data: target[target_key] = data[source_key] _retrieve(gst.TAG_ALBUM, 'name', album_kwargs) _retrieve(gst....
[{'piece_type': 'error message', 'piece_content': 'erik@faust:~$ mopidy\\nTraceback (most recent call last):\\nFile "/usr/local/bin/mopidy", line 5, in <module>\\nmain()\\nFile "/usr/local/lib64/python2.6/site-packages/mopidy/__main__.py", line 48, in main\\noptions = parse_options()\\nFile "/usr/local/lib64/python2.6...
erik@faust:~$ mopidy Traceback (most recent call last): File "/usr/local/bin/mopidy", line 5, in <module> main() File "/usr/local/lib64/python2.6/site-packages/mopidy/__main__.py", line 48, in main options = parse_options() File "/usr/local/lib64/python2.6/site-packages/mopidy/__main__.py", line 85, in parse_options h...
TypeError
def _retrieve(source_key, target_key, target): if source_key in data: target[str(target_key)] = data[source_key]
def _retrieve(source_key, target_key, target): if source_key in data: target[target_key] = data[source_key]
[{'piece_type': 'error message', 'piece_content': 'erik@faust:~$ mopidy\\nTraceback (most recent call last):\\nFile "/usr/local/bin/mopidy", line 5, in <module>\\nmain()\\nFile "/usr/local/lib64/python2.6/site-packages/mopidy/__main__.py", line 48, in main\\noptions = parse_options()\\nFile "/usr/local/lib64/python2.6...
erik@faust:~$ mopidy Traceback (most recent call last): File "/usr/local/bin/mopidy", line 5, in <module> main() File "/usr/local/lib64/python2.6/site-packages/mopidy/__main__.py", line 48, in main options = parse_options() File "/usr/local/lib64/python2.6/site-packages/mopidy/__main__.py", line 85, in parse_options h...
TypeError
def translator(data): albumartist_kwargs = {} album_kwargs = {} artist_kwargs = {} track_kwargs = {} # NOTE: kwargs are explicitly made bytestrings to work on Python # 2.6.0/2.6.1. See https://github.com/mopidy/mopidy/issues/302 for # details. def _retrieve(source_key, target_key, targ...
def translator(data): albumartist_kwargs = {} album_kwargs = {} artist_kwargs = {} track_kwargs = {} # NOTE: kwargs are explicitly made bytestrings to work on Python # 2.6.0/2.6.1. See https://github.com/mopidy/mopidy/issues/302 for # details. def _retrieve(source_key, target_key, targ...
[{'piece_type': 'error message', 'piece_content': 'erik@faust:~$ mopidy\\nTraceback (most recent call last):\\nFile "/usr/local/bin/mopidy", line 5, in <module>\\nmain()\\nFile "/usr/local/lib64/python2.6/site-packages/mopidy/__main__.py", line 48, in main\\noptions = parse_options()\\nFile "/usr/local/lib64/python2.6...
erik@faust:~$ mopidy Traceback (most recent call last): File "/usr/local/bin/mopidy", line 5, in <module> main() File "/usr/local/lib64/python2.6/site-packages/mopidy/__main__.py", line 48, in main options = parse_options() File "/usr/local/lib64/python2.6/site-packages/mopidy/__main__.py", line 85, in parse_options h...
TypeError
def parse_options(): parser = optparse.OptionParser( version='Mopidy %s' % versioning.get_version()) # NOTE Python 2.6: To support Python versions < 2.6.2rc1 we must use # bytestrings for the first argument to ``add_option`` # See https://github.com/mopidy/mopidy/issues/302 for details parse...
def parse_options(): parser = optparse.OptionParser( version='Mopidy %s' % versioning.get_version()) parser.add_option( '-q', '--quiet', action='store_const', const=0, dest='verbosity_level', help='less output (warning level)') parser.add_option( '-v', '--verbose', ...
[{'piece_type': 'error message', 'piece_content': 'erik@faust:~$ mopidy\\nTraceback (most recent call last):\\nFile "/usr/local/bin/mopidy", line 5, in <module>\\nmain()\\nFile "/usr/local/lib64/python2.6/site-packages/mopidy/__main__.py", line 48, in main\\noptions = parse_options()\\nFile "/usr/local/lib64/python2.6...
erik@faust:~$ mopidy Traceback (most recent call last): File "/usr/local/bin/mopidy", line 5, in <module> main() File "/usr/local/lib64/python2.6/site-packages/mopidy/__main__.py", line 48, in main options = parse_options() File "/usr/local/lib64/python2.6/site-packages/mopidy/__main__.py", line 85, in parse_options h...
TypeError
def __init__(self, core): super(MpdFrontend, self).__init__() hostname = network.format_hostname(settings.MPD_SERVER_HOSTNAME) port = settings.MPD_SERVER_PORT # NOTE: dict key must be bytestring to work on Python < 2.6.5 # See https://github.com/mopidy/mopidy/issues/302 for ...
def __init__(self, core): super(MpdFrontend, self).__init__() hostname = network.format_hostname(settings.MPD_SERVER_HOSTNAME) port = settings.MPD_SERVER_PORT try: network.Server( hostname, port, protocol=session.MpdSession, protocol_kwarg...
[{'piece_type': 'error message', 'piece_content': 'erik@faust:~$ mopidy\\nTraceback (most recent call last):\\nFile "/usr/local/bin/mopidy", line 5, in <module>\\nmain()\\nFile "/usr/local/lib64/python2.6/site-packages/mopidy/__main__.py", line 48, in main\\noptions = parse_options()\\nFile "/usr/local/lib64/python2.6...
erik@faust:~$ mopidy Traceback (most recent call last): File "/usr/local/bin/mopidy", line 5, in <module> main() File "/usr/local/lib64/python2.6/site-packages/mopidy/__main__.py", line 48, in main options = parse_options() File "/usr/local/lib64/python2.6/site-packages/mopidy/__main__.py", line 85, in parse_options h...
TypeError
def handle_request(pattern, auth_required=True): """ Decorator for connecting command handlers to command requests. If you use named groups in the pattern, the decorated method will get the groups as keyword arguments. If the group is optional, remember to give the argument a default value. Fo...
def handle_request(pattern, auth_required=True): """ Decorator for connecting command handlers to command requests. If you use named groups in the pattern, the decorated method will get the groups as keyword arguments. If the group is optional, remember to give the argument a default value. Fo...
[{'piece_type': 'error message', 'piece_content': 'erik@faust:~$ mopidy\\nTraceback (most recent call last):\\nFile "/usr/local/bin/mopidy", line 5, in <module>\\nmain()\\nFile "/usr/local/lib64/python2.6/site-packages/mopidy/__main__.py", line 48, in main\\noptions = parse_options()\\nFile "/usr/local/lib64/python2.6...
erik@faust:~$ mopidy Traceback (most recent call last): File "/usr/local/bin/mopidy", line 5, in <module> main() File "/usr/local/lib64/python2.6/site-packages/mopidy/__main__.py", line 48, in main options = parse_options() File "/usr/local/lib64/python2.6/site-packages/mopidy/__main__.py", line 85, in parse_options h...
TypeError
def decorator(func): match = re.search('([a-z_]+)', pattern) if match is not None: mpd_commands.add( MpdCommand(name=match.group(), auth_required=auth_required)) # NOTE: Make pattern a bytestring to get bytestring keys in the dict # returned from matches.g...
def decorator(func): match = re.search('([a-z_]+)', pattern) if match is not None: mpd_commands.add( MpdCommand(name=match.group(), auth_required=auth_required)) compiled_pattern = re.compile(pattern, flags=re.UNICODE) if compiled_pattern in request_handle...
[{'piece_type': 'error message', 'piece_content': 'erik@faust:~$ mopidy\\nTraceback (most recent call last):\\nFile "/usr/local/bin/mopidy", line 5, in <module>\\nmain()\\nFile "/usr/local/lib64/python2.6/site-packages/mopidy/__main__.py", line 48, in main\\noptions = parse_options()\\nFile "/usr/local/lib64/python2.6...
erik@faust:~$ mopidy Traceback (most recent call last): File "/usr/local/bin/mopidy", line 5, in <module> main() File "/usr/local/lib64/python2.6/site-packages/mopidy/__main__.py", line 48, in main options = parse_options() File "/usr/local/lib64/python2.6/site-packages/mopidy/__main__.py", line 85, in parse_options h...
TypeError
def parse_options(): parser = optparse.OptionParser( version='Mopidy %s' % versioning.get_version()) # NOTE First argument to add_option must be bytestrings on Python < 2.6.2 # See https://github.com/mopidy/mopidy/issues/302 for details parser.add_option( b'--help-gst', action='s...
def parse_options(): parser = optparse.OptionParser( version='Mopidy %s' % versioning.get_version()) # NOTE Python 2.6: To support Python versions < 2.6.2rc1 we must use # bytestrings for the first argument to ``add_option`` # See https://github.com/mopidy/mopidy/issues/302 for details parse...
[{'piece_type': 'error message', 'piece_content': 'erik@faust:~$ mopidy\\nTraceback (most recent call last):\\nFile "/usr/local/bin/mopidy", line 5, in <module>\\nmain()\\nFile "/usr/local/lib64/python2.6/site-packages/mopidy/__main__.py", line 48, in main\\noptions = parse_options()\\nFile "/usr/local/lib64/python2.6...
erik@faust:~$ mopidy Traceback (most recent call last): File "/usr/local/bin/mopidy", line 5, in <module> main() File "/usr/local/lib64/python2.6/site-packages/mopidy/__main__.py", line 48, in main options = parse_options() File "/usr/local/lib64/python2.6/site-packages/mopidy/__main__.py", line 85, in parse_options h...
TypeError
def _convert_mpd_data(data, tracks, music_dir): if not data: return # NOTE kwargs dict keys must be bytestrings to work on Python < 2.6.5 # See https://github.com/mopidy/mopidy/issues/302 for details. track_kwargs = {} album_kwargs = {} artist_kwargs = {} albumartist_kwargs = {} ...
def _convert_mpd_data(data, tracks, music_dir): if not data: return # NOTE: kwargs are explicitly made bytestrings to work on Python # 2.6.0/2.6.1. See https://github.com/mopidy/mopidy/issues/302 for details. track_kwargs = {} album_kwargs = {} artist_kwargs = {} albumartist_kwargs...
[{'piece_type': 'error message', 'piece_content': 'erik@faust:~$ mopidy\\nTraceback (most recent call last):\\nFile "/usr/local/bin/mopidy", line 5, in <module>\\nmain()\\nFile "/usr/local/lib64/python2.6/site-packages/mopidy/__main__.py", line 48, in main\\noptions = parse_options()\\nFile "/usr/local/lib64/python2.6...
erik@faust:~$ mopidy Traceback (most recent call last): File "/usr/local/bin/mopidy", line 5, in <module> main() File "/usr/local/lib64/python2.6/site-packages/mopidy/__main__.py", line 48, in main options = parse_options() File "/usr/local/lib64/python2.6/site-packages/mopidy/__main__.py", line 85, in parse_options h...
TypeError
def __init__(self, core): super(MpdFrontend, self).__init__() hostname = network.format_hostname(settings.MPD_SERVER_HOSTNAME) port = settings.MPD_SERVER_PORT # NOTE kwargs dict keys must be bytestrings to work on Python < 2.6.5 # See https://github.com/mopidy/mopidy/issues/...
def __init__(self, core): super(MpdFrontend, self).__init__() hostname = network.format_hostname(settings.MPD_SERVER_HOSTNAME) port = settings.MPD_SERVER_PORT # NOTE: dict key must be bytestring to work on Python < 2.6.5 # See https://github.com/mopidy/mopidy/issues/302 for ...
[{'piece_type': 'error message', 'piece_content': 'erik@faust:~$ mopidy\\nTraceback (most recent call last):\\nFile "/usr/local/bin/mopidy", line 5, in <module>\\nmain()\\nFile "/usr/local/lib64/python2.6/site-packages/mopidy/__main__.py", line 48, in main\\noptions = parse_options()\\nFile "/usr/local/lib64/python2.6...
erik@faust:~$ mopidy Traceback (most recent call last): File "/usr/local/bin/mopidy", line 5, in <module> main() File "/usr/local/lib64/python2.6/site-packages/mopidy/__main__.py", line 48, in main options = parse_options() File "/usr/local/lib64/python2.6/site-packages/mopidy/__main__.py", line 85, in parse_options h...
TypeError
def handle_request(pattern, auth_required=True): """ Decorator for connecting command handlers to command requests. If you use named groups in the pattern, the decorated method will get the groups as keyword arguments. If the group is optional, remember to give the argument a default value. Fo...
def handle_request(pattern, auth_required=True): """ Decorator for connecting command handlers to command requests. If you use named groups in the pattern, the decorated method will get the groups as keyword arguments. If the group is optional, remember to give the argument a default value. Fo...
[{'piece_type': 'error message', 'piece_content': 'erik@faust:~$ mopidy\\nTraceback (most recent call last):\\nFile "/usr/local/bin/mopidy", line 5, in <module>\\nmain()\\nFile "/usr/local/lib64/python2.6/site-packages/mopidy/__main__.py", line 48, in main\\noptions = parse_options()\\nFile "/usr/local/lib64/python2.6...
erik@faust:~$ mopidy Traceback (most recent call last): File "/usr/local/bin/mopidy", line 5, in <module> main() File "/usr/local/lib64/python2.6/site-packages/mopidy/__main__.py", line 48, in main options = parse_options() File "/usr/local/lib64/python2.6/site-packages/mopidy/__main__.py", line 85, in parse_options h...
TypeError
def decorator(func): match = re.search('([a-z_]+)', pattern) if match is not None: mpd_commands.add( MpdCommand(name=match.group(), auth_required=auth_required)) # NOTE Make pattern a bytestring to get bytestring keys in the dict # returned from matches.gr...
def decorator(func): match = re.search('([a-z_]+)', pattern) if match is not None: mpd_commands.add( MpdCommand(name=match.group(), auth_required=auth_required)) # NOTE: Make pattern a bytestring to get bytestring keys in the dict # returned from matches.g...
[{'piece_type': 'error message', 'piece_content': 'erik@faust:~$ mopidy\\nTraceback (most recent call last):\\nFile "/usr/local/bin/mopidy", line 5, in <module>\\nmain()\\nFile "/usr/local/lib64/python2.6/site-packages/mopidy/__main__.py", line 48, in main\\noptions = parse_options()\\nFile "/usr/local/lib64/python2.6...
erik@faust:~$ mopidy Traceback (most recent call last): File "/usr/local/bin/mopidy", line 5, in <module> main() File "/usr/local/lib64/python2.6/site-packages/mopidy/__main__.py", line 48, in main options = parse_options() File "/usr/local/lib64/python2.6/site-packages/mopidy/__main__.py", line 85, in parse_options h...
TypeError
def query_from_mpd_list_format(field, mpd_query): """ Converts an MPD ``list`` query to a Mopidy query. """ # NOTE kwargs dict keys must be bytestrings to work on Python < 2.6.5 # See https://github.com/mopidy/mopidy/issues/302 for details if mpd_query is None: return {} try: ...
def query_from_mpd_list_format(field, mpd_query): """ Converts an MPD ``list`` query to a Mopidy query. """ if mpd_query is None: return {} try: # shlex does not seem to be friends with unicode objects tokens = shlex.split(mpd_query.encode('utf-8')) except ValueError as e...
[{'piece_type': 'error message', 'piece_content': 'erik@faust:~$ mopidy\\nTraceback (most recent call last):\\nFile "/usr/local/bin/mopidy", line 5, in <module>\\nmain()\\nFile "/usr/local/lib64/python2.6/site-packages/mopidy/__main__.py", line 48, in main\\noptions = parse_options()\\nFile "/usr/local/lib64/python2.6...
erik@faust:~$ mopidy Traceback (most recent call last): File "/usr/local/bin/mopidy", line 5, in <module> main() File "/usr/local/lib64/python2.6/site-packages/mopidy/__main__.py", line 48, in main options = parse_options() File "/usr/local/lib64/python2.6/site-packages/mopidy/__main__.py", line 85, in parse_options h...
TypeError
def copy(self, **values): """ Copy the model with ``field`` updated to new value. Examples:: # Returns a track with a new name Track(name='foo').copy(name='bar') # Return an album with a new number of tracks Album(num_tracks=2).copy(num_track...
def copy(self, **values): """ Copy the model with ``field`` updated to new value. Examples:: # Returns a track with a new name Track(name='foo').copy(name='bar') # Return an album with a new number of tracks Album(num_tracks=2).copy(num_track...
[{'piece_type': 'error message', 'piece_content': 'erik@faust:~$ mopidy\\nTraceback (most recent call last):\\nFile "/usr/local/bin/mopidy", line 5, in <module>\\nmain()\\nFile "/usr/local/lib64/python2.6/site-packages/mopidy/__main__.py", line 48, in main\\noptions = parse_options()\\nFile "/usr/local/lib64/python2.6...
erik@faust:~$ mopidy Traceback (most recent call last): File "/usr/local/bin/mopidy", line 5, in <module> main() File "/usr/local/lib64/python2.6/site-packages/mopidy/__main__.py", line 48, in main options = parse_options() File "/usr/local/lib64/python2.6/site-packages/mopidy/__main__.py", line 85, in parse_options h...
TypeError
def __init__(self, *args, **kwargs): # NOTE kwargs dict keys must be bytestrings to work on Python < 2.6.5 # See https://github.com/mopidy/mopidy/issues/302 for details self.__dict__[b'artists'] = frozenset(kwargs.pop('artists', [])) super(Album, self).__init__(*args, **kwargs)
def __init__(self, *args, **kwargs): self.__dict__['artists'] = frozenset(kwargs.pop('artists', [])) super(Album, self).__init__(*args, **kwargs)
[{'piece_type': 'error message', 'piece_content': 'erik@faust:~$ mopidy\\nTraceback (most recent call last):\\nFile "/usr/local/bin/mopidy", line 5, in <module>\\nmain()\\nFile "/usr/local/lib64/python2.6/site-packages/mopidy/__main__.py", line 48, in main\\noptions = parse_options()\\nFile "/usr/local/lib64/python2.6...
erik@faust:~$ mopidy Traceback (most recent call last): File "/usr/local/bin/mopidy", line 5, in <module> main() File "/usr/local/lib64/python2.6/site-packages/mopidy/__main__.py", line 48, in main options = parse_options() File "/usr/local/lib64/python2.6/site-packages/mopidy/__main__.py", line 85, in parse_options h...
TypeError
def __init__(self, *args, **kwargs): # NOTE kwargs dict keys must be bytestrings to work on Python < 2.6.5 # See https://github.com/mopidy/mopidy/issues/302 for details self.__dict__[b'artists'] = frozenset(kwargs.pop('artists', [])) super(Track, self).__init__(*args, **kwargs)
def __init__(self, *args, **kwargs): self.__dict__['artists'] = frozenset(kwargs.pop('artists', [])) super(Track, self).__init__(*args, **kwargs)
[{'piece_type': 'error message', 'piece_content': 'erik@faust:~$ mopidy\\nTraceback (most recent call last):\\nFile "/usr/local/bin/mopidy", line 5, in <module>\\nmain()\\nFile "/usr/local/lib64/python2.6/site-packages/mopidy/__main__.py", line 48, in main\\noptions = parse_options()\\nFile "/usr/local/lib64/python2.6...
erik@faust:~$ mopidy Traceback (most recent call last): File "/usr/local/bin/mopidy", line 5, in <module> main() File "/usr/local/lib64/python2.6/site-packages/mopidy/__main__.py", line 48, in main options = parse_options() File "/usr/local/lib64/python2.6/site-packages/mopidy/__main__.py", line 85, in parse_options h...
TypeError
def __init__(self, *args, **kwargs): # NOTE kwargs dict keys must be bytestrings to work on Python < 2.6.5 # See https://github.com/mopidy/mopidy/issues/302 for details if len(args) == 2 and len(kwargs) == 0: kwargs[b'tlid'] = args[0] kwargs[b'track'] = args[1] ...
def __init__(self, *args, **kwargs): if len(args) == 2 and len(kwargs) == 0: kwargs['tlid'] = args[0] kwargs['track'] = args[1] args = [] super(TlTrack, self).__init__(*args, **kwargs)
[{'piece_type': 'error message', 'piece_content': 'erik@faust:~$ mopidy\\nTraceback (most recent call last):\\nFile "/usr/local/bin/mopidy", line 5, in <module>\\nmain()\\nFile "/usr/local/lib64/python2.6/site-packages/mopidy/__main__.py", line 48, in main\\noptions = parse_options()\\nFile "/usr/local/lib64/python2.6...
erik@faust:~$ mopidy Traceback (most recent call last): File "/usr/local/bin/mopidy", line 5, in <module> main() File "/usr/local/lib64/python2.6/site-packages/mopidy/__main__.py", line 48, in main options = parse_options() File "/usr/local/lib64/python2.6/site-packages/mopidy/__main__.py", line 85, in parse_options h...
TypeError
def __init__(self, *args, **kwargs): # NOTE kwargs dict keys must be bytestrings to work on Python < 2.6.5 # See https://github.com/mopidy/mopidy/issues/302 for details self.__dict__[b'tracks'] = tuple(kwargs.pop('tracks', [])) super(Playlist, self).__init__(*args, **kwargs)
def __init__(self, *args, **kwargs): self.__dict__['tracks'] = tuple(kwargs.pop('tracks', [])) super(Playlist, self).__init__(*args, **kwargs)
[{'piece_type': 'error message', 'piece_content': 'erik@faust:~$ mopidy\\nTraceback (most recent call last):\\nFile "/usr/local/bin/mopidy", line 5, in <module>\\nmain()\\nFile "/usr/local/lib64/python2.6/site-packages/mopidy/__main__.py", line 48, in main\\noptions = parse_options()\\nFile "/usr/local/lib64/python2.6...
erik@faust:~$ mopidy Traceback (most recent call last): File "/usr/local/bin/mopidy", line 5, in <module> main() File "/usr/local/lib64/python2.6/site-packages/mopidy/__main__.py", line 48, in main options = parse_options() File "/usr/local/lib64/python2.6/site-packages/mopidy/__main__.py", line 85, in parse_options h...
TypeError
def __init__(self, *args, **kwargs): # NOTE kwargs dict keys must be bytestrings to work on Python < 2.6.5 # See https://github.com/mopidy/mopidy/issues/302 for details self.__dict__[b'tracks'] = tuple(kwargs.pop('tracks', [])) self.__dict__[b'artists'] = tuple(kwargs.pop('artists', ...
def __init__(self, *args, **kwargs): self.__dict__['tracks'] = tuple(kwargs.pop('tracks', [])) self.__dict__['artists'] = tuple(kwargs.pop('artists', [])) self.__dict__['albums'] = tuple(kwargs.pop('albums', [])) super(SearchResult, self).__init__(*args, **kwargs)
[{'piece_type': 'error message', 'piece_content': 'erik@faust:~$ mopidy\\nTraceback (most recent call last):\\nFile "/usr/local/bin/mopidy", line 5, in <module>\\nmain()\\nFile "/usr/local/lib64/python2.6/site-packages/mopidy/__main__.py", line 48, in main\\noptions = parse_options()\\nFile "/usr/local/lib64/python2.6...
erik@faust:~$ mopidy Traceback (most recent call last): File "/usr/local/bin/mopidy", line 5, in <module> main() File "/usr/local/lib64/python2.6/site-packages/mopidy/__main__.py", line 48, in main options = parse_options() File "/usr/local/lib64/python2.6/site-packages/mopidy/__main__.py", line 85, in parse_options h...
TypeError
def parse_options(): parser = optparse.OptionParser( version='Mopidy %s' % versioning.get_version()) # NOTE First argument to add_option must be bytestrings on Python < 2.6.2 # See https://github.com/mopidy/mopidy/issues/302 for details parser.add_option( b'-q', '--quiet', action...
def parse_options(): parser = optparse.OptionParser( version='Mopidy %s' % versioning.get_version()) # NOTE Python 2.6: To support Python versions < 2.6.2rc1 we must use # bytestrings for the first argument to ``add_option`` # See https://github.com/mopidy/mopidy/issues/302 for details parse...
[{'piece_type': 'error message', 'piece_content': 'erik@faust:~$ mopidy\\nTraceback (most recent call last):\\nFile "/usr/local/bin/mopidy", line 5, in <module>\\nmain()\\nFile "/usr/local/lib64/python2.6/site-packages/mopidy/__main__.py", line 48, in main\\noptions = parse_options()\\nFile "/usr/local/lib64/python2.6...
erik@faust:~$ mopidy Traceback (most recent call last): File "/usr/local/bin/mopidy", line 5, in <module> main() File "/usr/local/lib64/python2.6/site-packages/mopidy/__main__.py", line 48, in main options = parse_options() File "/usr/local/lib64/python2.6/site-packages/mopidy/__main__.py", line 85, in parse_options h...
TypeError
def translator(data): albumartist_kwargs = {} album_kwargs = {} artist_kwargs = {} track_kwargs = {} # NOTE kwargs dict keys must be bytestrings to work on Python < 2.6.5 # See https://github.com/mopidy/mopidy/issues/302 for details. def _retrieve(source_key, target_key, target): i...
def translator(data): albumartist_kwargs = {} album_kwargs = {} artist_kwargs = {} track_kwargs = {} # NOTE: kwargs are explicitly made bytestrings to work on Python # 2.6.0/2.6.1. See https://github.com/mopidy/mopidy/issues/302 for # details. def _retrieve(source_key, target_key, targ...
[{'piece_type': 'error message', 'piece_content': 'erik@faust:~$ mopidy\\nTraceback (most recent call last):\\nFile "/usr/local/bin/mopidy", line 5, in <module>\\nmain()\\nFile "/usr/local/lib64/python2.6/site-packages/mopidy/__main__.py", line 48, in main\\noptions = parse_options()\\nFile "/usr/local/lib64/python2.6...
erik@faust:~$ mopidy Traceback (most recent call last): File "/usr/local/bin/mopidy", line 5, in <module> main() File "/usr/local/lib64/python2.6/site-packages/mopidy/__main__.py", line 48, in main options = parse_options() File "/usr/local/lib64/python2.6/site-packages/mopidy/__main__.py", line 85, in parse_options h...
TypeError
def model_json_decoder(dct): """ Automatically deserialize Mopidy models from JSON. Usage:: >>> import json >>> json.loads( ... '{"a_track": {"__model__": "Track", "name": "name"}}', ... object_hook=model_json_decoder) {u'a_track': Track(artists=[], name=u'n...
def model_json_decoder(dct): """ Automatically deserialize Mopidy models from JSON. Usage:: >>> import json >>> json.loads( ... '{"a_track": {"__model__": "Track", "name": "name"}}', ... object_hook=model_json_decoder) {u'a_track': Track(artists=[], name=u'n...
[{'piece_type': 'error message', 'piece_content': 'erik@faust:~$ mopidy\\nTraceback (most recent call last):\\nFile "/usr/local/bin/mopidy", line 5, in <module>\\nmain()\\nFile "/usr/local/lib64/python2.6/site-packages/mopidy/__main__.py", line 48, in main\\noptions = parse_options()\\nFile "/usr/local/lib64/python2.6...
erik@faust:~$ mopidy Traceback (most recent call last): File "/usr/local/bin/mopidy", line 5, in <module> main() File "/usr/local/lib64/python2.6/site-packages/mopidy/__main__.py", line 48, in main options = parse_options() File "/usr/local/lib64/python2.6/site-packages/mopidy/__main__.py", line 85, in parse_options h...
TypeError
def _convert_mpd_data(data, tracks, music_dir): if not data: return track_kwargs = {} album_kwargs = {} artist_kwargs = {} albumartist_kwargs = {} if 'track' in data: if '/' in data['track']: album_kwargs['num_tracks'] = int(data['track'].split('/')[1]) ...
def _convert_mpd_data(data, tracks, music_dir): if not data: return # NOTE kwargs dict keys must be bytestrings to work on Python < 2.6.5 # See https://github.com/mopidy/mopidy/issues/302 for details. track_kwargs = {} album_kwargs = {} artist_kwargs = {} albumartist_kwargs = {} ...
[{'piece_type': 'error message', 'piece_content': 'erik@faust:~$ mopidy\\nTraceback (most recent call last):\\nFile "/usr/local/bin/mopidy", line 5, in <module>\\nmain()\\nFile "/usr/local/lib64/python2.6/site-packages/mopidy/__main__.py", line 48, in main\\noptions = parse_options()\\nFile "/usr/local/lib64/python2.6...
erik@faust:~$ mopidy Traceback (most recent call last): File "/usr/local/bin/mopidy", line 5, in <module> main() File "/usr/local/lib64/python2.6/site-packages/mopidy/__main__.py", line 48, in main options = parse_options() File "/usr/local/lib64/python2.6/site-packages/mopidy/__main__.py", line 85, in parse_options h...
TypeError
def __init__(self, config, core): super(MpdFrontend, self).__init__() hostname = network.format_hostname(config['mpd']['hostname']) port = config['mpd']['port'] try: network.Server( hostname, port, protocol=session.MpdSession, ...
def __init__(self, config, core): super(MpdFrontend, self).__init__() hostname = network.format_hostname(config['mpd']['hostname']) port = config['mpd']['port'] # NOTE kwargs dict keys must be bytestrings to work on Python < 2.6.5 # See https://github.com/mopidy/mopidy/issue...
[{'piece_type': 'error message', 'piece_content': 'erik@faust:~$ mopidy\\nTraceback (most recent call last):\\nFile "/usr/local/bin/mopidy", line 5, in <module>\\nmain()\\nFile "/usr/local/lib64/python2.6/site-packages/mopidy/__main__.py", line 48, in main\\noptions = parse_options()\\nFile "/usr/local/lib64/python2.6...
erik@faust:~$ mopidy Traceback (most recent call last): File "/usr/local/bin/mopidy", line 5, in <module> main() File "/usr/local/lib64/python2.6/site-packages/mopidy/__main__.py", line 48, in main options = parse_options() File "/usr/local/lib64/python2.6/site-packages/mopidy/__main__.py", line 85, in parse_options h...
TypeError
def handle_request(pattern, auth_required=True): """ Decorator for connecting command handlers to command requests. If you use named groups in the pattern, the decorated method will get the groups as keyword arguments. If the group is optional, remember to give the argument a default value. Fo...
def handle_request(pattern, auth_required=True): """ Decorator for connecting command handlers to command requests. If you use named groups in the pattern, the decorated method will get the groups as keyword arguments. If the group is optional, remember to give the argument a default value. Fo...
[{'piece_type': 'error message', 'piece_content': 'erik@faust:~$ mopidy\\nTraceback (most recent call last):\\nFile "/usr/local/bin/mopidy", line 5, in <module>\\nmain()\\nFile "/usr/local/lib64/python2.6/site-packages/mopidy/__main__.py", line 48, in main\\noptions = parse_options()\\nFile "/usr/local/lib64/python2.6...
erik@faust:~$ mopidy Traceback (most recent call last): File "/usr/local/bin/mopidy", line 5, in <module> main() File "/usr/local/lib64/python2.6/site-packages/mopidy/__main__.py", line 48, in main options = parse_options() File "/usr/local/lib64/python2.6/site-packages/mopidy/__main__.py", line 85, in parse_options h...
TypeError
def decorator(func): match = re.search('([a-z_]+)', pattern) if match is not None: mpd_commands.add( MpdCommand(name=match.group(), auth_required=auth_required)) compiled_pattern = re.compile(pattern, flags=re.UNICODE) if compiled_pattern in request_handle...
def decorator(func): match = re.search('([a-z_]+)', pattern) if match is not None: mpd_commands.add( MpdCommand(name=match.group(), auth_required=auth_required)) # NOTE Make pattern a bytestring to get bytestring keys in the dict # returned from matches.gr...
[{'piece_type': 'error message', 'piece_content': 'erik@faust:~$ mopidy\\nTraceback (most recent call last):\\nFile "/usr/local/bin/mopidy", line 5, in <module>\\nmain()\\nFile "/usr/local/lib64/python2.6/site-packages/mopidy/__main__.py", line 48, in main\\noptions = parse_options()\\nFile "/usr/local/lib64/python2.6...
erik@faust:~$ mopidy Traceback (most recent call last): File "/usr/local/bin/mopidy", line 5, in <module> main() File "/usr/local/lib64/python2.6/site-packages/mopidy/__main__.py", line 48, in main options = parse_options() File "/usr/local/lib64/python2.6/site-packages/mopidy/__main__.py", line 85, in parse_options h...
TypeError
def query_from_mpd_list_format(field, mpd_query): """ Converts an MPD ``list`` query to a Mopidy query. """ if mpd_query is None: return {} try: # shlex does not seem to be friends with unicode objects tokens = shlex.split(mpd_query.encode('utf-8')) except ValueError as e...
def query_from_mpd_list_format(field, mpd_query): """ Converts an MPD ``list`` query to a Mopidy query. """ # NOTE kwargs dict keys must be bytestrings to work on Python < 2.6.5 # See https://github.com/mopidy/mopidy/issues/302 for details if mpd_query is None: return {} try: ...
[{'piece_type': 'error message', 'piece_content': 'erik@faust:~$ mopidy\\nTraceback (most recent call last):\\nFile "/usr/local/bin/mopidy", line 5, in <module>\\nmain()\\nFile "/usr/local/lib64/python2.6/site-packages/mopidy/__main__.py", line 48, in main\\noptions = parse_options()\\nFile "/usr/local/lib64/python2.6...
erik@faust:~$ mopidy Traceback (most recent call last): File "/usr/local/bin/mopidy", line 5, in <module> main() File "/usr/local/lib64/python2.6/site-packages/mopidy/__main__.py", line 48, in main options = parse_options() File "/usr/local/lib64/python2.6/site-packages/mopidy/__main__.py", line 85, in parse_options h...
TypeError
def copy(self, **values): """ Copy the model with ``field`` updated to new value. Examples:: # Returns a track with a new name Track(name='foo').copy(name='bar') # Return an album with a new number of tracks Album(num_tracks=2).copy(num_track...
def copy(self, **values): """ Copy the model with ``field`` updated to new value. Examples:: # Returns a track with a new name Track(name='foo').copy(name='bar') # Return an album with a new number of tracks Album(num_tracks=2).copy(num_track...
[{'piece_type': 'error message', 'piece_content': 'erik@faust:~$ mopidy\\nTraceback (most recent call last):\\nFile "/usr/local/bin/mopidy", line 5, in <module>\\nmain()\\nFile "/usr/local/lib64/python2.6/site-packages/mopidy/__main__.py", line 48, in main\\noptions = parse_options()\\nFile "/usr/local/lib64/python2.6...
erik@faust:~$ mopidy Traceback (most recent call last): File "/usr/local/bin/mopidy", line 5, in <module> main() File "/usr/local/lib64/python2.6/site-packages/mopidy/__main__.py", line 48, in main options = parse_options() File "/usr/local/lib64/python2.6/site-packages/mopidy/__main__.py", line 85, in parse_options h...
TypeError
def model_json_decoder(dct): """ Automatically deserialize Mopidy models from JSON. Usage:: >>> import json >>> json.loads( ... '{"a_track": {"__model__": "Track", "name": "name"}}', ... object_hook=model_json_decoder) {u'a_track': Track(artists=[], name=u'n...
def model_json_decoder(dct): """ Automatically deserialize Mopidy models from JSON. Usage:: >>> import json >>> json.loads( ... '{"a_track": {"__model__": "Track", "name": "name"}}', ... object_hook=model_json_decoder) {u'a_track': Track(artists=[], name=u'n...
[{'piece_type': 'error message', 'piece_content': 'erik@faust:~$ mopidy\\nTraceback (most recent call last):\\nFile "/usr/local/bin/mopidy", line 5, in <module>\\nmain()\\nFile "/usr/local/lib64/python2.6/site-packages/mopidy/__main__.py", line 48, in main\\noptions = parse_options()\\nFile "/usr/local/lib64/python2.6...
erik@faust:~$ mopidy Traceback (most recent call last): File "/usr/local/bin/mopidy", line 5, in <module> main() File "/usr/local/lib64/python2.6/site-packages/mopidy/__main__.py", line 48, in main options = parse_options() File "/usr/local/lib64/python2.6/site-packages/mopidy/__main__.py", line 85, in parse_options h...
TypeError
def __init__(self, *args, **kwargs): self.__dict__['artists'] = frozenset(kwargs.pop('artists', [])) self.__dict__['images'] = frozenset(kwargs.pop('images', [])) super(Album, self).__init__(*args, **kwargs)
def __init__(self, *args, **kwargs): # NOTE kwargs dict keys must be bytestrings to work on Python < 2.6.5 # See https://github.com/mopidy/mopidy/issues/302 for details self.__dict__[b'artists'] = frozenset(kwargs.pop('artists', [])) self.__dict__[b'images'] = frozenset(kwargs.pop('i...
[{'piece_type': 'error message', 'piece_content': 'erik@faust:~$ mopidy\\nTraceback (most recent call last):\\nFile "/usr/local/bin/mopidy", line 5, in <module>\\nmain()\\nFile "/usr/local/lib64/python2.6/site-packages/mopidy/__main__.py", line 48, in main\\noptions = parse_options()\\nFile "/usr/local/lib64/python2.6...
erik@faust:~$ mopidy Traceback (most recent call last): File "/usr/local/bin/mopidy", line 5, in <module> main() File "/usr/local/lib64/python2.6/site-packages/mopidy/__main__.py", line 48, in main options = parse_options() File "/usr/local/lib64/python2.6/site-packages/mopidy/__main__.py", line 85, in parse_options h...
TypeError
def __init__(self, *args, **kwargs): self.__dict__['artists'] = frozenset(kwargs.pop('artists', [])) super(Track, self).__init__(*args, **kwargs)
def __init__(self, *args, **kwargs): # NOTE kwargs dict keys must be bytestrings to work on Python < 2.6.5 # See https://github.com/mopidy/mopidy/issues/302 for details self.__dict__[b'artists'] = frozenset(kwargs.pop('artists', [])) super(Track, self).__init__(*args, **kwargs)
[{'piece_type': 'error message', 'piece_content': 'erik@faust:~$ mopidy\\nTraceback (most recent call last):\\nFile "/usr/local/bin/mopidy", line 5, in <module>\\nmain()\\nFile "/usr/local/lib64/python2.6/site-packages/mopidy/__main__.py", line 48, in main\\noptions = parse_options()\\nFile "/usr/local/lib64/python2.6...
erik@faust:~$ mopidy Traceback (most recent call last): File "/usr/local/bin/mopidy", line 5, in <module> main() File "/usr/local/lib64/python2.6/site-packages/mopidy/__main__.py", line 48, in main options = parse_options() File "/usr/local/lib64/python2.6/site-packages/mopidy/__main__.py", line 85, in parse_options h...
TypeError
def __init__(self, *args, **kwargs): if len(args) == 2 and len(kwargs) == 0: kwargs['tlid'] = args[0] kwargs['track'] = args[1] args = [] super(TlTrack, self).__init__(*args, **kwargs)
def __init__(self, *args, **kwargs): # NOTE kwargs dict keys must be bytestrings to work on Python < 2.6.5 # See https://github.com/mopidy/mopidy/issues/302 for details if len(args) == 2 and len(kwargs) == 0: kwargs[b'tlid'] = args[0] kwargs[b'track'] = args[1] ...
[{'piece_type': 'error message', 'piece_content': 'erik@faust:~$ mopidy\\nTraceback (most recent call last):\\nFile "/usr/local/bin/mopidy", line 5, in <module>\\nmain()\\nFile "/usr/local/lib64/python2.6/site-packages/mopidy/__main__.py", line 48, in main\\noptions = parse_options()\\nFile "/usr/local/lib64/python2.6...
erik@faust:~$ mopidy Traceback (most recent call last): File "/usr/local/bin/mopidy", line 5, in <module> main() File "/usr/local/lib64/python2.6/site-packages/mopidy/__main__.py", line 48, in main options = parse_options() File "/usr/local/lib64/python2.6/site-packages/mopidy/__main__.py", line 85, in parse_options h...
TypeError
def __init__(self, *args, **kwargs): self.__dict__['tracks'] = tuple(kwargs.pop('tracks', [])) super(Playlist, self).__init__(*args, **kwargs)
def __init__(self, *args, **kwargs): # NOTE kwargs dict keys must be bytestrings to work on Python < 2.6.5 # See https://github.com/mopidy/mopidy/issues/302 for details self.__dict__[b'tracks'] = tuple(kwargs.pop('tracks', [])) super(Playlist, self).__init__(*args, **kwargs)
[{'piece_type': 'error message', 'piece_content': 'erik@faust:~$ mopidy\\nTraceback (most recent call last):\\nFile "/usr/local/bin/mopidy", line 5, in <module>\\nmain()\\nFile "/usr/local/lib64/python2.6/site-packages/mopidy/__main__.py", line 48, in main\\noptions = parse_options()\\nFile "/usr/local/lib64/python2.6...
erik@faust:~$ mopidy Traceback (most recent call last): File "/usr/local/bin/mopidy", line 5, in <module> main() File "/usr/local/lib64/python2.6/site-packages/mopidy/__main__.py", line 48, in main options = parse_options() File "/usr/local/lib64/python2.6/site-packages/mopidy/__main__.py", line 85, in parse_options h...
TypeError
def __init__(self, *args, **kwargs): self.__dict__['tracks'] = tuple(kwargs.pop('tracks', [])) self.__dict__['artists'] = tuple(kwargs.pop('artists', [])) self.__dict__['albums'] = tuple(kwargs.pop('albums', [])) super(SearchResult, self).__init__(*args, **kwargs)
def __init__(self, *args, **kwargs): # NOTE kwargs dict keys must be bytestrings to work on Python < 2.6.5 # See https://github.com/mopidy/mopidy/issues/302 for details self.__dict__[b'tracks'] = tuple(kwargs.pop('tracks', [])) self.__dict__[b'artists'] = tuple(kwargs.pop('artists', ...
[{'piece_type': 'error message', 'piece_content': 'erik@faust:~$ mopidy\\nTraceback (most recent call last):\\nFile "/usr/local/bin/mopidy", line 5, in <module>\\nmain()\\nFile "/usr/local/lib64/python2.6/site-packages/mopidy/__main__.py", line 48, in main\\noptions = parse_options()\\nFile "/usr/local/lib64/python2.6...
erik@faust:~$ mopidy Traceback (most recent call last): File "/usr/local/bin/mopidy", line 5, in <module> main() File "/usr/local/lib64/python2.6/site-packages/mopidy/__main__.py", line 48, in main options = parse_options() File "/usr/local/lib64/python2.6/site-packages/mopidy/__main__.py", line 85, in parse_options h...
TypeError
def parse_options(): parser = optparse.OptionParser( version='Mopidy %s' % versioning.get_version()) parser.add_option( '-q', '--quiet', action='store_const', const=0, dest='verbosity_level', help='less output (warning level)') parser.add_option( '-v', '--verbose', ...
def parse_options(): parser = optparse.OptionParser( version='Mopidy %s' % versioning.get_version()) # NOTE First argument to add_option must be bytestrings on Python < 2.6.2 # See https://github.com/mopidy/mopidy/issues/302 for details parser.add_option( b'-q', '--quiet', action...
[{'piece_type': 'error message', 'piece_content': 'erik@faust:~$ mopidy\\nTraceback (most recent call last):\\nFile "/usr/local/bin/mopidy", line 5, in <module>\\nmain()\\nFile "/usr/local/lib64/python2.6/site-packages/mopidy/__main__.py", line 48, in main\\noptions = parse_options()\\nFile "/usr/local/lib64/python2.6...
erik@faust:~$ mopidy Traceback (most recent call last): File "/usr/local/bin/mopidy", line 5, in <module> main() File "/usr/local/lib64/python2.6/site-packages/mopidy/__main__.py", line 48, in main options = parse_options() File "/usr/local/lib64/python2.6/site-packages/mopidy/__main__.py", line 85, in parse_options h...
TypeError
def translator(data): albumartist_kwargs = {} album_kwargs = {} artist_kwargs = {} track_kwargs = {} def _retrieve(source_key, target_key, target): if source_key in data: target[target_key] = data[source_key] _retrieve(gst.TAG_ALBUM, 'name', album_kwargs) _retrieve(gst....
def translator(data): albumartist_kwargs = {} album_kwargs = {} artist_kwargs = {} track_kwargs = {} # NOTE kwargs dict keys must be bytestrings to work on Python < 2.6.5 # See https://github.com/mopidy/mopidy/issues/302 for details. def _retrieve(source_key, target_key, target): i...
[{'piece_type': 'error message', 'piece_content': 'erik@faust:~$ mopidy\\nTraceback (most recent call last):\\nFile "/usr/local/bin/mopidy", line 5, in <module>\\nmain()\\nFile "/usr/local/lib64/python2.6/site-packages/mopidy/__main__.py", line 48, in main\\noptions = parse_options()\\nFile "/usr/local/lib64/python2.6...
erik@faust:~$ mopidy Traceback (most recent call last): File "/usr/local/bin/mopidy", line 5, in <module> main() File "/usr/local/lib64/python2.6/site-packages/mopidy/__main__.py", line 48, in main options = parse_options() File "/usr/local/lib64/python2.6/site-packages/mopidy/__main__.py", line 85, in parse_options h...
TypeError
def _retrieve(source_key, target_key, target): if source_key in data: target[target_key] = data[source_key]
def _retrieve(source_key, target_key, target): if source_key in data: target[str(target_key)] = data[source_key]
[{'piece_type': 'error message', 'piece_content': 'erik@faust:~$ mopidy\\nTraceback (most recent call last):\\nFile "/usr/local/bin/mopidy", line 5, in <module>\\nmain()\\nFile "/usr/local/lib64/python2.6/site-packages/mopidy/__main__.py", line 48, in main\\noptions = parse_options()\\nFile "/usr/local/lib64/python2.6...
erik@faust:~$ mopidy Traceback (most recent call last): File "/usr/local/bin/mopidy", line 5, in <module> main() File "/usr/local/lib64/python2.6/site-packages/mopidy/__main__.py", line 48, in main options = parse_options() File "/usr/local/lib64/python2.6/site-packages/mopidy/__main__.py", line 85, in parse_options h...
TypeError
def _select_mixer_track(self, mixer, track_label): # Ignore tracks without volumes, then look for track with # label == settings.MIXER_TRACK, otherwise fallback to first usable # track hoping the mixer gave them to us in a sensible order. usable_tracks = [] for track in mixe...
def _select_mixer_track(self, mixer, track_label): # Look for track with label == MIXER_TRACK, otherwise fallback to # master track which is also an output. for track in mixer.list_tracks(): if track_label: if track.label == track_label: return...
[{'piece_type': 'other', 'piece_content': "OUTPUT = u'alsasink'\\nMIXER_TRACK = u'Master'"}, {'piece_type': 'error message', 'piece_content': 'INFO 2013-01-03 15:47:01,091 [7328:MainThread] mopidy.utils.log\\nStarting Mopidy 0.11.1\\nINFO 2013-01-03 15:47:01,095 [7328:MainThread] mopidy.utils.log\\nPlatform: Li...
INFO 2013-01-03 15:47:01,091 [7328:MainThread] mopidy.utils.log Starting Mopidy 0.11.1 INFO 2013-01-03 15:47:01,095 [7328:MainThread] mopidy.utils.log Platform: Linux-3.2.0-4-amd64-x86_64-with-debian-7.0 INFO 2013-01-03 15:47:01,095 [7328:MainThread] mopidy.utils.log Python: CPython 2.7.3rc2 DEBUG 2013-0...
ZeroDivisionError
def parse_m3u(file_path, music_folder): """ Convert M3U file list of uris Example M3U data:: # This is a comment Alternative\\Band - Song.mp3 Classical\\Other Band - New Song.mp3 Stuff.mp3 D:\\More Music\\Foo.mp3 http://www.example.com:8000/Listen.pls ...
def parse_m3u(file_path): """ Convert M3U file list of uris Example M3U data:: # This is a comment Alternative\\Band - Song.mp3 Classical\\Other Band - New Song.mp3 Stuff.mp3 D:\\More Music\\Foo.mp3 http://www.example.com:8000/Listen.pls http://www.e...
[{'piece_type': 'error message', 'piece_content': '$ PYTHONPATH=. ./bin/mopidy-scan\\nINFO 2012-09-11 15:56:32,431 [15354:MainThread] root\\nScanning None\\nTraceback (most recent call last):\\nFile "./bin/mopidy-scan", line 26, in <module>\\nscanner = Scanner(settings.LOCAL_MUSIC_PATH, store, debug)\\nFile "/home/...
$ PYTHONPATH=. ./bin/mopidy-scan INFO 2012-09-11 15:56:32,431 [15354:MainThread] root Scanning None Traceback (most recent call last): File "./bin/mopidy-scan", line 26, in <module> scanner = Scanner(settings.LOCAL_MUSIC_PATH, store, debug) File "/home/jodal/dev/mopidy/mopidy/scanner.py", line 55, in __init__ self....
TypeError
def __init__(self, folder, data_callback, error_callback=None): self.files = find_files(folder) self.data_callback = data_callback self.error_callback = error_callback self.loop = gobject.MainLoop() fakesink = gst.element_factory_make('fakesink') self.uribin = gst.e...
def __init__(self, folder, data_callback, error_callback=None): self.uris = [path_to_uri(f) for f in find_files(folder)] self.data_callback = data_callback self.error_callback = error_callback self.loop = gobject.MainLoop() fakesink = gst.element_factory_make('fakesink') ...
[{'piece_type': 'error message', 'piece_content': '$ PYTHONPATH=. ./bin/mopidy-scan\\nINFO 2012-09-11 15:56:32,431 [15354:MainThread] root\\nScanning None\\nTraceback (most recent call last):\\nFile "./bin/mopidy-scan", line 26, in <module>\\nscanner = Scanner(settings.LOCAL_MUSIC_PATH, store, debug)\\nFile "/home/...
$ PYTHONPATH=. ./bin/mopidy-scan INFO 2012-09-11 15:56:32,431 [15354:MainThread] root Scanning None Traceback (most recent call last): File "./bin/mopidy-scan", line 26, in <module> scanner = Scanner(settings.LOCAL_MUSIC_PATH, store, debug) File "/home/jodal/dev/mopidy/mopidy/scanner.py", line 55, in __init__ self....
TypeError
def next_uri(self): try: uri = path_to_uri(self.files.next()) except StopIteration: self.stop() return False self.pipe.set_state(gst.STATE_NULL) self.uribin.set_property('uri', uri) self.pipe.set_state(gst.STATE_PAUSED) return True
def next_uri(self): if not self.uris: return self.stop() self.pipe.set_state(gst.STATE_NULL) self.uribin.set_property('uri', self.uris.pop()) self.pipe.set_state(gst.STATE_PAUSED)
[{'piece_type': 'error message', 'piece_content': '$ PYTHONPATH=. ./bin/mopidy-scan\\nINFO 2012-09-11 15:56:32,431 [15354:MainThread] root\\nScanning None\\nTraceback (most recent call last):\\nFile "./bin/mopidy-scan", line 26, in <module>\\nscanner = Scanner(settings.LOCAL_MUSIC_PATH, store, debug)\\nFile "/home/...
$ PYTHONPATH=. ./bin/mopidy-scan INFO 2012-09-11 15:56:32,431 [15354:MainThread] root Scanning None Traceback (most recent call last): File "./bin/mopidy-scan", line 26, in <module> scanner = Scanner(settings.LOCAL_MUSIC_PATH, store, debug) File "/home/jodal/dev/mopidy/mopidy/scanner.py", line 55, in __init__ self....
TypeError
def start(self): if self.next_uri(): self.loop.run()
def start(self): if not self.uris: return self.next_uri() self.loop.run()
[{'piece_type': 'error message', 'piece_content': '$ PYTHONPATH=. ./bin/mopidy-scan\\nINFO 2012-09-11 15:56:32,431 [15354:MainThread] root\\nScanning None\\nTraceback (most recent call last):\\nFile "./bin/mopidy-scan", line 26, in <module>\\nscanner = Scanner(settings.LOCAL_MUSIC_PATH, store, debug)\\nFile "/home/...
$ PYTHONPATH=. ./bin/mopidy-scan INFO 2012-09-11 15:56:32,431 [15354:MainThread] root Scanning None Traceback (most recent call last): File "./bin/mopidy-scan", line 26, in <module> scanner = Scanner(settings.LOCAL_MUSIC_PATH, store, debug) File "/home/jodal/dev/mopidy/mopidy/scanner.py", line 55, in __init__ self....
TypeError
def import_targets(request): context = {} context['import_target_li'] = 'active' context['target_data_active'] = 'true' if request.method == 'POST': if 'txtFile' in request.FILES: txt_file = request.FILES['txtFile'] if txt_file.content_type == 'text/plain': ...
def import_targets(request): context = {} context['import_target_li'] = 'active' context['target_data_active'] = 'true' if request.method == 'POST': if 'txtFile' in request.FILES: txt_file = request.FILES['txtFile'] if txt_file.content_type == 'text/plain': ...
[{'piece_type': 'error message', 'piece_content': 'Running migrations:\\nNo migrations to apply.\\nInstalled 3 object(s) from 1 fixture(s)\\n[2020-09-07 09:47:08 +0000] [1] [INFO] Starting gunicorn 20.0.4\\n[2020-09-07 09:47:08 +0000] [1] [INFO] Listening at: http://0.0.0.0:8000 (1)\\n[2020-09-07 09:47:08 +0000] [1] [I...
Running migrations: No migrations to apply. Installed 3 object(s) from 1 fixture(s) [2020-09-07 09:47:08 +0000] [1] [INFO] Starting gunicorn 20.0.4 [2020-09-07 09:47:08 +0000] [1] [INFO] Listening at: http://0.0.0.0:8000 (1) [2020-09-07 09:47:08 +0000] [1] [INFO] Using worker: sync [2020-09-07 09:47:08 +0000] [12] [INF...
FileNotFoundError
def __init__(self, key_prefixes, runtime_dirs=get_runtime_dirs()): key_prefixes = map(self._sanitize, key_prefixes) # compute read and write dirs from base runtime dirs: the first base # dir is selected for writes and prefered for reads self._read_dirs = [os.path.join(x, *key_prefixe...
def __init__(self, key_prefixes): key_prefixes = map(self._sanitize, key_prefixes) # compute read and write dirs from base runtime dirs: the first base # dir is selected for writes and prefered for reads self._read_dirs = [os.path.join(x, *key_prefixes) for x in get_runtime_dirs()] ...
[{'piece_type': 'error message', 'piece_content': 'C:\\\\>liquidctl list --verbose\\nDevice ID 0: Corsair H100i PRO XT (experimental)\\n├── Vendor ID: 0x1b1c\\n├── Product ID: 0x0c20\\n├── Release number: 0x0100\\n├── Bus: hid\\n├── Address: \\\\\\\\?\\\\hid#vid_1b1c&amp;pid_0c20#7&amp;1e4e78f5&amp;0&amp;0000#{4d1e55b2...
C:\\>liquidctl list --verbose Device ID 0: Corsair H100i PRO XT (experimental) ├── Vendor ID: 0x1b1c ├── Product ID: 0x0c20 ├── Release number: 0x0100 ├── Bus: hid ├── Address: \\\\?\\hid#vid_1b1c&amp;pid_0c20#7&amp;1e4e78f5&amp;0&amp;0000#{4d1e55b2-f16f-11cf-88cb-001111000030} └── Driver: HydroPlatinum using module hi...
ValueError
def load(self, key): for base in self._read_dirs: path = os.path.join(base, key) if not os.path.isfile(path): continue try: with open(path, mode='r') as f: data = f.read().strip() if len(data) == 0: ...
def load(self, key): for base in self._read_dirs: path = os.path.join(base, key) if not os.path.isfile(path): continue try: with open(path, mode='r') as f: data = f.read().strip() if len(data) == 0: ...
[{'piece_type': 'error message', 'piece_content': 'C:\\\\>liquidctl list --verbose\\nDevice ID 0: Corsair H100i PRO XT (experimental)\\n├── Vendor ID: 0x1b1c\\n├── Product ID: 0x0c20\\n├── Release number: 0x0100\\n├── Bus: hid\\n├── Address: \\\\\\\\?\\\\hid#vid_1b1c&amp;pid_0c20#7&amp;1e4e78f5&amp;0&amp;0000#{4d1e55b2...
C:\\>liquidctl list --verbose Device ID 0: Corsair H100i PRO XT (experimental) ├── Vendor ID: 0x1b1c ├── Product ID: 0x0c20 ├── Release number: 0x0100 ├── Bus: hid ├── Address: \\\\?\\hid#vid_1b1c&amp;pid_0c20#7&amp;1e4e78f5&amp;0&amp;0000#{4d1e55b2-f16f-11cf-88cb-001111000030} └── Driver: HydroPlatinum using module hi...
ValueError
def _write(self, data): assert len(data) <= _REPORT_LENGTH packet = bytearray(1 + _REPORT_LENGTH) packet[1 : 1 + len(data)] = data # device doesn't use numbered reports self.device.write(packet)
def _write(self, data): padding = [0x0]*(_WRITE_LENGTH - len(data)) self.device.write(data + padding)
[{'piece_type': 'error message', 'piece_content': 'PS E:\\\\liquidctl> .\\\\liquidctl status\\nNZXT Kraken X (X42, X52, X62 or X72)\\n├── Liquid temperature 30.4 °C\\n├── Fan speed 1100 rpm\\n├── Pump speed 2703 rpm\\n└── Firmware version 6.0.2\\n\\nERROR: Unexpected error with NZXT...
PS E:\\liquidctl> .\\liquidctl status NZXT Kraken X (X42, X52, X62 or X72) ├── Liquid temperature 30.4 °C ├── Fan speed 1100 rpm ├── Pump speed 2703 rpm └── Firmware version 6.0.2 ERROR: Unexpected error with NZXT E850 (experimental) Traceback (most recent call last): AssertionErro...
AssertionError
def _read(self): return self.device.read(_REPORT_LENGTH)
def _read(self): return self.device.read(_READ_LENGTH)
[{'piece_type': 'error message', 'piece_content': 'PS E:\\\\liquidctl> .\\\\liquidctl status\\nNZXT Kraken X (X42, X52, X62 or X72)\\n├── Liquid temperature 30.4 °C\\n├── Fan speed 1100 rpm\\n├── Pump speed 2703 rpm\\n└── Firmware version 6.0.2\\n\\nERROR: Unexpected error with NZXT...
PS E:\\liquidctl> .\\liquidctl status NZXT Kraken X (X42, X52, X62 or X72) ├── Liquid temperature 30.4 °C ├── Fan speed 1100 rpm ├── Pump speed 2703 rpm └── Firmware version 6.0.2 ERROR: Unexpected error with NZXT E850 (experimental) Traceback (most recent call last): AssertionErro...
AssertionError
def connect(self, **kwargs): """Connect to the device.""" super().connect(**kwargs) ids = f'vid{self.vendor_id:04x}_pid{self.product_id:04x}' # must use the HID path because there is no serial number; however, # these can be quite long on Windows and macOS, so only take the ...
def connect(self, **kwargs): """Connect to the device.""" super().connect(**kwargs) ids = f'vid{self.vendor_id:04x}_pid{self.product_id:04x}' # must use the HID path because there is no serial number; however, # these can be quite long on Windows and macOS, so only take the ...
[{'piece_type': 'error message', 'piece_content': '[DEBUG] __main__: device: Corsair H115i PRO XT (experimental)\\nself.address: "/dev/hidraw1"\\nTraceback (most recent call last):\\nFile "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main\\nreturn _run_code(code, main_globals, None,\\nFile "/usr/lib/python...
[DEBUG] __main__: device: Corsair H115i PRO XT (experimental) self.address: "/dev/hidraw1" Traceback (most recent call last): File "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main return _run_code(code, main_globals, None, File "/usr/lib/python3.8/runpy.py", line 87, in _run_code exec(code, run_globals) ...
TypeError
def connect(self, **kwargs): """Connect to the device. Enables the device to send data to the host.""" super().connect(**kwargs) self._configure_flow_control(clear_to_send=True)
def connect(self, **kwargs): """Connect to the device.""" super().connect() try: self._open() except usb.core.USBError as err: LOGGER.warning('report: failed to open right away, will close first') LOGGER.debug(err, exc_info=True) self._...
[{'piece_type': 'other', 'piece_content': '# extra/liquiddump --product 0xb200 --interval 3\\n# extra/tests/asetek_modern'}, {'piece_type': 'error message', 'piece_content': '# extra/liquiddump --product 0xb200 --interval 3\\n{"Asetek 690LC (assuming EVGA CLC)": [["Liquid temperature", 28.8, "\\\\u00b0C"], ["Fan speed"...
# extra/liquiddump --product 0xb200 --interval 3 {"Asetek 690LC (assuming EVGA CLC)": [["Liquid temperature", 28.8, "\\u00b0C"], ["Fan speed", 420, "rpm"], ["Pump speed", 2670, "rpm"], ["Firmware version", "2.10.0.0", ""]]} {"Asetek 690LC (assuming EVGA CLC)": [["Liquid temperature", 28.8, "\\u00b0C"], ["Fan speed", 48...
usb.core.USBError
def disconnect(self, **kwargs): """Disconnect from the device. Implementation note: unlike SI_Close is supposed to do,¹ do not send _USBXPRESS_NOT_CLEAR_TO_SEND to the device. This allows one program to disconnect without sotping reads from another. Surrounding device.read...
def disconnect(self, **kwargs): """Disconnect from the device.""" self._close() super().disconnect() self.device.release()
[{'piece_type': 'other', 'piece_content': '# extra/liquiddump --product 0xb200 --interval 3\\n# extra/tests/asetek_modern'}, {'piece_type': 'error message', 'piece_content': '# extra/liquiddump --product 0xb200 --interval 3\\n{"Asetek 690LC (assuming EVGA CLC)": [["Liquid temperature", 28.8, "\\\\u00b0C"], ["Fan speed"...
# extra/liquiddump --product 0xb200 --interval 3 {"Asetek 690LC (assuming EVGA CLC)": [["Liquid temperature", 28.8, "\\u00b0C"], ["Fan speed", 420, "rpm"], ["Pump speed", 2670, "rpm"], ["Firmware version", "2.10.0.0", ""]]} {"Asetek 690LC (assuming EVGA CLC)": [["Liquid temperature", 28.8, "\\u00b0C"], ["Fan speed", 48...
usb.core.USBError
def dump(self): """ Returns the string that represents the nyan file. """ fileinfo_str = f"# NYAN FILE\\nversion {FILE_VERSION}\\n\\n" import_str = "" objects_str = "" for nyan_object in self.nyan_objects: objects_str += nyan_object.dump(import_tr...
def dump(self): """ Returns the string that represents the nyan file. """ output_str = f"# NYAN FILE\\nversion {FILE_VERSION}\\n\\n" import_aliases = self.import_tree.establish_import_dict(self, ignore_names=["t...
[{'piece_type': 'error message', 'piece_content': 'INFO [py] launching openage v0.4.1-377-g2be30ba76\\nINFO [py] compiled by GNU 10.2.0\\nDo you want to convert assets? [Y/n]\\nY\\nShould we call wine to determine an AOE installation? [Y/n]\\nn\\nCould not find any installation directory automatically.\\nPlease enter a...
INFO [py] launching openage v0.4.1-377-g2be30ba76 INFO [py] compiled by GNU 10.2.0 Do you want to convert assets? [Y/n] Y Should we call wine to determine an AOE installation? [Y/n] n Could not find any installation directory automatically. Please enter an AOE2 install path manually. /home/schatzi/nvme/Steam/steamapps/...
KeyError
def convert_assets(assets, args, srcdir=None, prev_source_dir_path=None): """ Perform asset conversion. Requires original assets and stores them in usable and free formats. assets must be a filesystem-like object pointing at the game's asset dir. srcdir must be None, or point at some source direct...
def convert_assets(assets, args, srcdir=None, prev_source_dir_path=None): """ Perform asset conversion. Requires original assets and stores them in usable and free formats. assets must be a filesystem-like object pointing at the game's asset dir. srcdir must be None, or point at some source direct...
[{'piece_type': 'error message', 'piece_content': 'INFO [py] launching openage v0.4.1-377-g2be30ba76\\nINFO [py] compiled by GNU 10.2.0\\nDo you want to convert assets? [Y/n]\\nY\\nShould we call wine to determine an AOE installation? [Y/n]\\nn\\nCould not find any installation directory automatically.\\nPlease enter a...
INFO [py] launching openage v0.4.1-377-g2be30ba76 INFO [py] compiled by GNU 10.2.0 Do you want to convert assets? [Y/n] Y Should we call wine to determine an AOE installation? [Y/n] n Could not find any installation directory automatically. Please enter an AOE2 install path manually. /home/schatzi/nvme/Steam/steamapps/...
KeyError
def _get_aoe2_base(cls, gamedata): """ Create the aoe2-base modpack. """ modpack = Modpack("aoe2_base") mod_def = modpack.get_info() mod_def.set_version("1.0c") mod_def.set_uid(2000) mod_def.add_assets_to_load("data/*") cls.organize_nyan_ob...
def _get_aoe2_base(cls, gamedata): """ Create the aoe2-base modpack. """ modpack = Modpack("aoe2-base") mod_def = modpack.get_info() mod_def.set_version("1.0c") mod_def.set_uid(2000) mod_def.add_assets_to_load("data/*") cls.organize_nyan_ob...
[{'piece_type': 'error message', 'piece_content': 'INFO [py] launching openage v0.4.1-377-g2be30ba76\\nINFO [py] compiled by GNU 10.2.0\\nDo you want to convert assets? [Y/n]\\nY\\nShould we call wine to determine an AOE installation? [Y/n]\\nn\\nCould not find any installation directory automatically.\\nPlease enter a...
INFO [py] launching openage v0.4.1-377-g2be30ba76 INFO [py] compiled by GNU 10.2.0 Do you want to convert assets? [Y/n] Y Should we call wine to determine an AOE installation? [Y/n] n Could not find any installation directory automatically. Please enter an AOE2 install path manually. /home/schatzi/nvme/Steam/steamapps/...
KeyError
def organize_nyan_objects(modpack, full_data_set): """ Put available nyan objects into a given modpack. """ created_nyan_files = {} # Access all raw API objects raw_api_objects = [] raw_api_objects.extend(full_data_set.pregen_nyan_objects.values()) f...
def organize_nyan_objects(modpack, full_data_set): """ Put available nyan objects into a given modpack. """ created_nyan_files = {} # Access all raw API objects raw_api_objects = [] raw_api_objects.extend(full_data_set.pregen_nyan_objects.values()) f...
[{'piece_type': 'error message', 'piece_content': 'INFO [py] launching openage v0.4.1-377-g2be30ba76\\nINFO [py] compiled by GNU 10.2.0\\nDo you want to convert assets? [Y/n]\\nY\\nShould we call wine to determine an AOE installation? [Y/n]\\nn\\nCould not find any installation directory automatically.\\nPlease enter a...
INFO [py] launching openage v0.4.1-377-g2be30ba76 INFO [py] compiled by GNU 10.2.0 Do you want to convert assets? [Y/n] Y Should we call wine to determine an AOE installation? [Y/n] n Could not find any installation directory automatically. Please enter an AOE2 install path manually. /home/schatzi/nvme/Steam/steamapps/...
KeyError
def generate_modifiers(full_data_set, pregen_converter_group): """ Generate standard modifiers. :param full_data_set: GenieObjectContainer instance that contains all relevant data for the conversion process. :type full_data...
def generate_modifiers(full_data_set, pregen_converter_group): """ Generate standard modifiers. :param full_data_set: GenieObjectContainer instance that contains all relevant data for the conversion process. :type full_data...
[{'piece_type': 'error message', 'piece_content': 'INFO [py] launching openage v0.4.1-377-g2be30ba76\\nINFO [py] compiled by GNU 10.2.0\\nDo you want to convert assets? [Y/n]\\nY\\nShould we call wine to determine an AOE installation? [Y/n]\\nn\\nCould not find any installation directory automatically.\\nPlease enter a...
INFO [py] launching openage v0.4.1-377-g2be30ba76 INFO [py] compiled by GNU 10.2.0 Do you want to convert assets? [Y/n] Y Should we call wine to determine an AOE installation? [Y/n] n Could not find any installation directory automatically. Please enter an AOE2 install path manually. /home/schatzi/nvme/Steam/steamapps/...
KeyError
def live_ability(converter_group, line, container_obj_ref, diff=None): """ Creates a patch for the Live ability of a line. :param converter_group: Group that gets the patch. :type converter_group: ...dataformat.converter_object.ConverterObjectGroup :param line: Unit/Building...
def live_ability(converter_group, line, container_obj_ref, diff=None): """ Creates a patch for the Live ability of a line. :param converter_group: Group that gets the patch. :type converter_group: ...dataformat.converter_object.ConverterObjectGroup :param line: Unit/Building...
[{'piece_type': 'error message', 'piece_content': 'INFO [py] launching openage v0.4.1-377-g2be30ba76\\nINFO [py] compiled by GNU 10.2.0\\nDo you want to convert assets? [Y/n]\\nY\\nShould we call wine to determine an AOE installation? [Y/n]\\nn\\nCould not find any installation directory automatically.\\nPlease enter a...
INFO [py] launching openage v0.4.1-377-g2be30ba76 INFO [py] compiled by GNU 10.2.0 Do you want to convert assets? [Y/n] Y Should we call wine to determine an AOE installation? [Y/n] n Could not find any installation directory automatically. Please enter an AOE2 install path manually. /home/schatzi/nvme/Steam/steamapps/...
KeyError
def hp_upgrade(converter_group, line, value, operator, team=False): """ Creates a patch for the HP modify effect (ID: 0). :param converter_group: Tech/Civ that gets the patch. :type converter_group: ...dataformat.converter_object.ConverterObjectGroup :param line: Unit/Buildi...
def hp_upgrade(converter_group, line, value, operator, team=False): """ Creates a patch for the HP modify effect (ID: 0). :param converter_group: Tech/Civ that gets the patch. :type converter_group: ...dataformat.converter_object.ConverterObjectGroup :param line: Unit/Buildi...
[{'piece_type': 'error message', 'piece_content': 'INFO [py] launching openage v0.4.1-377-g2be30ba76\\nINFO [py] compiled by GNU 10.2.0\\nDo you want to convert assets? [Y/n]\\nY\\nShould we call wine to determine an AOE installation? [Y/n]\\nn\\nCould not find any installation directory automatically.\\nPlease enter a...
INFO [py] launching openage v0.4.1-377-g2be30ba76 INFO [py] compiled by GNU 10.2.0 Do you want to convert assets? [Y/n] Y Should we call wine to determine an AOE installation? [Y/n] n Could not find any installation directory automatically. Please enter an AOE2 install path manually. /home/schatzi/nvme/Steam/steamapps/...
KeyError
def _get_aoe2_base(cls, gamedata): """ Create the aoe2-base modpack. """ modpack = Modpack("de2_base") mod_def = modpack.get_info() mod_def.set_version("TODO") mod_def.set_uid(2000) mod_def.add_assets_to_load("data/*") AoCModpackSubprocesso...
def _get_aoe2_base(cls, gamedata): """ Create the aoe2-base modpack. """ modpack = Modpack("de2-base") mod_def = modpack.get_info() mod_def.set_version("TODO") mod_def.set_uid(2000) mod_def.add_assets_to_load("data/*") AoCModpackSubprocesso...
[{'piece_type': 'error message', 'piece_content': 'INFO [py] launching openage v0.4.1-377-g2be30ba76\\nINFO [py] compiled by GNU 10.2.0\\nDo you want to convert assets? [Y/n]\\nY\\nShould we call wine to determine an AOE installation? [Y/n]\\nn\\nCould not find any installation directory automatically.\\nPlease enter a...
INFO [py] launching openage v0.4.1-377-g2be30ba76 INFO [py] compiled by GNU 10.2.0 Do you want to convert assets? [Y/n] Y Should we call wine to determine an AOE installation? [Y/n] n Could not find any installation directory automatically. Please enter an AOE2 install path manually. /home/schatzi/nvme/Steam/steamapps/...
KeyError
def _get_aoe1_base(cls, gamedata): """ Create the aoe1-base modpack. """ modpack = Modpack("aoe1_base") mod_def = modpack.get_info() mod_def.set_version("1.0B") mod_def.set_uid(1000) mod_def.add_assets_to_load("data/*") AoCModpackSubprocess...
def _get_aoe1_base(cls, gamedata): """ Create the aoe1-base modpack. """ modpack = Modpack("aoe1-base") mod_def = modpack.get_info() mod_def.set_version("1.0B") mod_def.set_uid(1000) mod_def.add_assets_to_load("data/*") AoCModpackSubprocess...
[{'piece_type': 'error message', 'piece_content': 'INFO [py] launching openage v0.4.1-377-g2be30ba76\\nINFO [py] compiled by GNU 10.2.0\\nDo you want to convert assets? [Y/n]\\nY\\nShould we call wine to determine an AOE installation? [Y/n]\\nn\\nCould not find any installation directory automatically.\\nPlease enter a...
INFO [py] launching openage v0.4.1-377-g2be30ba76 INFO [py] compiled by GNU 10.2.0 Do you want to convert assets? [Y/n] Y Should we call wine to determine an AOE installation? [Y/n] n Could not find any installation directory automatically. Please enter an AOE2 install path manually. /home/schatzi/nvme/Steam/steamapps/...
KeyError
def _get_swgb_base(cls, gamedata): """ Create the swgb-base modpack. """ modpack = Modpack("swgb_base") mod_def = modpack.get_info() mod_def.set_version("GOG") mod_def.set_uid(5000) mod_def.add_assets_to_load("data/*") AoCModpackSubprocesso...
def _get_swgb_base(cls, gamedata): """ Create the swgb-base modpack. """ modpack = Modpack("swgb-base") mod_def = modpack.get_info() mod_def.set_version("GOG") mod_def.set_uid(5000) mod_def.add_assets_to_load("data/*") AoCModpackSubprocesso...
[{'piece_type': 'error message', 'piece_content': 'INFO [py] launching openage v0.4.1-377-g2be30ba76\\nINFO [py] compiled by GNU 10.2.0\\nDo you want to convert assets? [Y/n]\\nY\\nShould we call wine to determine an AOE installation? [Y/n]\\nn\\nCould not find any installation directory automatically.\\nPlease enter a...
INFO [py] launching openage v0.4.1-377-g2be30ba76 INFO [py] compiled by GNU 10.2.0 Do you want to convert assets? [Y/n] Y Should we call wine to determine an AOE installation? [Y/n] n Could not find any installation directory automatically. Please enter an AOE2 install path manually. /home/schatzi/nvme/Steam/steamapps/...
KeyError
def expand_from_file(self, nyan_file): """ Expands the tree from a nyan file. :param nyan_file: File with nyan objects. :type nyan_file: .convert.export.formats.nyan_file.NyanFile """ current_node = self.root fqon = nyan_file.get_fqon() node_type = No...
def expand_from_file(self, nyan_file): """ Expands the tree from a nyan file. :param nyan_file: File with nyan objects. :type nyan_file: .convert.export.formats.nyan_file.NyanFile """ # Process fqon of the file current_node = self.root fqon = nyan_fil...
[{'piece_type': 'error message', 'piece_content': 'INFO [py] launching openage v0.4.1-377-g2be30ba76\\nINFO [py] compiled by GNU 10.2.0\\nDo you want to convert assets? [Y/n]\\nY\\nShould we call wine to determine an AOE installation? [Y/n]\\nn\\nCould not find any installation directory automatically.\\nPlease enter a...
INFO [py] launching openage v0.4.1-377-g2be30ba76 INFO [py] compiled by GNU 10.2.0 Do you want to convert assets? [Y/n] Y Should we call wine to determine an AOE installation? [Y/n] n Could not find any installation directory automatically. Please enter an AOE2 install path manually. /home/schatzi/nvme/Steam/steamapps/...
KeyError
def get_alias_fqon(self, fqon, namespace=None): """ Find the (shortened) fqon by traversing the tree to the fqon node and then going upwards until an alias is found. :param fqon: Object reference for which an alias should be found. :type fqon: tuple :param namespace:...
def get_alias_fqon(self, fqon): """ Find the (shortened) fqon by traversing the tree to the fqon node and then going upwards until a marked node is found. """ # Traverse the tree downwards current_node = self.root for part in fqon: current_node = c...
[{'piece_type': 'error message', 'piece_content': 'INFO [py] launching openage v0.4.1-377-g2be30ba76\\nINFO [py] compiled by GNU 10.2.0\\nDo you want to convert assets? [Y/n]\\nY\\nShould we call wine to determine an AOE installation? [Y/n]\\nn\\nCould not find any installation directory automatically.\\nPlease enter a...
INFO [py] launching openage v0.4.1-377-g2be30ba76 INFO [py] compiled by GNU 10.2.0 Do you want to convert assets? [Y/n] Y Should we call wine to determine an AOE installation? [Y/n] n Could not find any installation directory automatically. Please enter an AOE2 install path manually. /home/schatzi/nvme/Steam/steamapps/...
KeyError
def __init__(self, name, node_type, parent): """ Create a node for an import tree. :param name: Name of the node. :type name: str :param node_type: Type of the node. :type node_type: NodeType :param parent: Parent node of this node. :type parent: Node...
def __init__(self, name, node_type, parent): """ Create a node for an import tree. :param name: Name of the node. :type name: str :param node_type: Type of the node. :type node_type: NodeType :param parent: Parent node of this node. :type parent: Node...
[{'piece_type': 'error message', 'piece_content': 'INFO [py] launching openage v0.4.1-377-g2be30ba76\\nINFO [py] compiled by GNU 10.2.0\\nDo you want to convert assets? [Y/n]\\nY\\nShould we call wine to determine an AOE installation? [Y/n]\\nn\\nCould not find any installation directory automatically.\\nPlease enter a...
INFO [py] launching openage v0.4.1-377-g2be30ba76 INFO [py] compiled by GNU 10.2.0 Do you want to convert assets? [Y/n] Y Should we call wine to determine an AOE installation? [Y/n] n Could not find any installation directory automatically. Please enter an AOE2 install path manually. /home/schatzi/nvme/Steam/steamapps/...
KeyError
def mark(self): """ Mark this node as an alias node. """ self.marked = True
def mark(self): """ Mark this node as an alias node. """ self.alias = True
[{'piece_type': 'error message', 'piece_content': 'INFO [py] launching openage v0.4.1-377-g2be30ba76\\nINFO [py] compiled by GNU 10.2.0\\nDo you want to convert assets? [Y/n]\\nY\\nShould we call wine to determine an AOE installation? [Y/n]\\nn\\nCould not find any installation directory automatically.\\nPlease enter a...
INFO [py] launching openage v0.4.1-377-g2be30ba76 INFO [py] compiled by GNU 10.2.0 Do you want to convert assets? [Y/n] Y Should we call wine to determine an AOE installation? [Y/n] n Could not find any installation directory automatically. Please enter an AOE2 install path manually. /home/schatzi/nvme/Steam/steamapps/...
KeyError
def unmark(self): """ Unmark this node as an alias node. """ self.marked = False
def unmark(self): """ Unmark this node as an alias node. """ self.alias = False
[{'piece_type': 'error message', 'piece_content': 'INFO [py] launching openage v0.4.1-377-g2be30ba76\\nINFO [py] compiled by GNU 10.2.0\\nDo you want to convert assets? [Y/n]\\nY\\nShould we call wine to determine an AOE installation? [Y/n]\\nn\\nCould not find any installation directory automatically.\\nPlease enter a...
INFO [py] launching openage v0.4.1-377-g2be30ba76 INFO [py] compiled by GNU 10.2.0 Do you want to convert assets? [Y/n] Y Should we call wine to determine an AOE installation? [Y/n] n Could not find any installation directory automatically. Please enter an AOE2 install path manually. /home/schatzi/nvme/Steam/steamapps/...
KeyError
def _prepare_object_content(self, indent_depth, import_tree=None): """ Returns a string containing the nyan object's content (members, nested objects). Subroutine of dump(). """ output_str = "" empty = True if len(self._inherited_members) > 0: ...
def _prepare_object_content(self, indent_depth, import_tree=None): """ Returns a string containing the nyan object's content (members, nested objects). Subroutine of dump(). """ output_str = "" empty = True if len(self._inherited_members) > 0: ...
[{'piece_type': 'error message', 'piece_content': 'INFO [py] launching openage v0.4.1-377-g2be30ba76\\nINFO [py] compiled by GNU 10.2.0\\nDo you want to convert assets? [Y/n]\\nY\\nShould we call wine to determine an AOE installation? [Y/n]\\nn\\nCould not find any installation directory automatically.\\nPlease enter a...
INFO [py] launching openage v0.4.1-377-g2be30ba76 INFO [py] compiled by GNU 10.2.0 Do you want to convert assets? [Y/n] Y Should we call wine to determine an AOE installation? [Y/n] n Could not find any installation directory automatically. Please enter an AOE2 install path manually. /home/schatzi/nvme/Steam/steamapps/...
KeyError
def _prepare_inheritance_content(self, import_tree=None): """ Returns a string containing the nyan object's inheritance set in the header. Subroutine of dump(). """ output_str = "(" if len(self._parents) > 0: for parent in self._parents: ...
def _prepare_inheritance_content(self, import_tree=None): """ Returns a string containing the nyan object's inheritance set in the header. Subroutine of dump(). """ output_str = "(" if len(self._parents) > 0: for parent in self._parents: ...
[{'piece_type': 'error message', 'piece_content': 'INFO [py] launching openage v0.4.1-377-g2be30ba76\\nINFO [py] compiled by GNU 10.2.0\\nDo you want to convert assets? [Y/n]\\nY\\nShould we call wine to determine an AOE installation? [Y/n]\\nn\\nCould not find any installation directory automatically.\\nPlease enter a...
INFO [py] launching openage v0.4.1-377-g2be30ba76 INFO [py] compiled by GNU 10.2.0 Do you want to convert assets? [Y/n] Y Should we call wine to determine an AOE installation? [Y/n] n Could not find any installation directory automatically. Please enter an AOE2 install path manually. /home/schatzi/nvme/Steam/steamapps/...
KeyError
def dump(self, indent_depth, import_tree=None, namespace=None): """ Returns the nyan string representation of the member. """ output_str = f"{self.name}" type_str = "" if isinstance(self._member_type, NyanObject): if import_tree: sfqon = ...
def dump(self, import_tree=None): """ Returns the nyan string representation of the member. """ output_str = f"{self.name}" type_str = "" if isinstance(self._member_type, NyanObject): if import_tree: sfqon = ".".join(import_tree.get_alias...
[{'piece_type': 'error message', 'piece_content': 'INFO [py] launching openage v0.4.1-377-g2be30ba76\\nINFO [py] compiled by GNU 10.2.0\\nDo you want to convert assets? [Y/n]\\nY\\nShould we call wine to determine an AOE installation? [Y/n]\\nn\\nCould not find any installation directory automatically.\\nPlease enter a...
INFO [py] launching openage v0.4.1-377-g2be30ba76 INFO [py] compiled by GNU 10.2.0 Do you want to convert assets? [Y/n] Y Should we call wine to determine an AOE installation? [Y/n] n Could not find any installation directory automatically. Please enter an AOE2 install path manually. /home/schatzi/nvme/Steam/steamapps/...
KeyError
def dump_short(self, indent_depth, import_tree=None, namespace=None): """ Returns the nyan string representation of the member, but without the type definition. """ return "%s %s%s %s" % ( self.get_name(), "@" * self._override_depth, self._...
def dump_short(self, import_tree=None): """ Returns the nyan string representation of the member, but without the type definition. """ return "%s %s%s %s" % (self.get_name(), "@" * self._override_depth, self._opera...
[{'piece_type': 'error message', 'piece_content': 'INFO [py] launching openage v0.4.1-377-g2be30ba76\\nINFO [py] compiled by GNU 10.2.0\\nDo you want to convert assets? [Y/n]\\nY\\nShould we call wine to determine an AOE installation? [Y/n]\\nn\\nCould not find any installation directory automatically.\\nPlease enter a...
INFO [py] launching openage v0.4.1-377-g2be30ba76 INFO [py] compiled by GNU 10.2.0 Do you want to convert assets? [Y/n] Y Should we call wine to determine an AOE installation? [Y/n] n Could not find any installation directory automatically. Please enter an AOE2 install path manually. /home/schatzi/nvme/Steam/steamapps/...
KeyError
def _get_primitive_value_str(self, member_type, value, import_tree=None, namespace=None): """ Returns the nyan string representation of primitive values. Subroutine of _get_str_representation() """ if member_type in (MemberType.TEXT, MemberType.FILE): return f"\\...
def _get_primitive_value_str(self, member_type, value, import_tree=None): """ Returns the nyan string representation of primitive values. Subroutine of _get_str_representation() """ if member_type is MemberType.FLOAT: return f"{value}f" elif member_type ...
[{'piece_type': 'error message', 'piece_content': 'INFO [py] launching openage v0.4.1-377-g2be30ba76\\nINFO [py] compiled by GNU 10.2.0\\nDo you want to convert assets? [Y/n]\\nY\\nShould we call wine to determine an AOE installation? [Y/n]\\nn\\nCould not find any installation directory automatically.\\nPlease enter a...
INFO [py] launching openage v0.4.1-377-g2be30ba76 INFO [py] compiled by GNU 10.2.0 Do you want to convert assets? [Y/n] Y Should we call wine to determine an AOE installation? [Y/n] n Could not find any installation directory automatically. Please enter an AOE2 install path manually. /home/schatzi/nvme/Steam/steamapps/...
KeyError
def _get_str_representation(self, indent_depth, import_tree=None, namespace=None): """ Returns the nyan string representation of the value. """ if not self.is_initialized(): return f"UNINITIALIZED VALUE {self.__repr__()}" if self._optional and self.value is Membe...
def _get_str_representation(self, import_tree=None): """ Returns the nyan string representation of the value. """ if not self.is_initialized(): return f"UNINITIALIZED VALUE {self.__repr__()}" if self._optional and self.value is MemberSpecialValue.NYAN_NONE: ...
[{'piece_type': 'error message', 'piece_content': 'INFO [py] launching openage v0.4.1-377-g2be30ba76\\nINFO [py] compiled by GNU 10.2.0\\nDo you want to convert assets? [Y/n]\\nY\\nShould we call wine to determine an AOE installation? [Y/n]\\nn\\nCould not find any installation directory automatically.\\nPlease enter a...
INFO [py] launching openage v0.4.1-377-g2be30ba76 INFO [py] compiled by GNU 10.2.0 Do you want to convert assets? [Y/n] Y Should we call wine to determine an AOE installation? [Y/n] n Could not find any installation directory automatically. Please enter an AOE2 install path manually. /home/schatzi/nvme/Steam/steamapps/...
KeyError
def dump(self, indent_depth, import_tree=None, namespace=None): """ Returns the string representation of the member. """ return self.dump_short(indent_depth, import_tree=import_tree, namespace=namespace)
def dump(self, import_tree=None): """ Returns the string representation of the member. """ return self.dump_short(import_tree=import_tree)
[{'piece_type': 'error message', 'piece_content': 'INFO [py] launching openage v0.4.1-377-g2be30ba76\\nINFO [py] compiled by GNU 10.2.0\\nDo you want to convert assets? [Y/n]\\nY\\nShould we call wine to determine an AOE installation? [Y/n]\\nn\\nCould not find any installation directory automatically.\\nPlease enter a...
INFO [py] launching openage v0.4.1-377-g2be30ba76 INFO [py] compiled by GNU 10.2.0 Do you want to convert assets? [Y/n] Y Should we call wine to determine an AOE installation? [Y/n] n Could not find any installation directory automatically. Please enter an AOE2 install path manually. /home/schatzi/nvme/Steam/steamapps/...
KeyError
def dump_short(self, indent_depth, import_tree=None, namespace=None): """ Returns the nyan string representation of the member, but without the type definition. """ return "%s %s%s %s" % ( self.get_name_with_origin(), "@" * self._override_depth, ...
def dump_short(self, import_tree=None): """ Returns the nyan string representation of the member, but without the type definition. """ return "%s %s%s %s" % (self.get_name_with_origin(), "@" * self._override_depth, ...
[{'piece_type': 'error message', 'piece_content': 'INFO [py] launching openage v0.4.1-377-g2be30ba76\\nINFO [py] compiled by GNU 10.2.0\\nDo you want to convert assets? [Y/n]\\nY\\nShould we call wine to determine an AOE installation? [Y/n]\\nn\\nCould not find any installation directory automatically.\\nPlease enter a...
INFO [py] launching openage v0.4.1-377-g2be30ba76 INFO [py] compiled by GNU 10.2.0 Do you want to convert assets? [Y/n] Y Should we call wine to determine an AOE installation? [Y/n] n Could not find any installation directory automatically. Please enter an AOE2 install path manually. /home/schatzi/nvme/Steam/steamapps/...
KeyError
def convert_assets(assets, args, srcdir=None, prev_source_dir_path=None): """ Perform asset conversion. Requires original assets and stores them in usable and free formats. assets must be a filesystem-like object pointing at the game's asset dir. srcdir must be None, or point at some source direct...
def convert_assets(assets, args, srcdir=None, prev_source_dir_path=None): """ Perform asset conversion. Requires original assets and stores them in usable and free formats. assets must be a filesystem-like object pointing at the game's asset dir. srcdir must be None, or point at some source direct...
[{'piece_type': 'error message', 'piece_content': 'INFO [py] launching openage v0.4.1-371-g0c6e704b\\nINFO [py] compiled by GNU 10.2.0\\nDo you want to convert assets? [Y/n]\\ny\\nTraceback (most recent call last):\\nFile "/app/bin/openage", line 15, in <module>\\nmain()\\nFile "/app/lib/python3.8/site-packages/openage...
INFO [py] launching openage v0.4.1-371-g0c6e704b INFO [py] compiled by GNU 10.2.0 Do you want to convert assets? [Y/n] y Traceback (most recent call last): File "/app/bin/openage", line 15, in <module> main() File "/app/lib/python3.8/site-packages/openage/__main__.py", line 132, in main return args.entrypoint(args, cli...
AttributeError
def main(args, error): """ CLI entry point """ del error # unused # initialize libopenage from ..cppinterface.setup import setup setup(args) # conversion source if args.source_dir is not None: srcdir = CaseIgnoringDirectory(args.source_dir).root else: srcdir = None ...
def main(args, error): """ CLI entry point """ del error # unused # initialize libopenage from ..cppinterface.setup import setup setup(args) # conversion source if args.source_dir is not None: srcdir = CaseIgnoringDirectory(args.source_dir).root else: srcdir = None ...
[{'piece_type': 'error message', 'piece_content': 'INFO [py] launching openage v0.4.1-371-g0c6e704b\\nINFO [py] compiled by GNU 10.2.0\\nDo you want to convert assets? [Y/n]\\ny\\nTraceback (most recent call last):\\nFile "/app/bin/openage", line 15, in <module>\\nmain()\\nFile "/app/lib/python3.8/site-packages/openage...
INFO [py] launching openage v0.4.1-371-g0c6e704b INFO [py] compiled by GNU 10.2.0 Do you want to convert assets? [Y/n] y Traceback (most recent call last): File "/app/bin/openage", line 15, in <module> main() File "/app/lib/python3.8/site-packages/openage/__main__.py", line 132, in main return args.entrypoint(args, cli...
AttributeError
def main(args, error): """ Makes sure that the assets have been converted, and jumps into the C++ main method. """ del error # unused # we have to import stuff inside the function # as it depends on generated/compiled code from .main_cpp import run_game from .. import config fr...
def main(args, error): """ Makes sure that the assets have been converted, and jumps into the C++ main method. """ del error # unused # we have to import stuff inside the function # as it depends on generated/compiled code from .main_cpp import run_game from .. import config fr...
[{'piece_type': 'error message', 'piece_content': 'INFO [py] launching openage v0.4.1-371-g0c6e704b\\nINFO [py] compiled by GNU 10.2.0\\nDo you want to convert assets? [Y/n]\\ny\\nTraceback (most recent call last):\\nFile "/app/bin/openage", line 15, in <module>\\nmain()\\nFile "/app/lib/python3.8/site-packages/openage...
INFO [py] launching openage v0.4.1-371-g0c6e704b INFO [py] compiled by GNU 10.2.0 Do you want to convert assets? [Y/n] y Traceback (most recent call last): File "/app/bin/openage", line 15, in <module> main() File "/app/lib/python3.8/site-packages/openage/__main__.py", line 132, in main return args.entrypoint(args, cli...
AttributeError
def main(): """ CLI entry point """ args = parse_args() cppname = "libopenage" cppdir = Path(cppname).absolute() out_cppdir = Path(args.output_dir) / cppname if args.verbose: hdr_count = len(args.all_files) plural = "s" if hdr_count > 1 else "" print("extracting pxd inf...
def main(): """ CLI entry point """ args = parse_args() cppname = "libopenage" cppdir = Path(cppname).absolute() out_cppdir = Path(args.output_dir) / cppname if args.verbose: hdr_count = len(args.all_files) plural = "s" if hdr_count > 1 else "" print("extracting pxd inf...
[{'piece_type': 'error message', 'piece_content': '% make pxdgen VERBOSE=1\\n/usr/bin/cmake -S/tmp/portage/games-strategy/openage-9999/work/openage-9999 -B/tmp/portage/games-strategy/openage-9999/work/openage-9999_build --check-build-system CMakeFiles/Makefile.cmake 0\\nmake -f CMakeFiles/Makefile2 pxdgen\\nmake[1]: En...
% make pxdgen VERBOSE=1 /usr/bin/cmake -S/tmp/portage/games-strategy/openage-9999/work/openage-9999 -B/tmp/portage/games-strategy/openage-9999/work/openage-9999_build --check-build-system CMakeFiles/Makefile.cmake 0 make -f CMakeFiles/Makefile2 pxdgen make[1]: Entering directory '/tmp/portage/games-strategy/openage-999...
ValueError
def main(argv=None): """ Top-level argparsing; invokes subparser for all submodules. """ cli = argparse.ArgumentParser( "openage", description=("free age of empires II engine clone") ) cli.add_argument("--version", "-V", nargs=0, action=PrintVersion, help="print ver...
def main(argv=None): """ Top-level argparsing; invokes subparser for all submodules. """ cli = argparse.ArgumentParser( "openage", description=("free age of empires II engine clone") ) cli.add_argument("--version", "-V", nargs=0, action=PrintVersion, help="print ver...
[{'piece_type': 'error message', 'piece_content': 'dev@openage:~/openage$ python3 -m openage convert-file /home/dev/aoe1/data/Border.drs 20000.slp /home/dev/aoe1/data/test.png\\nINFO opening slp in drs \\'/home/dev/aoe1/data/Border.drs:20000.slp\\'...\\nINFO parsing slp image...\\nINFO opening palette in drs \\'/home/d...
dev@openage:~/openage$ python3 -m openage convert-file /home/dev/aoe1/data/Border.drs 20000.slp /home/dev/aoe1/data/test.png INFO opening slp in drs '/home/dev/aoe1/data/Border.drs:20000.slp'... INFO parsing slp image... INFO opening palette in drs '/home/dev/aoe1/data/interfac.drs:50500.bin'... INFO parsing palette da...
ValueError
def get_asset_path(custom_asset_dir=None): """ Returns a Path object for the game assets. `custom_asset_dir` can a custom asset directory, which is mounted at the top of the union filesystem (i.e. has highest priority). This function is used by the both the conversion process and the game star...
def get_asset_path(args): """ Returns a Path object for the game assets. args are the arguments, as provided by the CLI's ArgumentParser. """ # if we're in devmode, use only the build source asset folder if not args.asset_dir and config.DEVMODE: return Directory(os.path.join(config.BUI...
[{'piece_type': 'error message', 'piece_content': 'dev@openage:~/openage$ python3 -m openage convert-file /home/dev/aoe1/data/Border.drs 20000.slp /home/dev/aoe1/data/test.png\\nINFO opening slp in drs \\'/home/dev/aoe1/data/Border.drs:20000.slp\\'...\\nINFO parsing slp image...\\nINFO opening palette in drs \\'/home/d...
dev@openage:~/openage$ python3 -m openage convert-file /home/dev/aoe1/data/Border.drs 20000.slp /home/dev/aoe1/data/test.png INFO opening slp in drs '/home/dev/aoe1/data/Border.drs:20000.slp'... INFO parsing slp image... INFO opening palette in drs '/home/dev/aoe1/data/interfac.drs:50500.bin'... INFO parsing palette da...
ValueError
def interactive_browser(srcdir=None): """ launch an interactive view for browsing the original archives. """ info("launching interactive data browser...") # the variables are actually used, in the interactive prompt. # pylint: disable=unused-variable data, game_versions = mount_input(s...
def interactive_browser(srcdir=None): """ launch an interactive view for browsing the original archives. """ info("launching interactive data browser...") # the variable is actually used, in the interactive prompt. # pylint: disable=unused-variable data, game_versions = mount_input(src...
[{'piece_type': 'error message', 'piece_content': 'dev@openage:~/openage$ python3 -m openage convert-file /home/dev/aoe1/data/Border.drs 20000.slp /home/dev/aoe1/data/test.png\\nINFO opening slp in drs \\'/home/dev/aoe1/data/Border.drs:20000.slp\\'...\\nINFO parsing slp image...\\nINFO opening palette in drs \\'/home/d...
dev@openage:~/openage$ python3 -m openage convert-file /home/dev/aoe1/data/Border.drs 20000.slp /home/dev/aoe1/data/test.png INFO opening slp in drs '/home/dev/aoe1/data/Border.drs:20000.slp'... INFO parsing slp image... INFO opening palette in drs '/home/dev/aoe1/data/interfac.drs:50500.bin'... INFO parsing palette da...
ValueError
def save_slp(path, target, palette=None): """ save a slp as png. """ from .texture import Texture from .slp import SLP from .driver import get_palette if not palette: palette = get_palette(data) with path.open("rb") as slpfile: ...
def save_slp(path, target, palette=None): """ save a slp as png. """ from .texture import Texture from .slp import SLP from .driver import get_palette if not palette: palette = get_palette(data, game_versions) with path.open("rb") as slpf...
[{'piece_type': 'error message', 'piece_content': 'dev@openage:~/openage$ python3 -m openage convert-file /home/dev/aoe1/data/Border.drs 20000.slp /home/dev/aoe1/data/test.png\\nINFO opening slp in drs \\'/home/dev/aoe1/data/Border.drs:20000.slp\\'...\\nINFO parsing slp image...\\nINFO opening palette in drs \\'/home/d...
dev@openage:~/openage$ python3 -m openage convert-file /home/dev/aoe1/data/Border.drs 20000.slp /home/dev/aoe1/data/test.png INFO opening slp in drs '/home/dev/aoe1/data/Border.drs:20000.slp'... INFO parsing slp image... INFO opening palette in drs '/home/dev/aoe1/data/interfac.drs:50500.bin'... INFO parsing palette da...
ValueError
def init_subparser(cli): """ Initializes the parser for convert-specific args. """ cli.set_defaults(entrypoint=main) cli.add_argument( "--source-dir", default=None, help="source data directory") cli.add_argument( "--output-dir", default=None, help="destination data outp...
def init_subparser(cli): """ Initializes the parser for convert-specific args. """ cli.set_defaults(entrypoint=main) cli.add_argument( "--source-dir", default=None, help="source data directory") cli.add_argument( "--force", action='store_true', help="force conversion, e...
[{'piece_type': 'error message', 'piece_content': 'dev@openage:~/openage$ python3 -m openage convert-file /home/dev/aoe1/data/Border.drs 20000.slp /home/dev/aoe1/data/test.png\\nINFO opening slp in drs \\'/home/dev/aoe1/data/Border.drs:20000.slp\\'...\\nINFO parsing slp image...\\nINFO opening palette in drs \\'/home/d...
dev@openage:~/openage$ python3 -m openage convert-file /home/dev/aoe1/data/Border.drs 20000.slp /home/dev/aoe1/data/test.png INFO opening slp in drs '/home/dev/aoe1/data/Border.drs:20000.slp'... INFO parsing slp image... INFO opening palette in drs '/home/dev/aoe1/data/interfac.drs:50500.bin'... INFO parsing palette da...
ValueError
def main(args, error): """ CLI entry point """ del error # unused # initialize libopenage from ..cppinterface.setup import setup setup(args) # conversion source if args.source_dir is not None: srcdir = CaseIgnoringDirectory(args.source_dir).root else: srcdir = None ...
def main(args, error): """ CLI entry point """ del error # unused # initialize libopenage from ..cppinterface.setup import setup setup(args) # conversion source if args.source_dir is not None: srcdir = CaseIgnoringDirectory(args.source_dir).root else: srcdir = None ...
[{'piece_type': 'error message', 'piece_content': 'dev@openage:~/openage$ python3 -m openage convert-file /home/dev/aoe1/data/Border.drs 20000.slp /home/dev/aoe1/data/test.png\\nINFO opening slp in drs \\'/home/dev/aoe1/data/Border.drs:20000.slp\\'...\\nINFO parsing slp image...\\nINFO opening palette in drs \\'/home/d...
dev@openage:~/openage$ python3 -m openage convert-file /home/dev/aoe1/data/Border.drs 20000.slp /home/dev/aoe1/data/test.png INFO opening slp in drs '/home/dev/aoe1/data/Border.drs:20000.slp'... INFO parsing slp image... INFO opening palette in drs '/home/dev/aoe1/data/interfac.drs:50500.bin'... INFO parsing palette da...
ValueError
def init_subparser(cli): """ Initializes the parser for convert-specific args. """ import argparse cli.set_defaults(entrypoint=main) cli.add_argument("--palette", default="50500", help="palette number") cli.add_argument("--interfac", type=argparse.FileType('rb'), help=("drs ar...
def init_subparser(cli): """ Initializes the parser for convert-specific args. """ cli.set_defaults(entrypoint=main) cli.add_argument("--palette", default="50500", help="palette number") cli.add_argument("--interfac", help=("drs archive where palette " "is conta...
[{'piece_type': 'error message', 'piece_content': 'dev@openage:~/openage$ python3 -m openage convert-file /home/dev/aoe1/data/Border.drs 20000.slp /home/dev/aoe1/data/test.png\\nINFO opening slp in drs \\'/home/dev/aoe1/data/Border.drs:20000.slp\\'...\\nINFO parsing slp image...\\nINFO opening palette in drs \\'/home/d...
dev@openage:~/openage$ python3 -m openage convert-file /home/dev/aoe1/data/Border.drs 20000.slp /home/dev/aoe1/data/test.png INFO opening slp in drs '/home/dev/aoe1/data/Border.drs:20000.slp'... INFO parsing slp image... INFO opening palette in drs '/home/dev/aoe1/data/interfac.drs:50500.bin'... INFO parsing palette da...
ValueError
def main(args, error): """ CLI entry point for single file conversions """ del error # unused drspath = Path(args.drs.name) outputpath = Path(args.output) if args.interfac: interfacfile = args.interfac else: # if no interfac was given, assume # the same path of the drs...
def main(args, error): """ CLI entry point for single file conversions """ del error # unused if args.interfac: interfacfile = args.interfac else: # if no interfac was given, assume # the same path of the drs archive. drspath = os.path.split(args.drs)[0] interfa...
[{'piece_type': 'error message', 'piece_content': 'dev@openage:~/openage$ python3 -m openage convert-file /home/dev/aoe1/data/Border.drs 20000.slp /home/dev/aoe1/data/test.png\\nINFO opening slp in drs \\'/home/dev/aoe1/data/Border.drs:20000.slp\\'...\\nINFO parsing slp image...\\nINFO opening palette in drs \\'/home/d...
dev@openage:~/openage$ python3 -m openage convert-file /home/dev/aoe1/data/Border.drs 20000.slp /home/dev/aoe1/data/test.png INFO opening slp in drs '/home/dev/aoe1/data/Border.drs:20000.slp'... INFO parsing slp image... INFO opening palette in drs '/home/dev/aoe1/data/interfac.drs:50500.bin'... INFO parsing palette da...
ValueError
def save(self, targetdir, filename, meta_formats=None): """ Store the image data into the target directory path, with given filename="dir/out.png" If metaformats are requested, export e.g. as "dir/out.docx". """ if not isinstance(targetdir, Path): raise Va...
def save(self, targetdir, filename, meta_formats=None): """ Store the image data into the target directory path, with given filename="dir/out.png" If metaformats are requested, export e.g. as "dir/out.docx". """ if not isinstance(targetdir, Path): raise Va...
[{'piece_type': 'error message', 'piece_content': 'dev@openage:~/openage$ python3 -m openage convert-file /home/dev/aoe1/data/Border.drs 20000.slp /home/dev/aoe1/data/test.png\\nINFO opening slp in drs \\'/home/dev/aoe1/data/Border.drs:20000.slp\\'...\\nINFO parsing slp image...\\nINFO opening palette in drs \\'/home/d...
dev@openage:~/openage$ python3 -m openage convert-file /home/dev/aoe1/data/Border.drs 20000.slp /home/dev/aoe1/data/test.png INFO opening slp in drs '/home/dev/aoe1/data/Border.drs:20000.slp'... INFO parsing slp image... INFO opening palette in drs '/home/dev/aoe1/data/interfac.drs:50500.bin'... INFO parsing palette da...
ValueError
def get_config_path(custom_cfg_dir=None): """ Locates the main configuration file by name in some searchpaths. Optionally, mount a custom directory with highest priority. """ # if we're in devmode, use only the build source config folder if config.DEVMODE: return Directory(os.path.join(...
def get_config_path(args): """ Locates the main configuration file by name in some searchpaths. """ # if we're in devmode, use only the build source config folder if config.DEVMODE: return Directory(os.path.join(config.BUILD_SRC_DIR, "cfg")).root # else, mount the possible locations in...
[{'piece_type': 'error message', 'piece_content': 'dev@openage:~/openage$ python3 -m openage convert-file /home/dev/aoe1/data/Border.drs 20000.slp /home/dev/aoe1/data/test.png\\nINFO opening slp in drs \\'/home/dev/aoe1/data/Border.drs:20000.slp\\'...\\nINFO parsing slp image...\\nINFO opening palette in drs \\'/home/d...
dev@openage:~/openage$ python3 -m openage convert-file /home/dev/aoe1/data/Border.drs 20000.slp /home/dev/aoe1/data/test.png INFO opening slp in drs '/home/dev/aoe1/data/Border.drs:20000.slp'... INFO parsing slp image... INFO opening palette in drs '/home/dev/aoe1/data/interfac.drs:50500.bin'... INFO parsing palette da...
ValueError
def main(args, error): """ Makes sure that the assets have been converted, and jumps into the C++ main method. """ del error # unused # we have to import stuff inside the function # as it depends on generated/compiled code from .main_cpp import run_game from .. import config fr...
def main(args, error): """ Makes sure that the assets have been converted, and jumps into the C++ main method. """ del error # unused # we have to import stuff inside the function # as it depends on generated/compiled code from .main_cpp import run_game from .. import config fr...
[{'piece_type': 'error message', 'piece_content': 'dev@openage:~/openage$ python3 -m openage convert-file /home/dev/aoe1/data/Border.drs 20000.slp /home/dev/aoe1/data/test.png\\nINFO opening slp in drs \\'/home/dev/aoe1/data/Border.drs:20000.slp\\'...\\nINFO parsing slp image...\\nINFO opening palette in drs \\'/home/d...
dev@openage:~/openage$ python3 -m openage convert-file /home/dev/aoe1/data/Border.drs 20000.slp /home/dev/aoe1/data/test.png INFO opening slp in drs '/home/dev/aoe1/data/Border.drs:20000.slp'... INFO parsing slp image... INFO opening palette in drs '/home/dev/aoe1/data/interfac.drs:50500.bin'... INFO parsing palette da...
ValueError
def get_string_resources(args): """ reads the (language) string resources """ from .stringresource import StringResource stringres = StringResource() srcdir = args.srcdir count = 0 # AoK:TC uses .DLL PE files for its string resources, # HD uses plaintext files if GameVersion.age2_fe in...
def get_string_resources(args): """ reads the (language) string resources """ from .stringresource import StringResource stringres = StringResource() srcdir = args.srcdir count = 0 # AoK:TC uses .DLL PE files for its string resources, # HD uses plaintext files if srcdir["language.dll"]...
[{'piece_type': 'error message', 'piece_content': '$ make run\\n./run game\\nINFO [py] No converted assets have been found\\nmedia conversion is required.\\nplease provide your AoE II installation dir:\\n/media/niklas/E4DE307EDE304AD6/Program Files (x86)/Steam/SteamApps/common/Age2HD\\nINFO [py] Game version(s) detecte...
$ make run ./run game INFO [py] No converted assets have been found media conversion is required. please provide your AoE II installation dir: /media/niklas/E4DE307EDE304AD6/Program Files (x86)/Steam/SteamApps/common/Age2HD INFO [py] Game version(s) detected: Age of Empires 2: HD Edition (Version 3.x); Forgotten Empire...
Exception
def get_domain_mx_list(domain): """Return a list of MX IP address for domain.""" result = [] logger = logging.getLogger("modoboa.admin") dns_server = param_tools.get_global_parameter("custom_dns_server") if dns_server: resolver = dns.resolver.Resolver() resolver.nameservers = [dns_se...
def get_domain_mx_list(domain): """Return a list of MX IP address for domain.""" result = [] logger = logging.getLogger("modoboa.admin") dns_server = param_tools.get_global_parameter("custom_dns_server") if dns_server: resolver = dns.resolver.Resolver() resolver.nameservers = [dns_se...
[{'piece_type': 'error message', 'piece_content': 'Traceback (most recent call last):\\nFile "/srv/modoboa/env3/lib/python3.5/site-packages/dns/resolver.py", line 215, in __init__\\nrdclass, rdtype)\\nFile "/srv/modoboa/env3/lib/python3.5/site-packages/dns/message.py", line 352, in find_rrset\\nraise KeyError\\nKeyErro...
Traceback (most recent call last): File "/srv/modoboa/env3/lib/python3.5/site-packages/dns/resolver.py", line 215, in __init__ rdclass, rdtype) File "/srv/modoboa/env3/lib/python3.5/site-packages/dns/message.py", line 352, in find_rrset raise KeyError KeyError During handling of the above exception, another exception ...
KeyError
def authenticate(self, request, username=None, password=None): """Check the username/password and return a User.""" host = getattr(settings, "AUTH_SMTP_SERVER_ADDRESS", "localhost") port = getattr(settings, "AUTH_SMTP_SERVER_PORT", 25) secured_mode = getattr(settings, "AUTH_SMTP_SECU...
def authenticate(self, username=None, password=None): """Check the username/password and return a User.""" host = getattr(settings, "AUTH_SMTP_SERVER_ADDRESS", "localhost") port = getattr(settings, "AUTH_SMTP_SERVER_PORT", 25) secured_mode = getattr(settings, "AUTH_SMTP_SECURED_MODE"...
[{'piece_type': 'error message', 'piece_content': 'Internal Server Error: /accounts/login/\\nTraceback (most recent call last):\\nFile "/srv/modoboa/env/lib/python2.7/site-packages/django/core/handlers/exception.py", line 41, in inner\\nresponse = get_response(request)\\nFile "/srv/modoboa/env/lib/python2.7/site-packag...
Internal Server Error: /accounts/login/ Traceback (most recent call last): File "/srv/modoboa/env/lib/python2.7/site-packages/django/core/handlers/exception.py", line 41, in inner response = get_response(request) File "/srv/modoboa/env/lib/python2.7/site-packages/django/core/handlers/base.py", line 187, in _get_respons...
TypeError