Spans are not added to the correct context

Hi,
While using the instrumentation module
    OtelColExporterModule,
    // Composite Propagator Module
    CompositePropagatorModule,
    // OtelWebTracerModule to configure instrumentation component.
    OtelWebTracerModule.forRoot(environment.opentelemetryConfig),

I have experienced that, sporadically, spans are not visible on Jaeger or they miss the context.
For example: Starting a new trace and span on angular when clicking a button will trigger this code:
    this.contextManager.disable();
    this.contextManager.enable();
    const span = this.tracer
      .getTracer(`angular-interceptor`, '0.0.1')
      .startSpan(
        'some-post-request',
        {},
        this.contextManager.active()
      );
    this.contextManager._currentContext = api.setSpan(
      this.contextManager.active(),
      span
    );
    span.setStatus({
      code: SpanStatusCode.OK
    });
    span.end();
    this.apiService.sendPostRequest(`00-${span.context().traceId}-${span.context().spanId}-0${span.context().traceFlags}`);

which should create a span and trigger a POST request with the traceparent string, so that the api can read from the headers and add more spans to the trace.
On Jaeger the spans from the API are visible, and later on some spans might appear from the angular app due to Web Socket updates, but the "some-post-request" span from the angular app will not.
OpenTelemetryConfig
{
  production: false,
  opentelemetryConfig: {
    commonConfig: {
      console: false,
      production: false,
      serviceName: 'test-service',
      probabilitySampler: '0.75',
      logLevel: DiagLogLevel.ALL
    },
    otelcolConfig: {
      url: 'http://localhost:55681/v1/trace',
    },
    instrumentationConfig: {
      xmlHttpRequest: false,
      fetch: false,
      documentLoad: false,
    },
    jaegerPropagatorConfig: {
      customHeader: 'custom-header',
    }
  }
}

Code runs on Angular 11 and with these dependencies in package.json:
    "@opentelemetry/api": "^0.18.1",
    "@opentelemetry/context-zone-peer-dep": "^0.19.0",
    "@opentelemetry/exporter-collector": "^0.19.0",
    "@opentelemetry/exporter-zipkin": "^0.19.0",
    "@opentelemetry/instrumentation": "^0.19.0",
    "@opentelemetry/instrumentation-document-load": "^0.16.0",
    "@opentelemetry/instrumentation-fetch": "^0.19.0",
    "@opentelemetry/instrumentation-xml-http-request": "^0.19.0",
    "@opentelemetry/propagator-b3": "^0.19.0",
    "@opentelemetry/propagator-jaeger": "^0.19.0",
    "@opentelemetry/web": "^0.19.0",

Any ideas what can cause such a sporadic issue?

Version 0.25.0 is not released : I'm waiting for the release of opentelemetry-js-contrib.
So, this issue is not fixed for the moment : https://github.com/jufab/opentelemetry-angular-interceptor/issues/72#issuecomment-904077110
That's why you have some other span maybe with service name test-service in your Jaeger.
What the version of @jufab/opentelemetry-angular-interceptor? 0.24.0-1? and opentelemetry dependencies are in 0.24.0 too?
what is the version of your collector?
I see
otelcolConfig: {
      url: 'http://localhost:55681/v1/trace',
    },

In newer version this is
otelcolConfig: {
      url: 'http://localhost:55681/v1/traces',
},

I try this in instrumentation-example (with the same configuration as actually)
import { Component, OnInit } from '@angular/core';
import { trace, context, SpanStatusCode } from '@opentelemetry/api';
import * as api from '@opentelemetry/api';

@Component({
  selector: 'app-custo-send-span',
  templateUrl: './custo-send-span.component.html',
  styleUrls: ['./custo-send-span.component.css']
})
export class CustoSendSpanComponent implements OnInit {

  constructor() { }

  ngOnInit(): void {
  }

  sendSpan() {
    const tracer = trace.getTracerProvider().getTracer('test', '1.0.0');
    const span = tracer
      .startSpan(
        'some-post-request',
        {
          attributes: {
            test: 'test'
          },
          kind: api.SpanKind.INTERNAL,
        },
        context.active()
      );
    span.setStatus({
      code: SpanStatusCode.OK
    });
    span.end();
    console.log(`00-${span.spanContext().traceId}-${span.spanContext().spanId}-0${span.spanContext().traceFlags}`);
  }

}

This component send span :

Version 0.25.0 is not released : I'm waiting for the release of opentelemetry-js-contrib.
So, this issue is not fixed for the moment : #72 (comment)
That's why you have some other span maybe with service name test-service in your Jaeger.
What the version of @jufab/opentelemetry-angular-interceptor? 0.24.0-1? and opentelemetry dependencies are in 0.24.0 too?
what is the version of your collector?
I see
otelcolConfig: {
      url: 'http://localhost:55681/v1/trace',
    },

In newer version this is
otelcolConfig: {
      url: 'http://localhost:55681/v1/traces',
},

    "@jufab/opentelemetry-angular-interceptor": "^0.19.0",

     "@opentelemetry/api": "^0.18.1",
    "@opentelemetry/context-zone-peer-dep": "^0.19.0",
    "@opentelemetry/exporter-collector": "^0.19.0",
    "@opentelemetry/exporter-zipkin": "^0.19.0",
    "@opentelemetry/instrumentation": "^0.19.0",
    "@opentelemetry/instrumentation-document-load": "^0.16.0",
    "@opentelemetry/instrumentation-fetch": "^0.19.0",
    "@opentelemetry/instrumentation-xml-http-request": "^0.19.0",
    "@opentelemetry/propagator-b3": "^0.19.0",
    "@opentelemetry/propagator-jaeger": "^0.19.0",
    "@opentelemetry/web": "^0.19.0",

So, I will try with new version of the dependencies and the new otelcolConfig url.
The issue with the missing spans, is sporadic, meaning sometimes it works, sometimes not. I am not sure at the moment what is causing the spans to not appearing on some cases.

I updated to the current latest versions of openTelemetry and opentelemetry-angular-interceptor:
    "@jufab/opentelemetry-angular-interceptor": "^0.24.0-1",

     "@opentelemetry/api": "^1.0.1",
    "@opentelemetry/context-zone-peer-dep": "^0.24.0",
    "@opentelemetry/core": "^0.24.0",
    "@opentelemetry/exporter-collector": "^0.24.0",
    "@opentelemetry/exporter-zipkin": "^0.24.0",
    "@opentelemetry/instrumentation": "^0.24.0",
    "@opentelemetry/instrumentation-document-load": "^0.24.0",
    "@opentelemetry/instrumentation-fetch": "^0.24.0",
    "@opentelemetry/instrumentation-xml-http-request": "^0.24.0",
    "@opentelemetry/propagator-b3": "^0.24.0",
    "@opentelemetry/propagator-jaeger": "^0.24.0",
    "@opentelemetry/resources": "^0.24.0",
    "@opentelemetry/semantic-conventions": "^0.24.0",
    "@opentelemetry/tracing": "^0.24.0",
    "@opentelemetry/web": "^0.24.0",

Which caused a lot of errors. I fixed all of them except this:
Error: src/app/shared/tracing/jaeger-propagator.service.ts:3:10 - error TS2305: Module '"../../../../node_modules/@opentelemetry/propagator-jaeger/build/src"' has no exported member 'JaegerHttpTracePropagator'.

3 import { JaegerHttpTracePropagator } from '@opentelemetry/propagator-jaeger';

My open-telemetry-exporter.service.ts

import {Injectable, Inject} from '@angular/core';
import {SpanExporter} from '@opentelemetry/tracing';
import {
  CollectorTraceExporter,
  collectorTypes,
} from '@opentelemetry/exporter-collector';
import {OpenTelemetryConfig, OpenTelemetryInjectConfig} from "@jufab/opentelemetry-angular-interceptor";

/**
 * OtelcolExporterService class
 */
@Injectable({
  providedIn: 'root',
})
export class OpenTelemetryExporterService {
  /**
   * CollectorExporterConfigBase
   */
  private otelcolConfig: collectorTypes.CollectorExporterConfigBase;

  /**
   * constructor
   * @param config OpenTelemetryConfig
   */
  constructor(
    @Inject(OpenTelemetryInjectConfig) config: OpenTelemetryConfig
  ) {
    this.otelcolConfig = {
      // serviceName: config.commonConfig.serviceName,
      url: config.otelcolConfig?.url,
      headers: config.otelcolConfig?.headers,
      attributes: config.otelcolConfig?.attributes
    };
  }

  /**
   * Return a CollectorExporter with the configuration
   * @return a CollectorExporter
   */
  getExporter(): SpanExporter {
    return new CollectorTraceExporter(this.otelcolConfig);
  }
}

Any ideas how to fix it?

I don't try this configuration but i think you must fix the version 0.24.0 (don't use ^ in version)
There is a  lot of breaking change in 0.25.0 => https://github.com/open-telemetry/opentelemetry-js/releases/tag/v0.25.0

So, I will try with new version of the dependencies and the new otelcolConfig url.
The issue with the missing spans, is sporadic, meaning sometimes it works, sometimes not. I am not sure at the moment what is causing the spans to not appearing on some cases.

I reproduce it : I'm going to search a fix.

Ok, I found it.
Instrumentation example have a probabilitySampler configuration to 0.75 (75% sampling) so this is not sporadic but normal.
Change value to 1 for sending all traces


Update docs for related to PointerCancelEvent to explain better where this is used

In response to issue #93683
Pre-launch Checklist

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I signed the CLA.
[x] I listed at least one issue that this PR fixes in the description above.
[x] I updated/added relevant documentation (doc comments with ///).
test-exempt I added new tests to check the change I am making, or this PR is test-exempt.
[x] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

I'm sorry but not keen on proceeding with minor wording changes when I'm trying to fix ambiguity in the original docs. If someone closer to Flutter can't take ownership then I'm fine to have this dropped... I think the docs are poor, and so do you, so I attempted to fix them. If you feel they need more words/tweaks then please add/change what you want as I'm less motivated to fix what was already poorly worded - my changes removed that ambiguity and if you want it to be better than feel free to improve further without making it too verbose.

I understand. Thanks for your attempt.

I am closing this until we find somebody who can pick it up again.

That's a poor way to encourage community contributions. I make the effort of writing up what I felt explained the situation correctly, it was criticised with no example of what to write/document instead, and now closed and not fixed at all. All you've done is educated someone to not bother making the effort to contribute to what was already poorly worded and lacking.

I understand the frustration. I do appreciate every contribution, whether it's big or small, and the author experienced or first time. We merge many doc changes from all kinds of contributors every day.
But it doesn't mean that every PR can be merged without modification. We need to keep a certain style guide, both for quality and consistency throughout the repo. But you said you were not willing to make the changes I requested to make. So we can't merge it.

That's not true. You did not make any suggestions. You just stated you didn't like what was contributed. Anyway, won't debate further. Obviously you'd rather have misleading and incorrect docs than any improvements to fix that at all ??? Odd and certainly a strange way to improve Flutter. Best of luck.

Hi, everyone! Maybe I have a simillar problem. If I touch the AnimatedHelperEx and lead with my finger vertically on the screen opacity animation effect is not finish. I have this code:

My custom animation opacity widget
`class AnimatedHelperEx extends StatefulWidget {
final Widget? child;
final GestureTapCallback? onPressed;
final GestureTapCallback? onCancel;
final bool useOpacity;
final int? durationValue;
final HitTestBehavior? behavior;

const AnimatedHelperEx(
{Key? key,
required this.child,
this.onPressed,
this.useOpacity = true,
this.durationValue = 350,
this.behavior,
this.onCancel})
: super(key: key);
@override
State createState() => _AnimatedHelperStateEx();
}
class _AnimatedHelperStateEx extends State {
double _opacity = 1.0;
int _duration = 350;
@override
Widget build(BuildContext context) {
return GestureDetector(
onVerticalDragUpdate: (DragUpdateDetails details) {},
onTap: this.widget.onPressed,
onTapCancel: () {
setState(() {
_duration = this.widget.durationValue!;
_opacity = 1.0;
widget.onCancel;
});
},
child: Listener(
onPointerDown: (PointerDownEvent event) {
setState(() {
_duration = 0;
_opacity = 0.2;
});
},
onPointerUp: (PointerUpEvent event) {
setState(() {
_duration = this.widget.durationValue!;
_opacity = 1.0;
});
},
onPointerCancel: (PointerCancelEvent event) {
setState(() {
_duration = widget.durationValue!;
_opacity = 1.0;
});
},
child: AnimatedOpacity(
opacity: widget.useOpacity ? _opacity : 1,
duration: widget.useOpacity
? Duration(milliseconds: _duration)
: Duration(seconds: 0),
child: this.widget.child,
),
),
);
}
}2. My bottom panel widget.AnimatedHelperEx(
onPressed: () {
showModalBottomSheet(
backgroundColor: Colors.transparent,
context: context,
builder: (BuildContext context) {
return StreamBuilder(
stream: controller.stream,
builder: (context, snapshot) {
return PurseViewModalBottomSheet(
controller: controller,
);
});
});
},`

Addition to the 2 step.
`class PurseViewModalBottomSheet extends StatefulWidget {
final StreamController controller;
const PurseViewModalBottomSheet({Key? key, required this.controller})
: super(key: key);

@override
State createState() =>
_PurseViewModalBottomSheetState();
}
class _PurseViewModalBottomSheetState extends State {
@override
double position = 140;
double globalPositionOnUpdate = 0;
Widget build(BuildContext context) {
return GestureDetector(
onVerticalDragCancel: () {
setState(() {
position = 140;
});
},
onVerticalDragEnd: (DragEndDetails details) {
if (((screenPortraitSizeHeight - globalPositionOnUpdate) + position) <
70) {
print(screenPortraitSizeHeight - globalPositionOnUpdate);
Navigator.pop(context);
} else {
setState(() {
while (position > 141) {
position = position - 1;
widget.controller.add(position);
}
position = 140;
widget.controller.add(position);
});
}
},
onVerticalDragUpdate: (DragUpdateDetails details) {
setState(() {
if (globalPositionOnUpdate == 0) {
globalPositionOnUpdate = details.globalPosition.dy;
} else {
if (globalPositionOnUpdate > details.globalPosition.dy) {
position = position + 0.5;
} else {
position = position - 0.5;
}
}
/position = screenPortraitSizeHeight - details.globalPosition.dy < 140
? position - 0.5
: position + 0.5;/
widget.controller.add(position);
globalPositionOnUpdate = details.globalPosition.dy;
});
},
child: BackdropFilter(
filter: ImageFilter.blur(sigmaX: 10, sigmaY: 10),
child: ClipRRect(
borderRadius: BorderRadius.only(
topLeft: Radius.circular(20), topRight: Radius.circular(20)),
child: Container(
height: position,
color: liteBlueColor,
child: SingleChildScrollView(
child: Column(
crossAxisAlignment: CrossAxisAlignment.center,
children: [
Center(
child: Padding(
padding: const EdgeInsets.only(top: 10, bottom: 5),
child: Container(
height: 4,
width: 45,
decoration: BoxDecoration(
color: Colors.white54,
borderRadius: BorderRadius.circular(20)),
),
),
),
Center(
child: Padding(
padding: EdgeInsets.only(
top: 5, bottom: 5, left: 20, right: 20),
child: AnimatedHelperEx(
onPressed: () {
Navigator.push(
context,
PageTransition(
child: IncomMoneyAccount(
OpenType: 0,
),
type: PageTransitionType.rightToLeft));
},
child: Container(
height: 50,
decoration: BoxDecoration(
color: darkBlueColor,
borderRadius: BorderRadius.circular(5)),
child: Padding(
padding: const EdgeInsets.only(left: 10),
child: Row(
children: [
Icon(
Icons.add_card,
color: Colors.white54,
),
Padding(
padding: const EdgeInsets.only(left: 10),
child: Text(
'Bank Card',
style: TextStyle(fontSize: 14, color: bb),
),
)
],
),
),
),
),
),
),
Center(
child: Padding(
padding: EdgeInsets.only(
top: 5, bottom: 5, left: 20, right: 20),
child: AnimatedHelperEx(
onPressed: () {
Navigator.push(
context,
PageTransition(
child: IncomMoneyAccount(
OpenType: 0,
),
type: PageTransitionType.rightToLeft));
},
child: Container(
height: 50,
decoration: BoxDecoration(
color: darkBlueColor,
borderRadius: BorderRadius.circular(5)),
child: Padding(
padding: const EdgeInsets.only(left: 10),
child: Row(
children: [
Container(
height: 25,
width: 25,
child: Stack(
alignment: Alignment.center,
children: [
Align(
alignment: Alignment.centerLeft,
child: Container(
child: Icon(
Icons.phone_android_sharp,
color: Colors.white54,
),
decoration: const BoxDecoration(
color: darkBlueColor,
shape: BoxShape.circle,
),
),
),
Align(
alignment: Alignment.bottomRight,
child: Container(
child: Text(
String.fromCharCode(
Icons.add_sharp.codePoint),
style: TextStyle(
inherit: false,
color: Colors.white54,
fontSize: 14.0,
fontWeight: FontWeight.w900,
fontFamily:
Icons.add_sharp.fontFamily,
package:
Icons.add_sharp.fontPackage,
),
),
decoration: BoxDecoration(
color: darkBlueColor,
shape: BoxShape.circle,
),
),
),
],
),
),
Padding(
padding: const EdgeInsets.only(left: 10),
child: Text(
'Mobile phone',
style: TextStyle(fontSize: 14, color: bb),
),
)
],
),
),
),
),
),
),
]),
),
),
),
),
);
}
}`

I'm apologize! I find solution https://stackoverflow.com/questions/62749821/flutter-how-to-cancel-pointer-up-event.


call stack and variables panes are blank when paused on breakpoints

VS Code version: both code-insiders_1.28.0-1538437803_amd64.deb and code_1.27.2-1536736588_amd64.deb
Extension version (available under the Extensions sidebar): 2018.8.0
OS and version: Ubuntu (4.15.0-34-generic)
Python version (& distribution if applicable, e.g. Anaconda): apt install python (Python 2.7.15rc1)
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): N/A
Relevant/affected Python packages and their versions: none, clean install

Actual behavior
the debugger view tells you PAUSED ON BREAKPOINT but there are no details in the CALL STACK or VARIABLES panes.
Expected  behavior
The debugger is pretty much useless without showing any variables or the call stack. I expect to see variables and call stack
Steps to reproduce:
`dpkg -P code; apt purge code vscode; snap uninstall vscode; mv ~/.vscode/ ~/BACKUP/.vscode; mv ~/.config/Code/ ~/BACKUP/.config/code`

`dpkg -i code-insiders_1.28.0-1538437803_amd64.deb`

run `code` in terminal

install microsoft python plugin

create a file with a single variable assignment and on second line a print

break point line 2

press F5 which runs for you `env "PYTHONIOENCODING=UTF-8" "PYTHONUNBUFFERED=1" "PYTHONPATH=/home/chris/.vscode/extensions/ms-python.python-2018.8.0/pythonFiles/experimental/ptvsd" /home/chris/workspace/bin/python -m ptvsd --host localhost --port 43707 /home/chris/workspace/test.py`

observe the debugger view tells you PAUSED ON BREAKPOINT but there are no details in the CALL STACK or VARIABLES panes.

Logs
Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)
Starting Jedi Python language engine.
##########Linting Output - pylint##########

--------------------------------------------------------------------
Your code has been rated at 10.00/10 (previous run: 10.00/10, +0.00)

##########Linting Output - pylint##########

--------------------------------------------------------------------
Your code has been rated at 10.00/10 (previous run: 10.00/10, +0.00)

##########Linting Output - pylint##########

--------------------------------------------------------------------
Your code has been rated at 10.00/10 (previous run: 10.00/10, +0.00)

Output from Console under the Developer Tools panel (toggle Developer Tools on under Help)
 INFO no standard startup: panel is active
workbench.main.js:sourcemap:3263 [ms-python.python]Cannot read property 'replace' of undefined
e.$onExtensionRuntimeError @ workbench.main.js:sourcemap:3263
workbench.main.js:sourcemap:3263 TypeError: Cannot read property 'replace' of undefined
	at parseVersion (/home/chris/.vscode/extensions/ms-python.python-2018.8.0/out/client/common/platform/osinfo.js:155:15)
	at getos (/home/chris/.vscode/extensions/ms-python.python-2018.8.0/out/client/common/platform/osinfo.js:81:19)
	at /home/chris/.vscode/extensions/ms-python.python-2018.8.0/node_modules/getos/index.js:96:16
	at /home/chris/.vscode/extensions/ms-python.python-2018.8.0/node_modules/getos/node_modules/async/dist/async.js:421:16
	at iteratorCallback (/home/chris/.vscode/extensions/ms-python.python-2018.8.0/node_modules/getos/node_modules/async/dist/async.js:998:13)
	at /home/chris/.vscode/extensions/ms-python.python-2018.8.0/node_modules/getos/node_modules/async/dist/async.js:906:16
	at /home/chris/.vscode/extensions/ms-python.python-2018.8.0/node_modules/getos/index.js:91:18
	at /home/chris/.vscode/extensions/ms-python.python-2018.8.0/node_modules/getos/node_modules/async/dist/async.js:3060:16
	at eachOfArrayLike (/home/chris/.vscode/extensions/ms-python.python-2018.8.0/node_modules/getos/node_modules/async/dist/async.js:1003:9)
	at eachOf (/home/chris/.vscode/extensions/ms-python.python-2018.8.0/node_modules/getos/node_modules/async/dist/async.js:1051:5)
	at Object.eachLimit (/home/chris/.vscode/extensions/ms-python.python-2018.8.0/node_modules/getos/node_modules/async/dist/async.js:3122:5)
	at /home/chris/.vscode/extensions/ms-python.python-2018.8.0/node_modules/getos/index.js:81:13
	at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:511:3)
e.$onExtensionRuntimeError @ workbench.main.js:sourcemap:3263
workbench.main.js:sourcemap:276 [Extension Host] Python Extension: Error in debugger Banner Error: Missing required @injectable annotation in: Random.
	at getTargets (/home/chris/.vscode/extensions/ms-python.python-2018.8.0/node_modules/inversify/lib/planning/reflection_utils.js:20:15)
	at Object.getDependencies (/home/chris/.vscode/extensions/ms-python.python-2018.8.0/node_modules/inversify/lib/planning/reflection_utils.js:11:19)
	at /home/chris/.vscode/extensions/ms-python.python-2018.8.0/node_modules/inversify/lib/planning/planner.js:106:51
	at Array.forEach (<anonymous>)
	at _createSubRequests (/home/chris/.vscode/extensions/ms-python.python-2018.8.0/node_modules/inversify/lib/planning/planner.js:94:20)
	at Object.plan (/home/chris/.vscode/extensions/ms-python.python-2018.8.0/node_modules/inversify/lib/planning/planner.js:129:9)
	at /home/chris/.vscode/extensions/ms-python.python-2018.8.0/node_modules/inversify/lib/container/container.js:316:37
	at Container._get (/home/chris/.vscode/extensions/ms-python.python-2018.8.0/node_modules/inversify/lib/container/container.js:309:44)
	at Container.get (/home/chris/.vscode/extensions/ms-python.python-2018.8.0/node_modules/inversify/lib/container/container.js:228:21)
	at ServiceContainer.get (/home/chris/.vscode/extensions/ms-python.python-2018.8.0/out/client/ioc/container.js:28:89)
	at DebuggerBanner.<anonymous> (/home/chris/.vscode/extensions/ms-python.python-2018.8.0/out/client/debugger/banner.js:163:55)
	at Generator.next (<anonymous>)
	at /home/chris/.vscode/extensions/ms-python.python-2018.8.0/out/client/debugger/banner.js:18:71
	at new Promise (<anonymous>)
	at __awaiter (/home/chris/.vscode/extensions/ms-python.python-2018.8.0/out/client/debugger/banner.js:14:12)
	at DebuggerBanner.getDebuggerLaunchThresholdCounter (/home/chris/.vscode/extensions/ms-python.python-2018.8.0/out/client/debugger/banner.js:158:16)
	at DebuggerBanner.<anonymous> (/home/chris/.vscode/extensions/ms-python.python-2018.8.0/out/client/debugger/banner.js:135:22)
	at Generator.next (<anonymous>)
	at /home/chris/.vscode/extensions/ms-python.python-2018.8.0/out/client/debugger/banner.js:18:71
	at new Promise (<anonymous>)
	at __awaiter (/home/chris/.vscode/extensions/ms-python.python-2018.8.0/out/client/debugger/banner.js:14:12)
	at DebuggerBanner.passedThreshold (/home/chris/.vscode/extensions/ms-python.python-2018.8.0/out/client/debugger/banner.js:133:16)
	at DebuggerBanner.<anonymous> (/home/chris/.vscode/extensions/ms-python.python-2018.8.0/out/client/debugger/banner.js:72:30)
	at Generator.next (<anonymous>)
	at /home/chris/.vscode/extensions/ms-python.python-2018.8.0/out/client/debugger/banner.js:18:71
	at new Promise (<anonymous>)
	at __awaiter (/home/chris/.vscode/extensions/ms-python.python-2018.8.0/out/client/debugger/banner.js:14:12)
	at DebuggerBanner.shouldShow (/home/chris/.vscode/extensions/ms-python.python-2018.8.0/out/client/debugger/banner.js:68:16)
	at DebuggerBanner.<anonymous> (/home/chris/.vscode/extensions/ms-python.python-2018.8.0/out/client/debugger/banner.js:188:37)
	at Generator.next (<anonymous>)
	at fulfilled (/home/chris/.vscode/extensions/ms-python.python-2018.8.0/out/client/debugger/banner.js:15:58)
	at <anonymous>

Please could you install the development version of our extension from here https://github.com/Microsoft/vscode-python/blob/master/CONTRIBUTING.md#development-build
Next try debugging with python 3.4, 3.5, 3.6 or 3.7?

i don't have python3 installed to run that development-build install script.
Are you suggesting only Python 3 is supported?

No, just wanted to check other versions.
Please install the Dev version of the extension and try again.

The type of arbitrary precision integers is long in Python 2, and int in Python 3 - this drastically effects accuracy and i cannot use python3
and in case you didn't read i don't have python3 installed. This means the install script for your 'Dev version' min requirements cannot be met.. How does one install the 'Dev version' using python2?

@DonJayamanne still trying to install that 'Dev version'... using my own assumptions here bcause you still have not answered me on how to do it.
So i installed python3 from apt
# python3 pvsc-dev-ext.py
Traceback (most recent call last):
  File "/home/chris/workspace/github/aws-sec-review/src/pvsc-dev-ext.py", line 129, in <module>
    raise RuntimeError(f"unrecognized sub-command: {args.cmd!r}")
RuntimeError: unrecognized sub-command: None

As you can see I need you to respond to my question on how to install the 'Dev version'. CONTRIBUTING.md did not help me

still trying to install that 'Dev version'... using my own assumptions here bcause you still have not answered me on how to do it.

If you read the instructions you'll see that i'm requesting you install the dev version of the extension.
The reason I asked you to test Python 3 is just to rule out Python 2.7.
Once again, I have not requested you to install Python 3.
Again, I only requested installation of the dev version of the extension, see below:
Please could you install the **development version of our extension** from here /CONTRIBUTING.md@master#development-build
Here are the instructions from the above link:
download and install the extension from the following location.
Once you have downloaded the ms-python-insiders.vsix
file, please follow the instructions on this page
to install the extension.
The development build of the extension:
...

that is helpful, thank you
test.py;
test='hello'
print test

breakpoint on line 2, hit F5
terminal output;
cd /home/chris/workspace/ ; env "PYTHONIOENCODING=UTF-8" "PYTHONUNBUFFERED=1" /home/chris/workspace/python /home/chris/.vscode-insiders/extensions/ms-python.python-2018.9.0-rc/pythonFiles/experimental/ptvsd_launcher.py 38509 /home/chris/workspace/test.py

chrome developer tools open, console level is all levels including verbose
/usr/share/code-insiders/resources/app/out/vs/workbench/workbench.main.js:1409  INFO no standard startup: not just one window
/usr/share/code-insiders/resources/app/out/vs/workbench/workbench.main.js:1409   ERR Inotify limit reached (ENOSPC)
/usr/share/code-insiders/resources/app/out/vs/workbench/workbench.main.js:3297 [ms-python.python]Cannot read property 'replace' of undefined
e.$onExtensionRuntimeError @ /usr/share/code-insiders/resources/app/out/vs/workbench/workbench.main.js:3297
/usr/share/code-insiders/resources/app/out/vs/workbench/workbench.main.js:3297 TypeError: Cannot read property 'replace' of undefined
	at Object.parseVersion (/home/chris/.vscode-insiders/extensions/ms-python.python-2018.9.0-rc/out/utils/version.js:7:15)
	at getos (/home/chris/.vscode-insiders/extensions/ms-python.python-2018.9.0-rc/out/utils/platform.js:108:29)
	at /home/chris/.vscode-insiders/extensions/ms-python.python-2018.9.0-rc/node_modules/getos/index.js:96:16
	at /home/chris/.vscode-insiders/extensions/ms-python.python-2018.9.0-rc/node_modules/getos/node_modules/async/dist/async.js:421:16
	at iteratorCallback (/home/chris/.vscode-insiders/extensions/ms-python.python-2018.9.0-rc/node_modules/getos/node_modules/async/dist/async.js:998:13)
	at /home/chris/.vscode-insiders/extensions/ms-python.python-2018.9.0-rc/node_modules/getos/node_modules/async/dist/async.js:906:16
	at /home/chris/.vscode-insiders/extensions/ms-python.python-2018.9.0-rc/node_modules/getos/index.js:91:18
	at /home/chris/.vscode-insiders/extensions/ms-python.python-2018.9.0-rc/node_modules/getos/node_modules/async/dist/async.js:3060:16
	at eachOfArrayLike (/home/chris/.vscode-insiders/extensions/ms-python.python-2018.9.0-rc/node_modules/getos/node_modules/async/dist/async.js:1003:9)
	at eachOf (/home/chris/.vscode-insiders/extensions/ms-python.python-2018.9.0-rc/node_modules/getos/node_modules/async/dist/async.js:1051:5)
	at Object.eachLimit (/home/chris/.vscode-insiders/extensions/ms-python.python-2018.9.0-rc/node_modules/getos/node_modules/async/dist/async.js:3122:5)
	at /home/chris/.vscode-insiders/extensions/ms-python.python-2018.9.0-rc/node_modules/getos/index.js:81:13
	at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:511:3)
e.$onExtensionRuntimeError @ /usr/share/code-insiders/resources/app/out/vs/workbench/workbench.main.js:3297

Nothing visibly different from before, apart from not having  Error in debugger Banner any more...

Reopening as I'd like to identify the to cause.

Ok, based on the error information, the OS information returned undefined for the version.
Possibly a permission issue, else I'd expect it to fail in the backup directory as well. Also there was the ENOSPC error.

I'm having the same problem with:
macOS Mojave 10.14
Python 2.7.10
Django 1.8.8
Debugger stops on breakpoint, callstack not complete (only main thread) and variables not visible

@inved1 please open a new issue.


Resolve apiv2 bindings test failures

V2 bindings tests were failing because of changes introduced in commit
a2ad5bb.
Signed-off-by: Lokesh Mandvekar<EMAIL_ADDRESS>@rhatdan @baude @jwhonce @vrothberg PTAL.

/approve
/retest

There are a few other maps below this one that need to be initialized as well IIUC. I can add them here itself or in a follow-up PR.

@baude btw, can we enable the bindings tests in CI, so we can immediately catch future failures before merge?

@baude @rhatdan ping PTAL.

This is breaking the intergeneration tests?

@vrothberg so I tried:
./bin/podman login registry.gitlab.com --authfile ~/authfile-custom.json
~/authfile-custom.json populated.
followed by
./bin/podman logout registry.gitlab.com --authfile ~/authfile-custom.json
~/authfile-custom.json now empty.
So AFAICT, the test passes locally. Would this be something wrong with the CI env?

@lsm5 did you run is as root?

@lsm5 did you run it as root?

same result with root

closing in favour of https://github.com/containers/libpod/pull/6118


[flash_ctrl] Add memory protection functionality for hardware interface

This PR adds memory protection to the hardware interface.
Previously only the software interface had memory protection.
The spec update is still in progress.

ah got it.
On Thu, Sep 3, 2020 at 11:32 AM Sam Elliott<EMAIL_ADDRESS>wrote:

@lenary commented on this pull request.
In sw/device/lib/flash_ctrl.c
https://github.com/lowRISC/opentitan/pull/3343#discussion_r483177435:

uint32_t reg_value;

bank_index_t bank_sel;

It's clearer if these declarations are kept with the first assignment, on
lines 165 and 171 respectively.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/lowRISC/opentitan/pull/3343#discussion_r483177435,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAH2RSUAAJU76S3SPACPWFTSD7OKDANCNFSM4QUD7E4Q
.

Removing myself, there doesn't seem to be any SW in this CL anymore?


Very small readme file change

The readme file at line 244 needs a new line because when viewed it does not separate the sections about what is customizable and what isn't.

Fixed in 8f3f5df8f23f3354952782dbe6dfc15552d2a2c3, thanks!


Bump upgrade timeout in config

CHANGELOG:

Bumps the upgrade timeout as specified in the config from 30 seconds to 3 hours

Note: I think my IDE formatted the known addresses which is why it shows up in the diff

bors r+


Desktop.Approach page: Illustrated content component

Needs to implement Illustrated content component:

Image
Background
Formatted html

https://github.com/VS-work/vs-website/issues/14

Tested
Comments:
Text have some grammatical issues, but text are nor approved yet. So new issues for text is unneccessary


ERROR: Unable to download XML: HTTP Error 403: Forbidden on Ubuntu 32b but not on my Ubuntu 64b

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2019.04.24. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

[x] I've verified and I assure that I'm running youtube-dl 2019.04.24

Before submitting an issue make sure you have:

[x] At least skimmed through the README, most notably the FAQ and BUGS sections
[x] Searched the bugtracker for similar issues including closed ones
[x] Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

What is the purpose of your issue?

[x] Bug report (encountered problems with youtube-dl)
[ ] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
$ /usr/local/bin/youtube-dl --ignore-config -vgf best http://videa.hu/videok/vicces/smallville-season-3-episode-1-clark-kent-cult-D3cGaB1dseVLZ0cT
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--ignore-config', '-vgf', 'best', 'http://videa.hu/videok/vicces/smallville-season-3-episode-1-clark-kent-cult-D3cGaB1dseVLZ0cT']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2019.04.24
[debug] Python version 3.4.3 (CPython) - Linux-4.4.0-144-generic-i686-with-Ubuntu-14.04-trusty
[debug] exe versions: avconv 4.1.3-0york1, avprobe 4.1.3-0york1, ffmpeg 4.1.3-0york1, ffprobe 4.1.3-0york1, rtmpdump 2.4
[debug] Proxy map: {}
ERROR: Unable to download XML: HTTP Error 403: Forbidden (caused by HTTPError()); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
  File "/usr/local/lib/python3.4/dist-packages/youtube_dl/extractor/common.py", line 626, in _request_webpage
    return self._downloader.urlopen(url_or_request)
  File "/usr/local/lib/python3.4/dist-packages/youtube_dl/YoutubeDL.py", line 2227, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/usr/lib/python3.4/urllib/request.py", line 469, in open
    response = meth(req, response)
  File "/usr/lib/python3.4/urllib/request.py", line 579, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/python3.4/urllib/request.py", line 507, in error
    return self._call_chain(*args)
  File "/usr/lib/python3.4/urllib/request.py", line 441, in _call_chain
    result = func(*args)
  File "/usr/lib/python3.4/urllib/request.py", line 587, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)

Description of your issue, suggested solution and other information
On Ubuntu 32b, I get this :
$ /usr/local/bin/youtube-dl --ignore-config -vgf best http://videa.hu/videok/vicces/smallville-season-3-episode-1-clark-kent-cult-D3cGaB1dseVLZ0cT
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--ignore-config', '-vgf', 'best', 'http://videa.hu/videok/vicces/smallville-season-3-episode-1-clark-kent-cult-D3cGaB1dseVLZ0cT']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2019.04.24
[debug] Python version 3.4.3 (CPython) - Linux-4.4.0-144-generic-i686-with-Ubuntu-14.04-trusty
[debug] exe versions: avconv 4.1.3-0york1, avprobe 4.1.3-0york1, ffmpeg 4.1.3-0york1, ffprobe 4.1.3-0york1, rtmpdump 2.4
[debug] Proxy map: {}
ERROR: Unable to download XML: HTTP Error 403: Forbidden (caused by HTTPError()); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
  File "/usr/local/lib/python3.4/dist-packages/youtube_dl/extractor/common.py", line 626, in _request_webpage
    return self._downloader.urlopen(url_or_request)
  File "/usr/local/lib/python3.4/dist-packages/youtube_dl/YoutubeDL.py", line 2227, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/usr/lib/python3.4/urllib/request.py", line 469, in open
    response = meth(req, response)
  File "/usr/lib/python3.4/urllib/request.py", line 579, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/python3.4/urllib/request.py", line 507, in error
    return self._call_chain(*args)
  File "/usr/lib/python3.4/urllib/request.py", line 441, in _call_chain
    result = func(*args)
  File "/usr/lib/python3.4/urllib/request.py", line 587, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)

On Ubuntu 64b, it works and I get this :
$ /usr/local/bin/youtube-dl --ignore-config -vgf best http://videa.hu/videok/vicces/smallville-season-3-episode-1-clark-kent-cult-D3cGaB1dseVLZ0cT
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--ignore-config', '-vgf', 'best', 'http://videa.hu/videok/vicces/smallville-season-3-episode-1-clark-kent-cult-D3cGaB1dseVLZ0cT']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2019.04.24
[debug] Python version 3.4.3 (CPython) - Linux-4.4.0-144-generic-x86_64-with-Ubuntu-14.04-trusty
[debug] exe versions: avconv 4.1.3-0york1, avprobe 4.1.3-0york1, ffmpeg 4.1.3-0york1, ffprobe 4.1.3-0york1, rtmpdump 2.4
[debug] Proxy map: {}
http://videa.hu/static/360p/3.1223308.1954356?md5=ic6ohC_NNB0TNtJZPLztZg&expires=1556157264

Both have the some linux kernel and Python, and youtube-dl versions.

@dstftw How can I get youtube-dl to be more verbose if I have to debug this issue myself ?

@dstftw I use the --write-pages and --dump-pages options but nothing more has shown and there was no file created in the current directory.

@dstftw The libgnutls28:i386 and libgnutls28-dev:i386 packages were missing so I installed them.
Still, it didn't fix the pb.
I also have the same pb. with Python 3.7 :
$ youtube-dl --ignore-config -vg http://videa.hu/videok/vicces/smallville-season-3-episode-1-clark-kent-cult-D3cGaB1dseVLZ0cT
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--ignore-config', '-vg', 'http://videa.hu/videok/vicces/smallville-season-3-episode-1-clark-kent-cult-D3cGaB1dseVLZ0cT']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2019.04.24
[debug] Python version 3.7.1 (CPython) - Linux-4.4.0-144-generic-i686-with-debian-jessie-sid
[debug] exe versions: avconv 4.1.3-0york1, avprobe 4.1.3-0york1, ffmpeg 4.1.3-0york1, ffprobe 4.1.3-0york1, rtmpdump 2.4
[debug] Proxy map: {}
ERROR: Unable to download XML: HTTP Error 403: Forbidden (caused by <HTTPError 403: 'Forbidden'>); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
  File "/usr/local/miniconda3/lib/python3.7/site-packages/youtube_dl/extractor/common.py", line 626, in _request_webpage
    return self._downloader.urlopen(url_or_request)
  File "/usr/local/miniconda3/lib/python3.7/site-packages/youtube_dl/YoutubeDL.py", line 2227, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/usr/local/miniconda3/lib/python3.7/urllib/request.py", line 531, in open
    response = meth(req, response)
  File "/usr/local/miniconda3/lib/python3.7/urllib/request.py", line 641, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/local/miniconda3/lib/python3.7/urllib/request.py", line 569, in error
    return self._call_chain(*args)
  File "/usr/local/miniconda3/lib/python3.7/urllib/request.py", line 503, in _call_chain
    result = func(*args)
  File "/usr/local/miniconda3/lib/python3.7/urllib/request.py", line 649, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)

@dstftw I've been having this pb. for more than a year, please help me debug this.

Chances are this has nothing to do with local setup. 403 means remote server restricts access for you.

@dstftw I'm not sure because it has worked once (I've just added from ipdb import set_trace at line 595 of the extractor/common.py ) :
$ youtube-dl --ignore-config -vgf "bestvideo+bestaudio/best" http://videa.hu/videok/vicces/smallville-season-3-episode-1-clark-kent-cult-D3cGaB1dseVLZ0cT
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--ignore-config', '-vgf', 'bestvideo+bestaudio/best', 'http://videa.hu/videok/vicces/smallville-season-3-episode-1-clark-kent-cult-D3cGaB1dseVLZ0cT']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2019.04.24
[debug] Python version 3.7.1 (CPython) - Linux-4.4.0-144-generic-i686-with-debian-jessie-sid
[debug] exe versions: avconv 4.1.3-0york1, avprobe 4.1.3-0york1, ffmpeg 4.1.3-0york1, ffprobe 4.1.3-0york1, rtmpdump 2.4
[debug] Proxy map: {}
[TerminalIPythonApp] WARNING | File not found: '/home/sebastien/.ipython/profile_default/startup/00-first.ipy'
ERROR: Unable to download XML: HTTP Error 403: Forbidden (caused by <HTTPError 403: 'Forbidden'>); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
  File "/usr/local/miniconda3/lib/python3.7/site-packages/youtube_dl/extractor/common.py", line 627, in _request_webpage
    return self._downloader.urlopen(url_or_request)
  File "/usr/local/miniconda3/lib/python3.7/site-packages/youtube_dl/YoutubeDL.py", line 2227, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/usr/local/miniconda3/lib/python3.7/urllib/request.py", line 531, in open
    response = meth(req, response)
  File "/usr/local/miniconda3/lib/python3.7/urllib/request.py", line 641, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/local/miniconda3/lib/python3.7/urllib/request.py", line 569, in error
    return self._call_chain(*args)
  File "/usr/local/miniconda3/lib/python3.7/urllib/request.py", line 503, in _call_chain
    result = func(*args)
  File "/usr/local/miniconda3/lib/python3.7/urllib/request.py", line 649, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)

@dstftw BTW, on the 64b Ubuntu, it works everytime, so I'm not sure this pb. has something to do with being restricted by the remote server.

@dstftw  I've compared the values of the _request_webpage function parameters (in extractor/common.py) and the values of the urlopen function parameters (in YoutubeDL.py) but found nothing interesting.
I've also compared the values of the http_response function parameters (in urllib/request.py at line 641) :
On Ubuntu 64b, it shows :
$ youtube-dl --ignore-config -vg http://videa.hu/videok/vicces/smallville-season-3-episode-1-clark-kent-cult-D3cGaB1dseVLZ0cT
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--ignore-config', '-vg', 'http://videa.hu/videok/vicces/smallville-season-3-episode-1-clark-kent-cult-D3cGaB1dseVLZ0cT']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2019.04.24
[debug] Python version 3.6.5 (CPython) - Linux-4.4.0-144-generic-x86_64-with-debian-jessie-sid
[debug] exe versions: avconv 4.1.3-0york1, avprobe 4.1.3-0york1, ffmpeg 4.1.3-0york1, ffprobe 4.1.3-0york1, rtmpdump 2.4
[debug] Proxy map: {}
> /usr/local/miniconda3/lib/python3.6/urllib/request.py(642)http_response()
-> response = self.parent.error(
(Pdb) l 641
636  	        code, msg, hdrs = response.code, response.msg, response.info()
637
638  	        # According to RFC 2616, "2xx" code indicates that the client's
639  	        # request was successfully received, understood, and accepted.
640  	        if not (200 <= code < 300):
641  	            set_trace()
642  ->	            response = self.parent.error(
643  	                'http', request, response, code, msg, hdrs)
644
645  	        return response
646
(Pdb) request
<urllib.request.Request object at 0x7efbf1648978>
(Pdb) response
<http.client.HTTPResponse object at 0x7efbf1648e48>
(Pdb) code
301
(Pdb) msg
'Moved Permanently'
(Pdb) hdrs
<http.client.HTTPMessage object at 0x7efbf16569e8>
(Pdb)

but on Ubuntu 32b, it shows :
$ youtube-dl --ignore-config -vg http://videa.hu/videok/vicces/smallville-season-3-episode-1-clark-kent-cult-D3cGaB1dseVLZ0cT
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--ignore-config', '-vg', 'http://videa.hu/videok/vicces/smallville-season-3-episode-1-clark-kent-cult-D3cGaB1dseVLZ0cT']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2019.04.24
[debug] Python version 3.7.1 (CPython) - Linux-4.4.0-144-generic-i686-with-debian-jessie-sid
[debug] exe versions: avconv 4.1.3-0york1, avprobe 4.1.3-0york1, ffmpeg 4.1.3-0york1, ffprobe 4.1.3-0york1, rtmpdump 2.4
[debug] Proxy map: {}
> /usr/local/miniconda3/lib/python3.7/urllib/request.py(641)http_response()
-> response = self.parent.error(
(Pdb) l
636
637  	        # According to RFC 2616, "2xx" code indicates that the client's
638  	        # request was successfully received, understood, and accepted.
639  	        if not (200 <= code < 300):
640  	            set_trace()
641  ->	            response = self.parent.error(
642  	                'http', request, response, code, msg, hdrs)
643
644  	        return response
645
646  	    https_response = http_response
(Pdb) request
<urllib.request.Request object at 0xb60e9d8c>
(Pdb) response
<http.client.HTTPResponse object at 0xb60f2c8c>
(Pdb) code
403
(Pdb) msg
'Forbidden'
(Pdb) hdrs
<http.client.HTTPMessage object at 0xb60f51ac>
(Pdb)

Any Idea why this difference ?

@dstftw I've compared the values of the _call_chain function parameters (in urllib/request.py) and it maybe related to YoutubeDLHandler.http_open of <youtube_dl.utils.YoutubeDLHandler :
On Ubuntu 64b, youtube-dl shows :
$ youtube-dl --ignore-config -vg http://videa.hu/videok/vicces/smallville-season-3-episode-1-clark-kent-cult-D3cGaB1dseVLZ0cT
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--ignore-config', '-vg', 'http://videa.hu/videok/vicces/smallville-season-3-episode-1-clark-kent-cult-D3cGaB1dseVLZ0cT']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2019.04.24
[debug] Python version 3.6.5 (CPython) - Linux-4.4.0-144-generic-x86_64-with-debian-jessie-sid
[debug] exe versions: avconv 4.1.3-0york1, avprobe 4.1.3-0york1, ffmpeg 4.1.3-0york1, ffprobe 4.1.3-0york1, rtmpdump 2.4
[debug] Proxy map: {}
> /usr/local/miniconda3/lib/python3.6/urllib/request.py(507)_call_chain()
    506                 set_trace()
--> 507                 return result
    508

ipdb> l
    502         for handler in handlers:
    503             func = getattr(handler, meth_name)
    504             result = func(*args)
    505             if result is not None:
    506                 set_trace()
--> 507                 return result
    508
    509     def open(self, fullurl, data=None, timeout=socket._GLOBAL_DEFAULT_TIMEOUT):
    510         # accept a URL or a Request object
    511         if isinstance(fullurl, str):
    512             req = Request(fullurl, data)

ipdb> args
self = <urllib.request.OpenerDirector object at 0x7efbeaeea9b0>
chain = {'unknown': [<urllib.request.UnknownHandler object at 0x7efbeaeeac88>], 'ftp': [<urllib.request.FTPHandler object at 0x7efbeaeeae48>], 'http': [<youtube_dl.utils.PerRequestProxyHandler object at 0x7efbeaeeab38>, <youtube_dl.utils.YoutubeDLHandler object at 0x7efbeaeeab70>], 'https': [<youtube_dl.utils.PerRequestProxyHandler object at 0x7efbeaeeab38>, <youtube_dl.utils.YoutubeDLHTTPSHandler object at 0x7efbeaeeaba8>], 'data': [<urllib.request.DataHandler object at 0x7efbeaeea9e8>], 'file': [<urllib.request.FileHandler object at 0x7efbeaeeab00>]}
kind = 'http'
meth_name = 'http_open'
args = (<urllib.request.Request object at 0x7efbeb251f60>,)
ipdb> handlers
[<youtube_dl.utils.PerRequestProxyHandler object at 0x7efbeaeeab38>, <youtube_dl.utils.YoutubeDLHandler object at 0x7efbeaeeab70>]
ipdb> handler
<youtube_dl.utils.YoutubeDLHandler object at 0x7efbeaeeab70>
ipdb> func
<bound method YoutubeDLHandler.http_open of <youtube_dl.utils.YoutubeDLHandler object at 0x7efbeaeeaba8>>
ipdb> result.code
301
ipdb> result.msg
'Moved Permanently'
ipdb>

But on Ubuntu 32b, it shows :
$ youtube-dl --ignore-config -vg http://videa.hu/videok/vicces/smallville-season-3-episode-1-clark-kent-cult-D3cGaB1dseVLZ0cT
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--ignore-config', '-vg', 'http://videa.hu/videok/vicces/smallville-season-3-episode-1-clark-kent-cult-D3cGaB1dseVLZ0cT']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2019.04.24
[debug] Python version 3.7.1 (CPython) - Linux-4.4.0-144-generic-i686-with-debian-jessie-sid
[debug] exe versions: avconv 4.1.3-0york1, avprobe 4.1.3-0york1, ffmpeg 4.1.3-0york1, ffprobe 4.1.3-0york1, rtmpdump 2.4
[debug] Proxy map: {}
> /usr/local/miniconda3/lib/python3.7/urllib/request.py(506)_call_chain()
-> return result
(Pdb) l
501  	        for handler in handlers:
502  	            func = getattr(handler, meth_name)
503  	            result = func(*args)
504  	            if result is not None:
505  	                set_trace()
506  ->	                return result
507
508  	    def open(self, fullurl, data=None, timeout=socket._GLOBAL_DEFAULT_TIMEOUT):
509  	        # accept a URL or a Request object
510  	        if isinstance(fullurl, str):
511  	            req = Request(fullurl, data)
(Pdb) args
self = <urllib.request.OpenerDirector object at 0xb5da60cc>
chain = {'unknown': [<urllib.request.UnknownHandler object at 0xb5da60ac>], 'ftp': [<urllib.request.FTPHandler object at 0xb5da642c>], 'http': [<youtube_dl.utils.PerRequestProxyHandler object at 0xb605dfcc>, <youtube_dl.utils.YoutubeDLHandler object at 0xb5da60ec>], 'https': [<youtube_dl.utils.PerRequestProxyHandler object at 0xb605dfcc>, <youtube_dl.utils.YoutubeDLHTTPSHandler object at 0xb605d60c>], 'data': [<urllib.request.DataHandler object at 0xb5dae6ec>], 'file': [<urllib.request.FileHandler object at 0xb5da608c>]}
kind = 'http'
meth_name = 'http_open'
args = (<urllib.request.Request object at 0xb605dcac>,)
(Pdb) handlers
[<youtube_dl.utils.PerRequestProxyHandler object at 0xb605dfcc>, <youtube_dl.utils.YoutubeDLHandler object at 0xb5da60ec>]
(Pdb) handler
<youtube_dl.utils.YoutubeDLHandler object at 0xb5da60ec>
(Pdb) func
<bound method YoutubeDLHandler.http_open of <youtube_dl.utils.YoutubeDLHandler object at 0xb5e1e06c>>
(Pdb) result.code
403
(Pdb) result.msg
'Forbidden'
(Pdb)

Do you have any idea why ?

@dstftw Upgrated from Ubuntu Trusty 32bits to Ubuntu Xenial 32bits but still have the same pb. :
$ youtube-dl -v --ignore-config -g -f best http://videa.hu/videok/vicces/smallville-season-4-episode-2-clark-kent-cult-K28lik2NqiMJ2jfp
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', '--ignore-config', '-g', '-f', 'best', 'http://videa.hu/videok/vicces/smallville-season-4-episode-2-clark-kent-cult-K28lik2NqiMJ2jfp']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2020.05.08
[debug] Python version 3.7.7 (CPython) - Linux-4.4.0-179-generic-i686-with-Ubuntu-16.04-xenial
[debug] exe versions: ffmpeg 4.2.2, ffprobe 4.2.2, rtmpdump 2.4
[debug] Proxy map: {}
ERROR: Unable to download XML: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1076)> (caused by URLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1076)')))
  File "/usr/local/lib/python3.7/dist-packages/youtube_dl/extractor/common.py", line 627, in _request_webpage
    return self._downloader.urlopen(url_or_request)
  File "/usr/local/lib/python3.7/dist-packages/youtube_dl/YoutubeDL.py", line 2238, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/usr/lib/python3.7/urllib/request.py", line 531, in open
    response = meth(req, response)
  File "/usr/lib/python3.7/urllib/request.py", line 641, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/python3.7/urllib/request.py", line 563, in error
    result = self._call_chain(*args)
  File "/usr/lib/python3.7/urllib/request.py", line 503, in _call_chain
    result = func(*args)
  File "/usr/lib/python3.7/urllib/request.py", line 755, in http_error_302
    return self.parent.open(new, timeout=req.timeout)
  File "/usr/lib/python3.7/urllib/request.py", line 525, in open
    response = self._open(req, data)
  File "/usr/lib/python3.7/urllib/request.py", line 543, in _open
    '_open', req)
  File "/usr/lib/python3.7/urllib/request.py", line 503, in _call_chain
    result = func(*args)
  File "/usr/local/lib/python3.7/dist-packages/youtube_dl/utils.py", line 2730, in https_open
    req, **kwargs)
  File "/usr/lib/python3.7/urllib/request.py", line 1321, in do_open
    raise URLError(err)

$ echo $?
1


How do I return error responses in v0.1.11?

I am doing the following in my Mirage route:
return new Mirage.Response(422, {}, {
  errors: [ /* stuff here*/ ]
});

However, the Chrome console says: "Successful request: POST /api/v1/XXX". Am I missing something? Thanks!

Successful should probably say handled, this is just saying that Mirage
handled the request. Can you check if it's treated as an error in your
code, for example if a catch block is being called?
On Wed, Mar 2, 2016 at 3:36 PM David Tang<EMAIL_ADDRESS>wrote:

I am doing the following in my Mirage route:
return new Mirage.Response(422, {}, {
errors: [ /* stuff here*/ ]
});
However, the Chrome console it says: "Successful request: POST
/api/v1/XXX". Am I missing something? Thanks!
—
Reply to this email directly or view it on GitHub
https://github.com/samselikoff/ember-cli-mirage/issues/618.

Both the catch and the success are being called.

Hm, both .catch and .then? I've never heard of that before. Could you upload a reduced test case somewhere so I can look?
Also maybe try using { 'Content-Type': 'application/json' } for your headers argument (second param to Mirage.Response).

It was a problem on my end. I didn't realize that if you don't throw in a catch block, success handlers for promises downstream will get invoked. I had something like this:
asyncCall['catch']((err) => {
  return err; // should have thrown here
}).then(() => {
  // executed because i didn't throw in the catch block above
});


removing diskperf example from 9.11 release

Removing diskperf example for release branch. This example only works with an special version of orangefs which never publicly released. Later we will add this example in hpxio repository.

This will be re-added to the hpxio repository.


error loading libLLVM using wasm-pack test

🐛 Bug description
I tried running wasm-pack test on a project, and was met with a rust-lld error complaining about libLLVM7.so not existing.
🤔 Expected Behavior
I was hoping to try wasm-pack test without any problems.
👟 Steps to reproduce
It appears to be something specific to my machine, and not necessarily the project I was working on. The minimum repro I could make was an empty lib.rs file, and the following Cargo.toml:
[package]
name = "my_project"
version = "0.1.0"
license = "MIT OR Apache-2.0"

[lib]
crate-type = ["cdylib"]

[dependencies]
wasm-bindgen = "0.2.23"

[dev-dependencies]
wasm-bindgen-test = "0.2.23"

Then run wasm-pack test, and the following message occurred:

Error log

Running wasm tests failed. stderr:
Compiling document-ready v0.1.0 (file:///home/anon/Code/chooxide/document-ready)
error: linking with rust-lld failed: exit code: 127
|
= note: "rust-lld" "-flavor" "wasm" "-L" "/home/anon/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-unknown-unknown/lib" "/home/anon/Code/chooxide/document-ready/target/wasm32-unknown-unknown/debug/deps/test-c2b5623034254b9d.3egi8p4uiuo41swt.rcgu.o" "/home/anon/Code/chooxide/document-ready/target/wasm32-unknown-unknown/debug/deps/test-c2b5623034254b9d.3o1pi51u34qubb7s.rcgu.o" "/home/anon/Code/chooxide/document-ready/target/wasm32-unknown-unknown/debug/deps/test-c2b5623034254b9d.48xp5o7cy4owjz32.rcgu.o" "/home/anon/Code/chooxide/document-ready/target/wasm32-unknown-unknown/debug/deps/test-c2b5623034254b9d.o859lkertxv1n13.rcgu.o" "-o" "/home/anon/Code/chooxide/document-ready/target/wasm32-unknown-unknown/debug/deps/test-c2b5623034254b9d.wasm" "/home/anon/Code/chooxide/document-ready/target/wasm32-unknown-unknown/debug/deps/test-c2b5623034254b9d.cw2dwg1bxzc2iln.rcgu.o" "--gc-sections" "-O0" "-L" "/home/anon/Code/chooxide/document-ready/target/wasm32-unknown-unknown/debug/deps" "-L" "/home/anon/Code/chooxide/document-ready/target/debug/deps" "-L" "/home/anon/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-unknown-unknown/lib" "/home/anon/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-unknown-unknown/lib/libtest-6f140dcd9f91eba1.rlib" "/home/anon/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-unknown-unknown/lib/libterm-1a011394a6f61d7c.rlib" "/home/anon/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-unknown-unknown/lib/libgetopts-7ef91016f4284dab.rlib" "/home/anon/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-unknown-unknown/lib/libstd-b0efc82f64d03095.rlib" "/home/anon/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-unknown-unknown/lib/libpanic_unwind-d4854a808e0cd616.rlib" "/home/anon/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-unknown-unknown/lib/libunwind-c43a3d8cf78f9d5a.rlib" "/home/anon/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-unknown-unknown/lib/liblibc-68373f2b6bc18151.rlib" "/home/anon/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-unknown-unknown/lib/liballoc_system-40a64b71ec5a8f18.rlib" "/home/anon/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-unknown-unknown/lib/libdlmalloc-f6caffaf44cc60a0.rlib" "/home/anon/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-unknown-unknown/lib/liballoc-863f2b2485046aef.rlib" "/home/anon/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-unknown-unknown/lib/libcore-21433d3b7663b55b.rlib" "/home/anon/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-unknown-unknown/lib/libcompiler_builtins-bf63ca2c3bc4de53.rlib" "--no-threads" "-z" "stack-size=1048576" "--stack-first" "--allow-undefined" "--no-entry" "--export-table"
= note: rust-lld: error while loading shared libraries: libLLVM-7.so: cannot open shared object file: No such file or directory
error: aborting due to previous error
error: Could not compile document-ready.
warning: build failed, waiting for other jobs to finish...
error: linking with rust-lld failed: exit code: 127
|
= note: "rust-lld" "-flavor" "wasm" "-L" "/home/anon/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-unknown-unknown/lib" "/home/anon/Code/chooxide/document-ready/target/wasm32-unknown-unknown/debug/deps/document_ready-fa715299e9102dc7.11oexul5yl6uyg9y.rcgu.o" "/home/anon/Code/chooxide/document-ready/target/wasm32-unknown-unknown/debug/deps/document_ready-fa715299e9102dc7.48xp5o7cy4owjz32.rcgu.o" "/home/anon/Code/chooxide/document-ready/target/wasm32-unknown-unknown/debug/deps/document_ready-fa715299e9102dc7.muh5e3xtrts3ch2.rcgu.o" "/home/anon/Code/chooxide/document-ready/target/wasm32-unknown-unknown/debug/deps/document_ready-fa715299e9102dc7.o859lkertxv1n13.rcgu.o" "-o" "/home/anon/Code/chooxide/document-ready/target/wasm32-unknown-unknown/debug/deps/document_ready-fa715299e9102dc7.wasm" "/home/anon/Code/chooxide/document-ready/target/wasm32-unknown-unknown/debug/deps/document_ready-fa715299e9102dc7.5cjpnf705ba90raf.rcgu.o" "--gc-sections" "-O0" "-L" "/home/anon/Code/chooxide/document-ready/target/wasm32-unknown-unknown/debug/deps" "-L" "/home/anon/Code/chooxide/document-ready/target/debug/deps" "-L" "/home/anon/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-unknown-unknown/lib" "/home/anon/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-unknown-unknown/lib/libtest-6f140dcd9f91eba1.rlib" "/home/anon/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-unknown-unknown/lib/libterm-1a011394a6f61d7c.rlib" "/home/anon/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-unknown-unknown/lib/libgetopts-7ef91016f4284dab.rlib" "/home/anon/Code/chooxide/document-ready/target/wasm32-unknown-unknown/debug/deps/libweb_sys-5a67f0b4ef8824a4.rlib" "/home/anon/Code/chooxide/document-ready/target/wasm32-unknown-unknown/debug/deps/libjs_sys-3c6d47cd0592b3b4.rlib" "/home/anon/Code/chooxide/document-ready/target/wasm32-unknown-unknown/debug/deps/libwasm_bindgen-d8ccfac63b73a8c4.rlib" "/home/anon/Code/chooxide/document-ready/target/wasm32-unknown-unknown/debug/deps/libfailure-16f5f63d0d3a1662.rlib" "/home/anon/Code/chooxide/document-ready/target/wasm32-unknown-unknown/debug/deps/libbacktrace-d1104368a70b7180.rlib" "/home/anon/Code/chooxide/document-ready/target/wasm32-unknown-unknown/debug/deps/librustc_demangle-ca40a27f1ca3397b.rlib" "/home/anon/Code/chooxide/document-ready/target/wasm32-unknown-unknown/debug/deps/libcfg_if-16b0a663f87a2d67.rlib" "/home/anon/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-unknown-unknown/lib/libstd-b0efc82f64d03095.rlib" "/home/anon/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-unknown-unknown/lib/libpanic_unwind-d4854a808e0cd616.rlib" "/home/anon/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-unknown-unknown/lib/libunwind-c43a3d8cf78f9d5a.rlib" "/home/anon/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-unknown-unknown/lib/liblibc-68373f2b6bc18151.rlib" "/home/anon/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-unknown-unknown/lib/liballoc_system-40a64b71ec5a8f18.rlib" "/home/anon/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-unknown-unknown/lib/libdlmalloc-f6caffaf44cc60a0.rlib" "/home/anon/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-unknown-unknown/lib/liballoc-863f2b2485046aef.rlib" "/home/anon/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-unknown-unknown/lib/libcore-21433d3b7663b55b.rlib" "/home/anon/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-unknown-unknown/lib/libcompiler_builtins-bf63ca2c3bc4de53.rlib" "--no-threads" "-z" "stack-size=1048576" "--stack-first" "--allow-undefined" "--no-entry" "--export-table"
= note: rust-lld: error while loading shared libraries: libLLVM-7.so: cannot open shared object file: No such file or directory
error: aborting due to previous error
error: Could not compile document-ready.
To learn more, run the command again with --verbose.

I tried re-running the command with --verbose appended, but that was strictly less helpful than the first message, haha.

(Unhelpful) verbose log

error: Found argument '--verbose' which wasn't expected, or isn't valid in this context
	Did you mean --version?
USAGE:
wasm-pack test --firefox --version
For more information try --help

🌍 Your environment

wasm-pack version: 0.5.0
rustc version: rustc 1.30.0-beta.7 (0ebb25088 2018-09-22)
operating system: Linux 4.18.9-arch1-1-ARCH x86_64 GNU/Linux

Hold one a moment, LLD believes the path to your sysroot is nightly-x86_64-unknown-linux-gnu, but your rustc --version is 1.30.0-beta?

@GabrielMajeri oh interesting! -- I used cargo override beta to set the local path to beta (default is nightly). Perhaps that has something to do with it?
Going to try setting beta as default, and report back.

Okay, tried a few things but none of them worked:

set the default toolchain to beta
re-installed wasm-pack on beta (cargo install --force wasm-pack)
uninstalled nightly toolchain

this shows that wasm-pack is still looking for the nightly toolchain, but can't find it anymore. It seems it's still trying to look for nightly.

uninstalled wasm-pack and manually reinstalled, all on beta (with no nightly toolchain on my machine)

But I ended up fixing it by running everything on nightly! It seems that running wasm-pack test on beta simply doesn't work? Perhaps something has been hard coded?

@yoshuawuyts do you perhaps have an entry in PATH pointing to the nightly folder with rust-lld? Also, to confirm, you've install Rust through rustup?

do you perhaps have an entry in PATH pointing to the nightly folder with rust-lld?

I do not. Just searched through my dotfiles to double check, and came up empty.

Also, to confirm, you've install Rust through rustup?

Yes, I have. Currently at version 1.13.0

@yoshuawuyts can you confirm by using which rust-lld and echo $PATH to make sure nothing looks suspicious?
Another stray +nightly may be causing issues, but that in theory shouldn't cause problems here in that each rustup invocation is self-contained (although this still means that wasm-pack test isn't using beta like intended)

@alexcrichton cargo 1.31.0-nightly (de314a8b2 2018-09-21)

@alexcrichton rustc 1.30.0-nightly (ae7fe84e8 2018-09-26)

@yoshuawuyts hm are you extra sure that you don't think any PATH hackery and/or other installations are sitting around?
There's a few things that look suspicious here:

In the OP you mention you're using beta, but the error message indicates that LLD is getting executed from the nightly toolchain.
The error message indicates that libLLVM-7.so is missing, but when I download your toolchain and your beta toolchain both LLDs link to libLLVM-8svn.so.
The error message indicates a version of LLVM that doesn't have "svn" in the name, which is suspicious in that I think almost all builds from rust-lang/rust have "svn" in the name.

I'm sort of baffled trying to reconstruct what I think is your world in my head to figure out what's going wrong, and subsequently I can't figure out how to reproduce :(

I'm sort of baffled trying to reconstruct what I think is your world in my head to figure out what's going wrong, and subsequently I can't figure out how to reproduce :(

Yeah, I agree this sounds like it's something that's just wrong on my machine. I did have to configure quite a bit in the past to get Rust working, and I probably messed something up.
Thanks for your time; I'll dig deeper into my configs to try to root out what's going wrong on my machine!


How to create/signup a new user in help desk ?

Hi all,
I am trying to create a user, but it is showing only the login button in the navbar.
There is no signup button. How a user will signup ? I got stuck here. Will you please share the related docs? It will be very useful.
Thank you so much for the awesome product

Hi @bharathjinka09,
By default, you can add a new user from the admin module.
Then if you really need to have a signup page, you can implement it in your Django project (cf. this tutorial : https://learndjango.com/tutorials/django-signup-tutorial)

Thanks for your reply
Thanks and Regards
J. Ranga Bharath
Cell:<PHONE_NUMBER>
On Fri, 11 Mar 2022, 7:33 pm Benbb96, @.***> wrote:

Hi @bharathjinka09 https://github.com/bharathjinka09,
By default, you can add a new user from the admin module.
Then if you really need to have a signup page, you can implement it in
your Django project (cf. this tutorial :
https://learndjango.com/tutorials/django-signup-tutorial)
—
Reply to this email directly, view it on GitHub
https://github.com/django-helpdesk/django-helpdesk/issues/997#issuecomment-1065142065,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AIAYLLFQYDEM6MXC2CDPTPLU7NHERANCNFSM5QDD23FA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID:
@.***>

RIght now django-helpdesk does not have a new user account sign up page. You could make one yourself with Django as @Benbb96 shared, or there are potentially other django packages you could use to create user account sign up pages with password resets, etc., done correctly and securely. We could potentially add a user account feature in the future if there's a need and demand for it, but right now the easiest is for the administrator to add users. You don't need to be a user to fill out a report using the software.


3.2: Keep suite reporter in map until the SuiteCompleted message is dealt with

This is a forward port of https://github.com/scalatest/scalatest/pull/1843
The same issue is occurring in 3.2, when running two trivial ASync tests from SBT only one of the tests is reported, the other is not because the underlying Reporter is being removed when all of the child tests are complete, and not waiting for the SuiteCompleted event.  This means that when the second test is flushed to the reporter, there is no reporter, so the output is lost (although the failing test is still failing)

@cla-bot[bot] check


Release Schedule and Blockers

Hi Yurii, thanks for making this project! I would like to see a version of this released soon so I can tinker with using this alongside newer versions of FastAPI, since I see the last release has a version limit of 'fastapi<0.90.0,>=0.89.1'. Is there anything I can do to help you get a release out sooner?

Hi @wbarnha,
Sorry for long response, I will try to release new version with unpinned fastapi version

Hi @wbarnha,
Looks like we don't have upper limit for fastapi version - https://github.com/uriyyo/fastapi-filters/blob/5c83d3156476333cf74251b368349969a0ad7714/pyproject.toml#L24

Just glanced over the commits, I'm not sure where my issue could have come from. Odd. 😕

Maybe you used an older version? There should be no issue with lastest one

I see what's going on now: https://github.com/tiangolo/sqlmodel/blob/main/pyproject.toml#L39 has a requirement for newer versions of pydantic and I'm trying to integrate this into an existing project using sqlmodel. ☹

@wbarnha Can I close this issue?

Yes, sorry I didn't close it, I've been very distracted. I would like to at some point contribute to this project by having it support sqlmodel models in addition to pydantic, so I'll be back at some point!

@wbarnha See you!


"#1" every 10 seconds

Hi, have been testing out SC.
Created a default SocketCluster template app.
Then created this client:
socketCluster.create({port: 80})
    .on('message', msg => console.log(msg))

Received the following output. which prevented me from parsing all messages as JSON (I'm sending all messages as JSON):
{"rid":1,"data":{"id":"4T6IyuoC2dO5DQVyAAAD","pingTimeout":20000,"isAuthenticated":false}}
#1
#1
#1
... the #1 repeats every 10 seconds

Am wondering what this is from, and where it's documented?
Also wondering what other messages can be expected?

ok, found it in the docs:
https://github.com/SocketCluster/socketcluster/blob/master/socketcluster-protocol.md
For the ping/pong protocol, the SocketCluster server will periodically send a ping message to the client and the client has to answer every ping with a pong message.

The ping message which comes from the server is just the string:

#1

Whenever you get this message from the WebSocket, your client needs to send back this string as soon as possible:

#2

The strings #1 and #2 were chosen because they are relatively short (compared to sending JSON objects). Note that there are three kinds of strings which have special meaning within SocketCluster:

Ping/pong strings (I.e. #1 and #2)
Event packets (I.e. JSON objects that have an event property)
Response packets (I.e. JSON objects that have an rid property)

However, before I close this, there are still questions:

in my example above, did I need to manually respond with '#2', or is that handle implicitly for me?
is the interval between '#1's the 'pingInterval' (ie: default 8 seconds)?

Hi @davidmoshal if you are using the socketcluster-client then this is handled for you. If you are using it with native websockets then you will need to handle the ping response and send back a #2 as you mention, otherwise the server / worker will close the connection after the timeout period.
Where possible I would advise to use the socketcluster-client, as it works in nodejs and the browser, plus has various other client libraries. I'm actually on a voyage of potentially creating my own, as the client doesn't work in nativescript

@poppahorse thanks, yes am using socketcluster-client.
Good to know that I could use native WS and implement the acks.
Actually I'm also using socketcluster-server because it's simpler to setup typescript with intellij breakpoint debugging with socketcluster-server (one typescript file) than using the whole server stack created by the template app.  Might switch back to the full stack if I need clustering and better failover.
Thanks again.


Fix Specular Blinn function

I noticed an issue with the Specular Blinn code path while working on a fix to the vertex-lit code path. Previously our normalized blinn function was divided by 4.0 * cNdotV * cNdotL. I am not sure why that term was included. It causes a weird circular artifact to appear, and it causes the specular lobe to slide around the entire mesh. None of the normalized-blinn NDFs and RDFs I could find used that term (not even Ogre3D's). However, I found that one of the current popular RDFs the modified-Blinn uses pow(cNdotH, shininess) * cNdotL;.
Using this change and removing the above scaling factor results in a much nicer Blinn Specular. The specular lobe looks a lot like the SCHLICK_GGX, only it is a little smaller on smooth materials and a little brighter on rough materials.
Because vertex-lit materials are forced to use Blinn Specular, it is especially important that it look nice.
This also resolves another bug I found where IBL was being scaled too dark on vertex-lit materials.
MASTER
Blinn on left, GGX on right

This PR
Blinn on left, GGX on right

Fixes: https://github.com/godotengine/godot/issues/33543

Previously our normalized blinn function was divided by 4.0 * cNdotV * cNdotL. I am not sure why that term was included. It causes a weird circular artifact to appear, and it causes the specular lobe to slide around the entire mesh. None of the normalized-blinn NDFs and RDFs I could find used that term (not even Ogre3D's).

Seems like it was added by @reduz in 65fd37c1494. From a quick look at this commit it looks like he also added it for Phong, might be worth reviewing that too.
BTW, I did a very quick test scenes, probably not with the best environment to see specular effects, but it seems that Specular Mode SchlickGXX and Disable give the exact same output.

Yea, the Phong lighting definitely appears strange, but it is not as obviously incorrect as the blinn is.
As for the specular modes, I fixed that in https://github.com/godotengine/godot/pull/33694, it just needs to be merged. :) The important part for that bug is the change to material.h. I could remove that part from the PR and make another one.

I could remove that part from the PR and make another one.

Might be worth doing since there was no clear OK from @reduz on the .glsl changes in #33694.

Seems good, please do a similar PR for the Vulkan brach

Thanks!


Add long run job to buildkite

This PR adds a conditional long-run of Held-Suarez. I've added the ClimaAtmos-LongRuns pipeline, where I've set up a scheduled builds (@nightly to start with), we can change to @weekly if it seems unnecessary.
Note that the environment conditional if: build.env("LONGRUNS") == "true" is used here to inform buildkite to filter builds.

It may be that we need / should add other CLI options to adjust the output frequency

bors r+


fix web3 gasLimit

Error : Number can only safely store up to 53 bits
      webjs can handle max number is 2^53-1
      gasLimit 0x7fffffffffffffff is too bigger

closed & found a better way to do this.


class gk is not copyable and not movable

It is not possible to store gk classes in an STL container because it is non-movable, non-copyable class.
As I've seen these operations could be easily added as it contains only a double, int, and tuple_t which is a vector of elements.

Fixed with release 3.1.0


[Bug]: Tab widget's title content is overflowing on the property pane when the text is large.

Is there an existing issue for this?

[X] I have searched the existing issues

Description
Tab's title content is overflowing on the property pane when the text is large.

Steps To Reproduce

Add a Tabs widget
Edit the tab's title with a long text
Notice that overflow of content is seen thus overlapping the options next to it

Public Sample App
No response
Environment
Release
Issue video log
No response
Version
Release

Verified in release.


feat(Pipeline): optimize()

TODO:

Cleaning up documentation errors
Creating a issue to re-write some of the optimization guide which should draw heavy attention to this feature.

Alright, buckle up, this is a bigger one (780 lines added).
The objective of this PR was to enable pipeline.optimize(...) to support fastest defaults towards just, well evaluating a pipeline, while still enabling it to extend out further into the future and not be too locked up in terms of use case.
Get me HPO results quickly
Let's start with the simplest procedure:
pipline = ...
history = pipeline.optimize(...)  # <- What needs to go in here

The first thing is the .optimizer(target=...) which should be a function that given a Trial and Node (pipeline), should return a Trial.Report, formally: Callable[[Trial, Node], Trial.Report]. This is the users target function to use HPO nomeclature.
The target= can also be an EvaluationProtocol, which will be used to define pre-defined flows so to speak. For example, a future addition would allow something like:
pipeline.optimize(
    target=SklearnCVProtocol(X, y, splitter=...),  # User can use predefined evaluation protocols
    ...
)

Choosing an Optimizer and Creating one
The next parts revolve around the optimizer, namely optimizer= to select one, the seed=, working_dir= and metrics= it will expect. These constitue the changes to the Optimizer class. By default, it's None and just tries to get some optimizer installed and use that. There could be extra work to also detect what's compatible with the pipeline, but if they're using a custom seearch space defintion, then they likely will be able to pass in the specific optimizer they wanted anywho.
Scheduling
Next things to consider were about task execution, namely around the Scheduler and running it. It just uses n_workers: int = 1 and scheduler: Scheduler | None = None to mean that it runs the opimization in local processes with 1 worker. Both of these parameters can be freely changed though. There are also a host of parameters related to error control, plugins and max_trials= and more which are documented in the code and understandable through there.
Finer Control
The last major part to understand is setup_only: bool = False. We assume the default behaviour is as the code snippet above, "just get me some HPO runs". However more advanced users (me) might want to have multiple pipelines setup to run HPO, but I do not want to start them yet, and only care more about setting up the entire flow.
pipeline = ...
scheduler = pipeline.optimizer(..., setup_only=True)

In this case, the pipeline is ready to be optimized and will run as soon as I call scheduler.run() where notably, I am now in control of the scheduler and the run() call.

Other use cases considered:

You want to use your own History object which may be shared between pipeline optimization runs. optimize(history=my_history). This won't lock or cause race conflicts as all callbacks happen async in the main process.
You may want custom callbacks, this is handled through on_begin which allows you to do a host of custom things which have been documented.

Not yet, I wanted to flesh it out properly first before testing it. Also the docs were taking to long to render so I have a PR that fixes that first, coming up

Any advice on what to test would be appreciated. It's the weird kind of function which merely pieces things together but doesn't implement much, i.e. I'd be mainly testing that the matches do indeed match, the one thing concrete would be the heuristic

Thank you for the reviews @LennartPurucker @aron-bram! I made changes based on your comments.
Feel free to review post-mortem for any issues but after adding some tests and verifying it seems to be working as intended.
Note: Ignore what I said about testing... I found small variable name bugs which caused behaviors not to occur. Live by the tests, die by the tests


JavaSyntaxError parsing method reference

The code below is throwing a JavaSyntaxError because of the brackets in "Long[]::new", and I can't figure out why. Is it invalid Java?
public class StatementStepDefinition {
    public void foobar() {
        final Long[] secondaryTransactionsIds = getSecondaryTransactions().stream().toArray(Long[]::new);
    }
}

It is valid JDK8 Streams API syntax. I ran into this issue too, so will see if I can submit a PR to resolve it.


IntelliJ IDEA bazel plugin cannot sync kotlin projects

UPD: I tested it with Bazel 2.0.0 and 2.1.0 on multiple versions of IDEA: 2018.3, 2019.1, 2019.3, 2019.3. Sometimes, probably 1 out of 50 of fresh project imports, it works.
For some reason IDEA's bazel plugin cannot sync project defined with kt_jvm_library rule. As result IDE miscategorizes what packages classes belong to and etc. Sadly it's unusable.
Build complies without problem via command line.
Is there anything I could do to fix it ?
I'm on following configuration (bazel plugin 2<IP_ADDRESS>.0-6823f76)

IntelliJ IDEA 2019.3.2 (Ultimate Edition)
Build #IU-193.6015.39, built on January 20, 2020
Subscription is active until July 5, 2020
Runtime version: 11.0.5+10-b520.30 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Linux 5.3.0-29-generic
GC: ParNew, ConcurrentMarkSweep
Memory: 3993M
Cores: 12
Registry:
Non-Bundled Plugins: Pythonid, Statistic, YourKit Java Profiler 2019.8-b126 Integration, org.jetbrains.kotlin, org.intellij.scala, com.google.idea.bazel.ijwb, net.seesharpsoft.intellij.plugins.csv, org.jetbrains.plugins.hocon, wu.seal.tool.jsontokotlin

My BUILD is quite small. For the sake of experiment I compile java files using java_library and they sync in IDE.
load("@io_bazel_rules_kotlin//kotlin:kotlin.bzl", "kt_jvm_library")

package(default_visibility = ["//visibility:public"])

kt_jvm_library(
    name = "main_kotlin",
    srcs = glob([
        "src/main/kotlin/**/*.kt",
        #        "src/main/java/**/*.java",
    ]),
    deps = [
        "@maven//:com_walkmind_extensions_collections",
        "@maven//:io_netty_netty_buffer",
        "@maven//:org_jetbrains_annotations",
        "@maven//:org_jetbrains_kotlin_kotlin_stdlib",
    ],
)

java_library(
    name = "main_java",
    srcs = glob([
        "src/main/java/**/*.java",
    ]),
    visibility = ["//visibility:public"],
    deps = [
        ":main_kotlin",
    ],
)

Example from https://github.com/bazelbuild/rules_kotlin/tree/master/examples/trivial is not working either. No bazel errors on import but IDEA can't sync:

are you sure it's not similar to #1584? the same thing happens to me on mac with a regular Java project, until I properly select my Java SDK. in my environment, oddly enough, kotlin works fine, but only after I select the SDK.

@sgammon Yep.Java SDK is properly selected and I can navigate to JDK's or Kotlin's standard lib classes.
@brendandouglas / @jin could you please help with it?

Did you tried this inside your .bazelproject file:
additional_languages:
  kotlin

Hi there! We're doing a clean up of old issues and will be closing this one. Please reopen if you’d like to discuss anything further. We’ll respond as soon as we have the bandwidth/resources to do so.


[colmap] Fix LNK2019 in x64-windows-static triplet

What does your PR fix?
Fixes #21744

All features passed with following triplets:
x86-windows
x64-windows
x64-windows-static

Build successful. Thank you for the quick solution.

Thanks!


Feature/contacts

Coverage remained the same at 100.0% when pulling e7bf0e9358d7e409b67e1c16d88b5b483c2b2060 on feature/contacts into de8af4fb9181e148452b3fb11c60c78112fba8ab on master.

Coverage remained the same at 100.0% when pulling 0d203ebf23f287800bc9f969bee7c8d96345d207 on feature/contacts into de8af4fb9181e148452b3fb11c60c78112fba8ab on master.


Icon request: PebbleHost

URL of the site or app (required): PebbleHost
Logo resources for the icon (optional, but recommended):

URL of the site is required, otherwise I will close this.

oh sorry im blind, heres the URL:
https://pebblehost.com/

oh sorry im blind, heres the URL: https://pebblehost.com/

Thank you, here's your icon:
https://github.com/aegis-icons/aegis-icons/blob/master/SVG/PebbleHost.svg
❓ How to add icon(s) to Aegis?


Develop for dielectronic recombination

DO NOT MERGE - WIP!
This is for implementing dielectronic recombination into ARTIS.
Current status (5th Dec 2024):

Draft infrastructure to store autoionization data for levels.
Autoionization and capture into resonances implemented into nlte population solver
Preliminary testing for Si ions in 1 zone model appears to run and give roughly correct effect
Pushing to GitHub to keep a safe copy! But this is not in a state yet to actually merge (so please don't anyone do that!)
File attached here is the format proposed for supplying a list of autoionization processes. Format is pretty simple: list of Z upper_ion upper_level lower_ion lower_level A_auto

Still to do (5th Dec 2024):

Need to figure out how to handle with superlevels.
Likely don't actually want the autoionizing levels to take up space in the stored populations (i.e. should probably include them in the solver, but not include them in the stores). Not yet implemented.
Lower priority: need to implement into the macro atom (that likely required some more infrastructure stuff added)
Lower priority still: need to implement into the heating/cooling
Need to properly test

NOTE: I think that the superevel renorm factors currently in the code may be wrong for ionization processes. Need to check - but should discuss with Luke and see if we can fix. Don't think that actually will affect anything, but we should either fix or remove and abort.
autoion.txt

The code generally looks good to me (including matching the style of the surrounding code!). Possibly I missed something, but it looks like you could avoid the two-pass reading of the autoion.txt and just append to the vector as lines are read. Something like:
globals::elements[element].ions[lowerion].levels[lowerlevel].allautoion_startdown = temp_allautoion.size();
temp_allautoion.push_back({.autoion_A = autoion_A, .elementindex = element, ...});

The nice thing about vectors is that they autoresize as items are appended. I only avoid doing that for very large data structures, because the allocated size can be bigger than the real size by up to a a factor of two. Since the vector is probably going to be fairly small, and it will be copied into precisely-sized shared memory before being erased anyway, that shouldn't be a problem.
clang-tidy is telling you that a couple of variables can be marked as constants.
When autoion.txt is ready, you can commit a copy in the repository's data folder and we can make a test case to prevent breakage. The autoion.txt file would be slightly easier/faster to read in python if it followed single space delimiters instead of fixed width format, but if the file size is going to be small, this is not too important. Fixed width is also easier for hand editing.
(It's not possible to merge a draft pull request, so no risk of that!)


fix: unpackb can take any Buffer

https://github.com/msgpack/msgpack-python/blob/33e0e86f4e66e6bb029f118e8f5e166b55e828f7/msgpack/fallback.py#L66

Thanks!


v2.4.1: getAvailableApps () always returns empty Array

Hi,
the showLocation() function stopped working for me, even when testing it on a real iOS device and not the simulator. So I went through the code of the latest version (2.4.1 at the time of writing this), and noticed this in src/utils.js:
export const getAvailableApps = async (prefixes) => {
  let availableApps = []
  for (let app in prefixes) { // prefixes is always undefined -> no apps will be returned
    if (!prefixes.hasOwnProperty(app)) {
      continue
    }
    let avail = await isAppInstalled(app, prefixes)
    if (avail) {
      availableApps.push(app)
    }
  }

  return availableApps
}

// ...

export function askAppChoice({ dialogTitle, dialogMessage, cancelText, appsWhiteList }) {
  return new Promise(async (resolve) => {
    let availableApps = await getAvailableApps() // shouldn't this be called with a parameter?
    // ...
  })
}

Why is the prefixes parameter not handed to the getAvailableApps () function? Or, differently asked, can v2.4.1 work for anybody at all?
Thanks for some infos.

I just opened #87 with a possible fix, but don't have time to actually run it and check if it works. Could you have a look?

Wow thanks, that was fast 👍
Your commit fixes it, the ActionSheet's showing again, everything's alright. Might want to push this soon into your release since this bug's kind of a show stopper :D Thx!

Released to NPM as<EMAIL_ADDRESS>


fix ifd-pins

Issue
in job ‘ifd-pins’:
anonymous function at /nix/store/w23pbihk4l1lp12s6p1qbjmdzii3z6k6-source/pkgs/top-level/default.nix:20:1 called with unexpected argument '__functor', at /nix/store/w23pbihk4l1lp12s6p1qbjmdzii3z6k6-source/pkgs/top-level/impure.nix:84:1

this is a short-term fix, that just disables the 2 problematic lines, so ifd-pins will cache some things
the long-term fix is to figure out what haskell.nix changed to break things

This PR results/does not result in breaking changes to upstream dependencies.

Checklist

[ ] This PR contains all the work required to resolve the linked issue.

[ ] The work contained has sufficient documentation to describe what it does and how to do it.

[ ] The work has sufficient tests and/or testing.

[ ] I have committed clear and descriptive commits. Be considerate as somebody else will have to read these.

[ ] I have added the appropriate labels to this PR.

bors r+


Hydration Error when using AdSense AutoAds

What version of Remix are you using?
1.13.0
Are all your remix dependencies & dev-dependencies using the same version?

[X] Yes

Steps to Reproduce
Implement the AdSense code into a project and enable AutoAds on the AdSense Platform
Expected Behavior
It should ignore the added iframes and elements from AdSense
Actual Behavior
The whole website switches to client rendering.
AdSense adding the following things on runtime:

script tag https://partner.googleadservices.com/gampad/cookie.js
script tag https://pagead2.googlesyndication.com/pagead/managed/js/adsense/..
html element to the bottom of the body for automated anchor ads i guess [.. fulled with iframe and stuff]
iframe to the bottom of the body [.. fulled with iframe and stuff]

@mh4ck We are well aware of the hydration issues, and have several issues tracking those.
I also know that the React team have been looking into this.
I'm going to close this issue to avoid having multiple open issues for the same problem.
Thank you for taking the time to report this nonetheless  🙏🏼


Use optimizer for planning backflip trajectory

At this point, it is not possible to optimize a backflip motion with the optimizer on the solo robot.
This issue is about tracking the required modifications / extensions to the optimizer to make this possible.

Some points include:

better endeffector trajectory planning
have ability to specify desired base angle in the inverse kinematics along the trajectory

This is true, I will try to implement more delicate (while yet dynamic) motions, e. g. backflip and jumping on the box, using kino-dyn planner. But I think it needs a huge amount of work in terms of landing control and dynamically-consistent end-effector trajectory generation. I have some ideas to do that, but let's see how much time this will take... I will be devoting most of my time to this in the rest of this year and early next year...


Status page ("admin" only?)

I want to make some kind of stats page. Among other things, I want to show stats for firehose consumers.
Should I include firehose consumer IP addresses? Maybe HMAC them with a per-instance secret to produce an ID, and let people query their own ID

Could have a cli cmd that generates an "admin token"


Update Dockerfile to Go 1.20

What this PR does / why we need it:
In #257, Go version has been updated 1.20 from 1.17.
However the Go version of Dockerfile was still 1.17, so I fixed it.
Tested:
Unit and E2E tests has passed.

/assign @adrianludwin

Whoops, good catch!
/ok-to-test
/lgtm
/approve


EqualsHashCode checks for Object not Any

The EqualsHashCode check is looking for classes whose equals method overrides def equals(other: Object) rather than def equals(other: Any).

Don't understand this one. If I have the following file:
`class XxxJLObject {
def equals(f: java.lang.Object): Boolean = ???
}
class XxxAny {
def equals(f: Any): Boolean = ???
}`
Then scalastyle warns about both classes. At least in master. Are you expecting some other behaviour?

Hi, thanks for checking. I'll try again at work to confirm.

Yes you're right - sorry. The warning given in both cases is that "Covariant equals without overriding equals(java.lang.Object)" which confused me.

Closing this issue.


save/open json scripts

Original author<EMAIL_ADDRESS>(November 16, 2010 16:20:36)
What steps will reproduce the problem?
[save/open json scripts through a file manager dialog]
What is the expected output? What do you see instead?
[right now I have to copy & paste json scripts into notepad, then copy & paste into a new project]
What version of the product are you using? On what operating system?
Win 7/2.0
Please provide any additional information below.
Original issue: http://code.google.com/p/google-refine/issues/detail?id=223

@tfmorris: here, if I understand correctly, he wants to be able to save and load operation history from/to file in the user file system, is that it?
Regards, Antoine

Partially solved by #5022. Only the download option left. On the longer term (in the coming months) we want to hide the JSON itself and replace it by a better visualization of workflows.

@wetneb when you say "one the download option left" do you mean download of the operation history - as that already exists.
Or do you mean adding support to export/import the JSON defining project download options (templates or custom tabular code)?

Sorry I mixed things up indeed! It's the other option that is missing: uploading a list of operations without having to resort to copy and paste. Downloading is indeed already supported.

And uploading by #5022 as you said?

Looks like my attention span is getting way too short -_- Thank you!


Running the example doesn't actually work.

None of the ceph-mds daemons manage to successfully start, and so no ceph filesystems can be mounted.

What's their error msg?

Ok, it seems that there were two issues for ceph-mds:

The /etc/ceph/ceph.mon.keyring and /etc/ceph/ceph.client.admin.keyring needed to have proper permissions set (0444 worked, but it could probably be done better by setting the appropriate users on the services instead)

Could you please share your skyflake.nomad config?

It's just the one in example-server.nix:
    nomad = {
      servers = [ "example1" "example2" "example3" ];
      client.meta = {
        example-deployment = "yes";
      };
    };

The example vms use the fec0::/64 range which is dropped by NixOS 23.05's neat nixos-fw-rpfilter feature.
Quick and dirty workaround: ip6tables -t mangle -F PREROUTING on the host


Add command look

/dummy look <pitch> <yaw>

Resolved by https://github.com/EvolutionPlugins/Dummy/commit/e2ada9439ff2a15b4e7c5dd205615088ba4714e1