Lieber Besucher, herzlich willkommen bei: GentooForum.de. Falls dies Ihr erster Besuch auf dieser Seite ist, lesen Sie sich bitte die Hilfe durch. Dort wird Ihnen die Bedienung dieser Seite näher erläutert. Darüber hinaus sollten Sie sich registrieren, um alle Funktionen dieser Seite nutzen zu können. Benutzen Sie das Registrierungsformular, um sich zu registrieren oder informieren Sie sich ausführlich über den Registrierungsvorgang. Falls Sie sich bereits zu einem früheren Zeitpunkt registriert haben, können Sie sich hier anmelden.
Quellcode |
|
1 2 |
./emma no gtk. you will not be able to start emma. |
Quellcode |
|
1 2 |
No available connection provider (OK) |
Quellcode |
|
1 2 |
eix libqt4-sql-mysql No matches found. |
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
apt-rdepends emma "emma" [shape=box]; "emma" -> "python"; "emma" -> "python-glade2"; "emma" -> "python-gtk2"; "emma" -> "python-mysqldb"; "emma" -> "python-support"; apt-rdepends tora "tora" [shape=box]; "tora" -> "libc6"; "tora" -> "libgcc1"; "tora" -> "libpq5"; "tora" -> "libqscintilla2-9"; "tora" -> "libqt4-network"; "tora" -> "libqt4-sql"; "tora" -> "libqt4-xml"; "tora" -> "libqtcore4"; "tora" -> "libqtgui4"; "tora" -> "libstdc++6"; |
Quellcode |
|
1 2 |
eix python-mysqldb No matches found. |
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
pip search mysql | grep -i python MySQL-python - Python interface to MySQL cymysql - Python MySQL Driver powered by Cython Based on python, GTK, sqlalchemy. It's split into a GUI and a very rich package to create simplemysql - An ultra simple wrapper for Python MySQLdb with very basic functionality oursql - MySQL bindings for python. umysql - Ultra fast MySQL driver for Python mysql-connector-python - MySQL driver written in Python PySQLPool - Python MySQL Connection Pooling and MySQL Query management simplestore - A datastore layer built on top of MySQL in Python. MySQLObject - A Python class to convert a simple object in a MySQL connection driver. SchemaObject - Iterate over a MySQL database schema as a Python object. PyMySQL - Pure Python MySQL Driver PyDbLite - A pure-Python db engine + Pythonic interface to SQLite and MySQL CURD.py - Tiny Python ORM for MySQL PyMySQL3 - Pure Python MySQL Driver sqlShort - A tiny wrapper for the Python modules MySQLdb and Sqlite dbadmin - A python wrapper to do some basic dbadmin options with mysql mysql-replication - Pure Python Implementation of MySQL replication protocol build on top of PyMYSQL. mysql-connector-repackaged - MySQL driver written in Python |
Quellcode |
|
1 2 3 4 5 |
antarctica andre # eix tora[I] dev-db/tora Available versions: 2.1.1 (~)2.1.3-r1 (~)2.1.3-r2 **9999 {debug mysql oci8-instant-client oracle postgres} Installed versions: 2.1.3-r2(21:04:29 24.07.2013)(mysql -debug -oci8-instant-client -oracle -postgres) Homepage: http://tora.sourceforge.net Description: TOra - Toolkit For Oracle |
Quellcode |
|
1 2 3 |
echo "dev-db/tora mysql postgres" >> /etc/portage/package.use emerge --autounmask-write dev-db/tora emerge -av dev-db/tora |
Übrigens emma habe ich als Quelle runtergeladen, weil im Portage und Overlays emma gibt es nicht.
Quellcode |
|
1 2 3 4 5 |
eix -e emma * dev-java/emma Available versions: 2.0.5312-r2 {+launcher source ELIBC="FreeBSD"} Homepage: http://emma.sourceforge.net/ Description: a free Java code coverage tooll |
Quellcode |
|
1 |
#!/usr/bin/python2.4 |
Quellcode |
|
1 |
#!/usr/bin/python |
Quellcode |
|
1 |
$ python --version |
Quellcode |
|
1 2 3 |
$ cd WHERE/YOU/EXTRACTED/EMMA $ python setup.py build $ sudo python setup.py install |
Quellcode |
|
1 2 3 4 |
md5sum "emma-0.6 (1).tar.gz" da3bd1d1f4ee75d02a4c8637e28fd732 emma-0.6 (1).tar.gz md5sum "emma-0.6.tar.gz" da3bd1d1f4ee75d02a4c8637e28fd732 emma-0.6.tar.gz |
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
emma no gtk. you will not be able to start emma. /usr/lib/python2.7/site-packages/emmalib/__init__.py:91: GtkWarning: GtkSpinButton: setting an adjustment with non-zero page size is deprecated self.xml = gtk.glade.XML(self.glade_file) Traceback (most recent call last): File "/usr/bin/emma", line 26, in <module> sys.exit(emmalib.start(sys.argv[1:])) File "/usr/lib/python2.7/site-packages/emmalib/__init__.py", line 3371, in start e = Emma() File "/usr/lib/python2.7/site-packages/emmalib/__init__.py", line 177, in __init__ self.load_config() File "/usr/lib/python2.7/site-packages/emmalib/__init__.py", line 3033, in load_config self.add_mysql_host(name[len(prefix):], v[0], port, v[1], v[2], v[3]) File "/usr/lib/python2.7/site-packages/emmalib/__init__.py", line 3115, in add_mysql_host host = mysql_host(self.add_sql_log, self.add_msg_log, name, hostname, port, user, password, database, self.config["connect_timeout"]) NameError: global name 'mysql_host' is not defined |
Quellcode |
|
1 |
NameError: global name 'mysql_host' is not defined |
Muss ich noch etwas emerge`n , oder mit pip installieren , damit emma läuft ?
Quellcode |
|
1 2 |
python --version Python 2.7.3 |
Quellcode |
|
1 2 3 4 |
eselect python list Available Python interpreters: [1] python2.7 * [2] python3.2 |
Quellcode |
|
1 2 3 4 |
eix dev-lang/python ... Installed versions: 2.7.3-r3(2.7)(09:25:10 AM 07/02/2013)(gdbm ipv6 ncurses readline sqlite ssl threads wide-unicode xml -berkdb -build -doc -elibc_uclibc -examples -hardened -tk -wininst) ... |
Quellcode |
|
1 |
emerge dev-python/robotframework |
Quellcode |
|
1 2 3 4 5 6 7 8 9 |
$ python Python 2.7.5 (default, Aug 1 2013, 00:06:24) [GCC 4.7.3] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import mysql_host Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: No module named mysql_host >>> |
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
try: import gtk from gtk import keysyms import gobject import gtk.gdk import gtk.glade if __name__ != "__main__": from emmalib import __file__ as emmalib_file from emmalib.mysql_host import * from emmalib.mysql_query_tab import * else: emmalib_file = __file__ from mysql_host import * from mysql_query_tab import * except: print "no gtk. you will not be able to start emma." |