Giter Club home page Giter Club logo

sublimezilla's People

Contributors

carlwhittick avatar iedev1 avatar marchetb avatar vallovic avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

sublimezilla's Issues

utf-8 ( non ascii ) characters in passwords not working

Traceback (most recent call last):
  File "/opt/sublime_text/sublime_plugin.py", line 797, in run_
    return self.run()
  File "/home/radist/.config/sublime-text-3/Packages/FileZilla SFTP Import/SublimeZilla.py", line 24, in run
    self.quick_panel()
  File "/home/radist/.config/sublime-text-3/Packages/FileZilla SFTP Import/SublimeZilla.py", line 27, in quick_panel
    server_names = self.get_server_names()
  File "/home/radist/.config/sublime-text-3/Packages/FileZilla SFTP Import/SublimeZilla.py", line 166, in get_server_names
    self.servers = self.get_server_entries()
  File "/home/radist/.config/sublime-text-3/Packages/FileZilla SFTP Import/SublimeZilla.py", line 220, in get_server_entries
    PassValTmp = base64.b64decode(PassVal).decode('utf-8')
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd4 in position 0: invalid continuation byte

Error on OSX Maverick

See #5 (comment)

Traceback (most recent call last):
File "./sublime_plugin.py", line 339, in run_
File "./SublimeZilla.py", line 14, in run
File "./SublimeZilla.py", line 113, in get_xml
TypeError: cannot concatenate 'str' and 'NoneType' objects

Unfortunately I do not have access to the mentioned OS. Perhaps @vallovic can assists?

Confused about the status of this package

I've spent hours with this plugin. It looks like it was never finished.

  1. "SFTP" isn't the correct foldername for the package over Windows, it's "FileZilla SFTP Import".
  2. default config doesn't ever seem to be written, requires manual save using the first config created for a project.
  3. sftp-config.json for a project needs to be written manually, OK, but it's not read back anywhere.
  4. The check for self.set_sftp_config() is made in server_chosen after it already determines that the config file doesn't exist and it bails.
  5. If we save a file in a project under projectroot\folder1\folder2\name, I'm not sure from looking at the code that the file is uploaded to remotepath\folder1\folder2\name.

So, what's up with this plugin? Or ... please tell me where I'm missing the details noted here.
(Might be an opportunity to update the README.)

If I'm correct about all of that, I've made a number of changes to accommodate those issues, and I will submit a PR at some point when I've verified the changes. But for now it looks like it's going to be a while before I get that done.

Thanks!

Running error

"Traceback (most recent call last):
File "C:\Program Files\Sublime Text 3\sublime_plugin.py", line 526, in run_
return self.run()
File "C:\Users\anale_000\AppData\Roaming\Sublime Text 3\Packages\FileZilla SFTP Import\SublimeZilla.py", line 22, in run
self.quick_panel()
File "C:\Users\anale_000\AppData\Roaming\Sublime Text 3\Packages\FileZilla SFTP Import\SublimeZilla.py", line 25, in quick_panel
server_names = self.get_server_names()
File "C:\Users\anale_000\AppData\Roaming\Sublime Text 3\Packages\FileZilla SFTP Import\SublimeZilla.py", line 164, in get_server_names
self.servers = self.get_server_entries()
File "C:\Users\anale_000\AppData\Roaming\Sublime Text 3\Packages\FileZilla SFTP Import\SublimeZilla.py", line 210, in get_server_entries
if Pass[0].firstChild is not None:
IndexError: list index out of range
"
sublimezilla is not running. This is message.
no pop up and not happen anything.

what can I handle this??

List of servers not appearing - linux ubuntu

I tried to use the extension on Linux Ubuntu, Sublime text 2, filezilla 3.6.0.2.
The extension is installed, I fire it up, I see the default path to the sitemanager.xml path, I choose enter to accept, and... nothing happens. No server list is coming up, no error message.
The path and file name are correct, and the server details are in that file.

sitemanager.xml not found and SublimeZilla.sublime-settings missing

On Mac OS Sierra I can't import my FileZilla servers. The alternate location instructions didn't help. It says "A new file will have been created in /Packages/User/SublimeZilla.sublime-settings and it will contain a path to the default FileZilla DB" but I don't have that file..

Windows XP Compatibility

Hey, just a heads up that SublimeZilla doesn't work on Windows XP because it has a different folder structure.

The issue is that the sitemanager.xml file is located at C:\Documents and Settings[USER_NAME]\Application Data\FileZilla\sitemanager.xml .

When attempting to launch SublimeZilla, it pops up the error at line 127:
"File sitemanager.xml not found. Is FileZilla installed?".

So my temporary solution was to change line 117 to:

default_xml = user_home + os.sep + "Application Data\\FileZilla\\sitemanager.xml"

Although I'm sure you could create a more elegant solution by checking the operating system.

Anyway, just wanted to let you know.
Thanks for the great plugin!

IndexError: list index out of range on Windows 7 + ST3

Couldn't execute the plugin in Windows 7 with ST3.

Error was IndexError: list index out of range on the if User[0].firstChild is not None:, line 208.

Had to update to if len(User) > 0 and User[0].firstChild is not None: for it to work.
Just to let you know. Great plug, thanks.

error if pass node is empty in sitemanager.xml

Hi
I got an error in get_server_entries function:
https://github.com/ment4list/SublimeZilla/blob/master/SublimeZilla.py#L170-L171

It was because I had one entry in my Server List wich has an empty Pass Node in it. I assume this can be a normal thing if you working with Filezilla and SSH keys.

I changed the code a little bit. This worked for me...

Pass = server.getElementsByTagName('Pass')
if( Pass[0].firstChild is not None ):
    PassVal = Pass[0].firstChild.nodeValue
    server_obj["password"] = str(PassVal)
else:
    server_obj["password"] = ""

Thx for this nice Sublime Plugin!

Unable to run SublimeZilla

I am unable to open SublimeZilla with "ctrl+alt+z" or by clicking "SublimeZilla" in the Tools menu.

Below is the error that is showing in the Sublime Text 3 console:

Unable` to open /C/Users/[UserName]/AppData/Roaming/Sublime Text 3/Packages/Default/Default (Windows).sublime-keymap
Traceback (most recent call last):
  File "C:\Program Files\Sublime Text 3\sublime_plugin.py", line 1052, in run_
    return self.run()
  File "C:\Users\[UserName]\AppData\Roaming\Sublime Text 3\Packages\FileZilla SFTP Import\SublimeZilla.py", line 28, in run
    self.quick_panel()
  File "C:\Users\[UserName]\AppData\Roaming\Sublime Text 3\Packages\FileZilla SFTP Import\SublimeZilla.py", line 31, in quick_panel
    server_names = self.get_server_names()
  File "C:\Users\[UserName]\AppData\Roaming\Sublime Text 3\Packages\FileZilla SFTP Import\SublimeZilla.py", line 178, in get_server_names
    self.servers = self.get_server_entries()
  File "C:\Users\[UserName]\AppData\Roaming\Sublime Text 3\Packages\FileZilla SFTP Import\SublimeZilla.py", line 258, in get_server_entries
    if RemoteDir[0].firstChild is not None:
IndexError: list index out of range

I am running the latest version of both Sublime Text 3 (3.2.2) and FileZilla (3.47.1).

Any ideas?

Thanks.

Can't find SublimeZilla.sublime-settings

i'm try to use sublimeZilla 3 on osx 10.11
i have to installa manually (i put the sublime-text package into Packages folder) because i can't find the package into Package Controll. If i click on tools--> SublimeZilla i get this advice:

"File sitemanager.xml not found. Is FileZilla installed?

If the sitemanager.xml file is located elsewhere please see https://github.com/ment4list/SublimeZilla#alternate-locations"

i think this i due to the fact that i use filezilla with sitemanager.xml as a symlink, the original is on my cloud folder (google drive). For this way i try to edit this file /Packages/User/SublimeZilla.sublime-settings to add the original path manually but i can't find this file under /Packages/User

can someone help me to understand what's the problem?

Nothing happens from Tools | Sublime Zilla or Ctrl+Alt+Z

I'm looking forward to using your plugin as it will save me a lot of time.

After installing it into ST2 via Package Manager, I restarted ST2 and tried to run it but got no response. When I checked the ST2 console, I found:

Traceback (most recent call last):
File "./sublime_plugin.py", line 339, in run_
File "./SublimeZilla.py", line 14, in run
File "./SublimeZilla.py", line 110, in get_xml
TypeError: cannot concatenate 'str' and 'NoneType' objects

I'm running Lubuntu 12.04 with a standard FileZilla installation (even checked the location of the XML file to make sure and it matches the pattern used in SublimeZilla.py", line 110

Thanks in advance for any help you can offer.

Jeff.

Another Running Error

I'm using Sublime Text 3 on Ubuntu 14.04 LTS and getting this error:

Traceback (most recent call last):
File "/opt/sublime_text/sublime_plugin.py", line 535, in run_
return self.run()
File "/home/rafael/.config/sublime-text-3/Packages/FileZilla SFTP Import/SublimeZilla.py", line 24, in run
self.quick_panel()
File "/home/rafael/.config/sublime-text-3/Packages/FileZilla SFTP Import/SublimeZilla.py", line 27, in quick_panel
server_names = self.get_server_names()
File "/home/rafael/.config/sublime-text-3/Packages/FileZilla SFTP Import/SublimeZilla.py", line 166, in get_server_names
self.servers = self.get_server_entries()
File "/home/rafael/.config/sublime-text-3/Packages/FileZilla SFTP Import/SublimeZilla.py", line 220, in get_server_entries
PassValTmp = base64.b64decode(PassVal).decode('utf-8')
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb7 in position 1: invalid start byte

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.