Comments (5)
what if mark url as unicode? like
app.run(url=u"ws://%s:80/ws" % SERVER, debug=False, debug_wamp=False)
from crossbar-examples.
Oh! This works! Thanks!
from crossbar-examples.
Hi, I did the same but now I get the following error:
python client.py
Connected
Entering stats loop ..
Tick
Error in stats loop: 'module' object has no attribute 'phymem_usage'
import psutil
dir (psutil)
['AF_LINK', 'AccessDenied', 'CONN_CLOSE', 'CONN_CLOSE_WAIT', 'CONN_CLOSING', 'CONN_ESTABLISHED', 'CONN_FIN_WAIT1', 'CONN_FIN_WAIT2', 'CONN_LAST_ACK', 'CONN_LISTEN', 'CONN_NONE', 'CONN_SYN_RECV', 'CONN_SYN_SENT', 'CONN_TIME_WAIT', 'Error', 'NIC_DUPLEX_FULL', 'NIC_DUPLEX_HALF', 'NIC_DUPLEX_UNKNOWN', 'NoSuchProcess', 'Popen', 'Process', 'STATUS_DEAD', 'STATUS_DISK_SLEEP', 'STATUS_IDLE', 'STATUS_LOCKED', 'STATUS_RUNNING', 'STATUS_SLEEPING', 'STATUS_STOPPED', 'STATUS_TRACING_STOP', 'STATUS_WAITING', 'STATUS_WAKING', 'STATUS_ZOMBIE', 'TimeoutExpired', 'ZombieProcess', '_POSIX', '_PY3', '_TOTAL_PHYMEM', '_WINDOWS', 'all', 'author', 'builtins', 'doc', 'file', 'name', 'package', 'path', 'version', '_assert_pid_not_reused', '_common', '_compat', '_last_cpu_times', '_last_cpu_times_2', '_last_per_cpu_times', '_last_per_cpu_times_2', '_pmap', '_psosx', '_psplatform', '_psposix', '_psutil_osx', '_psutil_posix', '_timer', 'boot_time', 'callable', 'collections', 'cpu_count', 'cpu_percent', 'cpu_times', 'cpu_times_percent', 'disk_io_counters', 'disk_partitions', 'disk_usage', 'errno', 'functools', 'long', 'net_connections', 'net_if_addrs', 'net_if_stats', 'net_io_counters', 'os', 'pid_exists', 'pids', 'process_iter', 'pwd', 'signal', 'subprocess', 'swap_memory', 'sys', 'test', 'time', 'users', 'version_info', 'virtual_memory', 'wait_procs']
psutil.version
'3.2.2'
I beleive you need to install a older version - is that correct?
from crossbar-examples.
psutil.phymem_usage() was deprecated. Try with psutil.virtual_memory() instead.
from crossbar-examples.
(ok, looking at this somewhat late...) - Not enough information to replicate. Closing as is.
@dkdndes - If the problem persists then please re-open and add more information.
from crossbar-examples.
Related Issues (20)
- update demos to use Roboto
- Demo instances: reactivate guest workers
- demo.crossbar.io, all demos not working (404's) HOT 13
- WAMP ticket authentication example, javascript client opening handshake timed out
- builtins.ImportError: No module named 'crossbar.adapter.postgres' HOT 3
- Expired certificate for demo.crossbar.io HOT 1
- Getting error trying to run publisher example. HOT 1
- bundle demos in ZIP archive HOT 1
- Remove file upload example
- publisher exemple not working HOT 1
- There is a miner (like bitcoin) inside the bundled JS files! HOT 2
- Error in getting started example HOT 1
- Authentication integration tests: add proxy-router variants HOT 1
- Meta API integration tests HOT 1
- Authorization integration tests
- Excluding subscribers demo does not work HOT 4
- TLS client certs with containers example is broken HOT 1
- Hello Python Examples - assert(topic is None or type(topic) == six.text_type) HOT 8
- Video control demo does not work HOT 1
- update our custom materialize CSS file
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from crossbar-examples.