add Gridcoin to YoBit

 Issue by Erkan-Yilmaz
Wednesday Sep 06, 2017 at 11:04 GMT
Originally opened as https://github.com/Erkan-Yilmaz/Gridcoin-tasks/issues/159

https://www.yobit.net
asked by Otis

 Comment by Otis3506
Wednesday Sep 06, 2017 at 13:42 GMT

Request for listing on YObit.net submitted September 6, 2017 @ 8:40 a.m. CST.


feat(ffe-lists-react): add condensed modifier to bullet and number list

Add a prop for turning the --condensed modifer on for react
components BulletList and NumberedList. Resolves #525.

Coverage remained the same at 81.179% when pulling f779f9b5151e58bf25da1c5080ef9a1d7cc1eb30 on stianlik:bullet-list-condensed-prop into 2b8d4afdd327416308665367f0940337a62bdeb0 on SpareBank1:develop.


Tags should be applied automatically.

Currently, the tags for instances are applied by the template. Furnace should apply its tag automatically instead of relying on the template which makes the deployment not work.

Crap... but the instances are autoscaling group instances... I should then document this behaviour so it's not missed.

This is already documented.... :D Congratulations, you played yourself.


Better retry-policy for the NTP client

When an NTP query fails it retries using the sequence retry delays:
[5, 10, 20, 40, 80, 160, 320, 600 ..600], i.e. it slows down the retries exponentially
until a maximum delay of 600s == 10 minutes.
This sequence should be reset to 5s when the queries start to fail (after at least one successful query)

It would be nice to do that without a shared state.

https://github.com/input-output-hk/ouroboros-network/pull/1596


Returns ops's metrics along with the pipeds' metrics at ops admin.metrics

What would you like to be added:
Why is this needed:
ref: https://github.com/pipe-cd/pipe/pull/2202#discussion_r665906837

resolved
/close


[Vue warn]: Invalid VNode type: Symbol(Comment) (symbol) with vue 3.2.0-beta.7

Hi,

test

gives
[Vue warn]: resolveComponent can only be used in render() or setup().
warn @ bootstrap-vue-3.js?v=bcb08cc3:1059
resolveAsset @ bootstrap-vue-3.js?v=bcb08cc3:4868
resolveDynamicComponent @ bootstrap-vue-3.js?v=bcb08cc3:4841
BCardvue_type_template_id_57ef5384_render @ bootstrap-vue-3.js?v=bcb08cc3:16802
renderComponentRoot @ chunk-LM6U7U6R.js?v=bcb08cc3:1730
...

[Vue warn]: Invalid VNode type: Symbol(Comment) (symbol)  at <BCard>

The card is rendered, with with no content.

I can't reproduce this issue.
Here is the HTML generated by your code:

test

Right, I see it's working on a fresh new project. Sorry, will investigate deeper.

FYI found the issue:
https://github.com/vuejs/vue-next/issues/4260

Vue closed the issue :(
I'm using other libraries too, but this happens only with bootstrap-vue-3, so maybe it's related to something in this library? They say error cause is vue being loaded 2 times.

I'm going to reopen the issue until we figure out what happens with the warning

Thank you! Here's a minimal repo: https://github.com/mariusa/vue32-error

More info from Vue:
Your problem is with bootstrap-vue-3. have a look at it in your node_modules folder. it has its own node_modules subfolder, containing Vue 3.1.5
The reason for this is that this package declares Vue as a dependency (which should rather be a optional peerDependency) combined with the fact that 3.2-beta isn't the latest version - it's no the next tag.
This would have to be resolved in that package.

I don't get it, it's necessary to move Vue to peerDependency list or update Vue to 3.2?

vue should be moved to devDependencies or peerDependencies. Here's how another vue3 library declares vue:
https://github.com/yaminncco/vue-sidebar-menu/blob/next/package.json


false craftingComplete event

I made a crafter to automatically break refined metal down.
`function craftChange() {
if (tf.backpack == undefined) {
console.log("CRAFT_ERROR: Cannot load backpack");
return
} else {
//setup
const metalIDs = [5000, 5001, 5002];
var metalIndex = [[],[],[]];
	//counts amount of metal in backpack, records positions
	for (var i = 0; i < tf.backpack.length; i++) {
		for (var n = 0; n < metalIDs.length; n++) {

			if (tf.backpack[i].def_index === metalIDs[n] && tf.backpack[i].origin != 1) {
				metalIndex[n].push(tf.backpack[i].id);
			}
		}
	}

	//determines whether crafting is needed
	console.log(metalIndex);
	for (var i = 0; i < metalIndex.length; i++) {
		if (metalIndex[i].length < 4 && i < 2) { //smelts metal
			//tf.craft(metalIndex[i+1],23);
			//console.log('Smelted metal. ' + metalIDs[i+1]);
		} else if (metalIndex[i].length > 6 && i < 2) {
			tf.craft(metalIndex[i]);
			console.log('Combined metal.' + metalIDs[i]);
		}
	}

}

}`
At it's current state, it should try to craft 1 refined metal.
The craftingComplete event gets emitted, and nothing has happened.
Even if I close the bot to 'reset' the inventory, nothing has happened.
How do I fix this?

whoops! I figured out that craftingComplete emitted a -1. Still need help finding why...

You must pass exactly three item IDs to craft() in order to combine metal. You can't do more than one batch at a time.


[Feature Request] Prepend "Keymaster" to all automatically generated automations

Is your feature request related to a problem? Please describe.
The generated automations take of a lot of space in my automations section (I've got four locks) and are jumbled all over alphabetically: some start with the name of the lock (e.g., Front, Back, etc.), others begin with "synchronize_codeslot..."
I try to organize my automations logically alphabetically, and it just makes it a mess.
Describe the solution you'd like
I'd love to group them in one spot just by putting "Keymaster" (or maybe even better "zzzKeymaster" to keep them at the bottom) in front of them.
Describe alternatives you've considered
I could fork the project and do it on my own, but I thought others might enjoy this and I keeping up a separate fork isn't the ideal solution for me.
Additional context
I don't mind making doing the work on this and putting in a pull request, I just thought I'd see what everyone's thoughts are first. Thanks!

@libots sounds interesting and I would like to see it as well.
My suggestion, add it as a configuration variable. Default it to 'Keymaster_' but that would allow others to set their desired prefix.

I'm not sure about the configuration variable, we can add it later but I think the namespacing provides more immediate value than letting the user control the namespace (you already do that to an extent with the lock name).
Otherwise this is a no brainer - I had actually added something like this a while ago but then we had to revert some things and I haven't had a chance to re-add it. I'd like to rename the entities too to make them more consistent but that's harder to do without making it a breaking change, so I will defer that one for now.

Until HA UI provides an option to mark automations as hidden from the UX (e.g. system), I think it would be helpful to also prepend a tilde (e.g. ~KeyMaster-) to the automation name, so all of these auto-generated automations show up at the end of the list.

I endorse this as well.  It should probably be done in conjunction with issue 175.

Until HA UI provides an option to mark automations as hidden from the UX (e.g. system), I think it would be helpful to also prepend a tilde (e.g. ~KeyMaster-) to the automation name, so all of these auto-generated automations show up at the end of the list.

That’s a bridge too far

Adding prefix for scripts as well.
Is it worth doing this for all entities “

That’s a bridge too far

Not sure why you think that.  I'm trying to avoid the case where I have to scroll through a gazillion Keymaster automations/scripts that show up in the middle of the list.  It's nice to have them altogether, but frankly most of us would rather not see them at all, so a ~ can take care of that to some extent (i.e. if I see anything beginning with ~, I've scrolled down too far).

That’s a bridge too far

Not sure why you think that. I'm trying to avoid the case where I have to scroll through a gazillion Keymaster automations/scripts that show up in the middle of the list. It's nice to have them altogether, but frankly most of us would rather not see them at all, so a ~ can take care of that to some extent (i.e. if I see anything beginning with ~, I've scrolled down too far).

I tried renaming with a tilde in front, and HA ignores it in developer states.  Try it yourself and rename some of your automations with ~xxx and see what happens.

@raman325 or @firstof9 can you take a look at the prefix branch and see if the tests work?

I actually kinda like the tilde idea, but even better (though admittedly a bit more complicated) would be @tykeal's idea of the variable. I was surprised to learn that the tilde sorts to the bottom (I always thought most special characters went at the top). That being said, anything at all would probably be a good placeholder.

I just created a script and an automation that both begin with a tilde.  The automation was able to see the script, and they both sort fine in the UX. Curiously, the ~ is ignored for the service call, but the log book shows it actually called the script with the ~.
~test script turned off by ~test automation
2:31:44 PM - 3 minutes ago
~test script turned on by ~test automation
2:31:44 PM - 3 minutes ago
~test script started by ~test automation
2:31:44 PM - 3 minutes ago
~test automation has been triggered by service automation.trigger
2:31:44 PM - 3 minutes ago - Show trace
test_script:
  alias: ~test script
  sequence:
  - type: turn_on
    device_id: b0d91abd199494cea3a587a708aba4db
    entity_id: switch.master_bed_fan
    domain: switch
  mode: single

- id: '1624570051648'
  alias: ~test automation
  description: ''
  trigger:
  - platform: state
    entity_id: input_boolean.turn_fans_on_upstairs
    to: 'on'
  condition: []
  action:
  - service: script.test_script
  mode: single

can you take a look at the prefix branch and see if the tests work?
All the tests passed on the prefix branch

Not sure how y’all are doing it, but I don’t have a problem with all of the keymaster items in the UI dev.  Mostly because I filter to what I’m looking for.  But even so, adding a ~ doesn’t do jack for me.  It still shows the automation without the tilde.

They're using the alias option.


Removed gson and jsoup dependencies

Beta request fix https://github.com/hummatli/MAHAndroidUpdater/pull/13#issuecomment-278879120

Ok, @andrewpros . I will accept it. Thx.

Hi, @andrewpros . There are was some bugs in code I reverted it and I thing there is not so many demand to clear gson and jsoup libraries from project. These third party libs easies our jobs.
Therefore I will not accpet next request based on this changes.
Regards, Sattar Hummatli

@hummatli It eases nothing, and is not needed for anything, i will not install 3rd party libs for such simple functionality, developers are this days so lazy, the simplest thing done by 3rd party lib, and they call themselves "developers".
If so, ok then, i'm done with supporting this project publicly, sorry, not the kind of project i want to be part of, i will make my private fork then with all improvements.

@andrewpros . If its not helpful for you don't use it. There is people need it jcenter statistics
I have done this for my own use and then opened it for community. This all done by my effort. I have spend a lot off time on it learning and improving. But I can not spend all my time here.
It 's all with rule. Do what ever with your fork.
 Your needs brought you here.

@andrewpros .And about your changes:
I thing there is not so many use full arguments to change working and tested (by me) project (with jsoup and gson) to a unstable new version (with raw methods).
Your last changes was not life weight enough for project.
Can you show me enough reason?

Devs are lazy this days, there is absolute no point in using  TWO LIBRARIES just for such simple things, this is insane, many project already using in their projects some libs and they are different than jsoup and gson, so why to bloat apps that want to use your project by another deps, no point at all.


How to stop queue-ing new jobs

First of all great package, many thanks for the support!
Is there a way not to use the laravel's queueable jobs but calculate the count on a go?
Or if we do not use the count feature, can we stop filling the jobs table?

Yes, you can disable counters aggregating, but this way is not suggested because you have to implement all on-the-fly logic by yourself and it will be pretty complex and slightly increase load.
You can use opt-out package discovery in composer.json of your app.
"extra": {
    "laravel": {
        "dont-discover": [
            "cybercog/laravel-love"
        ]
    }
},

This will disable auto-discovery of 2 service providers:

Cog\Laravel\Love\LoveServiceProvider
Cog\Laravel\Love\LoveEventServiceProvider

Then you have to register Cog\Laravel\Love\LoveServiceProvider manually in config/app.php file, because it contains core functionality.


Animation Card

This is repository of front-end-projects

Attach file

please share the video or ss of the output. Thaks!

ok sir!

please share the  running video for the same.

Uploading Screen Recording 2023-06-03 at 12.20.49 AM.mov…

https://github.com/Vikash-8090-Yadav/Future.WebNet/assets/110227490/848ba3de-68c6-4cc0-942b-e1d4e0659cf6

Hey bro, can u please message me in the Future.webnet channel. Thanks Don't forget to tag me!

@vaibhav4gaur Can you please mention issue no.?

@shubhisingh184 my issue number is 231..

@vaibhav4gaur If you want to contribute your project under SSOC'23 then you should complete these steps ASAP:

Inside Front-end projects, create a new folder and name it according to your preferences ( eg. Animation_Card) and put all the files( html and css) inside it .
Do include a README.md file in your folder Animation_Card, in which you have to include title, description, tech stack used and working video link.
Do mention the issue number with a hashtag ( eg. #231) in this pull request.

Where I tag you?
On Sun, 30 Jul, 2023, 8:25 pm Shubhi Singh, @.***>
wrote:

@vaibhav4gaur https://github.com/vaibhav4gaur If you want to contribute
your project under SSOC'23 then you should complete these steps ASAP:

Inside Front-end projects, create a new folder and name it
according to your preferences ( eg. Animation_Card) and put all the files(
html and css) inside it .
Do include a README.md file in your folder Animation_Card, in which
you have to include title, description, tech stack used and working video
link.
Do mention the issue number with a hashtag ( eg. #231
https://github.com/Vikash-8090-Yadav/Future.WebNet/issues/231) in
this pull request.

—
Reply to this email directly, view it on GitHub
https://github.com/Vikash-8090-Yadav/Future.WebNet/pull/232#issuecomment-1657193934,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A2I7AIUMQZ5GMLWV3VCDUJTXSZYXPANCNFSM6AAAAAAYYFAD2A
.
You are receiving this because you were mentioned.Message ID:
@.***>

I mention you in discord already mam...
On Sun, 30 Jul, 2023, 8:25 pm Shubhi Singh, @.***>
wrote:

@vaibhav4gaur https://github.com/vaibhav4gaur If you want to contribute
your project under SSOC'23 then you should complete these steps ASAP:

Inside Front-end projects, create a new folder and name it
according to your preferences ( eg. Animation_Card) and put all the files(
html and css) inside it .
Do include a README.md file in your folder Animation_Card, in which
you have to include title, description, tech stack used and working video
link.
Do mention the issue number with a hashtag ( eg. #231
https://github.com/Vikash-8090-Yadav/Future.WebNet/issues/231) in
this pull request.

—
Reply to this email directly, view it on GitHub
https://github.com/Vikash-8090-Yadav/Future.WebNet/pull/232#issuecomment-1657193934,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A2I7AIUMQZ5GMLWV3VCDUJTXSZYXPANCNFSM6AAAAAAYYFAD2A
.
You are receiving this because you were mentioned.Message ID:
@.***>

Where I tag you?
…
On Sun, 30 Jul, 2023, 8:25 pm Shubhi Singh, @.> wrote: @vaibhav4gaur https://github.com/vaibhav4gaur If you want to contribute your project under SSOC'23 then you should complete these steps ASAP: 1. Inside Front-end projects, create a new folder and name it according to your preferences ( eg. Animation_Card) and put all the files( html and css) inside it . 2. Do include a README.md file in your folder Animation_Card, in which you have to include title, description, tech stack used and working video link. 3. Do mention the issue number with a hashtag ( eg. #231 <#231>) in this pull request. 4.  — Reply to this email directly, view it on GitHub <#232 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/A2I7AIUMQZ5GMLWV3VCDUJTXSZYXPANCNFSM6AAAAAAYYFAD2A . You are receiving this because you were mentioned.Message ID: @.>

Yes

Only mail mam?
On Sun, 30 Jul, 2023, 11:22 pm Shubhi Singh, @.***>
wrote:

Where I tag you?
… <#m_-5770014982898285880_>
On Sun, 30 Jul, 2023, 8:25 pm Shubhi Singh, @.> wrote: @vaibhav4gaur
https://github.com/vaibhav4gaur https://github.com/vaibhav4gaur
https://github.com/vaibhav4gaur If you want to contribute your project
under SSOC'23 then you should complete these steps ASAP: 1. Inside
Front-end projects, create a new folder and name it according to your
preferences ( eg. Animation_Card) and put all the files( html and css)
inside it . 2. Do include a README.md file in your folder Animation_Card,
in which you have to include title, description, tech stack used and
working video link. 3. Do mention the issue number with a hashtag ( eg.
#231 https://github.com/Vikash-8090-Yadav/Future.WebNet/issues/231 <#231
https://github.com/Vikash-8090-Yadav/Future.WebNet/issues/231>) in this
pull request. 4.  — Reply to
this email directly, view it on GitHub <#232 (comment)
https://github.com/Vikash-8090-Yadav/Future.WebNet/pull/232#issuecomment-1657193934>,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A2I7AIUMQZ5GMLWV3VCDUJTXSZYXPANCNFSM6AAAAAAYYFAD2A
https://github.com/notifications/unsubscribe-auth/A2I7AIUMQZ5GMLWV3VCDUJTXSZYXPANCNFSM6AAAAAAYYFAD2A
. You are receiving this because you were mentioned.Message ID: @.>
Yes
—
Reply to this email directly, view it on GitHub
https://github.com/Vikash-8090-Yadav/Future.WebNet/pull/232#issuecomment-1657230118,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A2I7AIQ6RND4AOMYJE57NZLXS2NNJANCNFSM6AAAAAAYYFAD2A
.
You are receiving this because you were mentioned.Message ID:
@.***>

Only mail mam? On Sun, 30 Jul, 2023, 11:22 pm Shubhi Singh, @.> wrote:
…
Where I tag you? … <#m_-5770014982898285880_> On Sun, 30 Jul, 2023, 8:25 pm Shubhi Singh, @.> wrote: @vaibhav4gaur https://github.com/vaibhav4gaur https://github.com/vaibhav4gaur https://github.com/vaibhav4gaur If you want to contribute your project under SSOC'23 then you should complete these steps ASAP: 1. Inside Front-end projects, create a new folder and name it according to your preferences ( eg. Animation_Card) and put all the files( html and css) inside it . 2. Do include a README.md file in your folder Animation_Card, in which you have to include title, description, tech stack used and working video link. 3. Do mention the issue number with a hashtag ( eg. #231 <#231> <#231 <#231>>) in this pull request. 4.  — Reply to this email directly, view it on GitHub <#232 (comment) <#232 (comment)>>, or unsubscribe https://github.com/notifications/unsubscribe-auth/A2I7AIUMQZ5GMLWV3VCDUJTXSZYXPANCNFSM6AAAAAAYYFAD2A https://github.com/notifications/unsubscribe-auth/A2I7AIUMQZ5GMLWV3VCDUJTXSZYXPANCNFSM6AAAAAAYYFAD2A . You are receiving this because you were mentioned.Message ID: @.> Yes — Reply to this email directly, view it on GitHub <#232 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/A2I7AIQ6RND4AOMYJE57NZLXS2NNJANCNFSM6AAAAAAYYFAD2A . You are receiving this because you were mentioned.Message ID: @.**>

Please complete and let me know by tagging me here, okay. Do this ASAP, only few hours left for your submission.


Fixes and cleans up JSON prettyprint processing

https://phabricator.wikimedia.org/T157721

It's great but the PR contains much more than its title. It should be in separate PRs or be explained here. But since we have different commits, I'm okay.


Add OPL tutorial

Description
Add Tutorial per https://app.clickup.com/t/863g6zgyg
TODO

[x] Add OPL diagram from presentation
[x] Add testnet deployment steps
[x] Add faucet steps
[x] Elaborate what “Host” and “Enclave” mean
[x] Simplify repo more
[x] Add screenshots of the application/UI
[x] Highlight private variable

Consider moving under Sapphire section.


DEP violation

void playSound() {
#ifndef UNICODE
    CALL_EXPORT("Winmm.dll", "PlaySoundA", BOOL(*)(LPCSTR, HMODULE, DWORD), OBF("sound"), nullptr, OBF(SND_RESOURCE | SND_SYNC));
#else
    CALL_EXPORT("Winmm.dll", "PlaySoundW", BOOL(*)(LPCWSTR, HMODULE, DWORD), OBF("sound"), nullptr, OBF(SND_RESOURCE | SND_SYNC));
#endif
}

it dies at the first obviously and I get this exception from my debugger
Exception: Exception 0xc0000005 encountered at address 0x000000: User-mode data execution prevention (DEP) violation at location 0x00000000
Compiler: MSVC in Debug mode
Settings
#pragma region CONFIG
    // C++ only features
    #define CONST_ENCRYPTION            1
    #define CONST_ENCRYPT_MODE          THREADLOCAL // NORMAL & THREADLOCAL
    #define CFLOW_CONST_DECRYPTION      1
    // C & C++ features
    #define CFLOW_BRANCHING             1
    #define INDIRECT_BRANCHING          1
    #define FAKE_SIGNATURES             1
    #define INLINE_STD                  0
    #define KERNEL_MODE                 0
#pragma endregion CONFIG

Hello! Your issue happens because you try to make a call to a library which is not loaded by default. To solve this issue, you can do this, and it will work just fine.
#include <stdio.h>
#include <windows.h>
#include "obfusheader.h"

int main() {
	printf("Playing sound...\n");
	LoadLibraryA("winmm.dll");
	CALL_EXPORT("winmm.dll", "PlaySoundA", decltype(&PlaySoundA), "meow.wav", 0, SND_FILENAME | SND_SYNC);
	(void)getchar();
	return 0;
}

Note that GetProcAdress used for CALL_EXPORT doesn't load the libraries you want to use, it just gets their handle if they're already loaded, so you have to load them manually. You can hide LoadLibraryA call aswell by doing
CALL_EXPORT(OBF("kernel32.dll"), OBF("LoadLibraryA"), decltype(&LoadLibraryA), "winmm.dll");


Add iabdelkareem/csharp.nvim

Repo URL:
https://github.com/iabdelkareem/csharp.nvim
Checklist:

[x] The plugin is specifically built for Neovim, or if it's a colorscheme, it supports treesitter syntax.
[x] The lines end with a .. This is to conform to awesome-list linting and requirements.
[x] The title of the pull request is Add/Update/Remove `username/repo`  (notice the backticks around `username/repo`) when adding a new plugin.
[x] The description doesn't mention that it's a Neovim plugin, it's obvious from the rest of the document. No mentions of the word plugin unless it's related to something else.
[x] The description doesn't contain emojis.
[x] Neovim is spelled as Neovim (not nvim, NeoVim or neovim), Vim is spelled as Vim (capitalized), Lua is spelled as Lua (capitalized), Tree-sitter is spelled as Tree-sitter.
[x] Acronyms should be fully capitalized, for example LSP, TS, YAML, etc.

Thanks for the PR!
I would suggest not to create a category for a single item. Please move other items to this category or find a category that this plugin fits in.

Thank you for the feedback @tversteeg I moved the plugin to Programming Languages Support


instructions for oracle-xe insufficient to build image

The instructions basically say that once you put the zip file in the directory that docker build -t oracle/database:<IP_ADDRESS>-xe . will work, but it doesn't
Calebs-MacBook-Pro:oracle-xe calebcushing$ docker --version
Docker version 1.12.3, build 6b644ec
docker-machine version 0.8.2, build e18a919

Calebs-MacBook-Pro:oracle-xe calebcushing$ docker build --pull --shm-size=1G .
Sending build context to Docker daemon 315.9 MB
Step 1 : FROM oraclelinux:7-slim
7-slim: Pulling from library/oraclelinux
Digest: sha256:f3a78afd456061bb897b9f2b54b568dec3973efccf2b086d602fabb94069fb6d
Status: Image is up to date for oraclelinux:7-slim
 ---> f005b5220b05
Step 2 : MAINTAINER Gerald Venzl<EMAIL_ADDRESS> ---> Using cache
 ---> 11cbf1e685d9
Step 3 : ENV ORACLE_BASE /u01/app/oracle ORACLE_HOME /u01/app/oracle/product/11.2.0/xe ORACLE_SID XE INSTALL_FILE_1 "oracle-xe-11.2.0-1.0.x86_64.rpm.zip" INSTALL_DIR "$HOME/install" CONFIG_RSP "xe.rsp" RUN_FILE "runOracle.sh" PWD_FILE "setPassword.sh"
 ---> Using cache
 ---> 657154d622fe
Step 4 : ENV PATH $ORACLE_HOME/bin:$PATH
 ---> Using cache
 ---> 05f1854bc74f
Step 5 : COPY $INSTALL_FILE_1 $CONFIG_RSP $RUN_FILE $PWD_FILE $INSTALL_DIR/
 ---> Using cache
 ---> ed53b8d02001
Step 6 : RUN yum -y install unzip libaio bc initscripts net-tools openssl &&     yum clean all &&     cd $INSTALL_DIR &&     unzip $INSTALL_FILE_1 &&     rm $INSTALL_FILE_1 &&        rpm -i Disk1/*.rpm &&        mkdir $ORACLE_BASE/oradata &&     chown -R oracle:dba $ORACLE_BASE &&     mv $INSTALL_DIR/$CONFIG_RSP $ORACLE_BASE/ &&     mv $INSTALL_DIR/$RUN_FILE $ORACLE_BASE/ &&     mv $INSTALL_DIR/$PWD_FILE $ORACLE_BASE/ &&     ln -s $ORACLE_BASE/$PWD_FILE / &&     cd $HOME &&     rm -rf $INSTALL_DIR &&     chmod u+x $ORACLE_BASE/$RUN_FILE &&     chmod u+x $ORACLE_BASE/$PWD_FILE
 ---> Running in 5a119ff58d40
Loaded plugins: ovl
Resolving Dependencies
--> Running transaction check
---> Package bc.x86_64 0:1.06.95-13.el7 will be installed
---> Package initscripts.x86_64 0:9.49.37-1.0.1.el7 will be installed
--> Processing Dependency: udev >= 125-1 for package: initscripts-9.49.37-1.0.1.el7.x86_64
--> Processing Dependency: sysvinit-tools >= 2.87-5 for package: initscripts-9.49.37-1.0.1.el7.x86_64
--> Processing Dependency: util-linux >= 2.16 for package: initscripts-9.49.37-1.0.1.el7.x86_64
--> Processing Dependency: /sbin/arping for package: initscripts-9.49.37-1.0.1.el7.x86_64
--> Processing Dependency: systemd for package: initscripts-9.49.37-1.0.1.el7.x86_64
--> Processing Dependency: iproute for package: initscripts-9.49.37-1.0.1.el7.x86_64
--> Processing Dependency: hostname for package: initscripts-9.49.37-1.0.1.el7.x86_64
--> Processing Dependency: /sbin/sysctl for package: initscripts-9.49.37-1.0.1.el7.x86_64
--> Processing Dependency: module-init-tools for package: initscripts-9.49.37-1.0.1.el7.x86_64
---> Package libaio.x86_64 0:0.3.109-13.el7 will be installed
---> Package net-tools.x86_64 0:2.0-0.17.20131004git.el7 will be installed
---> Package openssl.x86_64 1:1.0.1e-60.el7_3.1 will be installed
--> Processing Dependency: make for package: 1:openssl-1.0.1e-60.el7_3.1.x86_64
---> Package unzip.x86_64 0:6.0-16.el7 will be installed
--> Running transaction check
---> Package hostname.x86_64 0:3.13-3.el7 will be installed
---> Package iproute.x86_64 0:3.10.0-74.0.1.el7 will be installed
--> Processing Dependency: libmnl.so.0(LIBMNL_1.0)(64bit) for package: iproute-3.10.0-74.0.1.el7.x86_64
--> Processing Dependency: libmnl.so.0()(64bit) for package: iproute-3.10.0-74.0.1.el7.x86_64
--> Processing Dependency: libxtables.so.10()(64bit) for package: iproute-3.10.0-74.0.1.el7.x86_64
---> Package iputils.x86_64 0:20160308-8.el7 will be installed
---> Package kmod.x86_64 0:20-9.el7 will be installed
--> Processing Dependency: /usr/bin/gzip for package: kmod-20-9.el7.x86_64
--> Processing Dependency: /usr/bin/xz for package: kmod-20-9.el7.x86_64
--> Processing Dependency: /usr/bin/nm for package: kmod-20-9.el7.x86_64
--> Processing Dependency: dracut for package: kmod-20-9.el7.x86_64
---> Package make.x86_64 1:3.82-23.el7 will be installed
---> Package procps-ng.x86_64 0:3.3.10-10.el7 will be installed
--> Processing Dependency: libsystemd.so.0(LIBSYSTEMD_209)(64bit) for package: procps-ng-3.3.10-10.el7.x86_64
--> Processing Dependency: libsystemd.so.0()(64bit) for package: procps-ng-3.3.10-10.el7.x86_64
---> Package systemd.x86_64 0:219-30.0.1.el7_3.6 will be installed
--> Processing Dependency: libmount.so.1(MOUNT_2.19)(64bit) for package: systemd-219-30.0.1.el7_3.6.x86_64
--> Processing Dependency: libdw.so.1(ELFUTILS_0.130)(64bit) for package: systemd-219-30.0.1.el7_3.6.x86_64
--> Processing Dependency: libblkid.so.1(BLKID_2.15)(64bit) for package: systemd-219-30.0.1.el7_3.6.x86_64
--> Processing Dependency: libkmod.so.2(LIBKMOD_5)(64bit) for package: systemd-219-30.0.1.el7_3.6.x86_64
--> Processing Dependency: libblkid.so.1(BLKID_2.18)(64bit) for package: systemd-219-30.0.1.el7_3.6.x86_64
--> Processing Dependency: dbus for package: systemd-219-30.0.1.el7_3.6.x86_64
--> Processing Dependency: libmount.so.1(MOUNT_2.20)(64bit) for package: systemd-219-30.0.1.el7_3.6.x86_64
--> Processing Dependency: acl for package: systemd-219-30.0.1.el7_3.6.x86_64
--> Processing Dependency: libpam.so.0(LIBPAM_1.0)(64bit) for package: systemd-219-30.0.1.el7_3.6.x86_64
--> Processing Dependency: libdw.so.1(ELFUTILS_0.158)(64bit) for package: systemd-219-30.0.1.el7_3.6.x86_64
--> Processing Dependency: libblkid.so.1(BLKID_2.17)(64bit) for package: systemd-219-30.0.1.el7_3.6.x86_64
--> Processing Dependency: libdw.so.1(ELFUTILS_0.122)(64bit) for package: systemd-219-30.0.1.el7_3.6.x86_64
--> Processing Dependency: libcryptsetup.so.4(CRYPTSETUP_1.0)(64bit) for package: systemd-219-30.0.1.el7_3.6.x86_64
--> Processing Dependency: libmount.so.1()(64bit) for package: systemd-219-30.0.1.el7_3.6.x86_64
--> Processing Dependency: libqrencode.so.3()(64bit) for package: systemd-219-30.0.1.el7_3.6.x86_64
--> Processing Dependency: libkmod.so.2()(64bit) for package: systemd-219-30.0.1.el7_3.6.x86_64
--> Processing Dependency: libblkid.so.1()(64bit) for package: systemd-219-30.0.1.el7_3.6.x86_64
--> Processing Dependency: libdw.so.1()(64bit) for package: systemd-219-30.0.1.el7_3.6.x86_64
--> Processing Dependency: libpam.so.0()(64bit) for package: systemd-219-30.0.1.el7_3.6.x86_64
--> Processing Dependency: libcryptsetup.so.4()(64bit) for package: systemd-219-30.0.1.el7_3.6.x86_64
---> Package sysvinit-tools.x86_64 0:2.88-14.dsf.el7 will be installed
---> Package util-linux.x86_64 0:2.23.2-33.0.1.el7 will be installed
--> Processing Dependency: libuuid = 2.23.2-33.0.1.el7 for package: util-linux-2.23.2-33.0.1.el7.x86_64
--> Processing Dependency: libuuid.so.1(UUID_1.0)(64bit) for package: util-linux-2.23.2-33.0.1.el7.x86_64
--> Processing Dependency: libutempter.so.0(UTEMPTER_1.1)(64bit) for package: util-linux-2.23.2-33.0.1.el7.x86_64
--> Processing Dependency: libutempter.so.0()(64bit) for package: util-linux-2.23.2-33.0.1.el7.x86_64
--> Processing Dependency: libuser.so.1()(64bit) for package: util-linux-2.23.2-33.0.1.el7.x86_64
--> Processing Dependency: libuuid.so.1()(64bit) for package: util-linux-2.23.2-33.0.1.el7.x86_64
--> Running transaction check
---> Package acl.x86_64 0:2.2.51-12.el7 will be installed
---> Package binutils.x86_64 0:2.25.1-22.base.el7 will be installed
---> Package cryptsetup-libs.x86_64 0:1.7.2-1.el7 will be installed
--> Processing Dependency: libdevmapper.so.1.02(Base)(64bit) for package: cryptsetup-libs-1.7.2-1.el7.x86_64
--> Processing Dependency: libdevmapper.so.1.02(DM_1_02_97)(64bit) for package: cryptsetup-libs-1.7.2-1.el7.x86_64
--> Processing Dependency: libdevmapper.so.1.02()(64bit) for package: cryptsetup-libs-1.7.2-1.el7.x86_64
---> Package dbus.x86_64 1:1.6.12-17.0.1.el7 will be installed
--> Processing Dependency: dbus-libs(x86-64) = 1:1.6.12-17.0.1.el7 for package: 1:dbus-1.6.12-17.0.1.el7.x86_64
--> Processing Dependency: libdbus-1.so.3()(64bit) for package: 1:dbus-1.6.12-17.0.1.el7.x86_64
---> Package dracut.x86_64 0:033-463.0.1.el7 will be installed
--> Processing Dependency: kpartx for package: dracut-033-463.0.1.el7.x86_64
--> Processing Dependency: tar for package: dracut-033-463.0.1.el7.x86_64
--> Processing Dependency: hardlink for package: dracut-033-463.0.1.el7.x86_64
---> Package elfutils-libs.x86_64 0:0.166-2.el7 will be installed
---> Package gzip.x86_64 0:1.5-8.el7 will be installed
---> Package iptables.x86_64 0:1.4.21-17.el7 will be installed
--> Processing Dependency: libnetfilter_conntrack.so.3()(64bit) for package: iptables-1.4.21-17.el7.x86_64
--> Processing Dependency: libnfnetlink.so.0()(64bit) for package: iptables-1.4.21-17.el7.x86_64
---> Package kmod-libs.x86_64 0:20-9.el7 will be installed
---> Package libblkid.x86_64 0:2.23.2-33.0.1.el7 will be installed
---> Package libmnl.x86_64 0:1.0.3-7.el7 will be installed
---> Package libmount.x86_64 0:2.23.2-33.0.1.el7 will be installed
---> Package libuser.x86_64 0:0.60-7.el7_1 will be installed
---> Package libutempter.x86_64 0:1.1.6-4.el7 will be installed
---> Package libuuid.x86_64 0:2.23.2-33.0.1.el7 will be installed
---> Package pam.x86_64 0:1.1.8-18.el7 will be installed
--> Processing Dependency: libpwquality >= 0.9.9 for package: pam-1.1.8-18.el7.x86_64
--> Processing Dependency: cracklib-dicts >= 2.8 for package: pam-1.1.8-18.el7.x86_64
--> Processing Dependency: libcrack.so.2()(64bit) for package: pam-1.1.8-18.el7.x86_64
---> Package qrencode-libs.x86_64 0:3.4.1-3.el7 will be installed
---> Package systemd-libs.x86_64 0:219-30.0.1.el7_3.6 will be installed
---> Package xz.x86_64 0:5.2.2-1.el7 will be installed
--> Running transaction check
---> Package cracklib.x86_64 0:2.9.0-11.el7 will be installed
---> Package cracklib-dicts.x86_64 0:2.9.0-11.el7 will be installed
---> Package dbus-libs.x86_64 1:1.6.12-17.0.1.el7 will be installed
---> Package device-mapper-libs.x86_64 7:1.02.135-1.el7_3.2 will be installed
--> Processing Dependency: device-mapper = 7:1.02.135-1.el7_3.2 for package: 7:device-mapper-libs-1.02.135-1.el7_3.2.x86_64
---> Package hardlink.x86_64 1:1.0-19.el7 will be installed
---> Package kpartx.x86_64 0:0.4.9-99.el7_3.1 will be installed
---> Package libnetfilter_conntrack.x86_64 0:1.0.4-2.el7 will be installed
---> Package libnfnetlink.x86_64 0:1.0.1-4.el7 will be installed
---> Package libpwquality.x86_64 0:1.2.3-4.el7 will be installed
---> Package tar.x86_64 2:1.26-31.el7 will be installed
--> Running transaction check
---> Package device-mapper.x86_64 7:1.02.135-1.el7_3.2 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package                 Arch    Version                      Repository   Size
================================================================================
Installing:
 bc                      x86_64  1.06.95-13.el7               ol7_latest  114 k
 initscripts             x86_64  9.49.37-1.0.1.el7            ol7_latest  431 k
 libaio                  x86_64  0.3.109-13.el7               ol7_latest   24 k
 net-tools               x86_64  2.0-0.17.20131004git.el7     ol7_latest  303 k
 openssl                 x86_64  1:1.0.1e-60.el7_3.1          ol7_latest  713 k
 unzip                   x86_64  6.0-16.el7                   ol7_latest  169 k
Installing for dependencies:
 acl                     x86_64  2.2.51-12.el7                ol7_latest   80 k
 binutils                x86_64  2.25.1-22.base.el7           ol7_latest  5.4 M
 cracklib                x86_64  2.9.0-11.el7                 ol7_latest   79 k
 cracklib-dicts          x86_64  2.9.0-11.el7                 ol7_latest  3.6 M
 cryptsetup-libs         x86_64  1.7.2-1.el7                  ol7_latest  215 k
 dbus                    x86_64  1:1.6.12-17.0.1.el7          ol7_latest  307 k
 dbus-libs               x86_64  1:1.6.12-17.0.1.el7          ol7_latest  151 k
 device-mapper           x86_64  7:1.02.135-1.el7_3.2         ol7_latest  268 k
 device-mapper-libs      x86_64  7:1.02.135-1.el7_3.2         ol7_latest  333 k
 dracut                  x86_64  033-463.0.1.el7              ol7_latest  318 k
 elfutils-libs           x86_64  0.166-2.el7                  ol7_latest  261 k
 gzip                    x86_64  1.5-8.el7                    ol7_latest  128 k
 hardlink                x86_64  1:1.0-19.el7                 ol7_latest   14 k
 hostname                x86_64  3.13-3.el7                   ol7_latest   16 k
 iproute                 x86_64  3.10.0-74.0.1.el7            ol7_latest  617 k
 iptables                x86_64  1.4.21-17.el7                ol7_latest  424 k
 iputils                 x86_64  20160308-8.el7               ol7_latest  146 k
 kmod                    x86_64  20-9.el7                     ol7_latest  114 k
 kmod-libs               x86_64  20-9.el7                     ol7_latest   47 k
 kpartx                  x86_64  0.4.9-99.el7_3.1             ol7_latest   67 k
 libblkid                x86_64  2.23.2-33.0.1.el7            ol7_latest  170 k
 libmnl                  x86_64  1.0.3-7.el7                  ol7_latest   22 k
 libmount                x86_64  2.23.2-33.0.1.el7            ol7_latest  171 k
 libnetfilter_conntrack  x86_64  1.0.4-2.el7                  ol7_latest   51 k
 libnfnetlink            x86_64  1.0.1-4.el7                  ol7_latest   25 k
 libpwquality            x86_64  1.2.3-4.el7                  ol7_latest   84 k
 libuser                 x86_64  0.60-7.el7_1                 ol7_latest  397 k
 libutempter             x86_64  1.1.6-4.el7                  ol7_latest   24 k
 libuuid                 x86_64  2.23.2-33.0.1.el7            ol7_latest   76 k
 make                    x86_64  1:3.82-23.el7                ol7_latest  420 k
 pam                     x86_64  1.1.8-18.el7                 ol7_latest  715 k
 procps-ng               x86_64  3.3.10-10.el7                ol7_latest  288 k
 qrencode-libs           x86_64  3.4.1-3.el7                  ol7_latest   49 k
 systemd                 x86_64  219-30.0.1.el7_3.6           ol7_latest  5.2 M
 systemd-libs            x86_64  219-30.0.1.el7_3.6           ol7_latest  369 k
 sysvinit-tools          x86_64  2.88-14.dsf.el7              ol7_latest   62 k
 tar                     x86_64  2:1.26-31.el7                ol7_latest  843 k
 util-linux              x86_64  2.23.2-33.0.1.el7            ol7_latest  1.9 M
 xz                      x86_64  5.2.2-1.el7                  ol7_latest  228 k

Transaction Summary
================================================================================
Install  6 Packages (+39 Dependent packages)

Total download size: 25 M
Installed size: 85 M
Downloading packages:
--------------------------------------------------------------------------------
Total                                              1.2 MB/s |  25 MB  00:20
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : libuuid-2.23.2-33.0.1.el7.x86_64                            1/45
  Installing : libblkid-2.23.2-33.0.1.el7.x86_64                           2/45
  Installing : gzip-1.5-8.el7.x86_64                                       3/45
  Installing : cracklib-2.9.0-11.el7.x86_64                                4/45
  Installing : cracklib-dicts-2.9.0-11.el7.x86_64                          5/45
  Installing : libpwquality-1.2.3-4.el7.x86_64                             6/45
  Installing : pam-1.1.8-18.el7.x86_64                                     7/45
  Installing : libmount-2.23.2-33.0.1.el7.x86_64                           8/45
  Installing : libnfnetlink-1.0.1-4.el7.x86_64                             9/45
  Installing : xz-5.2.2-1.el7.x86_64                                      10/45
  Installing : elfutils-libs-0.166-2.el7.x86_64                           11/45
  Installing : systemd-libs-219-30.0.1.el7_3.6.x86_64                     12/45
  Installing : procps-ng-3.3.10-10.el7.x86_64                             13/45
  Installing : libmnl-1.0.3-7.el7.x86_64                                  14/45
  Installing : libnetfilter_conntrack-1.0.4-2.el7.x86_64                  15/45
  Installing : iptables-1.4.21-17.el7.x86_64                              16/45
  Installing : iproute-3.10.0-74.0.1.el7.x86_64                           17/45
  Installing : libuser-0.60-7.el7_1.x86_64                                18/45
  Installing : acl-2.2.51-12.el7.x86_64                                   19/45
  Installing : hostname-3.13-3.el7.x86_64                                 20/45
  Installing : 1:make-3.82-23.el7.x86_64                                  21/45
  Installing : 1:dbus-libs-1.6.12-17.0.1.el7.x86_64                       22/45
  Installing : kmod-libs-20-9.el7.x86_64                                  23/45
  Installing : libutempter-1.1.6-4.el7.x86_64                             24/45
  Installing : util-linux-2.23.2-33.0.1.el7.x86_64                        25/45
  Installing : 2:tar-1.26-31.el7.x86_64                                   26/45
  Installing : qrencode-libs-3.4.1-3.el7.x86_64                           27/45
  Installing : binutils-2.25.1-22.base.el7.x86_64                         28/45
  Installing : 1:hardlink-1.0-19.el7.x86_64                               29/45
  Installing : kpartx-0.4.9-99.el7_3.1.x86_64                             30/45
  Installing : 7:device-mapper-1.02.135-1.el7_3.2.x86_64                  31/45
  Installing : 7:device-mapper-libs-1.02.135-1.el7_3.2.x86_64             32/45
  Installing : cryptsetup-libs-1.7.2-1.el7.x86_64                         33/45
  Installing : dracut-033-463.0.1.el7.x86_64                              34/45
  Installing : kmod-20-9.el7.x86_64                                       35/45
  Installing : systemd-219-30.0.1.el7_3.6.x86_64                          36/45
  Installing : 1:dbus-1.6.12-17.0.1.el7.x86_64                            37/45
  Installing : iputils-20160308-8.el7.x86_64                              38/45
  Installing : sysvinit-tools-2.88-14.dsf.el7.x86_64                      39/45
  Installing : initscripts-9.49.37-1.0.1.el7.x86_64                       40/45
  Installing : net-tools-2.0-0.17.20131004git.el7.x86_64                  41/45
  Installing : 1:openssl-1.0.1e-60.el7_3.1.x86_64                         42/45
  Installing : libaio-0.3.109-13.el7.x86_64                               43/45
  Installing : bc-1.06.95-13.el7.x86_64                                   44/45
  Installing : unzip-6.0-16.el7.x86_64                                    45/45
  Verifying  : 1:openssl-1.0.1e-60.el7_3.1.x86_64                          1/45
  Verifying  : libmnl-1.0.3-7.el7.x86_64                                   2/45
  Verifying  : 1:dbus-1.6.12-17.0.1.el7.x86_64                             3/45
  Verifying  : libblkid-2.23.2-33.0.1.el7.x86_64                           4/45
  Verifying  : iproute-3.10.0-74.0.1.el7.x86_64                            5/45
  Verifying  : net-tools-2.0-0.17.20131004git.el7.x86_64                   6/45
  Verifying  : dracut-033-463.0.1.el7.x86_64                               7/45
  Verifying  : util-linux-2.23.2-33.0.1.el7.x86_64                         8/45
  Verifying  : sysvinit-tools-2.88-14.dsf.el7.x86_64                       9/45
  Verifying  : 1:hardlink-1.0-19.el7.x86_64                               10/45
  Verifying  : unzip-6.0-16.el7.x86_64                                    11/45
  Verifying  : cryptsetup-libs-1.7.2-1.el7.x86_64                         12/45
  Verifying  : bc-1.06.95-13.el7.x86_64                                   13/45
  Verifying  : 7:device-mapper-libs-1.02.135-1.el7_3.2.x86_64             14/45
  Verifying  : kmod-20-9.el7.x86_64                                       15/45
  Verifying  : binutils-2.25.1-22.base.el7.x86_64                         16/45
  Verifying  : qrencode-libs-3.4.1-3.el7.x86_64                           17/45
  Verifying  : 7:device-mapper-1.02.135-1.el7_3.2.x86_64                  18/45
  Verifying  : iptables-1.4.21-17.el7.x86_64                              19/45
  Verifying  : 2:tar-1.26-31.el7.x86_64                                   20/45
  Verifying  : libaio-0.3.109-13.el7.x86_64                               21/45
  Verifying  : pam-1.1.8-18.el7.x86_64                                    22/45
  Verifying  : gzip-1.5-8.el7.x86_64                                      23/45
  Verifying  : libutempter-1.1.6-4.el7.x86_64                             24/45
  Verifying  : libpwquality-1.2.3-4.el7.x86_64                            25/45
  Verifying  : kmod-libs-20-9.el7.x86_64                                  26/45
  Verifying  : libuuid-2.23.2-33.0.1.el7.x86_64                           27/45
  Verifying  : elfutils-libs-0.166-2.el7.x86_64                           28/45
  Verifying  : 1:dbus-libs-1.6.12-17.0.1.el7.x86_64                       29/45
  Verifying  : xz-5.2.2-1.el7.x86_64                                      30/45
  Verifying  : libnfnetlink-1.0.1-4.el7.x86_64                            31/45
  Verifying  : 1:make-3.82-23.el7.x86_64                                  32/45
  Verifying  : kpartx-0.4.9-99.el7_3.1.x86_64                             33/45
  Verifying  : procps-ng-3.3.10-10.el7.x86_64                             34/45
  Verifying  : systemd-219-30.0.1.el7_3.6.x86_64                          35/45
  Verifying  : libuser-0.60-7.el7_1.x86_64                                36/45
  Verifying  : hostname-3.13-3.el7.x86_64                                 37/45
  Verifying  : initscripts-9.49.37-1.0.1.el7.x86_64                       38/45
  Verifying  : libmount-2.23.2-33.0.1.el7.x86_64                          39/45
  Verifying  : cracklib-dicts-2.9.0-11.el7.x86_64                         40/45
  Verifying  : libnetfilter_conntrack-1.0.4-2.el7.x86_64                  41/45
  Verifying  : acl-2.2.51-12.el7.x86_64                                   42/45
  Verifying  : cracklib-2.9.0-11.el7.x86_64                               43/45
  Verifying  : systemd-libs-219-30.0.1.el7_3.6.x86_64                     44/45
  Verifying  : iputils-20160308-8.el7.x86_64                              45/45

Installed:
  bc.x86_64 0:1.06.95-13.el7
  initscripts.x86_64 0:9.49.37-1.0.1.el7
  libaio.x86_64 0:0.3.109-13.el7
  net-tools.x86_64 0:2.0-0.17.20131004git.el7
  openssl.x86_64 1:1.0.1e-60.el7_3.1
  unzip.x86_64 0:6.0-16.el7

Dependency Installed:
  acl.x86_64 0:2.2.51-12.el7
  binutils.x86_64 0:2.25.1-22.base.el7
  cracklib.x86_64 0:2.9.0-11.el7
  cracklib-dicts.x86_64 0:2.9.0-11.el7
  cryptsetup-libs.x86_64 0:1.7.2-1.el7
  dbus.x86_64 1:1.6.12-17.0.1.el7
  dbus-libs.x86_64 1:1.6.12-17.0.1.el7
  device-mapper.x86_64 7:1.02.135-1.el7_3.2
  device-mapper-libs.x86_64 7:1.02.135-1.el7_3.2
  dracut.x86_64 0:033-463.0.1.el7
  elfutils-libs.x86_64 0:0.166-2.el7
  gzip.x86_64 0:1.5-8.el7
  hardlink.x86_64 1:1.0-19.el7
  hostname.x86_64 0:3.13-3.el7
  iproute.x86_64 0:3.10.0-74.0.1.el7
  iptables.x86_64 0:1.4.21-17.el7
  iputils.x86_64 0:20160308-8.el7
  kmod.x86_64 0:20-9.el7
  kmod-libs.x86_64 0:20-9.el7
  kpartx.x86_64 0:0.4.9-99.el7_3.1
  libblkid.x86_64 0:2.23.2-33.0.1.el7
  libmnl.x86_64 0:1.0.3-7.el7
  libmount.x86_64 0:2.23.2-33.0.1.el7
  libnetfilter_conntrack.x86_64 0:1.0.4-2.el7
  libnfnetlink.x86_64 0:1.0.1-4.el7
  libpwquality.x86_64 0:1.2.3-4.el7
  libuser.x86_64 0:0.60-7.el7_1
  libutempter.x86_64 0:1.1.6-4.el7
  libuuid.x86_64 0:2.23.2-33.0.1.el7
  make.x86_64 1:3.82-23.el7
  pam.x86_64 0:1.1.8-18.el7
  procps-ng.x86_64 0:3.3.10-10.el7
  qrencode-libs.x86_64 0:3.4.1-3.el7
  systemd.x86_64 0:219-30.0.1.el7_3.6
  systemd-libs.x86_64 0:219-30.0.1.el7_3.6
  sysvinit-tools.x86_64 0:2.88-14.dsf.el7
  tar.x86_64 2:1.26-31.el7
  util-linux.x86_64 0:2.23.2-33.0.1.el7
  xz.x86_64 0:5.2.2-1.el7

Complete!
Loaded plugins: ovl
Cleaning repos: ol7_UEKR4 ol7_latest
Cleaning up everything
Archive:  oracle-xe-11.2.0-1.0.x86_64.rpm.zip
   creating: Disk1/
   creating: Disk1/upgrade/
  inflating: Disk1/upgrade/gen_inst.sql
   creating: Disk1/response/
  inflating: Disk1/response/xe.rsp
  inflating: Disk1/oracle-xe-11.2.0-1.0.x86_64.rpm

This system does not meet the minimum requirements for swap space.  Based on
the amount of physical memory available on the system, Oracle Database 11g
Express Edition requires 2048 MB of swap space. This system has 1359 MB
of swap space.  Configure more swap space on the system and retry the
installation.

error: %pre(oracle-xe-11.2.0-1.0.x86_64) scriptlet failed, exit status 1
error: oracle-xe-11.2.0-1.0.x86_64: install failed
The command '/bin/sh -c yum -y install unzip libaio bc initscripts net-tools openssl &&     yum clean all &&     cd $INSTALL_DIR &&     unzip $INSTALL_FILE_1 &&     rm $INSTALL_FILE_1 &&        rpm -i Disk1/*.rpm &&        mkdir $ORACLE_BASE/oradata &&     chown -R oracle:dba $ORACLE_BASE &&     mv $INSTALL_DIR/$CONFIG_RSP $ORACLE_BASE/ &&     mv $INSTALL_DIR/$RUN_FILE $ORACLE_BASE/ &&     mv $INSTALL_DIR/$PWD_FILE $ORACLE_BASE/ &&     ln -s $ORACLE_BASE/$PWD_FILE / &&     cd $HOME &&     rm -rf $INSTALL_DIR &&     chmod u+x $ORACLE_BASE/$RUN_FILE &&     chmod u+x $ORACLE_BASE/$PWD_FILE' returned a non-zero code: 1
Calebs-MacBook-Pro:oracle-xe calebcushing$

it's worth noting oracle doesn't actually need this amount of swap to install or run, there's a nasty hack replacing free while this runs that allows it to work.

I was able to build the image and run the server

Hi @xenoterracide, there is a much more detailed ReadMe available under https://github.com/oracle/docker-images/blob/master/OracleDatabase/README.md and we also provide a shell script that makes building the image easier, providing MD5 checksums, http proxies, etc.
Could you build the image once you provided the necessary swap space or could you work around the issue?

History: about 1.5 years ago was when I originally added docker for managing our oracle vm, at that time I was migrating away from vagrant which probably also had this hack in place so I didn't have to run a huge vm.
Workaround:  lie to oracle during install
RUN mv /usr/bin/free /usr/bin/free.bak && \
	printf "#!/bin/sh\necho Swap - - 2048" > /usr/bin/free && \
	chmod +x /usr/bin/free && \
	cd $INSTALL_DIR && \
    unzip $INSTALL_FILE_1 && \
    rm $INSTALL_FILE_1 && \
    rpm --install Disk1/*.rpm && \
    mv /usr/bin/free.bak /usr/bin/free && \```

I'm fairly confident that if I were to increase the `docker-machine`/Virtualbox  VM's default swapspace somehow, whether it be a by file or repartitioning that it would work, but due to the fact that we don't have an image repository yet, (so devs all build these themselves) and I'm not confident in all of our developer's abilities to do that (and even less confident if they're using the "native" docker installs since those have vm's that I know less about accessing the host of directly).

I read through the shell script but I don't see that it would increase the host os's swap space, so without mutating the vm I'm not sure how it would work out of the box. I'm also not sure if you can specify the `default` vm's swapspace in any way (again, without doing so manually, which I know how to do, but would rather not require for teammates).

hi, i followed all the instructions in READ.ME file but couldnt passed that swap problem with MacOsx (Sierra)
My docker version :
Docker version 17.03.0-ce, build 60ccb22
Exception :
`This system does not meet the minimum requirements for swap space.  Based on
the amount of physical memory available on the system, Oracle Database 11g
Express Edition requires 2048 MB of swap space. This system has 1023 MB
of swap space.  Configure more swap space on the system and retry the
installation.
error: %pre(oracle-xe-11.2.0-1.0.x86_64) scriptlet failed, exit status 1
error: oracle-xe-11.2.0-1.0.x86_64: install failed`
Could you please help me?

I have the same issue.  This worked for me last week.  All I think I did was upgrade docker in the meantime.  Prior to that my docker runtime could have been a couple of months old.

I think I found a solution: http://stackoverflow.com/questions/42696571/building-oracle-docker-image-on-mac-os-x-fails-with-this-system-does-not-meet-t

It looks like that in order to increase the swap space for the Docker container you need to increase the swap space of the host itself.
Docker & swap space - General discussion:

As each running docker container uses the host Kernel, they also use the memory and swap of the host.

There is a dedicated thread for Mac OS X as well:
Docker for mac configure swap space - Docker on Mac
Note: This conversation is also about Oracle Database 11g XE.

Hi,
I had the same problem under Mac OS X Sierra. I found the relevant hint here and wrote a post about it. In short: I modified the rpm preinstall scriptlet and commented out the swap space check.
Then I got a second problem:

package oracle-xe-11.2.0-1.0.x86_64 is intended for a different operating system

To workaround this I had to change the rpm install call in the Dockerfile.xe from:
rpm -i Disk1/*.rpm &&    \

to:
rpm -i --ignoreos Disk1/*.rpm && \

May be we can add this --ignoreos officially to the Dockerfile.xe?

I found the solution ( only works with 11g express edition version),
When i install it with oracle user ( define user for the folder permission as oracle)
then i increase the docker memory size, then it works.

Thanks @ogobrecht for the insight. Did you have to add --ignoreos because of the modification of the rpm script or was that a separate issue.

Hi Gerald,
thanks for your question. After a short Google search I found this stackexchange entry, which makes clear, that my package rebuilding for the changed preinstall script must be the reason for this error. A rpm package must be build on the  same system (Linux in this case), where it should run.
Sorry, seems that there is no need for the --ignoreos parameter, except that this parameter has no negative side effects and you set it for other people who facing the same problem as I.
I would recommend for a possible 12c XE to rethink the swap space check, since this is often not working in a container environment - see also this blog post, which was the starting point for my workaround.
Maybe you can find a nice solution - XE installation should be as painless as possible :-)
Best regards
Ottmar

Thanks for your feedback, @ogobrecht! Regarding the --ignoreos flag, that's what I thought. I'm hesitant to set such powerful flags by default as it is always hard to guess the side effects.
Yes, I do agree! A lot of time has passed since <IP_ADDRESS> XE was released, going towards 6 years now. Of course a lot of technologies have changed as well in that time frame and swap space may not be as crucial anymore as it used to be. Very good feedback, thanks a lot for it!

I have the same issue running docker from Windows 10.
I already tried several solutions proposed in this thread or other posts, without any luck.
As I am on windows, I can't find a way to remove the check from the rpm so I tried to "lie" to it using the following instructions in my Dockerfile, before the RUN yum -y install unzip ....  :
#Set swap file
COPY make-swap /usr/bin/make-swap
ENV SWAPSIZE=3000 SWAPFILE=/var/lib/swap.img
CMD ["/usr/bin/make-swap"]

Content of make-swap :
#!/bin/sh

if grep -q -F /`basename $SWAPFILE` /proc/swaps; then
   echo "swap file already present"
   exit
fi

mkdir -p `dirname $SWAPFILE` && dd if=/dev/zero of=$SWAPFILE bs=1024k count=$SWAPSIZE && mkswap $SWAPFILE && chmod 0600 $SWAPFILE && swapon $SWAPFILE && echo "$SWAPFILE none swap sw 0 0" >> /etc/fstab && echo "created swap file"

What's wrong ?

I'm running into this as well, using Docker for Windows. I tried many of the possible fixes listed, including that from @Juljan . I think the issue is that the MobyLinuxVM used by Windows doesn't have enough swap space and that is what's used to create the image. I can get into the VM (blog post) but I can't figure out how to increase swap. swapon -s fails with swapon: unrecognized option: s. I can add a new swap file, but running swapon /extraswap fails with swapon: /extraswap: Invalid argument.

Hi @ryankmcintyre @Juljan @gvenzl,
I created a Dockerfile to disable the swap space check in the install file - with this workaround you should be able to prepare the file also under Windows. Please let me know, if this is working for you or not.
You will find the all infos here: github.com/ogobrecht/docker-ora11xe-swap-check-disabler.
Best regards
Ottmar

I have resolved the problem following the comment of @easikoglu that said that you need to increase the memory size. I was thinking at first at the container but it seems that it's just the docker host.
I have then increased the memory size of the Docker host on Virtual Box to 8192 Mb..
If you are working with VirtualBox as provider, you can do it by opening it or if you prefer the command line:
docker-machine stop
VBoxManage modifyvm default --memory 8192
docker-machine stop

Cheers
Nico

Hi @gerardnico ,
I tried to run the commands you mentioned. It gave an error
VBoxManage modifyvm default --memory 8192
Could not find a registered machine named 'default'.

Hi @vasanth-mahendran you can find the name of you host machine via the environment variable DOCKER_MACHINE_NAME.
See https://gerardnico.com/wiki/docker/host#name
It seems that many have the name moby now but I use still Toolbox as I'm on Windows 7.

Hi @xenoterracide, do you still need anything from here?

did you ever fix your documentation or make changes to the build such that it would just work on the default docker-madchine image? sure there are lots of workarounds... my workaround was to clone and own, so technically I don't need anything.

Since XE can't be pulled down from a public repo, you have to provide the RPM to your Docker build script. So I modify the RPM manually using rpmrebuild and remove the SWAP checks, and use this modified RPM in Docker builds. Just do:
rpmrebuild --edit-pre -p oracle-xe-11.2.0-1.0.x86_64.rpm
Then simply comment out the loop that checks for the swap space.
It would be great if Oracle provided an easy way to install/configure 12c as we have with MySQL, Postgres, etc., but alas I don't think that's in the cards.

You mean something like this:
[root@localhost ~]# rpm -ihv oracle-database-ee-18c-1.0-1.x86_64.rpm
Preparing...                          ################################# [100%]
Updating / installing...
   1:oracle-database-ee-18c-1.0-1     ################################# [100%]
Registering Oracle home to the Oracle inventory...
Oracle home registered to the Oracle inventory.
Executing post installation scripts...
Setting up inventory as it has not been setup on this machine.
Configuring ADR directories...
ADR directories configured.
Post installation scripts executed successfully.
Oracle home installed successfully and ready to be configured.
To configure a sample Oracle Database you can execute the following service configuration script as root: /etc/init.d/oracledb_ORCLCDB-18c configure
[root@localhost ~]# /etc/init.d/oracledb_ORCLCDB-18c configure
Configuring Oracle Database ORCLCDB.
 For details check the logfiles at:
 /opt/oracle/cfgtoollogs/dbca/ORCLCDB.
Database Information:
Global Database Name:ORCLCDB
System Identifier(SID):ORCLCDB
Look at the log file "/opt/oracle/cfgtoollogs/dbca/ORCLCDB/ORCLCDB.log" for further details.

Database configuration completed successfully. The passwords were auto generated, you must change them by connecting to the database using 'sqlplus / as sysdba' as the oracle user.
[root@localhost ~]# su - oracle
Last login: Wed May 23 18:52:07 PDT 2018 on pts/0
[oracle@localhost ~]$ . oraenv
ORACLE_SID = [oracle] ? ORCLCDB
The Oracle base has been set to /opt/oracle
[oracle@localhost ~]$ sqlplus / as sysdba

SQL*Plus: Release <IP_ADDRESS>.0 - Production on Wed May 23 19:05:57 2018
Version <IP_ADDRESS>.0

Copyright (c) 1982, 2018, Oracle.  All rights reserved.

Connected to:
Oracle Database 18c Enterprise Edition Release <IP_ADDRESS>.0 - Production
Version <IP_ADDRESS>.0

SQL> select 'Hello World!' from dual;

'HELLOWORLD!
------------
Hello World!

SQL>

@gvenzl now you're just teasing our lovely users. :)

Yeah but rpm produces an nicer to copy output...

@gvenzl I see that RPM also mentioned in the Install docs (https://bit.ly/2JLy1z2), but I can't find the RPM in OTN, e-delivery, or linux.oracle.com sites...Do you have a link to where we could find it?

Hi @serviens, the RPM is not yet released and will follow in a couple of weeks (as well as the other ports such as Windows, Solaris, etc)


need meaningful error message for scan job authentication error in Automate UI

Describe the bug
The Automate UI does not expose a meaningful error message for scan job authentication errors. See the attached screen shot for the unknown error on the right panel.

To Reproduce
Create a scan job with incorrect authentication information. WINRM was used in this instance.
Expected behavior
Automate UI would expose a meaningful error message so users would know what actions to take to correct the underlying authentication issues. Something like WinRM::WinRMAuthorizationError
Screenshots
Screen Sho
Versions (please complete the following information):

OS: windows 2016 inspec target

Additional context
Full error message from the Automate server
```Mar 10 15:50:22 REDACTED_FQDN hab[104330]: compliance-service.default(O): time="2020-03-10T15:50:22-05:00" level=error msg="detect(aea5be10-a152-4c4a-8a9a-2550f8264694) connection attempt # 1 failed for node a3dvtxoadm01-<IP_ADDRESS>(6df75e96-ebe1-460a-8a84-f1dfc6dd5423) with error: Unknown inspec error for redacted_IP: exit status 1\n\nSTDERR: /hab/pkgs/chef/inspec/4.18.51/20191211220937/lib/gems/winrm-2.3.3/lib/winrm/http/response_handler.rb:59:in raise_if_auth_error': WinRM::WinRMAuthorizationError (WinRM::WinRMAuthorizationError)\n\tfrom /hab/pkgs/chef/inspec/4.18.51/20191211220937/lib/gems/winrm-2.3.3/lib/winrm/http/response_handler.rb:51:in raise_if_error'\n\tfrom /hab/pkgs/chef/inspec/4.18.51/20191211220937/lib/gems/winrm-2.3.3/lib/winrm/http/response_handler.rb:34:in parse_to_xml'\n\tfrom /hab/pkgs/chef/inspec/4.18.51/20191211220937/lib/gems/winrm-2.3.3/lib/winrm/http/transport.rb:186:in send_request'\n\tfrom /hab/pkgs/chef/inspec/4.18.51/20191211220937/lib/gems/winrm-2.3.3/lib/winrm/http/transport.rb:181:in send_request'\n\tfrom /hab/pkgs/chef/inspec/4.18.51/20191211220937/lib/gems/winrm-2.3.3/lib/winrm/shells/power_shell.rb:153:in max_envelope_size_kb'\n\tfrom /hab/pkgs/chef/inspec/4.18.51/20191211220937/lib/gems/winrm-2.3.3/lib/winrm/shells/power_shell.rb:78:in max_fragment_blob_size'\n\tfrom /hab/pkgs/chef/inspec/4.18.51/20191211220937/lib/gems/winrm-2.3.3/lib/winrm/shells/power_shell.rb:202:in fragmenter'\n\tfrom /hab/pkgs/chef/inspec/4.18.51/20191211220937/lib/gems/winrm-2.3.3/lib/winrm/shells/power_shell.rb:166:in block in open_shell_payload'\n\tfrom /hab/pkgs/chef/inspec/4.18.51/20191211220937/lib/gems/winrm-2.3.3/lib/winrm/shells/power_shell.rb:165:in map'\n\tfrom /hab/pkgs/chef/inspec/4.18.51/20191211220937/lib/gems/winrm-2.3.3/lib/winrm/shells/power_shell.rb:165:in open_shell_payload'\n\tfrom /hab/pkgs/chef/inspec/4.18.51/20191211220937/lib/gems/winrm-2.3.3/lib/winrm/shells/power_shell.rb:123:in open_shell'\n\tfrom /hab/pkgs/chef/inspec/4.18.51/20191211220937/lib/gems/winrm-2.3.3/lib/winrm/shells/base.rb:169:in block in open'\n\tfrom /hab/pkgs/chef/inspec/4.18.51/20191211220937/lib/gems/winrm-2.3.3/lib/winrm/shells/retryable.rb:35:in retryable'\n\tfrom /hab/pkgs/chef/inspec/4.18.51/20191211220937/lib/gems/winrm-2.3.3/lib/winrm/shells/base.rb:167:in open'\n\tfrom /hab/pkgs/chef/inspec/4.18.51/20191211220937/lib/gems/winrm-2.3.3/lib/winrm/shells/base.rb:128:in with_command_shell'\n\tfrom /hab/pkgs/chef/inspec/4.18.51/20191211220937/lib/gems/winrm-2.3.3/lib/winrm/shells/base.rb:79:in run'\n\tfrom /hab/pkgs/chef/inspec/4.18.51/20191211220937/lib/gems/train-winrm-0.2.5/lib/train-winrm/connection.rb:118:in run_command_via_connection'\n\tfrom /hab/pkgs/chef/inspec/4.18.51/20191211220937/lib/gems/train-3.2.0/lib/train/plugins/base_connection.rb:128:in run_command'\n\tfrom /hab/pkgs/chef/inspec/4.18.51/20191211220937/lib/gems/train-3.2.0/lib/train/platforms/detect/helpers/os_windows.rb:9:in check_cmd'\n\tfrom /hab/pkgs/chef/inspec/4.18.51/20191211220937/lib/gems/train-3.2.0/lib/train/platforms/detect/helpers/os_windows.rb:4:in detect_windows'\n\tfrom /hab/pkgs/chef/inspec/4.18.51/20191211220937/lib/gems/train-3.2.0/lib/train/platforms/detect/specifications/os.rb:38:in block in load'\n\tfrom /hab/pkgs/chef/inspec/4.18.51/20191211220937/lib/gems/train-3.2.0/lib/train/platforms/detect/scanner.rb:46:in instance_eval'\n\tfrom /hab/pkgs/chef/inspec/4.18.51/20191211220937/lib/gems/train-3.2.0/lib/train/platforms/detect/scanner.rb:46:in block in scan_children'\n\tfrom /hab/pkgs/chef/inspec/4.18.51/20191211220937/lib/gems/train-3.2.0/lib/train/platforms/detect/scanner.rb:45:in each'\n\tfrom /hab/pkgs/chef/inspec/4.18.51/20191211220937/lib/gems/train-3.2.0/lib/train/platforms/detect/scanner.rb:45:in scan_children'\n\tfrom /hab/pkgs/chef/inspec/4.18.51/20191211220937/lib/gems/train-3.2.0/lib/train/platforms/detect/scanner.rb:60:in scan_family_children'\n\tfrom /hab/pkgs/chef/inspec/4.18.51/20191211220937/lib/gems/train-3.2.0/lib/train/platforms/detect/scanner.rb:51:in block in scan_children'\n\tfrom /hab/pkgs/chef/inspec/4.18.51/20191211220937/lib/gems/train-3.2.0/lib/train/platforms/detect/scanner.rb:45:in each'\n\tfrom /hab/pkgs/chef/inspec/4.18.51/20191211220937/lib/gems/train-3.2.0/lib/train/platforms/detect/scanner.rb:45:in scan_children'\n\tfrom /hab/pkgs/chef/inspec/4.18.51/20191211220937/lib/gems/train-3.2.0/lib/train/platforms/detect/scanner.rb:33:in block in scan'\n\tfrom /hab/pkgs/chef/inspec/4.18.51/20191211220937/lib/gems/train-3.2.0/lib/train/platforms/detect/scanner.rb:27:in each'\n\tfrom /hab/pkgs/chef/inspec/4.18.51/20191211220937/lib/gems/train-3.2.0/lib/train/platforms/detect/scanner.rb:27:in scan'\n\tfrom /hab/pkgs/chef/inspec/4.18.51/20191211220937/lib/gems/train-3.2.0/lib/train/platforms/detect.rb:9:in scan'\n\tfrom /hab/pkgs/chef/inspec/4.18.51/20191211220937/lib/gems/train-3.2.0/lib/train/plugins/base_connection.rb:116:in platform'\n\tfrom /hab/pkgs/chef/inspec/4.18.51/20191211220937/lib/gems/inspec-4.18.51/lib/inspec/resources/platform.rb:18:in initialize'\n\tfrom /hab/pkgs/chef/inspec/4.18.51/20191211220937/lib/gems/inspec-4.18.51/lib/inspec/plugin/v1/plugin_types/resource.rb:104:in initialize'\n\tfrom /hab/pkgs/chef/inspec/4.18.51/20191211220937/lib/gems/inspec-4.18.51/lib/inspec/backend.rb:89:in new'\n\tfrom /hab/pkgs/chef/inspec/4.18.51/20191211220937/lib/gems/inspec-4.18.51/lib/inspec/backend.rb:89:in block (3 levels) in create'\n\tfrom /hab/pkgs/chef/inspec/4.18.51/20191211220937/lib/gems/inspec-4.18.51/lib/inspec/metadata.rb:68:in supports_platform?'\n\tfrom /hab/pkgs/chef/inspec/4.18.51/20191211220937/lib/gems/inspec-4.18.51/lib/inspec/profile.rb:148:in initialize'\n\tfrom /hab/pkgs/chef/inspec/4.18.51/20191211220937/lib/gems/inspec-4.18.51/lib/inspec/profile.rb:60:in new'\n\tfrom /hab/pkgs/chef/inspec/4.18.51/20191211220937/lib/gems/inspec-4.18.51/lib/inspec/profile.rb:60:in for_path'\n\tfrom /hab/pkgs/chef/inspec/4.18.51/20191211220937/lib/gems/inspec-4.18.51/lib/inspec/profile.rb:67:in for_fetcher'\n\tfrom /hab/pkgs/chef/inspec/4.18.51/20191211220937/lib/gems/inspec-4.18.51/lib/inspec/profile.rb:73:in for_target'\n\tfrom /hab/pkgs/chef/inspec/4.18.51/20191211220937/lib/gems/inspec-4.18.51/lib/inspec/runner.rb:192:in add_target'\n\tfrom /hab/pkgs/chef/inspec/4.18.51/20191211220937/lib/gems/inspec-4.18.51/lib/inspec/runner.rb:232:in eval_with_virtual_profile'\n\tfrom /hab/pkgs/chef/inspec/4.18.51/20191211220937/lib/gems/inspec-4.18.51/lib/inspec/cli.rb:404:in run_command'\n\tfrom /hab/pkgs/chef/inspec/4.18.51/20191211220937/lib/gems/inspec-4.18.51/lib/inspec/cli.rb:304:in detect'\n\tfrom /hab/pkgs/chef/inspec/4.18.51/20191211220937/lib/gems/thor-0.20.3/lib/thor/command.rb:27:in run'\n\tfrom /hab/pkgs/chef/inspec/4.18.51/20191211220937/lib/gems/thor-0.20.3/lib/thor/invocation.rb:126:in invoke_command'\n\tfrom /hab/pkgs/chef/inspec/4.18.51/20191211220937/lib/gems/thor-0.20.3/lib/thor.rb:387:in dispatch'\n\tfrom /hab/pkgs/chef/inspec/4.18.51/20191211220937/lib/gems/thor-0.20.3/lib/thor/base.rb:466:in start'\n\tfrom /hab/pkgs/chef/inspec/4.18.51/20191211220937/lib/gems/inspec-4.18.51/lib/inspec/base_cli.rb:35:in start'\n\tfrom /hab/pkgs/chef/inspec/4.18.51/20191211220937/lib/gems/inspec-bin-4.18.51/bin/inspec:11:in `'\n"

likely related to the same issue that forced us to make this change: https://github.com/chef/automate/pull/3051#discussion_r389139190


Remove version: Twinkstar.TwinkstarBrowser version 8.6.1000.2302

[Automated] It returns code over 400 in all urls
Microsoft Reviewers: Open in CodeFlow

URL: https://d1.twinkstar.com/win/Twinkstar_v8.6.1000.2302_Release32.exe
Response status code does not indicate success: 404 (Not Found).
(Automated message - build 867)

URL: https://d1.twinkstar.com/win/Twinkstar_v8.6.1000.2302_Release32.exe
Response status code does not indicate success: 404 (Not Found).
(Automated message - build 867)


Add validation for name/version with purl in query

Closes https://github.com/google/osv.dev/issues/1451
I've added some validations for when the query contains both a package.purl and a package.name, and when the package.purl contains a version and there is a redundant version included in the query. In both cases, we're raising a 400 with an error message. Also I've moved the ecosystem validation into do_query to keep all the validations in one place.

Hey @SonuBardai thank you for your contribution! Once you've got the CLA squared away, I'll take a closer look at this PR.

Hey, thanks @andrewpollock. Yeah I've signed the CLA https://github.com/google/osv.dev/pull/1652/checks?check_run_id=17125702423

/gcbrun

/gcbrun

@SonuBardai would you be up for trying to add a test (to https://github.com/google/osv.dev/blob/master/gcp/api/integration_tests.py) for this as well?
I don't think you'll be able to run them locally (but that would be a good test (no pun intended) for an external contributor).

@andrewpollock Sure thing! I'll check it out

/gcbrun

Nicely done with adding the tests!
It looks like:

You need to address some findings from our lint and formatting checks, please see https://github.com/google/osv.dev/blob/master/CONTRIBUTING.md#linting-and-formatting
Your integration tests aren't working as expected, see https://gist.github.com/andrewpollock/84dd69665fb96fdd436e4128413b6181 for all the gory details

Thanks @andrewpollock The traceback from the integration test run was helpful. I was experimenting with how we're checking for the ecosystem in the purl, I think that may have messed with the logic. This new change should fix it.

/gcbrun


Obtaining all messages from a channel

Is there a way of obtaining all messages from a channel for storage to a text file?

You could start by fetching the last 100 messages (the API limits us to 100) with TextBasedChannel.fetchMessages({ limit: 100 }). Then you could keep repeating this and passing in a before property based on the oldest message fetched each time. Eventually, you would have a list of all the messages that could be written to a text file. Relevant discord.js documentation and discord developer documentation.
In future, please ask for help in our official server for queries such as this one ;)


[SSR]history mode use base option get 404

Version
2.7.0
Reproduction link
https://github.com/vuejs/vue-hackernews-2.0
Steps to reproduce
1：clone vue-hackernews-2.0 repo
2：npm install & npm run dev
3：add base: '/anyPath' to router/index.js
4：refresh browser
What is expected?
show page
What is actually happening?
404 | Page Not Found

Add a route with a path value of '*'

@falstack  Has this problem been solved now？

@tengmaoqing sorry, it's a long time ago, i forgot it...
but, it's not a big deal, if you have some question, please show your route.js

@falstack  ok，这种办法并不能很好的替代 options.base 的功能，比如push的时候，或者router-link 的to参数。而我的项目需要这些都很灵活， base 这个值可能会改变的。

Why not fix this ?


openai.error.AuthenticationError:

Describe the bug
Since yesterday 24.05.2023 around your outage I am facing this errors:
..
  File "/opt/homebrew/lib/python3.10/site-packages/openai/api_resources/embedding.py", line 33, in create
    response = super().create(*args, **kwargs)
  File "/opt/homebrew/lib/python3.10/site-packages/openai/api_resources/abstract/engine_api_resource.py", line 153, in create
    response, _, api_key = requestor.request(
  File "/opt/homebrew/lib/python3.10/site-packages/openai/api_requestor.py", line 230, in request
    resp, got_stream = self._interpret_response(result, stream)
  File "/opt/homebrew/lib/python3.10/site-packages/openai/api_requestor.py", line 624, in _interpret_response
    self._interpret_response_line(
  File "/opt/homebrew/lib/python3.10/site-packages/openai/api_requestor.py", line 687, in _interpret_response_line
    raise self.handle_error_response(
openai.error.AuthenticationError: <empty message>

I tried several approaches, thought LangChain would be the problem, thought a vectorstore is it, but now I think it must be something with the API as I rebuilt with several options and it all leads to the same error.
To Reproduce
openai.api_key = OPENAI_KEY or os.getenv("OPENAI_API_KEY")
where texts can be a list of strings like
texts = ["test", "foo"]
for i in texts:
response = openai.Embedding.create(
input=i,
model="text-embedding-ada-002"
)
embeddings = response['data'][0]['embedding']
Code snippets
No response
OS
macOS, m1-chip
Python version
Python 3.10.9
Library version
openai==0.27.7

https://github.com/openai/openai-python/issues/464
I believe it's an OpenAI bug

I used downgrading openai as a workaround.
I assume it will be fixed in the next minor version.

Hey @talperetz,
Which version did you downgrade to in order to avoid this?

Hey @talperetz, Which version did you downgrade to in order to avoid this?
pip install openai==0.26

I am still getting the same error, even with this version. I am actually trying to use SQLDatabaseChain.

I am getting the same error when trying to use the SQL Database Agent.
This is my code,
from langchain.agents import create_sql_agent
from langchain.agents.agent_toolkits import SQLDatabaseToolkit
from langchain import SQLDatabase
from langchain.chat_models import ChatOpenAI

llm = ChatOpenAI(model_name='gpt-3.5-turbo')

db = SQLDatabase.from_uri("sqlite:///chinook.db")
toolkit = SQLDatabaseToolkit(db=db, llm=llm)

agent_executor = create_sql_agent(
    llm=llm,
    toolkit=toolkit,
    verbose=True
)

agent_executor.run("Describe the playlisttrack table")

I am getting the same error when trying to use the SQL Database Agent.
This is my code,
from langchain.agents import create_sql_agent
from langchain.agents.agent_toolkits import SQLDatabaseToolkit
from langchain import SQLDatabase
from langchain.chat_models import ChatOpenAI

llm = ChatOpenAI(model_name='gpt-3.5-turbo')

db = SQLDatabase.from_uri("sqlite:///chinook.db")
toolkit = SQLDatabaseToolkit(db=db, llm=llm)

agent_executor = create_sql_agent(
    llm=llm,
    toolkit=toolkit,
    verbose=True
)

agent_executor.run("Describe the playlisttrack table")

I am running the latest versions of Python, langchain and openai.

LangChain uses the OpenAI Python SDK so that's the main issue. I had as described problems with several libraries.

same error here with openai.Completion.create and openai 0.26.0

does anyone managed to workaround this?

Im also getting the same "AuthenticationError: " error when using langchain, serpapi, and openai. Openai is downgraded to 0.26 but stil the same error, any solutions yet?

openai.error.AuthenticationError:  hwchase17/langchain#5215

not work even downgraded to 0.26

In our case, we generated another token, and that fixed the issue

Create and use another api key fixed the problem for me.

update: it just works for a few prompts and then the bug appears again

Not working !

Hi! Does anyone have a request ID we could use to look into this issue?

Actually, that might not help.  Could we instead ask for more debugging information? The Authentication Error should have more details.  Something like this as a wrapper around your code might do the trick:
  # openai stuff
except openai.error.AuthenticationError as e:
  print("OpenAI unknown authentication error")
  print(e.json_body)
  print(e.headers)

i had this problem. When i checked my API key on platform.openai.com, it had disappeared. I know i havent deleted it, but suddenly it had been lost. So i just created a new API key and continued using without problems. Hope this will also solve you problems  guys ))

It is strange, because I was running the same code some weeks prior to this and it worked. Now, it suddenly doesn't work anymore and it's saying that the "message" is empty. I even deleted my API key and created a new one. Here is some more debugging information as asked:
OpenAI unknown authentication error
{'error': {'message': '', 'type': 'invalid_request_error', 'param': None, 'code': 'invalid_api_key'}}
{'Date': 'Thu, 01 Jun 2023 12:38:56 GMT', 'Content-Type': 'application/json; charset=utf-8', 'Content-Length': '146', 'Connection': 'keep-alive', 'vary': 'Origin', 'x-request-id': 'd2353b8b4c1ddfd7d1d0aa78cd59afd9', 'strict-transport-security': 'max-age=15724800; includeSubDomains', 'CF-Cache-Status': 'DYNAMIC', 'Server': 'cloudflare', 'CF-RAY': '7d07843bbb8aaca3-TXL', 'alt-svc': 'h3=":443"; ma=86400'}

Using memory of type:  LocalCache
Using Browser:  chrome
Traceback (most recent call last):
File "C:\Users\essai api\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Users\essai api\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 86, in run_code
exec(code, run_globals)
File "C:\Users\essai api\Documents\GitHub\Auto-GPT\autogpt_main.py", line 5, in
autogpt.cli.main()
File "C:\Users\essai api\AppData\Local\Programs\Python\Python310\lib\site-packages\click\core.py", line 1130, in call
return self.main(*args, **kwargs)
File "C:\Users\essai api\AppData\Local\Programs\Python\Python310\lib\site-packages\click\core.py", line 1055, in main
rv = self.invoke(ctx)
File "C:\Users\essai api\AppData\Local\Programs\Python\Python310\lib\site-packages\click\core.py", line 1635, in invoke
rv = super().invoke(ctx)
File "C:\Users\essai api\AppData\Local\Programs\Python\Python310\lib\site-packages\click\core.py", line 1404, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "C:\Users\essai api\AppData\Local\Programs\Python\Python310\lib\site-packages\click\core.py", line 760, in invoke
return __callback(*args, **kwargs)
File "C:\Users\essai api\AppData\Local\Programs\Python\Python310\lib\site-packages\click\decorators.py", line 26, in new_func
return f(get_current_context(), *args, **kwargs)
File "C:\Users\essai api\Documents\GitHub\Auto-GPT\autogpt\cli.py", line 90, in main
run_auto_gpt(
File "C:\Users\essai api\Documents\GitHub\Auto-GPT\autogpt\main.py", line 186, in run_auto_gpt
agent.start_interaction_loop()
File "C:\Users\essai api\Documents\GitHub\Auto-GPT\autogpt\agent\agent.py", line 113, in start_interaction_loop
assistant_reply = chat_with_ai(
File "C:\Users\essai api\Documents\GitHub\Auto-GPT\autogpt\llm\chat.py", line 244, in chat_with_ai
assistant_reply = create_chat_completion(
File "C:\Users\essai api\Documents\GitHub\Auto-GPT\autogpt\llm\llm_utils.py", line 166, in create_chat_completion
response = api_manager.create_chat_completion(
File "C:\Users\essai api\Documents\GitHub\Auto-GPT\autogpt\llm\api_manager.py", line 55, in create_chat_completion
response = openai.ChatCompletion.create(
File "C:\Users\essai api\AppData\Local\Programs\Python\Python310\lib\site-packages\openai\api_resources\chat_completion.py", line 25, in create
return super().create(*args, **kwargs)
File "C:\Users\essai api\AppData\Local\Programs\Python\Python310\lib\site-packages\openai\api_resources\abstract\engine_api_resource.py", line 153, in create
response, _, api_key = requestor.request(
File "C:\Users\essai api\AppData\Local\Programs\Python\Python310\lib\site-packages\openai\api_requestor.py", line 226, in request
resp, got_stream = self._interpret_response(result, stream)
File "C:\Users\essai api\AppData\Local\Programs\Python\Python310\lib\site-packages\openai\api_requestor.py", line 619, in _interpret_response
self._interpret_response_line(
File "C:\Users\essai api\AppData\Local\Programs\Python\Python310\lib\site-packages\openai\api_requestor.py", line 682, in _interpret_response_line
raise self.handle_error_response(
openai.error.AuthenticationError:
PS C:\Users\essai api\Documents\GitHub\Auto-GPT>
this is the message, i'm french i don't understand a lot english and i'm absolutly not a developer i just want to try autogpt, i test all solutions, a new api keys, restart autogpt, i try with the terminal command and with the terminal visual studio of .env, i'm not sure that autogpt is installed as needed so if i can have help :) because i have always the msg error authentification

never mind, I just saw that for me my 3-month free trial just expired. I didn't know about this.

can you try the solution in this order?
1- open .env file & add OPENAI_API_KEY
OPENAI_API_KEY=sk-....
2- implement this lines in your python file:
config = dotenv_values('.env')
openai.api_key = config['OPENAI_API_KEY']
os.environ['OPENAI_API_KEY'] = config['OPENAI_API_KEY']
3- call langchain method (implicitly openai method)
I saw that LangChain read the wrong key from os's environment value

Ty, I will try it out. However, could you explain step 3 a bit more? Sorry, I never worked with langchain before, so not sure, how you mean this. How do I call the langchain method implicitly? What I'm doing atm is, I am saving my api key as an os environment variable, like you said and then simply read it from there and then call the openai.ChatCompletion.create-method.

@stanstan86  I responded that way because the person who asked the question mentioned using LangChain. You don't have to use LangChain.

@mehmetkoca thank you! Your solution works for me! I still don't know, why my old code stopped working, but I'm just glad, it works now:)

@grumpyp can you check if the environment variable OPENAI_API_KEY_PATH is defined in your environment? I want to see if the right API Key (stored under the OPENAI_API_KEY envvar) is being clobbered by an old key stored under that path

@grumpyp can you check if the environment variable OPENAI_API_KEY_PATH is defined in your environment? I want to see if the right API Key (stored under the OPENAI_API_KEY envvar) is being clobbered by an old key stored under that path
Just given your description of the issue, I'm unable to reproduce it. The code
openai.api_key = OPENAI_KEY or os.getenv("OPENAI_API_KEY")

# where texts can be a list of strings like
texts = ["test", "foo"]
for i in texts:
    response = openai.Embedding.create(
        input=i,
        model="text-embedding-ada-002"
    )
    embeddings = response['data'][0]['embedding']

Works for me and I have my API key under the OPENAI_API_KEY envvar

Hi,
I guess the issue is a bit trickier. I usually had the key's stored in my IDE-settings. Right now it actually also does work for me using my posted example.

update: it just works for a few prompts and then the bug appears again
Any update? I cannot use any vectorstores...

Hi Jhallard,

THank you so much for your help!
I was previously using getenv from envar ( I saw Andrew was using it I think), it stopped working as soon as I tried to post it on github repo. I tried to update the new API in envar or rename another envar in the system, they both don't work... I have no clue what's going on lol.

that's what I am saying. I have no clue about your infrastructure but is it possible that several locations sometimes have this issue?

When this shows up again, can you wrap your code in this try/except logic so that I can inspect the response headers? That will help me track down the request within our systems and can help pinpoint the issue
try:
  # openai stuff
except openai.error.AuthenticationError as e:
  print("OpenAI unknown authentication error")
  print(e.json_body)
  print(e.headers)

Hi @jhallard
there you go.
{'error': {'message': '', 'type': 'invalid_request_error', 'param': None, 'code': 'invalid_api_key'}}
{'Date': 'Tue, 13 Jun 2023 18:06:34 GMT', 'Content-Type': 'application/json; charset=utf-8', 'Content-Length': '146', 'Connection': 'keep-alive', 'vary': 'Origin', 'x-request-id': '66b5411950e945e8f05db2985f537e3e', 'strict-transport-security': 'max-age=15724800; includeSubDomains', 'CF-Cache-Status': 'DYNAMIC', 'Server': 'cloudflare', 'CF-RAY': '7d6c44a80dfc03e2-LIS', 'alt-svc': 'h3=":443"; ma=86400'}

Another hint:
The exception falls here:
https://github.com/grumpyp/chroma-langchain-tutorial/blob/3a79ade5cbb9e8f4a6dcdd11e8545e78472fcb16/whsiper-langchain-chroma/ask_the_audio.py#L33
It's a good start for you to investigate 🍀

Possible cause (we have other problems so it's not clear that this is the solution): comment out any openai.organization =  assignment. Perhaps the request is coming in with a mismatched organization id.

@grumpyp I'm able to reproduce this on the /v1/engine/text-emebedding-ada-002/embeddings endpoint, but only if I include an invalid API key (for example, if I run the whisper-langchain-chroma/ask_the_audio.py file without changing the os.environ["OPENAI_API_KEY"] line to point to my valid API key).
For some reason, only for the embeddings endpoint are we returning an empty error message instead of the one that we expect. We expect this error message
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/john.allard/code/openai-python/openai/api_resources/abstract/listable_api_resource.py", line 60, in list
    response, _, api_key = requestor.request(
  File "/Users/john.allard/code/openai-python/openai/api_requestor.py", line 230, in request
    resp, got_stream = self._interpret_response(result, stream)
  File "/Users/john.allard/code/openai-python/openai/api_requestor.py", line 623, in _interpret_response
    self._interpret_response_line(
  File "/Users/john.allard/code/openai-python/openai/api_requestor.py", line 683, in _interpret_response_line
    raise self.handle_error_response(
openai.error.AuthenticationError: Incorrect API key provided: api-key-here. You can find your API key at https://platform.openai.com/account/api-keys.

But we get this one
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/john.allard/code/openai-python/openai/api_resources/embedding.py", line 39, in create
    response = super().create(*args, **kwargs)
  File "/Users/john.allard/code/openai-python/openai/api_resources/abstract/engine_api_resource.py", line 137, in create
    response, _, api_key = requestor.request(
  File "/Users/john.allard/code/openai-python/openai/api_requestor.py", line 230, in request
    resp, got_stream = self._interpret_response(result, stream)
  File "/Users/john.allard/code/openai-python/openai/api_requestor.py", line 623, in _interpret_response
    self._interpret_response_line(
  File "/Users/john.allard/code/openai-python/openai/api_requestor.py", line 683, in _interpret_response_line
    raise self.handle_error_response(
openai.error.AuthenticationError: <empty message>

However, they're the same underlying error. I'll continue to look into this, but for anyone who finds this thread:
Please, confirm the validity of your OpenAI API key by running something like
import openai
openai.File.list()

And seeing what the response is

@grumpyp I'm able to reproduce this on the /v1/engine/text-emebedding-ada-002/embeddings endpoint, but only if I include an invalid API key (for example, if I run the whisper-langchain-chroma/ask_the_audio.py file without changing the os.environ["OPENAI_API_KEY"] line to point to my valid API key).
For some reason, only for the embeddings endpoint are we returning an empty error message instead of the one that we expect. We expect this error message
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/john.allard/code/openai-python/openai/api_resources/abstract/listable_api_resource.py", line 60, in list
    response, _, api_key = requestor.request(
  File "/Users/john.allard/code/openai-python/openai/api_requestor.py", line 230, in request
    resp, got_stream = self._interpret_response(result, stream)
  File "/Users/john.allard/code/openai-python/openai/api_requestor.py", line 623, in _interpret_response
    self._interpret_response_line(
  File "/Users/john.allard/code/openai-python/openai/api_requestor.py", line 683, in _interpret_response_line
    raise self.handle_error_response(
openai.error.AuthenticationError: Incorrect API key provided: api-key-here. You can find your API key at https://platform.openai.com/account/api-keys.

But we get this one
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/john.allard/code/openai-python/openai/api_resources/embedding.py", line 39, in create
    response = super().create(*args, **kwargs)
  File "/Users/john.allard/code/openai-python/openai/api_resources/abstract/engine_api_resource.py", line 137, in create
    response, _, api_key = requestor.request(
  File "/Users/john.allard/code/openai-python/openai/api_requestor.py", line 230, in request
    resp, got_stream = self._interpret_response(result, stream)
  File "/Users/john.allard/code/openai-python/openai/api_requestor.py", line 623, in _interpret_response
    self._interpret_response_line(
  File "/Users/john.allard/code/openai-python/openai/api_requestor.py", line 683, in _interpret_response_line
    raise self.handle_error_response(
openai.error.AuthenticationError: <empty message>

However, they're the same underlying error. I'll continue to look into this, but for anyone who finds this thread: Please, confirm the validity of your OpenAI API key by running something like
import openai
openai.File.list()

And seeing what the response is

Hi @jhallard, I just tested it again... and it worked... I have no idea what happened, I didn't change anything lol, thanks for your help!

I just ran into this problem out of the blue on GAE even though it was working locally, turns out on GAE env vars from secrets get single quotes places around them for some reason, and openai wasn't handling that. So the following fixed it for me
key = os.environ.get(OPENAI_API_KEY).replace("'", "") openai.api_key = key
Hopefully this helps someone else

I just ran into this problem today.
For some reason, using the openai key without the openai organization solved the problem.

I just ran into this problem today. For some reason, using the openai key without the openai organization solved the problem.

@iiSmiley Can you tell me how to use openai key without organization?

Describe the bug
Since yesterday 24.05.2023 around your outage I am facing this errors:
..
  File "/opt/homebrew/lib/python3.10/site-packages/openai/api_resources/embedding.py", line 33, in create
    response = super().create(*args, **kwargs)
  File "/opt/homebrew/lib/python3.10/site-packages/openai/api_resources/abstract/engine_api_resource.py", line 153, in create
    response, _, api_key = requestor.request(
  File "/opt/homebrew/lib/python3.10/site-packages/openai/api_requestor.py", line 230, in request
    resp, got_stream = self._interpret_response(result, stream)
  File "/opt/homebrew/lib/python3.10/site-packages/openai/api_requestor.py", line 624, in _interpret_response
    self._interpret_response_line(
  File "/opt/homebrew/lib/python3.10/site-packages/openai/api_requestor.py", line 687, in _interpret_response_line
    raise self.handle_error_response(
openai.error.AuthenticationError: <empty message>

I tried several approaches, thought LangChain would be the problem, thought a vectorstore is it, but now I think it must be something with the API as I rebuilt with several options and it all leads to the same error.
To Reproduce
openai.api_key = OPENAI_KEY or os.getenv("OPENAI_API_KEY")

# where texts can be a list of strings like
texts = ["test", "foo"]
for i in texts:
    response = openai.Embedding.create(
        input=i,
        model="text-embedding-ada-002"
    )
    embeddings = response['data'][0]['embedding']

Code snippets
No response
OS
macOS, m1-chip
Python version
Python 3.10.9
Library version
openai==0.27.7

how you overcome this?

because me also issuing the same error

@Amar1701 can you try a different endpoint besides embeddings, for instance, completions? E.g.

import openai

openai.ChatCompletion.create(
  model="gpt-3.5-turbo",
  messages=[
        {"role": "system", "content": "You are a helpful assistant."},
        {"role": "user", "content": "Who won the world series in 2020?"},
        {"role": "assistant", "content": "The Los Angeles Dodgers won the World Series in 2020."},
        {"role": "user", "content": "Where was it played?"}
    ]
)

And let me know what the output is?

I'll try this one! Thank you

@jhallard thankyou! I'll try this one! Btw could you please text me through WhatsApp! Bcoz I'm facing other issues too ! My WhatsApp number:<PHONE_NUMBER>

@jhallard
I FACE THIS ISSUE AFTER WRITING THE CODE YOU SENT
C:\Users\AMARNATH.C\OneDrive\Documents\newChatbot\chatbotSRM>python manage.py runserver
Watching for file changes with StatReloader
Performing system checks...
System check identified no issues (0 silenced).
June 21, 2023 - 12:00:27
Django version 4.2.2, using settings 'chatbotSRM.settings'
Starting development server at http://<IP_ADDRESS>:8000/
Quit the server with CTRL-BREAK.
[21/Jun/2023 12:00:45] "GET / HTTP/1.1" 200 4438
Internal Server Error: /
Traceback (most recent call last):
File "C:\Users\AMARNATH.C\AppData\Local\Programs\Python\Python311\Lib\site-packages\django\core\handlers\exception.py", line 55, in inner
response = get_response(request)
^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\AMARNATH.C\AppData\Local\Programs\Python\Python311\Lib\site-packages\django\core\handlers\base.py", line 197, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\AMARNATH.C\OneDrive\Documents\newChatbot\chatbotSRM\chatbot\views.py", line 50, in chatbot
response = ask_openai(message)
^^^^^^^^^^^^^^^^^^^
File "C:\Users\AMARNATH.C\OneDrive\Documents\newChatbot\chatbotSRM\chatbot\views.py", line 17, in ask_openai
openai.ChatCompletion.create(
File "C:\Users\AMARNATH.C\AppData\Local\Programs\Python\Python311\Lib\site-packages\openai\api_resources\chat_completion.py", line 25, in create
return super().create(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\AMARNATH.C\AppData\Local\Programs\Python\Python311\Lib\site-packages\openai\api_resources\abstract\engine_api_resource.py", line 153, in create
response, _, api_key = requestor.request(
^^^^^^^^^^^^^^^^^^
File "C:\Users\AMARNATH.C\AppData\Local\Programs\Python\Python311\Lib\site-packages\openai\api_requestor.py", line 298, in request
resp, got_stream = self._interpret_response(result, stream)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\AMARNATH.C\AppData\Local\Programs\Python\Python311\Lib\site-packages\openai\api_requestor.py", line 700, in _interpret_response
self._interpret_response_line(
File "C:\Users\AMARNATH.C\AppData\Local\Programs\Python\Python311\Lib\site-packages\openai\api_requestor.py", line 763, in _interpret_response_line
raise self.handle_error_response(
openai.error.AuthenticationError:
[21/Jun/2023 12:01:10] "POST / HTTP/1.1" 500 98141

This problem has been bothering me for a week.
Finally, I found out that when you pass your openai-api-key to a public space(such as github), your openai-api-key on the OpenAI website(https://platform.openai.com/account/api-keys) will be automatically deleted, and then you will have this error report.
So you must regenerate a key and ensure that it is not transferred to the public space.


New shorthand method 'isValid'

Hi @dleitee
I think that in some cases the need of create a custom isvalid method before validate a string could be unnecessary, so I've implement a shorthand method called 'isValid'.
Let me show you a sample code:
import {isValid, string, util} from 'valid.js'

// using the 'isValid' shorthand method
let result = isValid('Test ValidateJS', [string.maxLength(15), util.isRequired])
// result => true

The method does in one line all the validation logic. This can be useful in ifs code:
import {isValid, string, util} from 'valid.js'

if(isValid('Test ValidateJS', [string.maxLength(15), util.isRequired])) {
  console.log("The string is valid")
}

And I've made a lil change in lib/reduce.js for checking and using the native reduce function if that are native implemented in browser/system. This concept is based on this article https://toddmotto.com/polyfills-suck-use-a-featurefill-instead/
Thanks for all ;)

Hi @lucasferreira
You're quite right, thank you.


[KeyVault] Adds abortSignal to all the *Options we have in keys and secrets

With these changes, our current API fully supports cancelling a request
before we get a response. The idea is that this feature is already
supported by the core dependencies we use, and by passing this property
through, we'll get the benefits right away without having to do other
changes.
keyvault-keys and keyvault-secrets currently have a unit test that
proves that this works for one of the functions that shares this
underlying APIs. This PR adds the support to the other similar methods.
We could also add other tests demonstrating this behavior for these
other functions.
Fixes #4357

cc @bterlson - I can't remember where we landed with cancellation. Would you mind looking at this to see if it matches with your expectations?


⚠ Contemporanea Group has degraded performance

In e4131a2, Contemporanea Group ($SITE_CNTMG) experienced degraded performance:

HTTP code: 200
Response time: 5132 ms

Resolved: Contemporanea Group performance has improved in 096f552.


Feature Request: Auto close (, ", and '

in Atom when you typing "(" (Open parenthesis), Atom close that automatically.

This already exists: Editor Settings -> Text Editor -> Auto Brace Complete.
Though it currently is off by default.

@vnen Oh! Sorry. Is it not better that this feature enabled by default?


Also parse text request

Since co-body has good support for type text, I suggest we support text as well.

Hi thanks for the PR! Added a comment.

Thanks for your review. Typo fixed and test cases appended.

:+1:   Thanks!

Forget to update README 😀 Please publish when you're free. Thanks.

I'll do it all  (incl  npm  publish)  this afternoon :)

Should be live in 1.3.0 on npm  :snowman:


Fix CI: Limit ipykernel<6.0.0 during tutorial build

Issue #, if available:
Description of changes:

Fix CI: Limit ipykernel<6.0.0 during tutorial build

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Job PR-1227-2 is done.
Docs are uploaded to http://autogluon-staging.s3-website-us-west-2.amazonaws.com/PR-1227/2/index.html