General
FURIOUS!!!!!
Started by joebataz on .
Sign in or create an account to join the conversation.
I just lost what amounts to four days work. I though I had lost just a couple of hours. This is a MAJOR BUG!!!!!!! An undo should not throw away the amount of stuff it just did. This could be a great product but not with an editor that doesn't accept line endings and undoes that wipe out enormous amounts of code. Whe I saw what had happened I tried closing without saving and opening another project. When I then went to load the hosed project it was a MAJOR disaster.
So much for a job I was looking to get with this app. NIce going
So much for a job I was looking to get with this app. NIce going
Hi
If you have lost four days work the problem is your Work Practices, not the Editor.
You need to save regularly and keep versioned copies of works in progress - no matter what you are doing.
I don't recall anything anywhere recommending the use of external editors and I would not recommend it.
You really should not have gotten yourself into this mess in the first place so accept some responsibility.
I really don' think we are responsible for your ability to get work . . .
Cheers
MM
If you have lost four days work the problem is your Work Practices, not the Editor.
You need to save regularly and keep versioned copies of works in progress - no matter what you are doing.
I don't recall anything anywhere recommending the use of external editors and I would not recommend it.
You really should not have gotten yourself into this mess in the first place so accept some responsibility.
I really don' think we are responsible for your ability to get work . . .
Cheers
MM
I save religiously, just not version after version after version. I'd have fifty versions a day. I do however save code of to an editor for manipulation and someone on this forum indicated that yes it is a bug. But pressing undo after entering a few word of code should NOT wipe the current object and other surrounding objects. I don't know who would think that;s acceptable. Yes I have all four days of code but must now paste it all back in and do the add CR which is really tedious. I reiterate; undo and editing need to work. If they blow up then let them blow up consistently but randomly wiping code from an object I'm not even working on is a major fopah.
never work with complicated templates at full moon.
No, seriously, you have to find a different approach. And remember all the good things that became possible with Lemur for iPad. I also once lost one night's work because of the file size limitation in the early version of the editor, but I was still happy to have Lemur that I dreamed of and thought I could never afford. We all should be very grateful to have access to it for such few coins. Not to mention that we all here belong to the 5% of world's population that have computers and iPads.
What I do when I have trouble with software, I just leave it for a couple of days and do something completely different. Taking a walk, visiting friends. And then, with fresh 'batteries', continue. This works always.
No, seriously, you have to find a different approach. And remember all the good things that became possible with Lemur for iPad. I also once lost one night's work because of the file size limitation in the early version of the editor, but I was still happy to have Lemur that I dreamed of and thought I could never afford. We all should be very grateful to have access to it for such few coins. Not to mention that we all here belong to the 5% of world's population that have computers and iPads.
What I do when I have trouble with software, I just leave it for a couple of days and do something completely different. Taking a walk, visiting friends. And then, with fresh 'batteries', continue. This works always.
Sorry about that. Indeed the undo/redo system doesn't apply to live text editing in the Script panel.
Save code in a text editor? Thats what I do
I do save text in an editor. I mentioned that somewhere above. But then try to paste it back in, especially if it's a couple of hundred lines. Try it!
For the developers:
A repeatable failure mode.
Write an if statement referring to a CustomButton; if(CustomButton.x == 1)..................
I try to give an indication of what the object is like naming a button PBxxxxxxxx. So we have a button that is named CustomButton and somewhere else we have code that refers to it. Now change the name of the button to PBCustomButton. Go look at the if statement and you now have:
if(PBPBPBPBPBPBPBPBPBPBPBPPBPBPBPBPBPBPBPBPBPBPBPPBPBPBPBPBPBPBPBPBPBPBPPBPBPBPBPBPBPBPBPBPBPBPPBPBPBPBPBPBPBPBPBPBPBP.....................
Didn't actually count the PBs but the code that used to be there is gone replaced by PBPB..........
Just an FYI.
Joe B
ps WHEN I get my template working to the point that it actually does what I want it to I'll release it. I see no reason to release something back to the community that will confuse them.
I also GREATLY APPRECIATE ALL THE HELP I'VE GOTTEN!!!!!!! I may not say it enough but I been coding for 30+ years and when I have something new to code with I tend to be like a kid with a new toy. If I've offended anyone, sorry, but that's about all I can say. If you think that I am too much of a jerk to talk to that's your choice
jb
For the developers:
A repeatable failure mode.
Write an if statement referring to a CustomButton; if(CustomButton.x == 1)..................
I try to give an indication of what the object is like naming a button PBxxxxxxxx. So we have a button that is named CustomButton and somewhere else we have code that refers to it. Now change the name of the button to PBCustomButton. Go look at the if statement and you now have:
if(PBPBPBPBPBPBPBPBPBPBPBPPBPBPBPBPBPBPBPBPBPBPBPPBPBPBPBPBPBPBPBPBPBPBPPBPBPBPBPBPBPBPBPBPBPBPPBPBPBPBPBPBPBPBPBPBPBP.....................
Didn't actually count the PBs but the code that used to be there is gone replaced by PBPB..........
Just an FYI.
Joe B
ps WHEN I get my template working to the point that it actually does what I want it to I'll release it. I see no reason to release something back to the community that will confuse them.
I also GREATLY APPRECIATE ALL THE HELP I'VE GOTTEN!!!!!!! I may not say it enough but I been coding for 30+ years and when I have something new to code with I tend to be like a kid with a new toy. If I've offended anyone, sorry, but that's about all I can say. If you think that I am too much of a jerk to talk to that's your choice
jb
Hi
If you have not already , please send a detailed bug report to support@liine.net *edit: .net not .com
I am pretty sure I have noticed it properly 'refactor' code but had not seen this behaviour
It seems to apply to scripts at root level of project in particular . . .
cheers
MM
If you have not already , please send a detailed bug report to support@liine.net *edit: .net not .com
I am pretty sure I have noticed it properly 'refactor' code but had not seen this behaviour
It seems to apply to scripts at root level of project in particular . . .
cheers
MM
MM,
I went right to the source and edited the jzml directly. Have to be careful but it works. Where are the logs at? The Apple logs already got sent.
joeb
I went right to the source and edited the jzml directly. Have to be careful but it works. Where are the logs at? The Apple logs already got sent.
joeb
Yes the scripts were at the root level.
Thanks!
Joe B
Thanks!
Joe B
Hi
Logs are usually available via Console app in Utilities . . .
or in ~/Library/Logs . . .
MM
Logs are usually available via Console app in Utilities . . .
or in ~/Library/Logs . . .
MM
an easy reproducable glitch.
B.
yupp, this is actually true. happened to me a lot, only workaround is to not rename your objectstry to give an indication of what the object is like naming a button PBxxxxxxxx. So we have a button that is named CustomButton and somewhere else we have code that refers to it. Now change the name of the button to PBCustomButton. Go look at the if statement and you now have:
if(PBPBPBPBPBPBPBPBPBPBPBPPBPBPBPBPBPBPBPBPBPBPBPPBPBPBPBPBPBPBPBPBPBPBPPBPBPBPBPBPBPBPBPBPBPBPPBPBPBPBPBPBPBPBPBPBPBP.....................
Didn't actually count the PBs but the code that used to be there is gone replaced by PBPB..........
Well I actually found a better way (for me anyway) but I'm sort of a workaround guy and generally fearless with code. It's also helped me get around a LOT of the editor issues. I just edit the jzml file directly.
LET ME REITERATE! THIS IS NOT FOR THE FAINT OF HEART AND IS PROBABLY NOT RECOMMENDED BY THE DEVELOPERS. Since I've been writing code for 30+ years I'm comfortable with my skills doing this.
I also have about 30 copies of the jzml file so if I screw up I can go back. But I now have a powerful editor, I use BBEdit, and it gives me the ability to do a lot of things that I'd never be able to do in the Lemur editor simply because I have a bunch of AppleScripts setup to do things for me (like generate consecutively numbered variables and VERY specific find and replace operations).
I have asked a ton of questions and will shortly pay the community back by releasing my template. It's pretty specific to what I do for fun but if anyone is doing DMX using the ENTTEC DMXIS they're gonna LOVE this template.
Thanks for the response!
Joe B
LET ME REITERATE! THIS IS NOT FOR THE FAINT OF HEART AND IS PROBABLY NOT RECOMMENDED BY THE DEVELOPERS. Since I've been writing code for 30+ years I'm comfortable with my skills doing this.
I also have about 30 copies of the jzml file so if I screw up I can go back. But I now have a powerful editor, I use BBEdit, and it gives me the ability to do a lot of things that I'd never be able to do in the Lemur editor simply because I have a bunch of AppleScripts setup to do things for me (like generate consecutively numbered variables and VERY specific find and replace operations).
I have asked a ton of questions and will shortly pay the community back by releasing my template. It's pretty specific to what I do for fun but if anyone is doing DMX using the ENTTEC DMXIS they're gonna LOVE this template.
Thanks for the response!
Joe B
This is a known bug and has been fixed for the next point release.dbk wrote:yupp, this is actually true. happened to me a lot, only workaround is to not rename your objectstry to give an indication of what the object is like naming a button PBxxxxxxxx. So we have a button that is named CustomButton and somewhere else we have code that refers to it. Now change the name of the button to PBCustomButton. Go look at the if statement and you now have:
if(PBPBPBPBPBPBPBPBPBPBPBPPBPBPBPBPBPBPBPBPBPBPBPPBPBPBPBPBPBPBPBPBPBPBPPBPBPBPBPBPBPBPBPBPBPBPPBPBPBPBPBPBPBPBPBPBPBP.....................
Didn't actually count the PBs but the code that used to be there is gone replaced by PBPB..........