mark
2018-12-14 17:11:21

So on Mac OS X, when I make an application with raco exe --gui hello.rkt, it creates a http://hello.app\|hello.app, but clicking it doesn’t launch. Instead I get Failed to copy signing info for 73511 in the http://Console.app\|Console.app


mark
2018-12-14 17:12:31

Same problem with the DrRacket launcher, I can only open that from command-line as well.


shu--hung
2018-12-14 18:53:51

@ben In gtp-benchmarks, how do you usually edit source code for typed programs? the adaptor modules would defeat background expansion


ben
2018-12-14 19:05:59

copy the adaptors into the typed/ directory


ben
2018-12-14 19:06:33

(normally I don’t use drracket to edit, but I need the adaptors to run the files anyway)


shu--hung
2018-12-14 19:07:35

oh okay


chrisg
2018-12-14 20:19:50

I have a package on the racket package system and it’s getting conflicts with other modules outside of my package. Kind of confused as to what these conflicts are and how I can determine what they might be in the future so that I can prevent them from occurring. Why are there conflicts (Is there some raco command I can run to determine this or how is the package manager figuring them out?


chrisg
2018-12-14 20:21:21

Ooops, hit return on accident and my parenthesis aren’t balanced, so here you go)


shu--hung
2018-12-14 20:32:56

searching in the conflict logs, I think this is what caused the conflict for your package: doc "manual": bystroTeX design-by-numbers riff simply-scheme ts-fundamentals


shu--hung
2018-12-14 20:33:23

probably manual.scrbl conflicts with the manual.scrbl in other packages


ben
2018-12-14 21:21:49

hi, can someone with a newer mac try: 1. downloading & unpacking cat.tar.gz (attached) 2. running raco pkg install ./cat ?


ben
2018-12-14 21:23:02

I’m on osx-el-captan-10.11.1 and when I try to install (or really, build the documentation), I see this: raco setup: --- building documentation --- raco setup: 2 running: <pkgs>/cat/cat.scrbl CoreAnimation: warning, deleted thread with uncommitted CATransaction; set CA_DEBUG_TRANSACTIONS=1 in environment to log backtraces. zsh: segmentation fault raco pkg install

but on a linux machine, I get a much better error about cannot instantiate 'racket/gui/base' a second time


shu--hung
2018-12-14 21:25:50

10.13 with Racket v7.1.0.9 here: raco setup: 0 running: <pkgs>/cat/cat.scrbl 2018-12-14 15:25:23.408 racket[98978:23844805] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'nextEventMatchingMask should only be called from the Main Thread!' *** First throw call stack: ( 0 CoreFoundation 0x00007fff3535e32b __exceptionPreprocess + 171 1 libobjc.A.dylib 0x00007fff5c9c0c76 objc_exception_throw + 48 2 AppKit 0x00007fff3300a297 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 4167 3 Racket 0x00000001005c38ac ffi_call_unix64 + 76 4 ??? 0x00007000064f32b0 0x0 + 123145408164528 ) libc++abi.dylib: terminating with uncaught exception of type NSException Abort trap: 6


michael.ballantyne
2018-12-14 21:28:52
raco setup: 0 running: <pkgs>/cat/cat.scrbl
CoreAnimation: warning, deleted thread with uncommitted CATransaction; set CA_DEBUG_TRANSACTIONS=1 in environment to log backtraces.
raco setup: 4 rendering: <pkgs>/cat/cat.scrbl
raco setup: 3 rendering: <pkgs>/racket-index/scribblings/main/release.scrbl
raco setup: 2 rendering: <pkgs>/racket-index/scribblings/main/start.scrbl
raco setup: 1 rendering: <pkgs>/racket-index/scribblings/main/local-redirect.scrbl
raco setup: 0 rendering: <pkgs>/racket-index/scribblings/main/search.scrbl
cannot instantiate `racket/gui/base' a second time in the same process
  context...:
   "/Users/michaelb/racket/racket/share/pkgs/gui-lib/mred/private/wx/common/once.rkt": [running body]
   temp37_0
   for-loop
   run-module-instance!125
   for-loop
   [repeats 1 more time]
   run-module-instance!125
   for-loop
   [repeats 1 more time]
   run-module-instance!125
   for-loop
   [repeats 1 more time]
   run-module-instance!125
   for-loop
   [repeats 1 more time]
   run-module-instance!125
   ...

  context...:
   /Users/michaelb/racket/racket/collects/setup/parallel-do.rkt:332:4: work-done method in list-queue%
   /Users/michaelb/racket/racket/collects/setup/parallel-do.rkt:282:17
   /Users/michaelb/racket/racket/collects/setup/parallel-do.rkt:236:4
   /Users/michaelb/racket/pkgs/racket-index/setup/scribble.rkt:433:2: make-loop
   /Users/michaelb/racket/pkgs/racket-index/setup/scribble.rkt:138:0: setup-scribblings
   /Users/michaelb/racket/racket/collects/setup/setup-core.rkt:71:0: setup-core
   /Users/michaelb/racket/racket/collects/setup/setup.rkt:65:3
   /Users/michaelb/racket/racket/collects/pkg/main.rkt:17:0: setup
   (submod "/Users/michaelb/racket/racket/collects/pkg/main.rkt" main): [running body]
   temp37_0
   for-loop
   run-module-instance!125
   for-loop
   [repeats 1 more time]
   run-module-instance!125
   "/Users/michaelb/racket/racket/collects/raco/raco.rkt": [running body]
   ...
raco setup: --- installing collections ---
raco setup: --- post-installing collections ---
raco setup: --- summary of errors ---
raco setup: error: during building docs for <pkgs>/cat/cat.scrbl
raco setup:   cannot instantiate `racket/gui/base' a second time in the same process
raco setup:     context...:
raco setup:      "/Users/michaelb/racket/racket/share/pkgs/gui-lib/mred/private/wx/common/once.rkt": [running body]
raco setup:      temp37_0
raco setup:      for-loop
raco setup:      run-module-instance!125
raco setup:      for-loop
raco setup:      [repeats 1 more time]
raco setup:      run-module-instance!125
raco setup:      for-loop
raco setup:      [repeats 1 more time]
raco setup:      run-module-instance!125
raco setup:      for-loop
raco setup:      [repeats 1 more time]
raco setup:      run-module-instance!125
raco setup:      for-loop
raco setup:      [repeats 1 more time]
raco setup:      run-module-instance!125
raco setup:      ...
raco setup:
raco pkg install: packages installed, although setup reported errors

michael.ballantyne
2018-12-14 21:29:08

10.9.5, Racket 7.0.0.20


sorawee
2018-12-14 21:49:17

10.14.1 with Racket 7.1

raco setup: version: 7.1
raco setup: platform: x86_64-macosx [3m]
raco setup: installation name: 7.1
raco setup: variants: 3m
raco setup: main collects: /Applications/Racket v7.1/collects
raco setup: collects paths:
raco setup:   /Users/sorawee/Library/Racket/7.1/collects
raco setup:   /Applications/Racket v7.1/collects
raco setup: main pkgs: /Applications/Racket v7.1/share/pkgs
raco setup: pkgs paths:
raco setup:   /Applications/Racket v7.1/share/pkgs
raco setup:   /Users/sorawee/Library/Racket/7.1/pkgs
raco setup: links files:
raco setup:   /Applications/Racket v7.1/share/links.rktd
raco setup:   /Users/sorawee/Library/Racket/7.1/links.rktd
raco setup: main docs: /Applications/Racket v7.1/doc
raco setup: --- updating info-domain tables ---
raco setup: updating: /Users/sorawee/Library/Racket/7.1/share/info-cache.rktd
raco setup: --- pre-installing collections ---
raco setup: --- installing foreign libraries ---
raco setup: --- installing shared files ---
raco setup: --- compiling collections ---
raco setup: --- parallel build using 4 jobs ---
raco setup: 3 making: <pkgs>/cat
raco setup: --- creating launchers ---
raco setup: --- installing man pages ---
raco setup: --- building documentation ---
raco setup: 1 running: <pkgs>/cat/cat.scrbl
2018-12-14 13:47:00.167 racket[75689:2551319] WARNING: nextEventMatchingMask should only be called from the Main Thread! This will throw an exception in the future.
2018-12-14 13:47:00.398 racket[75689:2551319] WARNING: NSWindow drag regions should only be invalidated on the Main Thread! This will throw an exception in the future. Called from (
        0   AppKit                              0x00007fff35cbc824 -[NSWindow(NSWindow_Theme) _postWindowNeedsToResetDragMarginsUnlessPostingDisabled] + 386
        1   AppKit                              0x00007fff35cb9bd0 -[NSWindow _initContent:styleMask:backing:defer:contentView:] + 1488
        2   AppKit                              0x00007fff35cb95fa -[NSWindow initWithContentRect:styleMask:backing:defer:] + 45
        3   Racket                              0x0000000100315d7c ffi_call_unix64 + 76
        4   ???                                 0x0000700008815fd0 0x0 + 123145445007312
)
Assertion failed: (NSViewIsCurrentlyBuildingLayerTreeForDisplay() != currentlyBuildingLayerTree), function NSViewSetCurrentlyBuildingLayerTreeForDisplay, file /BuildRoot/Library/Caches/com.apple.xbs/Sources/AppKit/AppKit-1671.10.106/AppKit.subproj/NSView.m, line 14143.
[1]    75689 illegal hardware instruction  raco pkg install ../cat

ben
2018-12-14 23:18:20

thanks everyone, I opened an issue https://github.com/racket/racket/issues/2426