Sublime Text 2 FTP crashing - ubuntu-11.10

I'm running ubuntu 11.10 with a gnome-shell and sublime text 2 Beta Build 2180.
When I connect to an FTP server (with login) and I open a file with sublime text 2, I can edit it just fine, that is until I switch to another window. Then when I switch back sublime text 2 has frozen. No error message, it just stops responding.
Check Google, Sublime Text forums, to no avail.
Would love some help, it's important to me to be able to edit files over ftp. Work Arounds would be wonderful as well.

It's difficult to diagnose your problem from stackoverflow, since it's more Q&A and you seem to have a problem with a specific plugin. Your best bet is to contact Will Bond, the creator of the plugin. He will probably want a bug report [i.e. what was displayed in ST2's console (control+`), and any info to reproduce it.] Here's the support page for the plugin: http://wbond.net/sublime_packages/sftp/support

As a workaround for the problem, you can use FUSE (Filesystem in Userspace). It will allow you to edit files, like they are on your local machine.
Here is some description on how to setup FTP with FUSE:
http://linux.byexamples.com/archives/344/mounting-ftp-host-to-local-directory-on-top-of-fuse/

Related

Reliable 'testing' server fails to open XAMPP

I have had a testing server on my computer for a couple of years. I have been trying to open it today and nothing happens.
I have tried to open my antivirus and added xampp to my allowed applications.
I have XAMPP attached to my toolbar and when I click it to open there is an underline like on the other open programs but I'm not getting the normal screen.
Any help?
Thanks, Bill
Hello I didn't get any answers but I figured it out on my own and wanted to share the results.
I ended up having to uninstall the original version and reinstall a new one.
Everything works perfect now.
Thanks,
Bill

Netbeans only slow when copying and pasting?

My Netbeans has been insanely fast for over 2 years, until this morning. Something strange, however, is now happening. Every time i press "copy and paste" ... so CTRL-C, it goes slow. This is what I see:
So, the moment I press CTRL-C, that shows in the bottom, my entire machines goes into super slow mode, and then 5 seconds later it stops.
I've considered maybe there's a keylogger on my machine, but can't find anything. And it's only slow when I copy and paste from Netbeans, nothing else. Maybe Netbeans is sending data out some other way?
Any ideas why Netbeans would just go slow like this?
UPDATE
I only have one project open
I've disabled the git and subversion plugins
I am working on a Laravel project
It's slow when I copy from a VIEW or when I copy from a CONTROLLER (I know css files often go a bit slow because of Parsing, so I figured mentioning this is probably worthwhile)
I followed the advice at the end of this article: here and uninstalled "BlueStacks". Problem solved.
UPDATE
Just in case the article gets deleted, here is the advice the user gives on that page:
I meet the same problem. When I copy a word in the IDE, the IDE does not response until 2 or 3 seconds. I did not confront this problem until few days ago. I try to use the latest netbeans and the latest jdk, but that does not work. Then I find someone said http://bugs.java.com/bugdatabase/view_bug.do?bug_id=5078787 is the problem. And the problem is somewhat about the COM in windows. So I try to install the netbeans to another Win7 PC, and the problem is gone. In that case, I guess the problem is not the netbeans, but some other application in windows. Later I uninstall some of the application I just installed few days ago. And the IDE works right now. The applications I uninstalled is "imc studio" "imc license manager" and "blueStacks" an android simulator. I guess these application may have influence to the COM of Win7. Hope my solution will help to this bug.
You can also just stop the BlueStacks Agent process from Task Manager while you're using NetBeans.

Pylint in Sublime Text 2

So, I've been using Sublime for a while as a simple text editor, but I'm venturing into the land of plugins for work and I've run into an issue getting pylint to work. Specifically I have it installed and have the Sublime package manager working, but I'm not sure how to include paths in my sublime settings.
I haven't found very useful documentation on this point, but if you are willing to point me towards it that would be a perfectly acceptable answer. My basic issue is that currently every time I save a file, the following error message shows up:
"Please define the full path to 'lint.py' in the settings"
I understand this error message which is great, I just have no idea where the sublime settings are or what the standard format for defining a path is. Any help would be appreciated.
There are quite complete directions at the SublimeLinter GitHub page that should describe how to set everything up. Briefly, go to Preferences->Package Settings->SublimeLinter->Settings - Default to see where the different settings are defined. Then, open Preferences->Package Settings->SublimeLinter->Settings - User to change anything, as the main settings will be overwritten when the package is updated. Remember that settings files are in JSON format, so you'll need opening and closing curly brackets to enclose settings, and a comma between them:
{
"sublimelinter_delay": 30,
"sublimelinter_mark_style": "none"
}
I haven't gotten the error you have, are you sure you're using the regular SublimeLinter and not the new beta version? I just installed it fresh on my work machine (I've been using it for a while at home) and after restarting ST2 it's working like a charm with Python.
I had the same problem. I found it to be coming from the package "Pylinter". I removed Pylinter and added SublimeLinter, it covers more than python and is well used. I'm enjoying it quite a bit.
From your command line just run:
sudo easy_install pylint
sudo easy_install pep8
After that restart your sublime.
I encounter the same situation today. In my case, that is because I have not installed the 'pylint' in my system yet. It works fine after I installed the 'pylint' through pip.
Just for other people reference.

How to install Heroku on Windows?

I'm making a Facebook app with Heroku, I did as the instructions from heroku and facebook help pages, but then I got stuck after installing heroku-toolbelt. I opened cmd.exe, typed heroku as the instructions tell, but it results in an error as follows
C:/Program Files/Heroku/bin/heroku:15:in []': code converter not found
(UTF-16LE to Windows-1258) (Encoding::ConverterNotFoundError) from
C:/Program Files/Heroku/bin/heroku:15:in'
I don't know what is the problem, searching around for 1 whole day but there's no luck at all.
Maybe the reason is I'm only young and know very little....
Does anyone have an idea of what I am doing wrong?
There was another similar question asked on this site itself Unable to use Heroku from the commandline
But there, the chosen answer said something about going to the directory where the questioner has set up a folder for the app...
I am starting to have a headache...Can anyone please give me instructions step by step (if not, any other way is also ok).
If you use Windows 7, go to Control Panel --> Region and Language --> Administrate --> Change system locale... and change current system locale to English (Untied States).
And restart Windows.
It works fine!

autocomplete in a file without project in netbeans

Is it possible to activate full autocompletion without having the file added to a project?
Maybe with a plugin or any another modification?
I installed the plugin "remote file systems" for netbeans 6.9.1 (php)
(http://www.stoehrer.net/downloads/remotefs/nb-remotefs-0.1.3.zip) to access my linux server over ssh on my windows machine.
Autocompletion doesn't work with it - the files have to be in a netbeans project :(
I also tried the mounting tool "dokan" but sometimes it destroys a file when I save.
Other mounting tools work less well or just show my home folder.
Sorry for my english and thx for your answer.
coudnt solve the problem that way
so i used samba and add the files to a netbeans project
wasnt easy because for some reason
i have to use the ip path ("\\192.168.xx.xxx" and type my smbuser and the password)
to map the drive in windows
on my other pc i didnt need that. dont know why
bye guys
There is an open bug, or as they have called it, the umbrella issue #135222, to aggregate requests and ideas regarding how to
Improve support for editing files that do not belong to a project.
I have just added the suggestion of somehow allowing to define a classpath for files that don't belong to any project. I hope I can soon update this answer with a "there is a better way..." ;-)