Giter Site home page Giter Site logo

Comments (10)

twillis449 avatar twillis449 commented on August 31, 2024

Hum - it looks like on my computer at work, it can be ignored. It doesn't matter whether KARMABASE is defined or not. The image pops up. However I will check on another laptop I have at home. That's where the errors I saw this morning were appearing.

from packaging.

twillis449 avatar twillis449 commented on August 31, 2024

Murphys Law I guess ...

This morning I was getting a bunch of weird messages (see at end below) like
canvas_dressing_get_size: error sizing string: "aAbBgGpP!"
and the images looked very odd

but now with or without KARMABASE defined things seem to working. :)
and the 'canvas_dressing' stuff is not appearing.

[jake 9:03pm] [pol_sims]> kvis
askap_uniform_lwimager_beam5_7x7_grid_raw_3_IQUV_151.fits

Error statting "/usr/local/karma" (from KARMABASE) No such file or
directory
Error statting "/usr/local/karma" (compiled in) No such file or directory
Error statting "/usr/local/karma" (default) No such file or directory
No Karma base directory found!
Running m_alloc and m_free without checking
Port allocated: 14540
Warning: Cannot allocate colormap entry for "black"
_kwin_X11_get_colour: error allocating colour: "green" in visualID: 0x22
_kwin_X11_get_colour: error allocating colour: "white" in visualID: 0x22
Unknown unit: "deg" for: "CUNIT1", dropping
Unknown unit: "deg" for: "CUNIT2", dropping
Unknown unit: " " for: "CUNIT3", dropping
Non-standard "CUNIT4" has no effect: dropping
Computed scaled min: -0.151493 max: 0.997831
Computed unscaled min: -0.151493 max: 0.997831
__kwin_hershey_initialise: error opening font file: "/share/fonts.dat"
canvas_dressing_get_size: error sizing string: "aAbBgGpP!"
canvas_dressing_get_size: error sizing string: "aAbBgGpP!"
canvas_dressing_get_size: error sizing string: "aAbBgGpP!"
canvas_dressing_get_size: error sizing string: "aAbBgGpP!"
canvas_dressing_get_size: error sizing string: "aAbBgGpP!"
canvas_dressing_get_size: error sizing string: "aAbBgGpP!"
canvas_dressing_get_size: error sizing string: "aAbBgGpP!"

from packaging.

gijzelaerr avatar gijzelaerr commented on August 31, 2024

To get rid of the error run $ KARMABASE=/usr kvis.

I tried to obtain the karma source and compile it with this variable hard coded, but the author didn't reply to my emails.

from packaging.

o-smirnov avatar o-smirnov commented on August 31, 2024

The joys of abandonware.

I wonder, couldn't we ship the binary as /usr/bin/kvis.bin, and make /usr/bin/kvis a wrapper script that sets KARMABASE? Or would that break more than it would fix?

from packaging.

twillis449 avatar twillis449 commented on August 31, 2024

Easier just to set things up in one'd .bashrc or .cshrc file. I mostly still use tcsh for my shell so after I put

setenv KARMABASE /usr
setenv KARMABINPATH /usr/bin
setenv KARMALIBPATH /usr/lib
setenv KARMAROOT /usr

in my .cshrc file, all the complaints go away.

But for a lot of users - like Oleg says a wrapper script may be the way to go.

from packaging.

twillis449 avatar twillis449 commented on August 31, 2024

@gijzelaerr - Its veryUNlikely you will hear back from the author, Richard Gooch. Here is his LinkedIn profile - https://www.linkedin.com/in/richard-gooch-00412bb1 I find it hilarious that he claims to be a 'team leader' Back when I knew him a less likely individual you would want on a 'team' I can't imagine. I actually may have some source code for an earlier version of kvis floating around - I'll look. Gooch never released the final version of the source code despite being Russ Taylor's employee at the University of Calgary.

from packaging.

gijzelaerr avatar gijzelaerr commented on August 31, 2024

easiest back thing would be to just to install in /usr/local, but modern package management doesn't allow us.

I mailed him, he doesnt reply. I'm done playing investigator. if somebody wants to try again, be my guest.

from packaging.

twillis449 avatar twillis449 commented on August 31, 2024

@gijzelaerr Sorry - I've edited my comment above to say 'UNlikely' !!! And that's what I meant in the first place - LOL What ticks me off is the the University of Calgary should be the intellectual property holder of the kvis source code but they let Gooch skip out of town without getting the source code from him.

By the way - I did find my source code for an earlier release of the KARMA package. Back then kvis was called 'kview'. I did try compiling the code yesterday but got a few bazillion errors as I think this stuff was last compiled ca 2000 with something like gcc 2.95 or thereabouts. This visualizer even had a glish eventloop handler. For your amusement I'm attaching the file here.

karma_acsis.tar.gz

And indeed looking through the code you will need to get @o-smirnov to dig up his last compiled version of aips++ as it needs some glish libraries in order to link. (I believe I also have a 'last version' of aips++. I will check.)

from packaging.

gijzelaerr avatar gijzelaerr commented on August 31, 2024

there are some sources available on the FTP

ftp://ftp.atnf.csiro.au/pub/software/karma/archive/

but the time stamp is 6 days after 9/11.

from packaging.

twillis449 avatar twillis449 commented on August 31, 2024

Actually, the interesting file there is karma-1.7.20-common.tar.bz2 with a timestamp of 2011-07-27. It contains instructions for building kvis from scratch. Unfortunately ... this build is still designed for use with a glish interface interface. So you would have to get rid of the glish interface code for a build to link. And it also needs a complete build of support karma libraries with e.g. karma.src-v1.7.tar.gz, for which there are no build instructions.

from packaging.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.