473,772 Members | 2,965 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

*.py source file surprisingly deleted with Pydev/Eclipse. Who elseexperienced this ?

Hi folks developing with Pydev/Eclipse,

this is the second time in about half a year that the following
surprise bites me:

I've switched between some files in Pydev/Eclipse using the
FileNavigator, and when I want to go back to my last-edited *.py file,
it is missing.
No more in the FileNavigator, no more in the OpenFiles-List of the
Editor. Removed anywhere. Erased from the file system. Restorable from
the version control only.
Only a young orphan *.pyc file is sitting around, showing me I haven't
dreamed of editing the file two minutes before.
I'm sure I did no delete operations with eclipse, and I'm sure I did
not use another application than eclipse in the meantime.

No, I can't reproduce it, and I don't know whom to blame (Pydev?
Eclipse ? The File System ? A Virus that only 2 times in half a year
deletes a single file I'm busy working with, and seems to do nothing
else? Myself beeing schizophrenic ??)

Someone else already had this effect ?
Nebur
PS: Debian Etch 64Bit/JFS,Eclipse3.3, Pydev1.3.14.
Apr 4 '08 #1
8 1671
Are you using svn? I did have a problem once related to that (but it's
Hi Fabio,
No, there's no version control plugin. I use Mercurial, but externally
only.
I've considered a problem with version control, too.
But all external reasons (file sytem, virus, version control) seem
unplausible because when simply removing the file from file system,
Eclipse would complain about the missing ressource.
So I have 2 ideas only: A _very_ strange bug inside the Eclipse/Plugin
process, or something with my brain ;-)
Nebur
Apr 4 '08 #2
Nebur wrote:
No, I can't reproduce it, and I don't know whom to blame (Pydev?
Eclipse ? The File System ? A Virus that only 2 times in half a year
deletes a single file I'm busy working with, and seems to do nothing
else? Myself beeing schizophrenic ??)
A virus created to remind you 2 times in half a year of the importance
of backup operations ;-) . I'm joking. I don't know what is this, but
I'm interested. Because my files won't be restorable from version
control :-(
Apr 4 '08 #3
Yes. Linux viruses are rare but useful :-)
Well, I don't think the problem a very dangerous one. The Pydev/
Eclipse was used for much more than a year nearly daily and
intensively. The strange effect is very rare,obviously (plus the
chance that it's in my brain, as I mentioned ;-D ) so you probably can
lean back. Anyway, I'd be glad to get an even faint idea of the
problem.
Apr 4 '08 #4
En Fri, 04 Apr 2008 15:46:48 -0300, Alex9968 <no********@gma il.com>
escribió:
Nebur wrote:
>No, I can't reproduce it, and I don't know whom to blame (Pydev?
Eclipse ? The File System ? A Virus that only 2 times in half a year
deletes a single file I'm busy working with, and seems to do nothing
else? Myself beeing schizophrenic ??)
A virus created to remind you 2 times in half a year of the importance
of backup operations ;-) . I'm joking. I don't know what is this, but
I'm interested. Because my files won't be restorable from version
control :-(
Then implement it! It's not so difficult, less if you're the only one
working on the files.

--
Gabriel Genellina

Apr 4 '08 #5
On Fri, Apr 4, 2008 at 5:05 PM, Nebur <no************ ****@gmx.dewrot e:
Yes. Linux viruses are rare but useful :-)
Well, I don't think the problem a very dangerous one. The Pydev/
Eclipse was used for much more than a year nearly daily and
intensively. The strange effect is very rare,obviously (plus the
chance that it's in my brain, as I mentioned ;-D ) so you probably can
lean back. Anyway, I'd be glad to get an even faint idea of the
problem.
Hi Nebur,

Well, I have absolutely no idea of what could trigger that either :(

So, just wanted to point out that eclipse saves your file history
(even if you do not have a vcs)... that operation can be selected by
right clicking a parent folder and selecting 'restore from local
history'.

Cheers,

Fabio
Apr 4 '08 #6
Gabriel Genellina wrote:
En Fri, 04 Apr 2008 15:46:48 -0300, Alex9968 <no********@gma il.com>
escribió:
>Nebur wrote:

>>No, I can't reproduce it, and I don't know whom to blame (Pydev?
Eclipse ? The File System ? A Virus that only 2 times in half a year
deletes a single file I'm busy working with, and seems to do nothing
else? Myself beeing schizophrenic ??)

>A virus created to remind you 2 times in half a year of the importance
of backup operations ;-) . I'm joking. I don't know what is this, but
I'm interested. Because my files won't be restorable from version
control :-(

Then implement it! It's not so difficult, less if you're the only one
working on the files.
Implement what? The virus? I haven't said that I'm interested in virus,
I meant I'd like to know WHAT is this
Apr 5 '08 #7
So, just wanted to point out that eclipse saves your file history
(even if you do not have a vcs)... that operation can be selected by
right clicking a parent folder and selecting 'restore from local
history'.
Fabio, you are right; this feature should help to compensate ... but
in my case, the Eclipse said "No deleted ressources in local history
for selected container".
I'm not familiar with the Local-History feature (since using a vcs),
so it may be misconfigured. (The setting in Preferences/Workspace/
LocalHistore are at default: 7 days to keep files, 50 maximum entries
per file, max.file size 1MB - which should be enough. ). Hm.
Anyway, I don't see any idea how to track down what happened. So lets
close the thread and simply continue working.
* This is a good occasion to state that Pydev/Eclipse still is a very
efficient IDE in my opinion, and (aside from this mystery here) it is
perfectly stable for >>1 year now! This must be said, to correct any
potential misimpression.
Ciao,
Nebur
Apr 5 '08 #8
Implement what? The virus? I haven't said that I'm interested in virus,
I meant I'd like to know WHAT is this
No, this was a misunderstandin g. What we meant was:
when you want to implement a virus, you should use a version control :-
D
Nebur
Apr 5 '08 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1091
by: Fabio Zadrozny | last post by:
Hi All, PyDev - Python IDE (Python Development Enviroment for Eclipse) version 0.9.8.4 has been released. Check the homepage (http://pydev.sourceforge.net/) for more details. Details for Release: 0.9.8.4
5
6397
by: John Henry | last post by:
I am back against the wall trying to migrate my multithreaded application from Python 2.3 to 2.5. The part of the code that's failing has to do with queues (2.3 queues and 2.5 queues are not the same). Since WingIDE doesn't support multithread debugging (they've been saying that one day they might support that - and that was 2003), I am starting to look for alternatives. debug under Eclipse/Pydev. I did a google search of this...
0
1457
by: WChunming | last post by:
Hi, I am a newbie to python and pypy. I choose to read pypy source code to learn about python and python library. But when I try to run pypy in debug mode in pydev, I got the following problem: /// error message begin pydev debugger Traceback (most recent call last): File "F:\TOOLS\eclipse\plugins\org.python.pydev.debug_1.3.4\pysrc \pydevd.py", line 754, in <module> debugger.run(setup, None, None)
0
972
by: Fabio Zadrozny | last post by:
Hi All, Pydev and Pydev Extensions 1.3.17 have been released Details on Pydev Extensions: http://www.fabioz.com/pydev Details on Pydev: http://pydev.sf.net Details on its development: http://pydev.blogspot.com Release Highlights in Pydev Extensions: -----------------------------------------------------------------
1
2841
by: RossGK | last post by:
Newbie questions on PyDev project setup. Things are going fine - writing python code in eclipse/pydev and running them with various imports etc, doing wxpython stuff blah, blah, blah. My .py code is in a module, in a package, in a project. It runs fine. Now I want to be able to break my single source file up into multiple files to segregate functions, divide up with others, etc, but I don't know how to configure it. I pulled one simple...
0
1121
by: Sells, Fred | last post by:
the short answer is a file is a module; therefore to 'include' access to 'myclass' in file xyz.py from another file called 'abc.py' you would put this in abc.py import xyz #note no '.py' x = xyz.myclass() or from xyz import myclass #if you're lazy use ... import * x = myclass()
0
1050
by: Fabio Zadrozny | last post by:
Hi All, Pydev and Pydev Extensions 1.3.18 have been released Details on Pydev Extensions: http://www.fabioz.com/pydev Details on Pydev: http://pydev.sf.net Details on its development: http://pydev.blogspot.com Release Highlights in Pydev Extensions: -----------------------------------------------------------------
0
1118
by: Fabio Zadrozny | last post by:
Hi All, Pydev and Pydev Extensions 1.3.23 have been released Details on Pydev Extensions: http://www.fabioz.com/pydev Details on Pydev: http://pydev.sf.net Details on its development: http://pydev.blogspot.com Release Highlights in Pydev Extensions: -----------------------------------------------------------------
0
1113
by: Fabio Zadrozny | last post by:
Hi All, Pydev and Pydev Extensions 1.3.24 have been released This is a high-priority release to fix some blocker bugs (that's why it was released in such a short time from the last release) Details on Pydev Extensions: http://www.fabioz.com/pydev Details on Pydev: http://pydev.sf.net Details on its development: http://pydev.blogspot.com
0
9454
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10104
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10038
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9912
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8934
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5354
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4007
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3609
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2850
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.