Re: Bug report

45 views
Skip to first unread message

Patrik Dufresne

unread,
Jul 1, 2018, 1:09:40 PM7/1/18
to timm...@aol.com, rdiffweb
Hello Timmy,

I'm forwarding your email to the google group for community support.

The problem seams related to cherrypy import. Did you install cherrypy from your OS packages ? Please check the cherrypy version using "pip3 freeze | grep cherry".

--
Patrik Dufresne Service Logiciel inc.
http://www.patrikdufresne.com/
130 rue Doris
St-Colomban, QC J5K 1T9


On Sun, Jul 1, 2018 at 10:46 AM Timmy <sup...@patrikdufresne.com> wrote:
lang: en
phone: None
product: Rdiffweb
version: None
name: Timmy
action: support
os: Linux
email: timm...@aol.com

Hello, I follow the pip installation and have the rdiffweb installed successfully.  My system is Oracle Linux 7.5 (RHEL 7.5).  These are my procedures: yum install python34-pip python34-devel sudo pip3 install -U pip sudo pip3 install rdiffweb Successfully installed rdiffweb-0.10.7 However, when I started the service, it fails.  How do I correct it?  Hope to hear from you soon.  Thank You. ========================================================== [timmy@msi-server ~]$ sudo systemctl start rdiffweb.service [timmy@msi-server ~]$ sudo systemctl status -l rdiffweb.service rdiffweb.service - Rdiffweb Server    Loaded: loaded (/etc/systemd/system/rdiffweb.service; disabled; vendor preset: disabled)    Active: failed (Result: exit-code) since Sun 2018-07-01 21:34:15 HKT; 4s ago      Docs: http://www.patrikdufresne.com/en/rdiffweb/   Process: 8253 ExecStart=/usr/bin/rdiffweb (code=exited, status=1/FAILURE)  Main PID: 8253 (code=exited, status=1/FAILURE) Jul 01 21:34:15 msi-server rdiffweb[8
 253]: File "/usr/lib/python3.4/site-packages/cherrypy/__init__.py", line 73, in  Jul 01 21:34:15 msi-server rdiffweb[8253]: from ._cptools import default_toolbox as tools, Tool Jul 01 21:34:15 msi-server rdiffweb[8253]: File "/usr/lib/python3.4/site-packages/cherrypy/_cptools.py", line 33, in  Jul 01 21:34:15 msi-server rdiffweb[8253]: from cherrypy.lib import auth_basic, auth_digest Jul 01 21:34:15 msi-server rdiffweb[8253]: File "/usr/lib/python3.4/site-packages/cherrypy/lib/auth_digest.py", line 27, in  Jul 01 21:34:15 msi-server rdiffweb[8253]: from six.moves.urllib.request import parse_http_list, parse_keqv_list Jul 01 21:34:15 msi-server rdiffweb[8253]: ImportError: cannot import name 'parse_http_list' Jul 01 21:34:15 msi-server systemd[1]: rdiffweb.service: main process exited, code=exited, status=1/FAILURE Jul 01 21:34:15 msi-server systemd[1]: Unit rdiffweb.service entered failed state. Jul 01 21:34:15 msi-server systemd[1]: rdiffweb.service failed.

Patrik Dufresne

unread,
Jul 3, 2018, 8:09:25 AM7/3/18
to timm...@aol.com, rdiffweb
Hello Timmy,

I see you have "CherryPy==16.0.2". According to travis build, the last version tested with rdiffweb is 14. Also, if you look on their github page, their own build is failing.

Try re-installing cherrypy with a force version.

pip3 install cherrypy==14.2.0

I will need to find a way to overcome the fact that cherrypy project is publishing alot of broken revision.

--
Patrik Dufresne Service Logiciel inc.
http://www.patrikdufresne.com/
130 rue Doris
St-Colomban, QC J5K 1T9


On Sun, Jul 1, 2018 at 3:59 PM Timmy Siu <timm...@aol.com> wrote:
Dear Patrik,
I installed the python2 cherrypy from the OS and EPEL 7 repository.  I had installed these before the installation of rdiffweb:
yum install python-cherrypy python-babel python34-setuptools

I think they are irrelevant to the mentioned bug because I installed rdiffweb with pip3.  Here are the results of this command: pip3 freeze

Babel==2.6.0
backports.functools-lru-cache==1.5
cheroot==6.3.2
CherryPy==16.0.2
easygui==0.96
future==0.16.0
Jinja2==2.8.1
MarkupSafe==1.0
more-itertools==4.2.0
portend==2.3
psutil==5.4.6
pytz==2018.5
rdiffweb==0.10.7
six==1.11.0
tempora==1.12


Reply all
Reply to author
Forward
0 new messages