DefaultApplication.test() fails on 1.1.1 or maybe Manjaro
pixel27 opened this issue · 4 comments
pixel27 commented
This is weird, I don't know what is happening.
julia> using DefaultApplication
julia> DefaultApplication.test()
┌ Info: opening text file with the default application
└ path = "/tmp/julia6AgVsi.txt"
┌ Info: If the file was not opened, please copy the output and open an issue at
└ https://github.com/tpapp/DefaultApplication.jl/issues
ERROR: UndefVarError: versioninfo not defined
Stacktrace:
[1] test() at /home/pixel/.julia/packages/DefaultApplication/18gv5/src/DefaultApplication.jl:39
[2] top-level scope at none:0
julia> versioninfo()
Julia Version 1.1.1
Commit 55e36cc308 (2019-05-16 04:10 UTC)
Platform Info:
OS: Linux (x86_64-pc-linux-gnu)
CPU: Intel(R) Core(TM) i7-3820 CPU @ 3.60GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-6.0.1 (ORCJIT, sandybridge)
I even opened a clean Julia instance, went into the package manager, run gc
then add DefaultApplication
. So I think my environment is clean. As as you can see versioninfo() does run if I just type it.
tpapp commented
Thanks for the bug report. Can you please
pkg> add DefaultApplication#tp/fix-versioninfo
and try again in a new Julia session?
tpapp commented
(sorry, had the branch name wrong, edited above)
tpapp commented
Also, is the text file opened, and is it just a bug about the test()
function?
pixel27 commented
Sorry for the delay. The file didn't open during the test (I didn't actually test manually calling open, I suspect it would have worked.)
That branch worked (the file did open):
julia> DefaultApplication.test()
┌ Info: opening text file with the default application
└ path = "/tmp/juliaOsTjEq.txt"
┌ Info: If the file was not opened, please copy the output and open an issue at
└ https://github.com/tpapp/DefaultApplication.jl/issues
Julia Version 1.1.1
Commit 55e36cc308 (2019-05-16 04:10 UTC)
Platform Info:
OS: Linux (x86_64-pc-linux-gnu)
"Manjaro Linux"
uname: Linux 4.19.62-1-MANJARO #1 SMP PREEMPT Sun Jul 28 09:14:58 UTC 2019 x86_64 unknown
CPU: Intel(R) Core(TM) i7-3820 CPU @ 3.60GHz:
speed user nice sys idle irq
#1 2174 MHz 1455535 s 96471 s 1106345 s 32036386 s 44938 s
#2 2488 MHz 1501339 s 96908 s 1177938 s 31927411 s 56418 s
#3 2135 MHz 1515594 s 97725 s 1223015 s 31939922 s 43901 s
#4 2206 MHz 1488926 s 97128 s 1333421 s 31866092 s 44597 s
#5 2081 MHz 1468218 s 93083 s 1166535 s 31984895 s 58888 s
#6 2413 MHz 1434723 s 91078 s 1113969 s 32095084 s 100531 s
#7 2544 MHz 1440399 s 89494 s 1153730 s 32088345 s 43829 s
#8 2658 MHz 1418028 s 88962 s 1151945 s 32094776 s 43313 s
Memory: 62.855308532714844 GB (19785.26953125 MB free)
Uptime: 352499.0 sec
Load Avg: 1.3427734375 1.05029296875 0.9267578125
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-6.0.1 (ORCJIT, sandybridge)
Environment:
JULIA_EDITOR = atom -a
JULIA_NUM_THREADS = 4
ATOM_HOME = /home/pixel/.atom
NODE_PATH = /usr/lib/atom/exports
XDG_SESSION_PATH = /org/freedesktop/DisplayManager/Session0
HOME = /home/pixel
XDG_SEAT_PATH = /org/freedesktop/DisplayManager/Seat0
GLADE_CATALOG_PATH = :
MOZ_PLUGIN_PATH = /usr/lib/mozilla/plugins
GLADE_MODULE_PATH = :
GLADE_PIXMAP_PATH = :
PATH = /usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
GOPATH = /home/pixel/_common/Source/go
TERM = xterm-256color
Process(`xdg-open /tmp/juliaOsTjEq.txt`, ProcessExited(0))