Smartnotebook Questions

Troubleshooting

  1. Application initialization failed: no display name and no DISPLAY environment variable.
  2. I cannot get nmrview to start up.
  3. When I type snb (or smartnotebook) in the nmrview console window, I get the error "command not found".
  4. Smartnotebook does not start up. I get a weird error in the console window.
  5. File does not exist 'hsqc.nv'.
  6. When smartnotebook starts up, it seems to be taking forever to calculate the connection files, or maybe they are not calculated at all!
  7. When smartnotebook starts up, it doesn't find any connections or a lot fewer than I expected.
  8. Somehow I have managed to lose all my chains! The snb.out/chains file is empty.
  9. Sometimes clicking the "display spectra" button doesn't draw my new connection
  10. Smartnotebook is not drawing the spectra correctly even though I have the appropriate par files in my current directory.
  11. When all else fails...

Questions

  1. Where do I find help?
  2. How can I make an alias or shortcut for smartnotebook?
  3. How do I use smartnotebook with a different version of nmrview?
  4. Why are there so many tcl scripts?
  5. How do I make all of my windows smaller (or bigger)?
  6. Why do patterns involving glycine often have higher probability scores than non-glycine patterns?
  7. Why are there more dgx patterns than dxg?
  8. Why are my probability scores are all quite low (eg, nothing over 0.3)?
  9. Smartnotebook claims the current chain is assignable, but nothing lights up in my sequence window.
  10. Can I assign a chain which smartnotebook thinks is ambiguous or unassignable?


  1. Application initialization failed: no display name and no DISPLAY environment variable.

    You need to setup your X environment. On macOSX hopefully you did this when you first configured the operating system. If you did not, you will want to go to Apple's website to download and install X11.

    Another possiblility is that your terminal window has not set the DISPLAY environment variable. Are you running smartnotebook remotely? You may be able to manually fix it with commands like this:

    Usually I test my X environment with a simple program first, like xcalc. If I can get a calculator to display, then the X environment is working.

  2. I cannot get nmrview to start up.

    The name of the nmrview executable is probably different than what the installation script thought. No problem, first find out what the name is given to the nmrview executable by looking in your nmrview installation (eg /usr/local/nmrview5.0.4). When you know the name, edit the smartnotebook startup file (eg, /usr/local/snb-v5.x/sbin/snbview) and revise the last line from "/usr/local/nmrview5.0.4/nmrview5.0.4.xxx" to the true location of nmrview.

    I have also had some linux machines complain that libtcl.8.3.so is missing. You may be able to copy the shared libraries (libtk.8.3.so as well) from another machine and place them in /usr/lib. Further discussion is also at http://www.nmrview.com/archive/msg00488.html.

  3. When I type snb (or smartnotebook) in the nmrview console window, I get the error invalid command name "snb".

    Make sure you are executing the nmrview/smartnotebook startup script. A typical location for it is /usr/local/snb-v5.x/sbin/snbview.

  4. Smartnotebook does not start up. I get a weird error such as
    can't read "const(C_OUT)": no such element in array
    (or any other similar or strange message)

    Perhaps you have forgotten to include some of the required input files.

    Perhaps you made a mistake in manually customizing the init file (init.snb). Either examine and fix your changes or move ./init.snb to ./init.snb.bkp and restart smartnotebook to create a working ./init.snb.

    Another possibility is that one of the output files in 'snb.out' may be messed up. Try moving ./snb.out to ./snb.out.bkp and then restart smartnotebook. If it now works, you may want to go to snb.out.bkp and salvage any of your previous work (like the chains file).

  5. File does not exist 'hsqc.nv'.

    Your data directory is empty. Have you downloaded the data files and installed them? See the startup section for details. Also, make sure are in the directory which contains 'hsqc.nv' when starting up smartnotebook.

  6. When smartnotebook starts up, it seems to be taking forever to calculate the connection files, or maybe they are not calculated at all!

    The current version of smartnotebook has a limit of 2500 picked peaks per file. This is alot of peaks. If you pick too much noise, smartnotebook will get bogged down in attempting to connect all the noise peaks.

  7. When smartnotebook starts up, it doesn't find any connections or a lot fewer than I expected.

    Check the referencing of your peakpick files. Use the ref_peakpick script to appropriately alter the peakpick values.

  8. Somehow I have managed to lose all my chains! The snb.out/chains file is empty.

    This was a bug in previous versions that should now be corrected. But if it does happen, you can always find an up to date version of the chains in the log file. Find the most recent good version, then cut and paste this text into the file snb.out/chains. Restart snb and the world should be back to normal. Send an email to me that the bug is not fixed.

  9. Sometimes clicking the "display spectra" button doesn't draw my new connection

    It's a bug that seems to disappear when I restart smartnotebook. I just haven't figured it out yet.

  10. Smartnotebook is not drawing the spectra correctly even though I have the appropriate par files in my current directory.

    If the data was processed on a different operating system platform, you may need to toggle the "byteorder" parameter in each par file.

  11. When all else fails...

    If you have an error that was not covered in this section, then try these things:

    • Delete (or rename) the snb.init file in your current directory.
    • Delete (or rename) the current smartnotebook output directory. This will have been created automatically if you had previously run smartnotebook in the current directory. Usually it is named snb.out .
    • Examine the snb-v5.x/bin/snbview startup script. Make sure that it is correct for your current nmrview environment.


  1. Where do I find help?

    All help and latest news is available on-line . At this time we know of no newsgroups or mailing lists related to smartnotebook.

  2. How can I make an alias or shortcut for smartnotebook?

    If you think you are going to use smartnotebook alot, then it may be convenient to make an alias based on where smartnotebook was installed and put it in your .cshrc or .bashrc. I am calling the alias "snbview" but call it whatever you like.

    	alias snbview /usr/local/snb-v5.x/sbin/snbview
    
    Remember the alias takes affect when you bring up another window or source the file.

  3. How do I use smartnotebook with a different version of nmrview?

    You can re-install smartnotebook but it is much easier to edit a copy of the snbview script appropriately.

  4. Why are there so many tcl scripts?

    It is just easier for the developer, if you want you can cat all the tcl files into one single file and just source that (especially if the names for my tcl scripts match yours).

  5. How do I make my windows smaller (or bigger)?

    The easiest way to do this is to change your font and make it bigger or smaller. The windows will automatically re-adjust their size to fit. You can change your font using the menu item "Options / "Preferences".

    One of the smartnotebook examples, called "hsqc_view" shows how this is done. In this example, the font is set to "6x9", which results in very tiny windows.

  6. Why do patterns involving glycine (dxg,dgx) often have higher probability scores than non-glycine (dxx) patterns?

    The peakcon program does not differentiate between pattern types, it scores each pattern based on the worst fitting peak of that particular pattern. What is judged as "worst" is based on the intrafile and interfile errs entered in the rules file. It is easier to find a better fit through a smaller number of peaks than through a larger set.

  7. Why do we find so many more dgx patterns than dxg?

    The dgx pattern requires only one connecting peak joining hncacb(i-1) and hncacb(i) whereas dxg requires two peaks. Given the simple way peakcon calculates connectivities, the presence of two peaks limits the number of false positive connections.

  8. Why are my probability scores are all quite low (eg, nothing over 0.3)?

    It may be that your referencing is off between peakpick files. I have included a simple script in the bin directory called ref_peakpick that could help to fix the peakpick files.

  9. Smartnotebook claims the current chain is assignable, but nothing lights up in my sequence window.

    Likely the chain is assignable to an area you have already assigned. Whether this should be allowed or not is debatable, personally i think it is interesting information. Are you sure you got the first assignment right?

  10. Can I assign a chain which smartnotebook thinks is ambiguous or unassignable?

    Yes, you don't have to believe smartnotebook, just click on the residue in the sequence panel where you want to assign the chain and then click assign. This can actually happen more often than you think, especially near the end of the process when you want to assign a remaining short chain but it turns out to have a "best fit" at a place that is already assigned. Smartnotebook thinks there is ambiguity but you know better.


Smartnotebook Home

This file last updated:

Questions to: bionmrwebmaster@biochem.ualberta.ca