Displaying 20 results from an estimated 900 matches similar to: "tcltk image reading problem (on a mac?): [tcl] encountered an unsupported criticial chunk type "eXIf""
2020 Jun 12
3
tcltk image reading problem (on a mac?): [tcl] encountered an unsupported criticial chunk type "eXIf"
I don't know what has changed with Catalina
But I just tried my tk console from the shell command tkcon
And got the following error.
Here is my shell:
$ tkcon
dyld: Library not loaded: /usr/local/lib:/opt/X11/lib/libtk8.6.dylib
Referenced from: /usr/local/bin/wish
Reason: image not found
Abort trap: 6
I don't know whether this is a red herring or not, but the
2020 Jun 12
3
tcltk image reading problem (on a mac?): [tcl] encountered an unsupported criticial chunk type "eXIf"
Dear Simon,
> On Jun 11, 2020, at 9:00 PM, Simon Urbanek <simon.urbanek at r-project.org> wrote:
>
> Wayne,
>
> that one is unrelated, but interesting - you can fix it with
>
> sudo install_name_tool -change \
> /usr/local/lib:/opt/X11/lib/libtk8.6.dylib \
> /usr/local/lib/libtk8.6.dylib \
> /usr/local/bin/wish8.6
>
> There is a bug in tcltk with
2020 Jun 11
0
tcltk image reading problem (on a mac?): [tcl] encountered an unsupported criticial chunk type "eXIf"
Dear Wayne and Peter,
FWIW, I observe exactly the same problem in Catalina. The error and my session info:
-------- snip --------
> tkimage.create("photo", file = fname)
Error in structure(.External(.C_dotTclObjv, objv), class = "tclObj") :
[tcl] encountered an unsupported criticial chunk type "eXIf".
> sessionInfo()
R version 4.0.0 (2020-04-24)
Platform:
2020 Jun 12
0
tcltk image reading problem (on a mac?): [tcl] encountered an unsupported criticial chunk type "eXIf"
Wayne,
that one is unrelated, but interesting - you can fix it with
sudo install_name_tool -change \
/usr/local/lib:/opt/X11/lib/libtk8.6.dylib \
/usr/local/lib/libtk8.6.dylib \
/usr/local/bin/wish8.6
There is a bug in tcltk with IDs on the libraries which I have worked-around for R, but not for wish.
Back to the original question - do you have any example of a file that doesn't
2020 Jun 11
0
tcltk image reading problem (on a mac?): [tcl] encountered an unsupported criticial chunk type "eXIf"
Happy enough for me on Mojave.
On the off chance that you are picking up an old Tcl, do you see this?
> tcl("info","tclversion")
<Tcl> 8.6
-pd
> On 11 Jun 2020, at 23:04 , Wayne Oldford <rwoldford at uwaterloo.ca> wrote:
>
> Hello everyone
>
> I am not sure when this appeared
> (sometime post R 3.5.0 and after I switched to Mac OS
2020 Jun 12
0
tcltk image reading problem (on a mac?): [tcl] encountered an unsupported criticial chunk type "eXIf"
On 12/06/2020 03:49, Fox, John wrote:
> Dear Simon,
>
>> On Jun 11, 2020, at 9:00 PM, Simon Urbanek <simon.urbanek at r-project.org> wrote:
>>
>> Wayne,
>>
>> that one is unrelated, but interesting - you can fix it with
>>
>> sudo install_name_tool -change \
>> /usr/local/lib:/opt/X11/lib/libtk8.6.dylib \
>>
2020 May 19
2
Graphic parameters with length zero in grid cause R to crash
Hi,
I found in grid package, if the graphic parameters have zero length, R crashes. In the
following code, I only tested `grid.rect()` and the `fill` parameter, but I think it should
be similar as other grid graphic functions.
In `gpar()` function, the graphic parameters are not allowed to have zero length, but
we can make them with zero length by first generating a `gpar` object and then
2023 Jan 28
2
lines through points in lattice legend
Hi,
I'm struggling to find if there is a simple way to make the lines and points overlap in a legend for a lattice plot using auto.key. ?Here is a toy example of what doesn't work (for me) as the lines and points are adjacent rather than overlapping:
library(lattice)
d <- data.frame(x = 1:2, y = 1:4, f = factor(letters[1:2]))
xyplot(y ~ x, d, groups = f, type = "b",?
pch =
2020 Apr 29
1
grid 4.0 generates wrong results when adding two complex units by sum()
Hi,
In grid 4.0, adding two complex units by `sum()` seems to give wrong results.
In the following example, `u1 + u2` gives the correct result, but `sum(u1, u2)` also `sum(unit.c(u1, u2))` give the wrong results.
```
library(grid)
u1 = 0.4*sum(unit(1, "inch"), unit(1, "mm"))
u2 = 0.1*sum(unit(1, "inch"), unit(1, "mm"))
u1
# [1] 0.4*sum(1inches, 1mm)
2020 Oct 31
2
strptime() keeps emitting warnings after establishing a handler with tryCatch()
Dear list members,
I have come about a peculiar behavior in R (4.0.2) which I would
describe as a bug.
On macOS, where `strptime()` raises a warning for invalid timezone
identifiers, the following code will continue to raise the original
warning with every subsequent call to `strptime()`:
```
# attach a handler for warnings for this call only:
tryCatch(strptime('2020-10-31 18:30', format
2023 Jan 28
1
lines through points in lattice legend
On Sat, Jan 28, 2023 at 2:49 PM Kenneth Knoblauch
<ken.knoblauch at inserm.fr> wrote:
>
> Hi,
>
> I'm struggling to find if there is a simple way to make the lines and points overlap in a legend for a lattice plot using auto.key. Here is a toy example of what doesn't work (for me) as the lines and points are adjacent rather than overlapping:
>
> library(lattice)
2016 May 05
4
R process killed when allocating too large matrix (Mac OS X)
Hi Simon,
thanks for your quick reply.
1) ... so you can reproduce this?
2) Do you know a way how this can be 'foreseen'? We allocate larger
matrices in the copula package depending on the user's input
dimension. It would be good to tell her/him "Your dimension is quite
large. Be aware of killers in your neighborhood"... before the killer
attacks.
Thanks & cheers,
2020 Nov 01
0
strptime() keeps emitting warnings after establishing a handler with tryCatch()
Hello,
I cannot reproduce this behavior and, as documented, the posted code
doesn't issue warnings due to a wrong timezone but I'm running
sessionInfo()
R version 4.0.3 (2020-10-10)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 20.04.1 LTS
Matrix products: default
BLAS: /usr/lib/x86_64-linux-gnu/blas/libblas.so.3.9.0
LAPACK:
2016 Feb 29
1
Source code of early S versions
According to Wikipedia:
"In 1980 the first version of S was distributed outside Bell
Laboratories and in 1981 source versions were made available."
but I've been unable to locate any version of S online. Does anyone
have a copy, somewhere, rusting away on an old hard disk or slowly
flaking off a tape? I've had a rummage round the CMU Statlib on
archive.org but no sign of it,
2016 May 04
1
R process killed when allocating too large matrix (Mac OS X)
> Can you elaborate on "leads to R being killed"? You should tell to the killer not to do it again :).
Hi Simon!
Sure, but who do you tell it if you don't know the killer?
This is all the killer left me with, the 'crime scene' if you like :-)
> m <- matrix(0, 90000, 100000)
Killed: 9
My colleague Wayne Oldford also tried it on his Mac machine and
apparently the
2018 May 30
3
Password recovery trick not working on CentOS
Hi,
I remember back in the days, there was a neat trick to recover a lost
root password, or more exactly, redefine a new password for root.
1. In the bootloader, boot the system with the 'init=/bin/bash' kernel
argument.
2. Remount the root partition in read-write mode:
# mount -o remount,rw /
3. Set the password for root:
# passwd
4. Remount the root partition in read-only
2017 Mar 28
2
SipVicious scans getting through iptables firewall - but how?
My firewall and asterisk pjsip config only has "permit" options for my
ITSP's (SIP trunk) IPs.
Here's the script that sets it up.
--------------------------------------------------
#!/bin/bash
EXIF="eth0"
/sbin/iptables --flush
/sbin/iptables --policy INPUT DROP
/sbin/iptables --policy OUTPUT ACCEPT
/sbin/iptables -A INPUT -i lo -j ACCEPT
/sbin/iptables -A INPUT -m
2009 Oct 12
15
We're sorry, but something went wrong on Tomcat
I am using JRuby and I have to deploy on Tomcat. My web app is working
fine in the dev envirmonment, with Mongel, but when I deploy on Tomcat
I get "We''re sorry, but something went wrong on Tomcat".
The problem is that production.log only shows:
# Logfile created on Mon Oct 12 12:54:36 +0100 2009-bash-3.00
The file permission and directory are 777.
Any idea how I can
2016 May 05
1
R process killed when allocating too large matrix (Mac OS X)
Hi,
Interesting "feature" in 10.11.4. I wonder if the process is killed
before or after malloc() returns. If before, it seems very blunt:
"You're asking too much and I don't like it so I kill you now".
If after it doesn't look much better: "You're asking a lot and I
don't like it but I give it to you anyway. I'll kill you quickly
later".
Why
2008 Jan 06
1
tomcat still sees jvm version 1.4.2 in Cent OS 5
i chose to install tomcat during the OS install as well as java....however, since I needed to use a different jvm, i used the method described in http://wiki.centos.org/HowTos/JavaOnCentOS for Sun jdk 1.5.0_13 and it worked fine as I can tell, as using the alternatives --config java command, i see both 1.4.2 and 1.5.0 versions and choosing the 1.5.0 version yields the right version when doing a