Ticket #51 (closed Defect: Unreproducible)
openxcap1.0.2 can not start- cannot import name generate_etag
| Reported by: | anca_vamanu | Owned by: | support@ag-projects.com |
|---|---|---|---|
| Priority: | Major | Milestone: | OpenXCAP 1.0.0 |
| Component: | XCAP server | Version: | 1.0.2 |
| Severity: | Critical | Keywords: | |
| Cc: | denis@ag-projects.com, anca@voice-system.ro, |
Description (last modified by admin) (diff)
Hi,
I can not start the server. I get this error:
Starting OpenXCAP 1.0.2
/usr/lib/python2.4/site-packages/twisted/enterprise/util.py:19: DeprecationWarning: twisted.enterprise.util is deprecated since Twisted 8.0.0.
category=DeprecationWarning)
Traceback (most recent call last):
File "/usr/bin/openxcap", line 54, in ?
from xcap.server import XCAPServer
File "/usr/lib/python2.4/site-packages/xcap/server.py", line 17, in ?
from xcap import authentication
File "/usr/lib/python2.4/site-packages/xcap/authentication.py", line 21, in ?
from xcap.appusage import getApplicationForURI, namespaces
File "/usr/lib/python2.4/site-packages/xcap/appusage/__init__.py", line 19, in ?
from xcap.dbutil import generate_etag
ImportError: cannot import name generate_etag
regards, Anca Vamanu
Change History
comment:1 Changed 3 years ago by admin
- Version changed from 1.0.1 to 1.0.2
- Description modified (diff)
comment:2 Changed 3 years ago by admin
- Priority changed from Minor to Major
- Component changed from XCAP protocol to XCAP server
- Severity changed from Non-critical to Critical
- Milestone set to OpenXCAP 1.0 stable release
Hi Anca,
Can you try the 1.0.6 release to see if your have the same problem in the latest version.
Adrian
Note: See
TracTickets for help on using
tickets.

Hi Anca,
If 2.4 is the default on your system, than you would probably need to fix the first line of /usr/bin/openxcap: replace the first line "#!/usr/bin/python" with "#!/usr/bin/python2.5"
(Why does it says "Starting OpenXCAP 1.0.2" is puzzling though) I suggest to clean up the older versions of openxcap from the system completely.
regards, Denis Bilenko.