Bug 906498 - python exception "no such file or directory" loading template on browser plugin
Summary: python exception "no such file or directory" loading template on browser plugin
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: luma
Version: 18
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jochen Schmitt
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-01-31 17:48 UTC by Renato Covarrubias
Modified: 2013-02-13 04:25 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-02-13 04:25:33 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Graphical view (78.50 KB, image/png)
2013-01-31 17:48 UTC, Renato Covarrubias
no flags Details

Description Renato Covarrubias 2013-01-31 17:48:45 UTC
Created attachment 691136 [details]
Graphical view

Description of problem:
When I try to see a particular object in LDAP tree, luma create only a tab, without information. In the debug, I see:

>>>
[  File "/usr/lib/python2.7/site-packages/luma/plugins/browser/AdvancedObjectWidget.py", line 226, in modelChanged
    self.displayValues()
  File "/usr/lib/python2.7/site-packages/luma/plugins/browser/AdvancedObjectWidget.py", line 239, in displayValues
    self.loadTemplates()
  File "/usr/lib/python2.7/site-packages/luma/plugins/browser/AdvancedObjectWidget.py", line 185, in loadTemplates
    for objectClass, fileName in self.templateFactory.getTemplateList():
  File "/usr/lib/python2.7/site-packages/luma/plugins/browser/TemplateFactory.py", line 31, in getTemplateList
    self.templateList = self._createTemplateList()
  File "/usr/lib/python2.7/site-packages/luma/plugins/browser/TemplateFactory.py", line 45, in _createTemplateList
    for file in os.listdir(self.baseDir):
] Reason:
<type 'exceptions.OSError'>
[Errno 2] No such file or directory: '/usr/lib/python2.7/site-packages/luma/plugins/browser/templates'
<<<

Version-Release number of selected component (if applicable):
luma-3.0.7-1.fc18.noarch

How reproducible:
Try to see object attributes with browser plugin.

Steps to Reproduce:
1. Open luma
2. Go to settings and enable browser plugin.
3. In menu Edit, select "Server List", add a new server. Test connection.
4. In Plugins tab, doble click on "Browser".
5. In tab Browser, open the LDAP tree and doble click in a object.
  
Actual results:
A new tab will be open, without any information.

Expected results:
A new tab will be open, with the object information and the option to edit the attributes.

Additional info:
My laptop is a Fedora 18 fresh instalation, with all packages up-to-date.

Comment 1 Jochen Schmitt 2013-01-31 20:24:29 UTC
Thank you for reporting this bug. I think I have found the reason for the
reported bug and have fixed it. I would like to ask you,if you can
do a test with luma-3.0.7-2.fc19 from rawhide

Comment 2 Renato Covarrubias 2013-02-01 00:57:10 UTC
Jochen,

Of course!
It is not yet available?. I couldn't find it.

Comment 3 Jochen Schmitt 2013-02-01 17:58:12 UTC
It was announced in todays rawhide report.

Comment 4 Renato Covarrubias 2013-02-01 22:50:47 UTC
Jochen,

The fix works perfects.

Thanks a lost! :)

Comment 5 Fedora Update System 2013-02-02 10:37:09 UTC
luma-3.0.7-2.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/luma-3.0.7-2.fc18

Comment 6 Fedora Update System 2013-02-03 13:45:42 UTC
Package luma-3.0.7-2.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing luma-3.0.7-2.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-1894/luma-3.0.7-2.fc18
then log in and leave karma (feedback).

Comment 7 Fedora Update System 2013-02-13 04:25:36 UTC
luma-3.0.7-2.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.