Giter Club home page Giter Club logo

npui's People

Contributors

annndrey avatar hermes-jr avatar nikitos avatar sd-git avatar unikmhz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

npui's Issues

button tooltip problem

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 not working with mysql-connector-python 2.0.1

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'

Implement schema generation

Limited to MySQL for now. Currently missing pieces:

  • Triggers
  • Functions and procedures
  • Views
  • Events
  • Initial data

Storing raw data within an External Operation

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.

futures_poll

futures_poll procedure use hardcoded list of stashio types, is it bug or feature?

ExtJS5

Upgrade ExtJS framework to new version.

Sometimes multiple sessions are created

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()

Third parity fonts needed

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.