Can't reproduce in GEdit 3.3.3-0ubuntu1
** Changed in: gedit (Ubuntu)
Status: Confirmed => Fix Released
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gedit in Ubuntu.
https://bugs.launchpad.net/bugs/420564
Title:
importing snippets does not work unless .gnome2/gedit/snippets is
already existing
Status in “gedit” package in Ubuntu:
Fix Released
Bug description:
Binary package hint: gedit
When as a user importing snippets it fails if
$HOME/.gnome2/gedit/snippets directory does not exist yet.
This is on Ubuntu Hardy with version 2.22.3
When importing a python snippet file I received following traceback :
Traceback (most recent call last):
File "/usr/lib/gedit-2/plugins/snippets/Manager.py", line 803, in
on_import_response
self.import_snippets(f)
File "/usr/lib/gedit-2/plugins/snippets/Manager.py", line 782, in
import_snippets
error = importer.run()
File "/usr/lib/gedit-2/plugins/snippets/Importer.py", line 97, in run
return v()
File "/usr/lib/gedit-2/plugins/snippets/Importer.py", line 73, in
import_targz
self.import_archive('tar -x --gzip -f')
File "/usr/lib/gedit-2/plugins/snippets/Importer.py", line 61, in
import_archive
if self.import_file(f):
File "/usr/lib/gedit-2/plugins/snippets/Importer.py", line 38, in
import_file
shutil.copy(filename, dest)
File "/usr/lib/python2.5/shutil.py", line 80, in copy
copyfile(src, dst)
File "/usr/lib/python2.5/shutil.py", line 47, in copyfile
fdst = open(dst, 'wb')
IOError: [Errno 2] No such file or directory:
'/home/red15/.gnome2/gedit/snippets/python.xml'
After a manual "mkdir -p $HOME/.gnome2/gedit/snippets" the import went
fine.
ProblemType: Bug
Architecture: amd64
Date: Fri Aug 28 16:27:02 2009
DistroRelease: Ubuntu 8.04
ExecutablePath: /usr/bin/gedit
NonfreeKernelModules: nvidia
Package: gedit 2.22.3-0ubuntu2
PackageArchitecture: amd64
ProcEnviron:
SHELL=/bin/bash
PATH=/home/username/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/username/Documents/Personal/android-sdk-linux_x86-1.5_r2/tools
LANG=en_US.UTF-8
SourcePackage: gedit
Uname: Linux 2.6.24-24-generic x86_64
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gedit/+bug/420564/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp