Every time I run webapp-config, it craches with the same error. For example: # webapp-config --list-installs Traceback (most recent call last): File "/usr/sbin/webapp-config-python3.3", line 42, in <module> main() File "/usr/sbin/webapp-config-python3.3", line 39, in main config.run() File "/usr/lib64/python3.3/site-packages/WebappConfig/config.py", line 1131, in run self.maybe_get('pvr')).listinstalls() File "/usr/lib64/python3.3/site-packages/WebappConfig/config.py", line 1430, in create_webapp_db from WebappConfig.db import WebappDB File "/usr/lib64/python3.3/site-packages/WebappConfig/db.py", line 161, in <module> class WebappDB(AppHierarchy): File "/usr/lib64/python3.3/site-packages/WebappConfig/db.py", line 268, in WebappDB dir_perm = PermissionMap('0755'), File "/usr/lib64/python3.3/site-packages/WebappConfig/permissions.py", line 164, in __init__ self.__permissions = eval(permissions) File "<string>", line 1 0755 ^ SyntaxError: invalid token Reproducible: Always Comments cannot be longer than 16384 characters. If you need to post contents of files or logs, use the attachment feature instead.
Same Problem here... switching to python27 to run webapp-config is a working workaround for me...
Your workaround work for me, too. Thanks.
Reproducable, looking into it :)
The issue is with the upgrade of python3.1 to python3.2 I have already fixed this particular issue and I am working on many other fixes required to make webapp-config fully compatible with python3.2 again :) Your patience is appreciated while we resolve the issues.
0755 is not a valid syntax in Python 3.1 (or any 3.* version).
(In reply to Arfrever Frehtes Taifersar Arahesis from comment #5) > 0755 is not a valid syntax in Python 3.1 (or any 3.* version). I wasn't aware of that. Previously, when this was run using python 3.1 the interpreter would not raise any errors. Because of what you said though, this leads me to believe that it was just being ignored or something else was happening that I can't really explain due to lack of investigation.
*** Bug 488506 has been marked as a duplicate of this bug. ***
(In reply to tot-to from comment #0) > Every time I run webapp-config, it craches with the same error. For example: > # webapp-config --list-installs > Traceback (most recent call last): > File "/usr/sbin/webapp-config-python3.3", line 42, in <module> > main() > File "/usr/sbin/webapp-config-python3.3", line 39, in main > config.run() > File "/usr/lib64/python3.3/site-packages/WebappConfig/config.py", line > 1131, in run > self.maybe_get('pvr')).listinstalls() > File "/usr/lib64/python3.3/site-packages/WebappConfig/config.py", line > 1430, in create_webapp_db > from WebappConfig.db import WebappDB > File "/usr/lib64/python3.3/site-packages/WebappConfig/db.py", line 161, in > <module> > class WebappDB(AppHierarchy): > File "/usr/lib64/python3.3/site-packages/WebappConfig/db.py", line 268, in > WebappDB > dir_perm = PermissionMap('0755'), > File "/usr/lib64/python3.3/site-packages/WebappConfig/permissions.py", > line 164, in __init__ > self.__permissions = eval(permissions) > File "<string>", line 1 > 0755 > ^ > SyntaxError: invalid token > > Reproducible: Always > > > > > Comments cannot be longer than 16384 characters. If you need to post > contents of files or logs, use the attachment feature instead. Install webapp-config-1.52 and please let me know if this issue ensues. :)
(In reply to Devan Franchini from comment #8) > > Install webapp-config-1.52 and please let me know if this issue ensues. :) comment 5 of duplicate bug #488506 says solved. Please reopen if this is still an issue.