Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vmj-qt
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kulya
vmj-qt
Commits
f01efa3e
Commit
f01efa3e
authored
Sep 07, 2012
by
Saul Ibarra
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed attribute access after API changes in python-application
parent
65384281
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
logging.py
blink/logging.py
+6
-6
control
debian/control
+1
-1
No files found.
blink/logging.py
View file @
f01efa3e
...
...
@@ -147,13 +147,13 @@ class LogManager(object):
direction
=
"RECEIVED"
else
:
direction
=
"SENDING"
buf
=
[
"
%
s: Packet
%
d, +
%
s"
%
(
direction
,
self
.
_siptrace_packet_count
,
(
notification
.
dat
a
.
timestamp
-
self
.
_siptrace_start_time
))]
buf
=
[
"
%
s: Packet
%
d, +
%
s"
%
(
direction
,
self
.
_siptrace_packet_count
,
(
notification
.
dat
etime
-
self
.
_siptrace_start_time
))]
buf
.
append
(
"
%(source_ip)
s:
%(source_port)
d -(SIP over
%(transport)
s)->
%(destination_ip)
s:
%(destination_port)
d"
%
notification
.
data
.
__dict__
)
buf
.
append
(
notification
.
data
.
data
)
buf
.
append
(
'--'
)
message
=
'
\n
'
.
join
(
buf
)
try
:
self
.
siptrace_file
.
write
(
'
%
s [
%
s
%
d]:
%
s
\n
'
%
(
notification
.
dat
a
.
timestamp
,
self
.
name
,
self
.
pid
,
message
))
self
.
siptrace_file
.
write
(
'
%
s [
%
s
%
d]:
%
s
\n
'
%
(
notification
.
dat
etime
,
self
.
name
,
self
.
pid
,
message
))
self
.
siptrace_file
.
flush
()
except
Exception
:
pass
...
...
@@ -164,7 +164,7 @@ class LogManager(object):
return
message
=
"(
%(level)
d)
%(sender)14
s:
%(message)
s"
%
notification
.
data
.
__dict__
try
:
self
.
pjsiptrace_file
.
write
(
'
%
s [
%
s
%
d]
%
s
\n
'
%
(
notification
.
dat
a
.
timestamp
,
self
.
name
,
self
.
pid
,
message
))
self
.
pjsiptrace_file
.
write
(
'
%
s [
%
s
%
d]
%
s
\n
'
%
(
notification
.
dat
etime
,
self
.
name
,
self
.
pid
,
message
))
self
.
pjsiptrace_file
.
flush
()
except
Exception
:
pass
...
...
@@ -190,7 +190,7 @@ class LogManager(object):
dns
.
resolver
.
Timeout
:
'no DNS response received, the query has timed out'
}
message
+=
' failed:
%
s'
%
message_map
.
get
(
notification
.
data
.
error
.
__class__
,
''
)
try
:
self
.
siptrace_file
.
write
(
'
%
s [
%
s
%
d]:
%
s
\n
'
%
(
notification
.
dat
a
.
timestamp
,
self
.
name
,
self
.
pid
,
message
))
self
.
siptrace_file
.
write
(
'
%
s [
%
s
%
d]:
%
s
\n
'
%
(
notification
.
dat
etime
,
self
.
name
,
self
.
pid
,
message
))
self
.
siptrace_file
.
flush
()
except
Exception
:
pass
...
...
@@ -206,7 +206,7 @@ class LogManager(object):
remote_address
=
'
%
s:
%
d'
%
(
remote_address
.
host
,
remote_address
.
port
)
message
=
'
%
s
%
s
%
s
\n
'
%
(
local_address
,
arrow
,
remote_address
)
+
notification
.
data
.
data
try
:
self
.
msrptrace_file
.
write
(
'
%
s [
%
s
%
d]:
%
s
\n
'
%
(
notification
.
dat
a
.
timestamp
,
self
.
name
,
self
.
pid
,
message
))
self
.
msrptrace_file
.
write
(
'
%
s [
%
s
%
d]:
%
s
\n
'
%
(
notification
.
dat
etime
,
self
.
name
,
self
.
pid
,
message
))
self
.
msrptrace_file
.
flush
()
except
Exception
:
pass
...
...
@@ -219,7 +219,7 @@ class LogManager(object):
return
message
=
'
%
s
%
s'
%
(
notification
.
data
.
level
.
prefix
,
notification
.
data
.
message
)
try
:
self
.
msrptrace_file
.
write
(
'
%
s [
%
s
%
d]:
%
s
\n
'
%
(
notification
.
dat
a
.
timestamp
,
self
.
name
,
self
.
pid
,
message
))
self
.
msrptrace_file
.
write
(
'
%
s [
%
s
%
d]:
%
s
\n
'
%
(
notification
.
dat
etime
,
self
.
name
,
self
.
pid
,
message
))
self
.
msrptrace_file
.
flush
()
except
Exception
:
pass
...
...
debian/control
View file @
f01efa3e
...
...
@@ -9,7 +9,7 @@ Homepage: http://icanblink.com
Package: blink
Architecture: all
Depends: ${python:Depends}, ${misc:Depends}, libavahi-compat-libdnssd1, python-application (>= 1.
2.8
), python-cjson, python-eventlib, python-qt4 (>= 4.7), python-sipsimple (>= 0.30.0), python-twisted-core, python-zope.interface
Depends: ${python:Depends}, ${misc:Depends}, libavahi-compat-libdnssd1, python-application (>= 1.
4.0
), python-cjson, python-eventlib, python-qt4 (>= 4.7), python-sipsimple (>= 0.30.0), python-twisted-core, python-zope.interface
Description: A state of the art, easy to use SIP client
Blink is a fully featured SIP client written in Python and built on top of
SIP SIMPLE client SDK. Blink provides real time applications based on SIP
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment