+++ This bug was initially created as a clone of Bug #542613 +++
Description of problem:
actually starting luci properly fails:
/usr/lib/python2.6/site-packages/tw/core/view.py:223: DeprecationWarning: object
.__new__() takes no parameters
obj = object.__new__(cls, *args, **kw)
Starting server in PID 18908.
serving on http://127.0.0.1:8080
Error - <type 'exceptions.ImportError'>: No module named dynforms
Version-Release number of selected component (if applicable):
i think the required dynforms package is not even yet in fedora.
--- Additional comment from firstname.lastname@example.org on 2010-01-07 14:02:59 EST ---
Need to know if this should be cloned for RHEL6 and the impact:
- is dynforms python module in RHEL6 / does it need to be?
- has this been resolved in another way?
--- Additional comment from email@example.com on 2010-01-07 14:05:39 EST ---
Chris and I discussed this, and decided that it was best to just include that library with luci. It's pretty small (just provides an widget for a form that automatically grows fields).
The error is probably a packaging error (my fault). I'll look into it.
--- Additional comment from firstname.lastname@example.org on 2010-05-01 12:14:57 EDT ---
As mentioned by Kith Wright in bug #563372, a workaround for now is to use easy_install to install tw.dynforms:
$ sudo easy_install tw.dynforms
Searching for tw.dynforms
Best match: tw.dynforms 0.9.8
Running tw.dynforms-0.9.8/setup.py -q bdist_egg --dist-dir /tmp/easy_install-qBVIe2/tw.dynforms-0.9.8/egg-dist-tmp-U9VZuF
Adding tw.dynforms 0.9.8 to easy-install.pth file
Processing dependencies for tw.dynforms
Finished processing dependencies for tw.dynforms
Doing this, then restarting the luci service (required) then allowed the local web interface to function.
--- Additional comment from email@example.com on 2010-05-01 13:28:49 EDT ---
This bug is also present in RHEL 6 public beta.
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux major release. Product Management has requested further
review of this request by Red Hat Engineering, for potential inclusion in a Red
Hat Enterprise Linux Major release. This request is not yet committed for
It may be worth mentioning that even after installing the dynforms Python module as indicated above, luci doesn't really work. The web interface loads, however any form that's submitted fails with an "unknown keyword" error on whatever variable was being submitted.
luci was de-installed from the test lab boxes yesterday, so my apologies about this low quality bug update and not being able to provide the exact error message. :(
Just to be clear, luci in beta1 was in non working condition as we still had major development effort to do on it at that point. We are expecting it to be in working condition for the next beta.
*** This bug has been marked as a duplicate of bug 586278 ***