drdogwelder / gedit-ftp-browser

Automatically exported from code.google.com/p/gedit-ftp-browser
0 stars 0 forks source link

Bug when opening the Host #10

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. While conecting

What is the expected output? What do you see instead?

I see in the console log the error, when I try to connect to some host it shows 
me the next error.

-----------------------------------------------
german@freedom:~$ gedit 
Traceback (most recent call last):
  File "/home/german/.gnome2/gedit/plugins/FTP.py", line 143, in on_connect
    self.open_folder(None)
AttributeError: FTPWindowHelper instance has no attribute 'open_folder'
Traceback (most recent call last):
  File "/home/german/.gnome2/gedit/plugins/FTP.py", line 150, in on_refresh
    self.open_directory(".")
  File "/home/german/.gnome2/gedit/plugins/FTP.py", line 351, in open_directory
    ftp = self.ftp_connect()
  File "/home/german/.gnome2/gedit/plugins/FTP.py", line 343, in ftp_connect
    self.save_config()
  File "/home/german/.gnome2/gedit/plugins/FTP.py", line 101, in save_config
    self.error_msg("Can't write config at ",self.config_file)
TypeError: error_msg() takes exactly 2 arguments (3 given)
--------------------------------
I think that is easy to fix, and nice script. I was hoping something like that, 
thnx for all.

Original issue reported on code.google.com by german...@gmail.com on 8 Sep 2010 at 1:06

GoogleCodeExporter commented 9 years ago
The line should be:
self.error_msg("Can't write config at %s" % self.config_file)

This is a permission problem writing to the FTP browser config-file

Original comment by actionan...@gmail.com on 23 Jun 2011 at 2:15

GoogleCodeExporter commented 9 years ago
added the fix.

Original comment by yin...@wsatp.com on 10 Jul 2011 at 10:31