Debian Programming :: Emacs And ECB Missing Python Methods In Methods Window
May 12, 2014
I work with python and I use emacs as my IDE tool. I have been running Debian Squeeze (6.0.9) for some time now with emacs 23.2.1 and ecb 2.32. I am able to access my python methods in the ecb-methods window with no problems. However I recently upgraded my desktop to Debian Wheezy (7.5) running emacs 23.4.1 and ecb 2.40 but I have lost access to the methods in the ecb-methods window. The window is just empty while the others (directories, sources and history) are all populated. I have a second laptop which I decided to upgrade to Debian Jessie, however Jessie recommends emacs 23.4.1 which is running with ecb 2.40 also. The result is the same as on Wheezy.
I have used the ecb menus and googled for a solution or even just a mention that such a problem exists but have come up with nothing. Either I have a unique situation here or am doing something really dumb.
I would like to upgrade to Wheezy or Jessie but I need access to methods in the ecb methods window. How to keep my upgrade and see the methods in the methods window of the ecb system ....
View 0 Replies
ADVERTISEMENT
Apr 15, 2011
python can get anylink or any tutorials which is having few basic eg. and could help as a guide too. bcaz whatever now i have like "byte of python" which i feel difficult bcaz it lack in having eg. for modules of xml.so please help me by providing any better options
View 1 Replies
View Related
Jan 14, 2011
I have to execute certain commands (like shutdown Tomcat) on several servers so I'm using a loop and ssh. I put the server's IP on a CSV file which I parse, execute the commands for each line and send the output to a file. The problem is that after processing one line the program stops execution. I wonder if someone could lend me a hand with this, I'm new in bash scripting and I ran out of ideas.
The CSV (servers.csv) file looks like this:
Code:
192.168.254.5:Server 1
192.168.254.6:Server 2
...
And the script looks like this:
Code:
#!/bin/bash
while IFS=: read ip name
do
sshpass -p "pass" ssh -o "StrictHostKeyChecking no" root@"$ip" 'sh <CATALINA_BASE>/bin/shutdown.sh' >> output.log
done < servers.csv
View 1 Replies
View Related
Aug 23, 2010
I am trying to develop a method of reading files generated by other programs. I am trying to find the most versatile approach. I have been trying bash, and have been making good progress with sed, however I was wondering if there was a "standard" approach to this sort of thing. The main features I would like to implement concern reading finding strings based on various forms of context and storing them to variables and/or arrays. Here are the most general tasks:
a) Read the first word(or floating point) that comes after a given string (solved in another thread)
b) Read the nth line after a given string
c) Read all text between two given strings
d) Save the output of task a), task b) or task c) (above) into an array if the "given string(s)" is/are not unique.
e)Read text between two non-unique strings i.e. text between the nth occurrence of string1 and the mth occurrence of string2
As far as I can tell, those five scripts should be able to parse just about any text pattern. I am by no means fluent in these languages. But I could use a starting point. My main concern is speed. I intend to use these scripts in a program that reads and writes hundreds of input and output files--each with a different value of some parameter(s).
The files will most likely be no more than a few dozen lines, but I can think of some applications that could generate a few hundred lines. I have the input file generator down pretty well. Parsing the output is quite a bit trickier. And, of course, the option for parallelization will be very desirable for many practical applications.
View 14 Replies
View Related
Mar 26, 2011
After much searching and trying of more complicated methods for changing the GRUB-PC background image, i found method that seems to work. The simplest one! I installed grub2-splashimages, which created a new folder in /usr/share/images, called grub. From there it appears to be as simple as adding the image of your choice, then adding "GRUB_BACKGROUND=/usr/share/images/grub/your_image" to "/etc/default/grub" file, the running "update-grub", of course.
Only problem is it doesnt work for the image i really want. So my question: What qualities should an image have if it is to be successfully used as a GRUB-PC (GRUB 2?) background? I have read that you do not need to resize the image anymore, indeed i tried resizing it to match the size a default image form the "/usr/share/images/grub" folder , and saving it with the extension .tga in Gimp and it did not work. The image i want to use is quite large, it is also black and white/grey-scale and in the .png format.
View 14 Replies
View Related
Feb 13, 2010
Is there any other different new downloading methods on ubuntu besides torrents? I know newsgroup I used it on windows but anything for free? I've tried the free newsgroup server with sabnzbd but those are useless now since they don't work. I was reading about rss feed nzb downloading? how does that work?
View 2 Replies
View Related
Aug 18, 2010
No matter what I do, i cannot get port 3100 to open. This is for a new MMO i am CBT on. I know it works on windows because that is how I installed it and played. But I prefer being on Linux. Majority of all other MMOs work fine. Just this one has to have udp 3100 open.
The following is a rough output of all the methods I have tried with no success. As you can see I have done some extensive research first before posting here.
Now its become a lil bit of an obsession.
I cannot get the following command to work:
And yes I tried the "spaces" in different places thinking that was the prob. So i cannot see if 3100 is in the list or not
I eventually turned on the firewall "ufw enable" add the port there, and output:
Some references
[url]
Firewall stuff: [url]
I even manually went into the router and turned it on there.
I add these lines for startup purposes.
Do I need to do something in "wine" ?
I feel i am starting to repease myself
results of "iptables -L"
Code:
View 4 Replies
View Related
May 11, 2011
I have just installed ubuntu 11.04. Now I have installed, from the language support, the bengali language. And now select input method as ibus. Now when I am going to ibus preference to select input method, it is not showing any language, except chinese, which was installed by default. I am using ubuntu 11.04X64 bit version
View 2 Replies
View Related
Jun 2, 2011
I switched to pure LXDE desktop in my Ubuntu and now my Keyboard Input Methods dialog doesn't show up. When I click on the menu item nothing happens. The Preferences menu item in the keyboard icon in the panel doesn't work either.
View 9 Replies
View Related
Dec 19, 2010
first of all: I am not sure, if this is the right forum, as I don't know, if it is Slackware-relatedm, or if it is a general thing affecting other distros with KDE, as well. If the latter is the case, please let me know, where to post this (Linux Software or Linux Desktop forum?). BTW, I am on Slackware64-13.1 (stable). Currently, I am trying to copy all my music CDs on a harddisk. I thought, this would be a very simple thing to do, but whatever I do I run into another issue.
[Code]...
View 14 Replies
View Related
Jul 22, 2010
Recently, my fraternity decided to use our LAN to stream media to our various bars, lounges and ballroom. Some of our playback devices, including an iPhone and a laptop, broke during a party, which is why we decided to have portable devices replaced with sturdy, interchangable and fixed hardware.
As this is going to cost some money and effort, we had better make a fully thought-through plan, which I am in charge of. Still, having never organized a project of any measurable magnitude, I would rather have this plan commented on here.
So far, I am planning to buy one central PC (2GHz, 512 MB RAM) acting as a server, and four identical PCs (1GHz, 256 MB RAM) acting as clients. The former would a) provide local files, stored an an external encrypted hard drive, and b) act as a NFS and SMB client to private systems in the same LAN to incorporate (and forward) data stored on those (as to provide one central point to change the configuration for their use). Futhermore, it would host /etc, /usr and /home of the individual clients to provide that at all times, the same software and drivers are used on all of them. The clients then would mount /etc, /usr and /home from the server, alongside with the both the directories on its external HDD and the ones it had itself mounted from other PCs. Each of them would have to be able to play back music, video files and terrestrial TV from a USB stick, with at most two of them doing so at a time.
Is this a realistic scenario? I so, would you have any recommendations for changes and could you point out pitfalls? The whole lot would have to be rather secure, as usually, there are lots of people coming and going, and we don't want our private data corrupted. If not, where did I go wrong? How would you yourself build a system like that?
And last, what software would you use? Is there a window manager which would be able to act solely as a means to display the three icons needed for TV, video, and music, and make it impossible to tamper with the system? And what programs would you use for playback to ensure maximum performance?
P.S.: Not that I'd suspect so, but is there a german lawyer present? Provided the individual files we play are in our legal posession, this is a legal scenario, isn't it? There would only be friends and other frats present at any public display.
View 3 Replies
View Related
Feb 13, 2010
In Windows environment when I used Borlan for C/C++ compilation, I was used to find the the scope/definitions of the methods/classes by pressing
Code:
ctrl + F1
when the cursor was hovering on that method/class. How can I find the scopes/definitions in the GNU/Linux?
Code:
//atoi.cc
#include <iostream>
main(int argc, char* argv[]) {
float var_float = atof(argv[0]);
[Code]....
View 5 Replies
View Related
Mar 1, 2011
I keep getting the above message when trying to login to my server using a private key,is there something I am missing from the configs here?Quote:
#$OpenBSD: sshd_config,v 1.73 2005/12/06 22:38:28 reyk Exp $
# This is the sshd server system-wide configuration file. See
# sshd_config(5) for more information.
[code]...
View 8 Replies
View Related
Oct 18, 2010
I'm trying to run a command or rather a shell script provided by a vendor that installs its products. The script is "installscape". After running the script, the command prompt returns, a window for installscape pops up but immediately closes. No other messages or notification is provided. This used to work on this machine, so I'm being told by the vendor that it's my OS install. Is there any way I can get more visibility into what's going on as I run this?
View 1 Replies
View Related
Jan 19, 2011
Quickly the software sources are broken apparently. the apt.... -f failed to fix it, the synaptic version of fix broken.... fails here is the output in terminal.
Code:
View 1 Replies
View Related
Nov 20, 2010
Are there any tricks/sites/methods to use the linux man command in a more convenient way? I love commands in terminal but for some strange reason I preferred to type man in firefox then in the terminal. The output is so long and I have to scroll forever to find what I need. Also the lack of example is a headache.
View 4 Replies
View Related
Feb 15, 2010
I run some IT systems for my schools Engineering student organization.
We are upgrading our systems and I just purchased a new server system which I am configuring.
I am using Ubuntu 10.04 Lucid Lynx and the new likewise-open packages.
The points I bring up following this sentence are to fulfill this final goal : Get SFTP, SSH, and Network Share's over our private network all using the schools Active Directory for auth and it's groups to derive privs.
So... Here's what i've done and what i've tried to do.
1 ) I set up likewise-open and got it to join the domain. When I do this I can ssh to localhost as 'schoolnetworkADname'. So that part works (hurray). To get a network share to use these same auth methods I have tried installing likewise-open-server. Everything launches find and the daemons run, but when I go into computer management on a windows server to set up the actual shares, I get permission denied. The account it is giving permission denied to is the same AD account that join likewise-open to the network, so... what is going on.
2 ) Samba, fail. I can't seem to get samba to run on this machine at all, which is strange because even my Samba expert was puzzled. It just won't let Samba join the domain properly, and due to this, I want to keep on the newer likewise package... unless I have to switch to this.
How I can get the lame likewise-open-server to work?
View 1 Replies
View Related
Jul 14, 2010
So I have forgotten my password, like a moron, and have been trying to reset/recover it.
I have found the plethora of sites giving instructions on how to reset my password, such as psychocats.net
So have gotten into the root shell and this is what I type.
ls /home
(gives me the name of my account)
passwd (my account here)
unknown user (account name here)
I have also tried doing the editing the boot kernel.
I add this: rw init=/bin/bash
Once I restart I get the root@(none) command prompt. Then I type passwd (username here) and get back ' unknown user
View 9 Replies
View Related
Oct 17, 2010
I'd like to make a few changes to the keymap; disabling caps lock and a few other changes. First I tried what has worked before:
editing /usr/share/X11/xkb/symbols/pc
and commenting out a line there:
// key <CAPS> { [ Caps_Lock ] };
But changes in the xkb-files apparently only takes effect after login, and this particular system is set to autologin (i.e. it only works after I log out and log in again, not right after a reboot). I also tried putting
xmodmap -e "clear Lock" in one of the shell's startup-files (/etc/zsh/zshrc) No luck with that either. The above command works fine if I manually type it at the prompt, but for some strange reason it won't work in the shell startup script (and I know it has been executed since the lines before and after it in the script work fine).
View 1 Replies
View Related
Nov 27, 2010
I've created encryption systems on servers, but nearly always I have stored the password somewhere on the machine itself. The file is always 0600 to the relevant user, but a systematic analysis of my system could easily find the scripts that invoke decryption and discover the password. (The most blatant example of this is mounting SMB shares with the "-o credential_file" option where both the username and password are plain-text. In the cases where I've used this, the security of the share hasn't particularly mattered.)
Soon I might be faced with storing "patient health information" (PHI in the healthcare world) whose privacy is heavily regulated by the provisions of the US law called HIPAA. I've been thinking about creating an encrypted partition to hold the PHI, but I need a highly fault-tolerant method for obtaining the key from a different machine than tha server itself. At first, I thought about running a script using scp and shared keys to copy the key from the remote, use it to decrypt the partition, then erase it. I'd like to be able to do this with a pipe; otherwise I'll write the key in a non-persistent location like /dev/shm.
I need more than one machine to make this work to ensure I can obtain the key when needed (like at boot). One solution is to place copies of the key on multiple servers and try each of them until I find it. A more elegant solution would place the key in a DNS TXT record. I suspect I could use LDAP for this as well, but OpenLDAP and I have never really been on speaking terms. So does this make sense? I presume I can write a bash script to do all this at boot. Most of what will be stored in this partition is the PostgreSQL database in /var/lib/pgsql and perhaps some other files.
My understanding of encrypted file systems is that they are only encrypted when unmounted. When mounted they must be as visible to the operating system as an unencrypted partition. I suppose you could apply encryption to every single disk transaction, but that would require knowing the key all the time, and would seem to add a lot of overhead.
View 1 Replies
View Related
Jan 3, 2011
I installed 10.10 on my machine a few months ago and everything was great. However, as of one month ago, every so often when I boot up my computer I get no sound in Ubuntu. This is not an easily reproducible error, as far as I can tell, but is a pain to fix. The previous times this happened I messed around, tried some commands shown in other help threads, and then eventually re-adjusted the "Profile" setting for the output devices in the "Sound Preferences" utility, which brought back the sound. I have never conclusively been able to determine the source of the problem, or how to resolve it. Now it is happening again and I have been unable to restore the sound with my primitive methods.
I just came back to the tiny village where I live to be near my workplace, and am missing my family - I just want to eat my dinner and watch some Buzzcocks with sound* - can anyone help please? Ideally I'd like to identify the source of the problem, fix it, and make sure it does not happen again.
During my travels of the forums I came across a troubleshooting script thing which I ran. The output, if it is of any use, is located here:[URL]...*Alright, this is a bit melodramatic, but the alternative is booting up in Windows, and no-one wants to see that happen,
View 9 Replies
View Related
May 2, 2011
how to get IBus input methods to work in Adobe Flash Player? I want to type foreign characters in SharedTalk, a language exchange website which unfortunately runs entirely on Flash, but pressing ctrl-space to activate IBus does nothing and I can only type in Latin characters.
Or if it's possible by using something other than ibus, I'd also be interested.
I did a search but I can only find threads like [URL]this which refer to older Flash versions and claim that it's fixed now.
View 1 Replies
View Related
Dec 17, 2010
I've recently installed Ubuntu 10.10 on my laptop -- clean HD, no other partitions.
(It's odd, though; when I go to System -> About Ubuntu, it tells me I have version 11.04 Natty Narwhal.)
Anyhow, when switching on my laptop, a short drumming sound effect can be heard when the login prompt appears on the GUI.
There are numerous threads on the Internet explaining various methods to disable this. I have done everything as instructed in these threads to no avail, including:
1) System -> Administration -> Login Screen -> Unlock -> [enter password] -> make sure "Play login sound" is unchecked (it was already) -> Close
2) System -> Preferences -> Startup Applications -> uncheck "Gnome Login Sound" -> Close
3) System -> Preferences -> Sound -> Sound Effects -> Alert volume -> check "Mute" -> Sound theme -> No sounds -> Close
It's foolproof, really. Nevertheless, when restarting the computer, the drum sound is heard again at the login prompt.
I realize I can simply find and delete the sound files, but isn't that a bit harsh? Surely there must be a more elegant way to silence the login.
View 3 Replies
View Related
Jan 27, 2011
I need to do a pentest on a Microsoft IIS webserver to test the efficiency of the HIPS i have installed on. methods to simulate attacks so that i can check if the HIPS will detect them?
View 4 Replies
View Related
Apr 30, 2010
Does anyone know or have a book on the advanced uses of kickstart and its deployment methods? I have a challenge and its to: Write a report with a full and detailed analysis of the two methods,(remote installation methods of linux and windows) their differences, and a comparison of features and performance.
I am also going to have two servers (one Windows one Linux)thay deploy a virtual network of VMs with different scopes and policies. What can i really do to go beyond the scopes and policies?
View 1 Replies
View Related
Nov 18, 2009
When I install I never select language support other than English, yet the system gets loaded with a bunch of fonts and input methods for various Eastern languages and I spend time taking them out.Why are they getting installed at all?
View 7 Replies
View Related
Jan 9, 2010
I'm not sure wether this is the correct forum for this, but this is the best place I can see at the moment, so I'll give it a try. Please redirect me if I'm mistaken.Running Suse 11.2, I have a RAID-5 device mounted, and a straigt disk. I want to copy data from the straigt disk to the array, using several methods: with Dolphin, with cpio. Copying runs for some time, sometimes one or some files are copied indeed, but after a short time (sometimes half a minute, sometimes 10 minutes or more) I get a
Message from syslogd@linux-wrth at Jan 9 22:44:03 ...
kernel:[ 381.602651] Oops: 0000 [#1] PREEMPT SMP
Message from syslogd@linux-wrth at Jan 9 22:44:03 ...
[code]....
View 2 Replies
View Related
Jun 8, 2011
I am trying to ssh a remote box from putty but I am getting following error. "No supported authentication methods available" I don't have access to the server so I must have make my ssh client compatible to ssh server. This is the trace from another client
[SSH] Protocol Version 2 (OpenSSH_5.3p1 Debian-3ubuntu6)
[SSH] Cipher: aes128-ctr
[SSH] FAIL: Unable to authenticate
[SSH] INFO: DISCONNECT
View 2 Replies
View Related
Feb 5, 2011
One of this is Linux software.Installing programs from various distribution's package repositories leads to using out of date versions. From this point of view Windows users have an advantage. They always have latest releases.So, I want to ask a simple question: what disadvantages do I have when use "compile form source" methods of installing software. Also it would be interesting to know what method is prefered for you. Imagine, that you want to install nmap. Latest stable version is 5.50. apt-get offers 5.21. What would you do?
View 2 Replies
View Related
Jan 2, 2010
I'm trying to use a flash drive to try to repair the Intrepid installation on my netbook.
when I drop to a terminal and try "sudo apt-get update" i get
Code:
sudo: unable to resolve host ubuntu
E: The method driver /usr/lib/apt/methods/https could not be found
E: The method driver /usr/lib/apt/methods/https could not be found
View 1 Replies
View Related