Closed GoogleCodeExporter closed 9 years ago
Start Sunflower from terminal, and do the same operation. Then give me the
output. I think I've fixed this issue long time ago.
Thanks for reporting!
Original comment by MeanEYE.rcf
on 5 Feb 2013 at 1:55
[deleted comment]
In german, sorry:
"
~$ sunflower
/usr/share/sunflower/application/accelerator_group.py:81: GtkWarning:
IA__gtk_accel_group_connect: assertion `accel_key > 0' failed
self._accel_group.connect_group(keyval, modifier, 0, self._handle_activate)
Exception in thread Thread-4:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 551, in __bootstrap_inner
self.run()
File "/usr/share/sunflower/application/operation.py", line 1210, in run
remove_method(item)
File "/usr/share/sunflower/application/operation.py", line 1163, in _trash_path
self._source.trash_path(path, relative_to=self._source_path)
File "/usr/share/sunflower/application/plugins/file_list/local_provider.py", line 56, in trash_path
if not tmp.trash():
Error: Müll-Ordner konnte nicht gefunden oder angelegt werden
"
This is with the dialogue still open. Last line reads: 'Trash folder couldn't
be found or created'
Clicking close or hitting cancel doesn't give additional output.
Original comment by turboos...@gmail.com
on 5 Feb 2013 at 2:05
Ah, makes sense. But I should catch that exception. Okay, thanks. I'll fix it.
For the time being you can use Shift + Delete to directly remove that file or
directory without moving it to trash.
Original comment by MeanEYE.rcf
on 5 Feb 2013 at 2:07
Oh my god how I love the internet. Thanks! I did just that.
Original comment by turboos...@gmail.com
on 5 Feb 2013 at 2:09
Yes internetz is kewl. :P
Also, I forgot to mention, you can completely turn off trashing in preferences,
not all people like that so I made an option. :D
Original comment by MeanEYE.rcf
on 5 Feb 2013 at 2:10
Should be fixed. If you have repo version pull later and test if you don't
mind. Otherwise wait for official release. :)
Original comment by MeanEYE.rcf
on 16 Feb 2013 at 5:36
Can I try the repo version without overwriting my settings from deb install?
Original comment by turboos...@gmail.com
on 16 Feb 2013 at 5:45
Well, you can backup your settings if you are afraid to experiment. They are
located in ~/.config/sunflower.
Original comment by MeanEYE.rcf
on 16 Feb 2013 at 5:47
I'm afraid the problem is still existing. I pulled from hg just now. my mount
options are normal Ubuntu mount for NTFS iirc:
"/dev/sda3 on /media/BeautifulData type fuseblk
(rw,noexec,nosuid,nodev,allow_other,default_permissions,blksize=4096)"
The dir itself is a symlink though:
"lrwxrwxrwx 1 turbo turbo 31 Jul 25 2012 Downloads ->
/media/BeautifulData/Downloads//"
When I try do delete a file in Downloads/ sunflower says
"/home/turbo/Öffentlich/sunflower-fm/application/accelerator_group.py:81:
GtkWarning: IA__gtk_accel_group_connect: assertion `accel_key > 0' failed
self._accel_group.connect_group(keyval, modifier, 0, self._handle_activate)
Exception in thread Thread-10:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 551, in __bootstrap_inner
self.run()
File "/home/turbo/Öffentlich/sunflower-fm/application/operation.py", line 1210, in run
remove_method(item)
File "/home/turbo/Öffentlich/sunflower-fm/application/operation.py", line 1163, in _trash_path
self._source.trash_path(path, relative_to=self._source_path)
File "/home/turbo/Öffentlich/sunflower-fm/application/plugins/file_list/local_provider.py", line 56, in trash_path
if not tmp.trash():
Error: Müll-Ordner konnte nicht gefunden oder angelegt werden"
Last line translates to "Error: Trash-dir couldn't be found or created"
Original comment by turboos...@gmail.com
on 17 Feb 2013 at 12:48
Hm, you have to start version you pulled. My guess is that you are starting
previous version. Just type ./Sunflower.py from directory where you cloned main
repository.
Original comment by MeanEYE.rcf
on 17 Feb 2013 at 12:52
The line just above the excerpt reads:
"turbo@turputer:~/Öffentlich/sunflower-fm$ ./Sunflower.py "
:P
Original comment by turboos...@gmail.com
on 17 Feb 2013 at 12:53
http://code.google.com/p/sunflower-fm/source/browse/application/plugins/file_lis
t/local_provider.py#56
Line 56 in local_provider.py is no longer "if not tmp.trash()" it's "try:" now.
So you are starting old code which produces this error. If you just pulled from
main repository then you did something else wrong as change is there since last
night.
How did you clone repository?
Original comment by MeanEYE.rcf
on 17 Feb 2013 at 12:56
mmm hg clone yesterday, hg pull today. hg pull said something like: Adding 5
change-sets with 4 changes in 4 files..
Now I deleted sunflower-fm/ and hg cloned again. It now works. Strange :/ Sorry
to bother you.
Original comment by turboos...@gmail.com
on 17 Feb 2013 at 1:01
Ah, sorry. Should have told me that. :)
After each pull you have to do "hg update" to update all files. Difference
between git and hg :)
You are not bothering me. :D
Original comment by MeanEYE.rcf
on 17 Feb 2013 at 1:04
sneaky hg! thanks anyway.
Original comment by turboos...@gmail.com
on 17 Feb 2013 at 1:11
Original issue reported on code.google.com by
turboos...@gmail.com
on 5 Feb 2013 at 1:54