Code Monkey home page Code Monkey logo

ord-en-ley's People

Contributors

holzplatten avatar tuxskar avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

linxiaocui222

ord-en-ley's Issues

Client-server architecture

two apps:

  • client (current app)
  • server (this dude will do all the dirty job, that is to speak with local SQL server, making all the administration stuff easier)

Auto dist

Create a script to auto generate the sdist and bdist for every architecture and operative sistem

No ghost Client

If you have a client view opened and you delete this client the view should close too

Use unicode strings internally

I was able to run the program successfully. Luckily I had PyGTK installed so it was a breeze.

However, I did run into a problem when trying to add a new Client record. When using non-ascii characters for the name, I got the following traceback:

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/Ord_en_Ley-0.1dev-py2.7.egg/ordenley/test/../views/client.py", line 92, in save_apply
    self.controller.insert_new_client(client)
  File "/usr/lib/python2.7/site-packages/Ord_en_Ley-0.1dev-py2.7.egg/ordenley/test/../controllers/controller.py", line 51, in insert_new_client
    self.db_manager.insert_client(client)
  File "/usr/lib/python2.7/site-packages/Ord_en_Ley-0.1dev-py2.7.egg/ordenley/test/../db/db_manager.py", line 41, in insert_client
    self.session.commit()
  File "/usr/lib/python2.7/site-packages/SQLAlchemy-0.7.9-py2.7-linux-i686.egg/sqlalchemy/orm/session.py", line 703, in commit
    self.transaction.commit()
  File "/usr/lib/python2.7/site-packages/SQLAlchemy-0.7.9-py2.7-linux-i686.egg/sqlalchemy/orm/session.py", line 361, in commit
    self._prepare_impl()
  File "/usr/lib/python2.7/site-packages/SQLAlchemy-0.7.9-py2.7-linux-i686.egg/sqlalchemy/orm/session.py", line 340, in _prepare_impl
    self.session.flush()
  File "/usr/lib/python2.7/site-packages/SQLAlchemy-0.7.9-py2.7-linux-i686.egg/sqlalchemy/orm/session.py", line 1718, in flush
    self._flush(objects)
  File "/usr/lib/python2.7/site-packages/SQLAlchemy-0.7.9-py2.7-linux-i686.egg/sqlalchemy/orm/session.py", line 1789, in _flush
    flush_context.execute()
  File "/usr/lib/python2.7/site-packages/SQLAlchemy-0.7.9-py2.7-linux-i686.egg/sqlalchemy/orm/unitofwork.py", line 331, in execute
    rec.execute(self)
  File "/usr/lib/python2.7/site-packages/SQLAlchemy-0.7.9-py2.7-linux-i686.egg/sqlalchemy/orm/unitofwork.py", line 475, in execute
    uow
  File "/usr/lib/python2.7/site-packages/SQLAlchemy-0.7.9-py2.7-linux-i686.egg/sqlalchemy/orm/persistence.py", line 64, in save_obj
    table, insert)
  File "/usr/lib/python2.7/site-packages/SQLAlchemy-0.7.9-py2.7-linux-i686.egg/sqlalchemy/orm/persistence.py", line 558, in _emit_insert_statements
    execute(statement, params)
  File "/usr/lib/python2.7/site-packages/SQLAlchemy-0.7.9-py2.7-linux-i686.egg/sqlalchemy/engine/base.py", line 1449, in execute
    params)
  File "/usr/lib/python2.7/site-packages/SQLAlchemy-0.7.9-py2.7-linux-i686.egg/sqlalchemy/engine/base.py", line 1584, in _execute_clauseelement
    compiled_sql, distilled_params
  File "/usr/lib/python2.7/site-packages/SQLAlchemy-0.7.9-py2.7-linux-i686.egg/sqlalchemy/engine/base.py", line 1698, in _execute_context
    context)
  File "/usr/lib/python2.7/site-packages/SQLAlchemy-0.7.9-py2.7-linux-i686.egg/sqlalchemy/engine/base.py", line 1691, in _execute_context
    context)
  File "/usr/lib/python2.7/site-packages/SQLAlchemy-0.7.9-py2.7-linux-i686.egg/sqlalchemy/engine/default.py", line 331, in do_execute
    cursor.execute(statement, parameters)
sqlalchemy.exc.ProgrammingError: (ProgrammingError) You must not use 8-bit bytestrings unless you use a text_factory that can interpret 8-bit bytestrings (like text_factory = str). It is highly recommended that you instead just switch your application to Unicode strings. u'INSERT INTO clients (name, surname, dni, email, web) VALUES (?, ?, ?, ?, ?)' ('Alejandro', 'G\xc3\xb3mez', '8923213i', '[email protected]', 'sadf')

Add a chat

Would be a great feature that lawyers would have their own and private chat between each others

Deploy DB in the cloud for test

Instead of force users to install all libraries, MySQL server, python and so on in their desktop, help them to test the app deploying DB and MySQL in a external server and they should just run the app locally

Add insert address button and in menu

Add the possibility to add directly an address, show a list of client or simply force to user click on the client he wants to add the new address and open the client_view for that client to add the new address

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.