I have just got Tryton running on a headless FreeBSD vm in VirtualBox. I
installed some modules using pip, initialized and upgraded them using the
trytond cli, installed using the Tryton client, and created a new user with
privileges. I happened to look through the list of trytond modules
available from pip, and I tried installing trytond_stock_kit because it
looked interesting. However, the database seems to be messed up now (the
client pops up a couple error reports), and the trytond command is now also
messed up (see bottom of log). What did I do wrong? What should I have done?
root@tryton:~ # pip search trytond
trytond - Tryton server
INSTALLED: 3.2.0 (latest)
...
trytond_stock_kit - Allows product kits to be exploded in shipments
and make their stock (real
and forecast) depend on the stock of its
components
root@tryton:~ # pip install trytond_stock_kit
Downloading/unpacking trytond-stock-kit
Downloading trytond_stock_kit-2.4.0.tar.gz
Running setup.py (path:/tmp/pip_build_root/trytond-stock-kit/setup.py)
egg_info for package trytond-stock-kit
warning: no files found matching 'TODO'
warning: no files found matching '*.odt'
warning: no files found matching 'locale/*.po'
warning: no files found matching 'doc/*'
warning: no files found matching 'icons/*'
Downloading/unpacking trytond-stock>=2.4,<2.5 (from trytond-stock-kit)
Downloading trytond_stock-2.4.8.tar.gz (156kB): 156kB downloaded
Running setup.py (path:/tmp/pip_build_root/trytond-stock/setup.py)
egg_info for package trytond-stock
Downloading/unpacking trytond-product-kit>=2.4,<2.5 (from trytond-stock-kit)
Downloading trytond_product_kit-2.4.0.tar.gz
Running setup.py (path:/tmp/pip_build_root/trytond-product-kit/setup.py)
egg_info for package trytond-product-kit
warning: no files found matching 'TODO'
warning: no files found matching 'CHANGELOG'
warning: no files found matching '*.odt'
warning: no files found matching 'locale/*.po'
warning: no files found matching 'doc/*'
warning: no files found matching 'icons/*'
Downloading/unpacking trytond>=2.4,<2.5 (from trytond-stock-kit)
Downloading trytond-2.4.12.tar.gz (441kB): 441kB downloaded
Running setup.py (path:/tmp/pip_build_root/trytond/setup.py) egg_info for
package trytond
warning: no files found matching '*.po' under directory 'doc'
warning: no files found matching '*.pot' under directory 'doc'
Downloading/unpacking trytond-party>=2.4,<2.5 (from
trytond-stock>=2.4,<2.5->trytond-stock-kit)
Downloading trytond_party-2.4.2.tar.gz (52kB): 52kB downloaded
Running setup.py (path:/tmp/pip_build_root/trytond-party/setup.py)
egg_info for package trytond-party
warning: no files found matching 'TODO'
Downloading/unpacking trytond-product>=2.4,<2.5 (from
trytond-stock>=2.4,<2.5->trytond-stock-kit)
Downloading trytond_product-2.4.3.tar.gz (43kB): 43kB downloaded
Running setup.py (path:/tmp/pip_build_root/trytond-product/setup.py)
egg_info for package trytond-product
warning: no files found matching 'TODO'
warning: no files found matching '*.odt'
Downloading/unpacking trytond-company>=2.4,<2.5 (from
trytond-stock>=2.4,<2.5->trytond-stock-kit)
Downloading trytond_company-2.4.1.tar.gz (51kB): 51kB downloaded
Running setup.py (path:/tmp/pip_build_root/trytond-company/setup.py)
egg_info for package trytond-company
warning: no files found matching 'TODO'
Downloading/unpacking trytond-currency>=2.4,<2.5 (from
trytond-stock>=2.4,<2.5->trytond-stock-kit)
Downloading trytond_currency-2.4.1.tar.gz (54kB): 54kB downloaded
Running setup.py (path:/tmp/pip_build_root/trytond-currency/setup.py)
egg_info for package trytond-currency
warning: no files found matching '*.odt'
Requirement already satisfied (use --upgrade to upgrade): lxml>=2.0 in
/usr/local/lib/python2.7/site-packages (from
trytond>=2.4,<2.5->trytond-stock-kit)
Requirement already satisfied (use --upgrade to upgrade): relatorio>=0.2.0
in /usr/local/lib/python2.7/site-packages (from
trytond>=2.4,<2.5->trytond-stock-kit)
Requirement already satisfied (use --upgrade to upgrade): Genshi in
/usr/local/lib/python2.7/site-packages (from
trytond>=2.4,<2.5->trytond-stock-kit)
Requirement already satisfied (use --upgrade to upgrade): python-dateutil
in /usr/local/lib/python2.7/site-packages (from
trytond>=2.4,<2.5->trytond-stock-kit)
Requirement already satisfied (use --upgrade to upgrade): polib in
/usr/local/lib/python2.7/site-packages (from
trytond>=2.4,<2.5->trytond-stock-kit)
Downloading/unpacking trytond-country>=2.4,<2.5 (from
trytond-party>=2.4,<2.5->trytond-stock>=2.4,<2.5->trytond-stock-kit)
Downloading trytond_country-2.4.1.tar.gz (721kB): 721kB downloaded
Running setup.py (path:/tmp/pip_build_root/trytond-country/setup.py)
egg_info for package trytond-country
warning: no files found matching 'TODO'
warning: no files found matching '*.odt'
Requirement already satisfied (use --upgrade to upgrade): six in
/usr/local/lib/python2.7/site-packages (from
python-dateutil->trytond>=2.4,<2.5->trytond-stock-kit)
Installing collected packages: trytond-stock-kit, trytond-stock,
trytond-product-kit, trytond, trytond-party, trytond-product,
trytond-company, trytond-currency, trytond-country
Running setup.py install for trytond-stock-kit
warning: no files found matching 'TODO'
warning: no files found matching '*.odt'
warning: no files found matching 'locale/*.po'
warning: no files found matching 'doc/*'
warning: no files found matching 'icons/*'
Could not find .egg-info directory in install record for trytond-stock-kit
Found existing installation: trytond-stock 3.2.0
Uninstalling trytond-stock:
Successfully uninstalled trytond-stock
Running setup.py install for trytond-stock
Could not find .egg-info directory in install record for
trytond-stock>=2.4,<2.5 (from trytond-stock-kit)
Running setup.py install for trytond-product-kit
warning: no files found matching 'TODO'
warning: no files found matching 'CHANGELOG'
warning: no files found matching '*.odt'
warning: no files found matching 'locale/*.po'
warning: no files found matching 'doc/*'
warning: no files found matching 'icons/*'
Could not find .egg-info directory in install record for
trytond-product-kit>=2.4,<2.5 (from trytond-stock-kit)
Found existing installation: trytond 3.2.0
Uninstalling trytond:
Successfully uninstalled trytond
Running setup.py install for trytond
changing mode of build/scripts-2.7/trytond from 644 to 755
warning: no files found matching '*.po' under directory 'doc'
warning: no files found matching '*.pot' under directory 'doc'
changing mode of /usr/local/bin/trytond to 755
Could not find .egg-info directory in install record for
trytond>=2.4,<2.5 (from trytond-stock-kit)
Found existing installation: trytond-party 3.2.0
Uninstalling trytond-party:
Successfully uninstalled trytond-party
Running setup.py install for trytond-party
warning: no files found matching 'TODO'
Could not find .egg-info directory in install record for
trytond-party>=2.4,<2.5 (from trytond-stock>=2.4,<2.5->trytond-stock-kit)
Found existing installation: trytond-product 3.2.0
Uninstalling trytond-product:
Successfully uninstalled trytond-product
Running setup.py install for trytond-product
warning: no files found matching 'TODO'
warning: no files found matching '*.odt'
Could not find .egg-info directory in install record for
trytond-product>=2.4,<2.5 (from trytond-stock>=2.4,<2.5->trytond-stock-kit)
Found existing installation: trytond-company 3.2.0
Uninstalling trytond-company:
Successfully uninstalled trytond-company
Running setup.py install for trytond-company
warning: no files found matching 'TODO'
Could not find .egg-info directory in install record for
trytond-company>=2.4,<2.5 (from trytond-stock>=2.4,<2.5->trytond-stock-kit)
Found existing installation: trytond-currency 3.2.0
Uninstalling trytond-currency:
Successfully uninstalled trytond-currency
Running setup.py install for trytond-currency
warning: no files found matching '*.odt'
Could not find .egg-info directory in install record for
trytond-currency>=2.4,<2.5 (from trytond-stock>=2.4,<2.5->trytond-stock-kit)
Found existing installation: trytond-country 3.2.0
Uninstalling trytond-country:
Successfully uninstalled trytond-country
Running setup.py install for trytond-country
warning: no files found matching 'TODO'
warning: no files found matching '*.odt'
Could not find .egg-info directory in install record for
trytond-country>=2.4,<2.5 (from
trytond-party>=2.4,<2.5->trytond-stock>=2.4,<2.5->trytond-stock-kit)
Successfully installed trytond-stock-kit trytond-stock trytond-product-kit
trytond trytond-party trytond-product trytond-company trytond-currency
trytond-country
Cleaning up...
root@tryton:~ # trytond -v -c /usr/local/etc/trytond.conf -i
trytond-stock-kit -d tryton
Traceback (most recent call last):
File "/usr/local/bin/trytond", line 13, in <module>
import trytond
ImportError: No module named trytond
root@tryton:~ # trytond --help
Traceback (most recent call last):
File "/usr/local/bin/trytond", line 13, in <module>
import trytond
ImportError: No module named trytond
root@tryton:~ #