[0.5.0] "Manage Templates" produces error message

Bug #505605 reported by Zachary Dunn
186
This bug affects 37 people
Affects Status Importance Assigned to Milestone
Ubuntu Tweak
Fix Released
Medium
Ding Zhou

Bug Description

In 0.5.0, clicking on "Manage Templates" produced the following error message:

Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/ubuntutweak/mainwindow.py", line 390, in setup_notebook
    page = module()
  File "/usr/lib/pymodules/python2.6/ubuntutweak/modules/templates.py", line 126, in __init__
    self.set_description(_('Templates path is wrong! The current path is point to "%s".\nPlease reset it to a folder under your Home Folder.') % USER_DIR)
AttributeError: 'Templates' object has no attribute 'set_description'

I do not have a "Templates" folder in my home directory, so I assumed if I created one the error would go away. However, this was not the case.

Revision history for this message
Ding Zhou (tualatrix) wrote :

Thanks for your report, it's a bug.

Changed in ubuntu-tweak:
status: New → Confirmed
importance: Undecided → Medium
assignee: nobody → TualatriX (tualatrix)
milestone: none → 0.5.1
Revision history for this message
José Marcos Gomes (jose-marcos-gomes) wrote :

After adding "Templates" directory to my home folder I changed in the "Default Folder Locations" the templates entry pointing to the new folder just created. After quit and restarted Ubuntu Tweak the problem is gone.

Revision history for this message
Faisal (sukriamin) wrote : Re: [Bug 505605] Re: [0.5.0] "Manage Templates" produces error message

thank's jose, work for me
> After adding "Templates" directory to my home folder I changed in the
> "Default Folder Locations" the templates entry pointing to the new
> folder just created. After quit and restarted Ubuntu Tweak the problem
> is gone.
>
>

Faisal (sukriamin)
Changed in ubuntu-tweak:
status: Confirmed → Fix Committed
Revision history for this message
klausner (klausner) wrote :

Please do not make the program default to ~/Templates, but rather to something like ~/.templates to avoid directory clutter.

Revision history for this message
ray (raymond0831) wrote : That fixed it -- Thanks

Please do not make the program default to ~/Templates, but rather to
something like ~/.templates to avoid directory clutter.

-- [0.5.0] "Manage Templates" produces error message
https://bugs.launchpad.net/bugs/505605 You received this bug
notification because you are a direct subscriber of a duplicate bug.
Status in Ubuntu Tweak: Fix Committed Bug description: In 0.5.0,
clicking on "Manage Templates" produced the following error message:
Traceback (most recent call last): File
"/usr/lib/pymodules/python2.6/ubuntutweak/mainwindow.py", line 390, in
setup_notebook page = module() File
"/usr/lib/pymodules/python2.6/ubuntutweak/modules/templates.py", line
126, in __init__ self.set_description(_('Templates path is wrong! The
current path is point to "%s".\nPlease reset it to a folder under your
Home Folder.') % USER_DIR) AttributeError: 'Templates' object has no
attribute 'set_description' I do not have a "Templates" folder in my
home directory, so I assumed if I created one the error would go away.
However, this was not the case. To unsubscribe from this bug, go to:
https://bugs.launchpad.net/ubuntu-tweak/+bug/505605/+subscribe

Revision history for this message
Ding Zhou (tualatrix) wrote :

This is not control by me.

Point to ~/Templates is the xdg default path.

Ding Zhou (tualatrix)
Changed in ubuntu-tweak:
status: Fix Committed → Fix Released
Revision history for this message
ray (raymond0831) wrote : Re: [Bug 505605] Re: [0.5.0] "Manage Templates" produces error message

Thank you.

TualatriX wrote:
> ** Changed in: ubuntu-tweak
> Status: Fix Committed => Fix Released
>
>

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.