unikmhz / npui Goto Github PK
View Code? Open in Web Editor NEWNetProfile UI
License: GNU Affero General Public License v3.0
NetProfile UI
License: GNU Affero General Public License v3.0
Evaluate a possibility to remove all >=
dependencies and use fixed versions instead. Also, switch to proper requirements.txt
style.
tooltip popups too fast, and if the button is on the corner of the screen, it is very hard to click it, as it is under the tooltip.
npctl fails with the following error when mysql-connector 2 is used:
$ npctl module ls --debug -v
[code]
Starting NetProfile CLI shell
found extension EntryPoint.parse('table = cliff.formatters.table:TableFormatter')
found extension EntryPoint.parse('csv = cliff.formatters.commaseparated:CSVLister')
Running command ListModules
sockjs.tornado will use json module
new transaction
unhashable type: 'bytearray'
Traceback (most recent call last):
File "/var/lib/netprofile/np/lib/python3.4/site-packages/cliff/app.py", line 280, in run_subcommand
result = cmd.run(parsed_args)
File "/var/lib/netprofile/np/lib/python3.4/site-packages/cliff/display.py", line 91, in run
column_names, data = self.take_action(parsed_args)
File "/var/lib/netprofile/np/npui/netprofile/netprofile/cli.py", line 84, in take_action
installed[mod.name] = (mod.current_version, mod.enabled)
TypeError: unhashable type: 'bytearray'
Finishing command ListModules
Got an error: unhashable type: 'bytearray'
Traceback (most recent call last):
File "/var/lib/netprofile/np/bin/npctl", line 9, in <module>
load_entry_point('netprofile==0.3', 'console_scripts', 'npctl')()
File "/var/lib/netprofile/np/npui/netprofile/netprofile/scripts/ctl.py", line 222, in main
return app.run(argv)
File "/var/lib/netprofile/np/lib/python3.4/site-packages/cliff/app.py", line 215, in run
result = self.run_subcommand(remainder)
File "/var/lib/netprofile/np/lib/python3.4/site-packages/cliff/app.py", line 280, in run_subcommand
result = cmd.run(parsed_args)
File "/var/lib/netprofile/np/lib/python3.4/site-packages/cliff/display.py", line 91, in run
column_names, data = self.take_action(parsed_args)
File "/var/lib/netprofile/np/npui/netprofile/netprofile/cli.py", line 84, in take_action
installed[mod.name] = (mod.current_version, mod.enabled)
TypeError: unhashable type: 'bytearray'
Limited to MySQL for now. Currently missing pieces:
One should decide which format to use and implement this feature. Data serialization and storing within xop.comment
might work or probably some other option. Maybe some encryption to secure sensitive data.
Google Authenticator application preferred.
Should be implemented at least for users in MAIN
vhost (administration mode). Same feature for client
vhost would be awesome too.
May be optional, based on personal settings.
futures_poll procedure use hardcoded list of stashio types, is it bug or feature?
README: Overall project info, links and contacts.
DEVELOP: How to deploy from git.
Upgrade ExtJS framework to new version.
So this leads to an error
[Thu Aug 07 13:41:42 2014] [error] [client 192.168.101.107] mod_wsgi (pid=11300): Exception occurred processing WSGI script '/var/lib/netprofile/np/npdc.wsgi'.
[Thu Aug 07 13:41:42 2014] [error] [client 192.168.101.107] Traceback (most recent call last):
[Thu Aug 07 13:41:42 2014] [error] [client 192.168.101.107] File "/var/lib/netprofile/np/lib/python3.2/site-packages/repoze.tm2-2.0-py3.2.egg/repoze/tm/__init__.py", line 58, in __call__
[Thu Aug 07 13:41:42 2014] [error] [client 192.168.101.107] reraise(type_, value, tb)
[Thu Aug 07 13:41:42 2014] [error] [client 192.168.101.107] File "/var/lib/netprofile/np/lib/python3.2/site-packages/repoze.tm2-2.0-py3.2.egg/repoze/tm/__init__.py", line 13, in reraise
[Thu Aug 07 13:41:42 2014] [error] [client 192.168.101.107] raise value
[Thu Aug 07 13:41:42 2014] [error] [client 192.168.101.107] File "/var/lib/netprofile/np/lib/python3.2/site-packages/repoze.tm2-2.0-py3.2.egg/repoze/tm/__init__.py", line 51, in __call__
[Thu Aug 07 13:41:42 2014] [error] [client 192.168.101.107] for chunk in self.application(environ, save_status_and_headers):
[Thu Aug 07 13:41:42 2014] [error] [client 192.168.101.107] File "/var/lib/netprofile/np/lib/python3.2/site-packages/pyramid-1.5a2-py3.2.egg/pyramid/router.py", line 272, in __call__
[Thu Aug 07 13:41:42 2014] [error] [client 192.168.101.107] response = self.invoke_subrequest(request, use_tweens=True)
[Thu Aug 07 13:41:42 2014] [error] [client 192.168.101.107] File "/var/lib/netprofile/np/lib/python3.2/site-packages/pyramid-1.5a2-py3.2.egg/pyramid/router.py", line 247, in invoke_subrequest
[Thu Aug 07 13:41:42 2014] [error] [client 192.168.101.107] response = handle_request(request)
[Thu Aug 07 13:41:42 2014] [error] [client 192.168.101.107] File "/var/lib/netprofile/np/lib/python3.2/site-packages/pyramid_debugtoolbar-1.0.9-py3.2.egg/pyramid_debugtoolbar/toolbar.py", line 141, in toolbar_tween
[Thu Aug 07 13:41:42 2014] [error] [client 192.168.101.107] return handler(request)
[Thu Aug 07 13:41:42 2014] [error] [client 192.168.101.107] File "/var/lib/netprofile/np/lib/python3.2/site-packages/pyramid-1.5a2-py3.2.egg/pyramid/tweens.py", line 21, in excview_tween
[Thu Aug 07 13:41:42 2014] [error] [client 192.168.101.107] response = handler(request)
[Thu Aug 07 13:41:42 2014] [error] [client 192.168.101.107] File "/var/lib/netprofile/np/lib/python3.2/site-packages/pyramid-1.5a2-py3.2.egg/pyramid/router.py", line 137, in handle_request
[Thu Aug 07 13:41:42 2014] [error] [client 192.168.101.107] has_listeners and notify(ContextFound(request))
[Thu Aug 07 13:41:42 2014] [error] [client 192.168.101.107] File "/var/lib/netprofile/np/lib/python3.2/site-packages/pyramid-1.5a2-py3.2.egg/pyramid/registry.py", line 74, in notify
[Thu Aug 07 13:41:42 2014] [error] [client 192.168.101.107] [ _ for _ in self.subscribers(events, None) ]
[Thu Aug 07 13:41:42 2014] [error] [client 192.168.101.107] File "/var/lib/netprofile/np/lib/python3.2/site-packages/zope.interface-4.0.5-py3.2-linux-i686.egg/zope/interface/registry.py", line 323, in subscribers
[Thu Aug 07 13:41:42 2014] [error] [client 192.168.101.107] return self.adapters.subscribers(objects, provided)
[Thu Aug 07 13:41:42 2014] [error] [client 192.168.101.107] File "/var/lib/netprofile/np/lib/python3.2/site-packages/zope.interface-4.0.5-py3.2-linux-i686.egg/zope/interface/adapter.py", line 601, in subscribers
[Thu Aug 07 13:41:42 2014] [error] [client 192.168.101.107] subscription(*objects)
[Thu Aug 07 13:41:42 2014] [error] [client 192.168.101.107] File "/var/lib/netprofile/np/lib/python3.2/site-packages/pyramid-1.5a2-py3.2.egg/pyramid/config/adapters.py", line 103, in derived_subscriber
[Thu Aug 07 13:41:42 2014] [error] [client 192.168.101.107] return subscriber(arg[0])
[Thu Aug 07 13:41:42 2014] [error] [client 192.168.101.107] File "/var/lib/netprofile/np/np/netprofile_core/netprofile_core/auth.py", line 229, in _auth_to_db
[Thu Aug 07 13:41:42 2014] [error] [client 192.168.101.107] npsess = sess.query(NPSession).filter(NPSession.session_name == sname).one()
[Thu Aug 07 13:41:42 2014] [error] [client 192.168.101.107] File "/var/lib/netprofile/np/lib/python3.2/site-packages/sqlalchemy/orm/query.py", line 2371, in one
[Thu Aug 07 13:41:42 2014] [error] [client 192.168.101.107] "Multiple rows were found for one()")
[Thu Aug 07 13:41:42 2014] [error] [client 192.168.101.107] sqlalchemy.orm.exc.MultipleResultsFound: Multiple rows were found for one()
When trying to use npctl module install all, this error occurs:
Can't open file "<PATH_CUTOF>/fonts/Tinos-Regular.ttf"
I had to download this fonts manualy and put it in my deploy path.
Not sure about this one, may be postponed. No deinstallation either, because of possible data loss.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.