Comments (10)
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.
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.
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.
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.
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.
@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.
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.
@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.
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.
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.
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)
- tmv doesn't build HOT 4
- add EveryBeam HOT 1
- wsclean 2.10.1 compilation issues on ubuntu 20.04 HOT 1
- owlcat vs python3-meqtrees-cattery on KERN-7: broken dep? HOT 10
- Purify not working in kern-4 HOT 1
- what happened to apsynsim? HOT 8
- Docker build failed installing python-casacore HOT 1
- Missing DEP-11 48x48 Icons Kern 5 HOT 6
- AOFlagger package on Kern broken HOT 2
- KERN-5: Unable to locate package presto HOT 5
- chgcentre seems to be missing on KERN-7? HOT 1
- python-casacore has no installation candidate HOT 3
- Kern 7 casarest is missing image2fits HOT 2
- Missing dependencies for tigger HOT 4
- Can't install lsmtool with kern7 HOT 3
- Problems installing wsclean HOT 25
- wsclean/libstationresponse3 broken in KERN-6? HOT 9
- Recompile wsclean without idg support, or recompile idg without cuda support for KERN-7 HOT 1
- KERN for Ubuntu 22.04
- casacore-data has a package conflict for Ubuntu 20.04
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from packaging.