Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 86625 - wxpython-docs-2.4.2.4: error messages when launching the help viewer as non-root user
Summary: wxpython-docs-2.4.2.4: error messages when launching the help viewer as non-r...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo wxWidgets project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-25 01:59 UTC by Ivan Todoroski
Modified: 2005-05-02 13:48 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan Todoroski 2005-03-25 01:59:10 UTC
Once you press OK on the error messages the help viewer works, but it's annoying to have to do this on each start.

Here's a patch that fixes this:

--- viewdocs-orig.py    2005-03-25 09:46:30.000000000 +0100
+++ viewdocs.py 2005-03-25 10:46:26.923038904 +0100
@@ -14,7 +14,7 @@
 
 # setup the args
 args = ['',
-        '--cache='+basePath,
+        '--cache=/tmp',
         os.path.join(basePath, 'wx.zip'),
         os.path.join(basePath, 'ogl.zip'),
         ]


Reproducible: Always
Steps to Reproduce:
1. run as regular user: python /usr/doc/wxPython-2.4.2.4/docs/viewdocs.py
Actual Results:  
Two successive error messages:
1. can't open file '/usr/doc/wxPython-2.4.2.4/docs/wx.zip_zip_wx.hhp.cached'
(error 13: Permission denied)
2. can't open file '/usr/doc/wxPython-2.4.2.4/docs/ogl.zip_zip_ogl.hhp.cached'
(error 13: Permission denied)



Expected Results:  
No error messages.

Versions of related packages:
dev-lang/python-2.4-r3
dev-python/wxpython-2.5.3.1
Comment 1 Rob Cakebread (RETIRED) gentoo-dev 2005-05-02 13:48:24 UTC
Thanks Ivan, fixed in 2.4* and added to 2.6.0.0 which just went in portage. 2.6.0.0 also has the new api html documentation as well. The demo files are now included (I removed wxpython-demo).