Much ado about scripting, Linux & Eclipse: card subject to change

Showing posts with label notes. Show all posts
Showing posts with label notes. Show all posts

2007-11-12

Password Reset Hell

My Notes password expired on the weekend. November 11th, in fact. Apparently the 'lest we forget' messages about WWI and WWII this weekend made me forget about the triviality of my password expiry. Oops.

So, I logged in this morning to discover I couldn't get on my VPN network. Called lab IT support. Was told to talk call Corporate support, via the 888 number.

No, they couldn't just forward me there. No, there's no IVR automated option for 'Password reset' which auto-forwards my call there.

So, I called the 888 number, and got 4 options, none of which fit my problem. You'd think this would be a FAQ and thus merit a menu option, but apparently not.

Tried the "other resets" option, which tells me to use a website which I can't access because it's behind the VPN firewall. Woo, circles.

Backed up one menu and tried the password reset option for the old AT&T VPN client, which generated an email sent to me (which I can't access as I can't get on the VPN) and to my manager. Manager pinged acting manager, who pinged me on IRC. Thank the gods I managed to convince him to lurk in #eclipse-modeling!

End of story? Hardly. Password didn't work.

Called lab IT support again. Explained problem. Told to call the 888 number again, but this time pick 'Notes password reset' and then speak to a human. Why is 'VPN password reset' hidden under 'Notes password reset' in the IVR menu? Good question.

Called 888 again, chose the Notes option, and was told "for Notes password resets, go see the website ... or, if you tried that and it didn't work (way to instill confidence there), stay on the line and we'll let you talk to a human." (Yes, I'm paraphrasing.) Sat on hold about a minute. Got a human, who reset my password. Woohoo.

Manager pinged acting manager who passed it on to me and this time it worked. Logged into VPN. Story over? No, it gets better.

Fired up Notes. Notes password had expired (Notes has been nagging me for a week to reset my expiring password, but I didn't get any reminders about my VPN password's expiry, and had forgotten that they now expire on the same schedule). So, I can't check mail until reset the password. Used the new one so that they'd be in synch and expire together. All is well?

No, not yet. Checked mail. Found note with new *temporary* password in it, expiring in 24hrs. Damn, gotta pick a new one. Went to password reset website to set new password. Stored new password in password store for safekeeping.

Now I have to reset my Notes password again so that it's the same as the network one. Click File > Security > User Security. Prompted for password. Click Change Password. Prompted for password again. Why do I need to enter my old password three times (at login, to access security options, to change password) to change it? Good question.

An hour of productivity lost, including 4 phone calls and wasting the time of both my managers, just to reset a password. Must be Monday.

2007-10-25

Notes 7 vs. 8: Inbox Folder Warning Message Smackdown

In today's installment of my ongoing series on Lotus Notes' unique personality, I present a nuissance warning message that apparently means nothing and affects nothing. But it appears three times, just to make sure I'm sufficiently warned. Granted, it only appears if you do something really odd (like installing Notes 8 on top of Notes 7, which I'm sure is NOT a supported install method), then go back to using Notes 7. Still, it's pretty funny, for me at least.

Here's how you can play along at home:

  1. Install Notes 7 (WMC) on Linux
  2. Install Notes 8 on Linux (on top)
  3. Create a folder in your Inbox database (er, "application") with Notes 8
  4. Try to open that folder w/ Notes 7, and you get this warning message three times:


Not a member: GETPROPERTYBROKER
-- Clicking OK three times disposes the warnings,
and everything apparently works fine.
Thank goodness I was warned!

2007-10-19

Notes 8: The Good, The Bad, The YouTube Videos

Now that Ubuntu 7.10 is out, is it time to upgrade to Notes 8? Here's some random Notes 8 love:

2007-10-11

Notes 8: Dead by Dawn

After just under two months of loving and hating Notes 8's usability issues, it has died completely, the result of several hard drive crashes & unsolicited KDE logouts.

But in true Lotus fashion, Notes 8 leaves me with these hauntingly unhelpful messages:


This software has encountered a problem and needs to close
-- ok, but what problem?


Failed to login
-- makes sense given the previous error message
and the fact I wasn't asked to login,
but how is this helpful?

The only saving grace here is that because I installed Notes 8 on top of Notes 7, I can still run Notes 7 even though 8 is no longer functional. Of course the dictionary is now utterly corrupt so every email I try to send throws an error message until I disable spellcheck...


Error accessing User Dictionary File
-- why can't we just fail gracefully here
and skip the spellcheck with a warning?


Delivery Options... > Basic > [ ] Auto spellcheck
-- there's apparently no way to turn this off by default

... And I already miss the 'more addictive than crack' 'cached locally for better performance' 'not just the IBMers' typeahead name lookup functionality of Notes 8 (which I got addicted to thanks to GMail, and Lotus had the good sense to adopt too).

Still, at least Notes 7 is quasi-functional enough to make do until I have time to reinstall the whole thing from scratch, or Notes 8.0.1 is released next year, whichever comes first.

And really, I can't fault Notes (entirely) for its early demise. Then again, everything else on the machine works great despite the crashes... well, everything except:

  • Konqueror won't let me save bookmarks anymore.
  • I get unexpectedly logged out from KDE when I leave the machine alone for a while.
  • When left alone for long periods, sometimes the screen dies and the only way to ressurect it is with the klaatu verada nikto-like incantation of Alt-PrtSc-S, Alt-PrtSc-U, Alt-PrtSc-B.
  • My cursor will disappear after about 6hrs and only be visible on the secondary screen as a purplish narrow rectangle. Ever try using a mouse when you can't see the pointer? It's about as much fun as boxing with your computer.

Yes, it's so time to upgrade to a new OS.

2007-08-29

Consume this!

Muahaha. *snicker*

2007-08-27

Notes 8: Part 3: M'aidez!

After much digging and hacking I've found a number of places to go for help with the newest Notes offering. That's the good news. Usability score: +1

The bad news is that if you're like me and used to tracking bugs a la Eclipse Bugzilla or Sourceforge, you will be sorely disappointed with the options for bug reporting for Notes 8. Usability score: -1

I hate to bite the Big Blue hand that feeds, but there are much more efficient tools & processes to manage software development than the use of a discussion forum. Sure, it's a case of eating your own cooking +1, but I've used lots of Notes databases in my 8 years with IBM that were more user-friendly than this -1. Why is using Bugzilla (or sourceforge's tracker) such a big deal?

Well, for one thing, they're transparent, open source systems. For another, using a system like Bugzilla provides consistency across dev teams. Notes 8 is proudly 'built on Eclipse' +1 but hasn't adopted the Eclipse Way yet for issue tracking, so developers that work both sides of the fence (like myself) have to learn more than one system and in some cases, report issues in more than one place -1. So much for the mantra of 'do more with less'.

Anyway, here's a couple places to go for help, which it turns out are all linked from within Notes 8 itself under the Help menu (unless you're on the Getting Started page or a web browser tab, in which case they magically disappear) +1 -1.

  • Notes/Domino 8 Support Forum

    Well trafficked, but a bit of a pain to use -- cannot attach screenshots or log files without the use of some free service like imagebin.ca or pastebin.ca; cannot view an entire expanded thread in one page; follow-ups may be posted anonymously (as far as company name goes, anyway) so there's no enforced accountability; 4 different ways to search for my posts (only two produce results, albeit differently) +1 -4

  • Product Feedback Form

    This form proudly states "We value and review all comments, but cannot respond directly to them." +1 -1

Here's a few handy blogs +3:

Now, just in case it's perceived that I'm actively trying to embarrass or offend, I'm not. Let me clarify:

  • I blog to talk about things I like and things that bug me, with hopefully some balance between the two. By showing the things that bug me, it's my hope that those annoyances will be fixed, or that someone will share a hack / workaround, or prove me wrong. By talking about the things I like, I hope to encourage others to try those technologies or use a hack I've worked out. I'm a tester by nature, and I want software to work well. Think of me as the Penny Arcade of usability nerds, without the advertising, merch, comics, and clever dialogue. Oh, and the shipments of free software. And the write-ups in Wired. And 7-figure income. Yep, just like 'em.
  • I've signed up to be a Usability Tester for Lotus. Time will tell what that means.
  • And, as it's better than a boot to the head, I plan to hang out in the forum and try to help out as best I can. Of course this will also yield some of my own bug reports discussion topics from time to time, but it's all about balance.

As always, the contents of this site are my own and don't necessarily represent IBM's positions, strategies or opinions.

2007-08-20

Notes 8, Part 2: Great Personality

Today I decided to upgrade my mail template from Notes 7 to Notes 8:

  1. "Open" Menu > Favorite Bookmarks > Workspace
  2. Right-click your Mail icon (Your Name on Local).
  3. Application > Replace Design...
  4. Choose the Mail (R8) template.

After the update, I discovered some cool* new usability gotchas:

  • Inbox layout corrupted; had to restart Notes. Fine after restart. Question: if this is a "Built on Eclipse" tool, why not just prompt me to restart, like any other Update?

  • The option to default-sort my inbox in 'order arrived' appears to be gone.
  • When first opened, my inbox now shows me my 5 month old mail at the top of the box, rather than my most recent arrivals. Clicking the date column sorts in reverse, but puts the selection at the bottom of the box so I have to scroll back up to see today's mail. Oy.
  • I can't column sort up AND down anymore, just in one direction.
  • Down the left, the Folder icon & its accompanying text can be clicked to open... but only the icon can be clicked to close. The Tools menu, however, only opens/closes via the icon. In both cases, however, the cursor becomes a hand over the text even if clicking it does nothing.
  • If you scroll-wheel over the inbox scrollbar, it will move up and down without moving the inbox contents; scrolling in the inbox itself (not over the scrollbar, over the contents) does move the content (and the scrollbar too). Clicking and dragging the scrollbar also works. Related to this, I can scroll up and down in the SameTime contacts widget, but when I pick someone's name, it always jumps back to the top and I end up selecting a completely different person. (This seems to only happen after the initial startup; after that it's fine.)
  • In the screenshot below, note the completely useless tooltip telling me that my cursor is over the 'preview pane'. Uh, thanks.

zx suggested I have a look at the OS theme (File > Preferences... > Windows and Themes > Theme > Operating System Theme). I wonder if this ability to reskin SWT will be donated back to Eclipse one day. This is pretty cool, since it means I can reskin Notes by just changing my KDE preferences. Very cool.

Anyway, as I said the other day, I'm pleased with Notes 8, despite its usability gotchas great personality. It's the little touches that make the Notes experience so very unique. ;-)

* Why cool? Because while being odd, they're quirky enough to be entertaining, yet not annoying enough to be character flaws.

2007-08-18

Notes 8: Better Than Notes 7, Still Room To Improve

Notes 8 has been released, and because I know people who know how to get things, I've managed to score a copy to try it out. Compared to Notes 7 and its less-than-Linux-friendly forebears, Notes 8 is an absolute delight to install as an upgrade to Notes 7.

  1. Download zip & unpack
  2. $ sudo su
  3. # chmod +x setup.sh; ./setup.sh
  4. # exit
  5. $ /opt/ibm/lotus/notes
  6. Configure Notes (same as in Notes 7)

However, putting on my Usability Police hat...

  1. The installer still doesn't create a K-menu shortcut -- though that's a KDE-needs-to-reboot thing. It also doesn't create a desktop shortcut, presumably because RHEL and SLED (the officially-supported platforms) put their users' desktops in different places than the MEPIS/Kubuntu convention of ~/Desktop or because no one's ever thought to ask root where to create the .desktop file. Also, there's no notes.png for me to make my own shortcut, just a notes.ico (which can easily be converted with GIMP, but still).
  2. Databases are now called "Applications". Why? Search me -- after 8 years of using Notes mail & application databases, not enough people were confused by the concept, so it was time to rebrand. This begs the question -- if my mailbox is now my Mail Application, wtf is Notes itself? My Mail Application Application?
  3. I created a custom 'Home' page involving two frames -- Inbox & Calendar. It accepted it & saved it, but then didn't display it -- just the 'welcome to Notes' page. Then, I hit 'just give me the default' and my page appeared. *Weird*.

  4. Notes 8 still features the Workspace, but it didn't find any of my existing Notes 7 databases (even though they're referenced in the same folder), so I'm going to have to recreate all those all over again (as I did when moving from Notes 6 to 7). The good news is that the Workspace is now pretty much irrelevant because the "Open" menu / Bookmark Bar provides about the same functionality, without the ugly (albeit colourful) Workspace tabs.

  5. File > Import still only works with structured text and Lotus 1-2-3 spreadsheets. Why can't I migrate from an old Workspace or Desktop file to a new one?

Usability issues aside, here's some of the new features I discovered:

  1. Notes 7 was built on Eclipse 3.0.2. Notes 8 leaps ahead two years and is built on Eclipse 3.2.2, including EMF 2.2.2, GEF 3.2.2 and XSD 2.2.2. Strangely, it includes PDE and JDT too, not just the RCP and platform stuff. Why? No idea.
  2. Notes finally remembers non-Notes (Internet) addresses when composing an email!

  3. Browser settings are now global, rather than per-Location.
  4. The "Office" location is now called "Online", which contrasts better with the "Offline" location (previously called "Island"). Kudos on finally using the same terms as all other mail clients with this capability -- though I still prefer the way Netscape Mail (and now Thunderbird) handles the "Work online/offine" toggle, with its "plugged in / unplugged" icons.
  5. Preferences are no longer split into multiple submenus (File > Preferences > Location Preferences, File > Preferences > User Preferences) -- instead, they're in one centralized multi-page Eclipse-like Preferences dialog. However, File > Security > User Security is a still separate preferences page. Mail/Calendar settings are still done within that database (which makes sense because those are per-database, not global).
  6. I can run Notes 7 and Notes 8 at the same time -- which is handy because I have to manually recreate all my "Applications" in my new Workspace. However, running Notes 7 on the same desktop/workspace file messes up Notes 8 (see below).
  7. UPDATE: The SameTime (7.5.1) / Day-At-A-Glance / (RSS) Feeds sidebar rocks. Turns out that yes, you can break it apart (Open In New Window) or reorder the views, despite my previous comments. Oops. It also remembers where I left it (including detached SameTime window).
  8. The new "Open" menu can be modified by simply dragging shortcuts around to reorder them. How do you add a new shortcut/bookmark? Open some application/database and select Create > Bookmark, then put it in your "Bookmark Bar" (aka "Open" menu).
  9. There's a new "Show Thumbnails" button next to the new "Open" menu, which is a neat feature, but about as useful as the password entry box's distracting/changing "keychain" icon and "XXX = one typed char" protection system (image above).

Unfortunately, things got a little hairy after trying to run Notes 7 and 8 at the same time:

  1. I shut down Notes 7, but now my Notes 8 Workspace was blank. Notes 8 itself wouldn't shut down, so it was time for some killall eclipse java. That didn't work either, so I had to kill -9 the notes2w process.
  2. Now, Notes 8 wouldn't start -- instead I got this li'l beaut':
    This software has encountered a problem and needs to close.

    Then this, slightly more educational (though equally useless) message:

    Failed to login
    CLFRJ001OE: Notes initialization failed

    And finally, this console log:

    2007/08/18 01:19:55.328 CONFIG eclipse.buildId=build20070731-1521
    java.fullversion=J2RE 1.5.0 IBM J9 2.3 Linux x86-32 j9vmxi3223ifx-20070714 (JIT enabled)
    J9VM - 20070713_13151_lHdSMR
    JIT - 20070109_1805ifx5_r8
    GC - 200701_09
    BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US

    Framework arguments: -dir ltr -personality com.ibm.rcp.platform.personality -product com.ibm.notes.branding.notes -plugincustomization
    /opt/ibm/lotus/notes/framework/rcp/plugin_customization.ini
    Command-line arguments: -os linux -ws gtk -arch x86 -dir ltr -personality com.ibm.rcp.platform.personality -product com.ibm.notes.branding.notes -data /home/nickb/lotus/notes/data/workspace -plugincustomization /opt/ibm/lotus/notes/framework/rcp/plugin_customization.ini ::class.method=com.ibm.rcp.core.internal.logger.frameworkhook.writeSession() ::thread=main ::loggername=com.ibm.rcp.core.internal.logger.frameworkhook
    2007/08/18 01:20:00.706 SEVERE CLFMW0008E: Error returned from bootstrap dll during init call. Closing down the client ::class.method=com.ibm.workplace.noteswc.NoteswcPlugin.writeToLog() ::thread=main ::loggername=com.ibm.workplace.noteswc
    2007/08/18 01:20:06.009 SEVERE CLFMW0030E: Error Initializing Notes, Check the logs for details of the error ::class.method=com.ibm.workplace.noteswc.NoteswcPlugin$1.done() ::thread=main ::loggername=com.ibm.workplace.noteswc
    2007/08/18 01:20:06.513 SEVERE CLFRJ0013E: Notes initialization failed ! ::class.method=class com.ibm.workplace.internal.notes.security.auth.NotesLoginModule.initialize() ::thread=ModalContext ::loggername=com.ibm.workplace.internal.notes.security
    2007/08/18 01:20:08.199 WARNING CWPST0306W: Exception calling proxy method ::class.method=com.ibm.rcp.internal.security.AbstractProxy.invoke() ::thread=main ::loggername=package com.ibm.rcp.internal.security

    java.lang.reflect.InvocationTargetException
    ...

On restart, I had a shortcut in K-menu > Office, and Notes 8 once again worked and let me log in, even without being VPN'd (though the built-in SameTime 7.5 client complained about not being able to connect, as I'd expect). Too bad there's no Zap Notes 8 available yet. UPDATE: To Zap Notes 8, just run nsd -kill.

CONCLUSION: After 3 and a half hours of poking at it, I'd say at this point Notes 8 is visually and functionally better than Notes 7. It's easier to install, adds some nice new features, doesn't introduce any significant annoyances, fixes a few old issues, and stays true to its roots. Kudos!

2007-08-14

Notes 7: Crash Different

Like a fool I spent 30 mins composing a detailed email this afternoon in Notes, including colour, font styles, and tables. Why a fool? Because any time I'm busy doing something in a java-heavy application and haven't saved it lately, it dies. I just have this gift, apparently. Anyway, tout à coup and as if on cue, Notes died on me. I couldn't edit, save, or exit. I could however see my wallpaper. Go, go, gadget UI thread!


Glacial Potholes in Shelburne Falls, MA, as seen through Notes 7

It was time to zap Notes and restart. Amazingly, I only lost a few minutes worth of editing. Why?

File > Lotus Notes Preferences > User Preferences ... >       Basics > [x] AutoSave every [n] minutes

I didn't know Notes had this feature, but I was very glad to discover it there today. Notes 7 may still crash fairly often on me, but at least it's made the experience less painful than before.

2007-05-15

Lotus Notes: A Retrospective

Did a quick, narcissistic self-google tonight and discovered that a number of people have been talking about my Notes 7 installer script.

This got me thinking about Notes through the ages, from the bad old days of 4.x when I first started w/ IBM in '99 and longed for Groupwise or PINE to my days of writing LotusScript and designing database apps (while trying not to curse at Designer for its frequent, and at the very least, predictable crashes) in and around the 5.5-6.0 days, to the days when I first tried to install some flavour of Notes on a linux box.

Notes 6.0 and 6.5 thru WINE were horrible, and painful to set up -- I can't recall if I ever managed to get them working, but I do remember wondering how IBM could invest so much time and money in Linux without making Notes run there.

Notes 7.0b3 with WINE (still with the 6.5 splash screen) was buggy to the point where right-clicking your inbox caused the RSOD (Red Screen Of Death), but was at least a little easier to install, in that I could actually do it on a Debian-based system. Unfortunately, it was pretty temperamental and if you accidentlally upgraded your WINE from a very special patched version available only on internal IBM servers, you broke it. It also came with the unfortunate acronym "NUL", for Notes Under Linux. I'll let you make your own jokes.

Notes 7.0 was certainly an improvement over the past versions, but being a full Eclipse-based Java client, there's a certain amount of memory usage that's unavoidable. That said, there's no more Windows emulation through WINE, so it's more stable. I can now run Notes 7 without random crashes and hangups on Linux (though I do still get some pretty odd error messages thrown at me once in a while -- it just wouldn't be Notes without 'em!). Yes, I'm often annoyed by the fact that modal dialog boxes appear UNDER my main Notes window and sometimes don't appear until I minimize everything. True, my laptop is a T60p w/ 2G or RAM and a dual-core 2.0G processor, so it's got horsepower to burn, but the point is, from a usability standpoint, Notes 7 actually works on Linux. Combine it with a couple Eclipse workspaces and Sametime 7.5.1 and you *do* chew up a lot of RAM, but then, that's why you're running Linux, right? Try doing that on Windows and still getting reasonable performance when your virus scan software starts up. ;-) Of course I still prefer Gmail, but I digress.

It's my fond hope that the folks that package Notes will heed the rants about how much of a pain it is to install on anything but Windows, RHEL and SuSE, and make the experience easier for everyone else, like us SimplyMEPIS / (k)ubuntu folks. Clearly, things have improved substantially. That said, there's still a long way to go before Notes can be installed via apt-get without having to worry about missing fonts, libraries, PATH entries, or which of the several included startup scripts to use to launch Notes.

Notes 8 is now available in beta, and according to fellow IBMer-blogger Chris Aniszczyk, Notes 8 will be even better still. When I go through the process of installing that one, I'll provide a new script or at least blog the experience. Stay tuned.

2007-05-04

Bad hash index. No cookie.

So I open up Notes 7 this afternoon and it tells me it wants to delete my old mail (because disc space is costly, after all). Gmail provides me 2.8G free storage, but IBM needs to purge my mail regularly to save space. Whatever. I decline its polite offer, but being a good Corporate Citizen, I decide to clean up my inbox myself, and get this lovely error message. I now have an inbox with deleted messages (marked with an 'x') I can't actually delete.

Maybe it's time to take zx's advice and step up to Notes 8 beta.

2006-11-18

Notes 7 + SimplyMEPIS 6 = one sweet lappy

Well, I've finally got my Thinkpad set up just the way I like it: running the latest SimplyMEPIS 6, KDE 3.5.3, and kernel 2.6.15-27-686. Goodbye, Windows! After a couple days of pain, I managed to not only get Notes 7 working through the IBM Lotus Workplace client (aka a bloated Eclipse RCP app), and annoyed at having to search in several places for instructions and packages, I've written an interactive installer script. Instead of being a recipe for what to do, it does it all for you! The script should work for any ubuntu-based distro, but you might have things missing from your etc/apt/sources.list, like the multiverse stuff. Anyway, it's bound to be hella easier to use than the old manual trial and error method. Drop me a line if you use it and it works for you!

2006-08-16

How'd you get your Notes email address?

From the 'answered too many times to count' department:

So, why codeslave in the first place?

I used to be nboldt... until I found a badly-documented feature in Lotus Notes (circa 6.0 or 6.5, I think) that lets you request a new shortname - that is, to change from nboldt@mydomain.com to codeslave@mydomain.com. I think the reason for its being there was so that when women got married they could change their shortname to match their new lastname, eg. jsmith -> jjones.

So I became codeslave. I've also seen fivetwelve, zx and mo.

If you're using Lotus Notes 7.0b3 (aka NUL, or Notes Under Linux, though I always picture Nibbles from the show ReBoot when I think of NUL), this feature is still available. Sorta.

  File > Security > User Security
      > Your Identity > Your Names > [Name Changes...]

  To change your names, you should contact ________________ [Send Mail]

Oddly enough, the window says "You can request changes to your Notes user name, alternate name, and aliases," but if you click Send Mail, it only prompts for the new name, not the shortname... and while there's a handy li'l tool for sending a prefilled email...

  Please change my name to 'Nick Boldt'.  My ID containing the 
  new name is attached in case it is needed.

... it doesn't provide the name of the admin to send it to in the To: field. ;-)