Long header should apply colbgcolor to same width as header

This issue is related to, and may be irrelevant once resolved by #8 (headbgcolor and colbgcolor should not be affected by colsep).
The natural column width is determined by the widest column value, whether that's the header or one of the rows. That same column width should be applied to both headbgcolor and colbgcolor, but it is currently not being applied to colbgcolor.
In the example below, the "Date" header is padded—as expected—by the longer "2023-07-28" values, but the wider "Column 2" header is not reflected in the padding of shorter version numbers like "1.0.0". The same is true with column 1 row values.

from ansitable import ANSITable, Column # ansitable 0.9.7

table = ANSITable(
  Column("Column 1", headalign="<", headcolor="white", headstyle="bold", headbgcolor="blue",
                      colalign="<",  colcolor="white",  colstyle="bold",  colbgcolor="blue"),
  Column("Column 2", headalign="^", headcolor="white", headstyle="bold", headbgcolor="blue",
                      colalign="<",  colcolor="light_magenta",            colbgcolor="blue"),
  Column("Date",     headalign="^", headcolor="white", headstyle="bold", headbgcolor="blue",
                      colalign="^",  colcolor="chartreuse_3b"),
  border="thick", bordercolor="cornflower_blue", colsep=4,
)
table.row("hello-world", "1.0.0", "2023-07-28")
table.row("foo-bar",     "0.1.0", "2023-07-28")
table.print()

I'm looking at this as part of general maintenance caused by changes to the colored package. What behavior do you want to see?  Should the colsep space have bgcolor? Should only the unpadded text have bgcolor?


unable to get skip and done buttons besides progress bar

I just used the  in built add slide method like
addSlide(AppIntroFragment.newInstance("text", "description", R.mipmap.ic_launcher, getResources().getColor(R.color.alertcolor)));
Im able to swipe the between slides but I'm able to get the done button and skip button options in order to move into my main activity.
pic with issue is provided down
reply me asap

Not really going to be able to help you if you ignore the template -- so the reply me asap part is moot here.

Thanks for replying , Im able to get those missed buttons ....
On 08-Mar-2017 7:53 PM, Luis E Alvarado<EMAIL_ADDRESS>wrote:
Not really going to be able to help you if you ignore the template -- so the reply me asap part is moot here.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/apl-devs/AppIntro/issues/423#issuecomment-285053564, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AVObqfI6DegJZJe9KVbN_X9d_F3wa71qks5rjrn0gaJpZM4MWrFS.

@harshapulikollu So is this issue resolved?

Yes issue was resolved
On 10-Mar-2017 6:33 AM, Luis E Alvarado<EMAIL_ADDRESS>wrote:
@harshapulikolluhttps://github.com/harshapulikollu So is this issue resolved?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/apl-devs/AppIntro/issues/423#issuecomment-285540707, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AVObqT4GozF2T8kVObm97g97rlKhP6rSks5rkKFVgaJpZM4MWrFS.


Errored GIF upload isn't being displayed?

I tried to upload a 3 MB GIF. After the upload request finished, the following object got logged to my console:
{
  ...
  results: [
    {
      hash: "",
      image_url: "N/A",
      message: "Sorry! Our servers encountered an error with your upload request. Make sure each individual file is less than 2MB (error code 1)",
      status: "error"
    }
  ]
  ...
}

However nothing outside of looking through an object in the console told me my asset upload had errored.
High-priority?

I'm guessing that along with the other upload errors we keep getting that this has something to do with size limits. For example, I can upload small images but not larger ones. Same with audio. I'll assign @MegaApuTurkUltra because he has the most experience with this.

I get why it doesn't upload, but we need to get a dialog to appear if the image doesn't upload properly

Pretty sure an error is displayed near the top of the page?

Merge with #199


2021-01-11-raspios-buster-armhf too old for Rpi 4

I just bought the Rpi 4 for wonderful pyspectrometer project.
Unfortunately my Rpi4 cannot boot itself with recommended 2021-01-11-raspios-buster-armhf.
The Legacy and 2021-03-04-raspios-buster does not allow to install scipy.
The computer gets unrensponsive so I have to make a hard reset.
Any help would be very appreciated!
Regards
Andrzej

Thanks for the heads up!
It seems Bullseye has broken everything, the camera, peakutils and scipy!
I am working on a new version now with the new picamera2 library.
Check back often, I am expecting to have something in alpha shortly!

Thank so much Les! I'll follow this thread patiently! Your project is super awesome

FYI: My friend has older Raspberry Pi 4 I guess with an earlier firmware. He can boot Pi using Buster but unfortunately he can not install python open cv (sudo apt-get install python3-opencv is broken with an errors).

A new Raspberry Pi OS Bullseye compatible version of this software is now available in src/PySpectrometer-3.2! This is a quick ugly hack to simply get this thing working on Bullseye and keep everyone happy, whilst I get time to work on the latest and greatest version of this software.
For now, simply download the contents of 3.2, read the new README file, install the dependencies (only two now), do a little raspi-config, and have fun!

Additionally, it throws a Gstreamer warning in the console on start, but it does not seem to affect anything!
let me know if there are any serious issues with 3.2

Wonderful! It works! Will test it more soon. Thank you for your fast response...

Outstanding! :-)

See new version: https://github.com/leswright1977/PySpectrometer2


adding the status page information in docs

Hi there,
I'd say you could just add the featurebase status URL to the troubleshooting page directly after the page title like this:
{: .note}
>You can query the status of FeatureBase cloud at the following URL:
>[https://status.featurebase.com](https://status.featurebase.com){:target="_blank"}

I say this because users will most likely go to the troubleshooting page for this information
If you do this then you can remove the page you've created. There's already a Cloud API link in the top nav.
FYI we've now got standards for the help in /help-on-help :)

Hi there,
I'd say you could just add this beneath the page summary on the /cloud-troubleshooting-home.md page
{: .note}
>Query FeatureBase cloud status at
>[https://status.featurebase.com](https://status.featurebase.com){:target="_blank"}

I say this because users will most likely go to the troubleshooting page for this information
If you do this then you can remove the page you've created. There's already a Cloud API link in the top nav.
FYI we've now got standards for the help in /help-on-help :)

Thank you for the suggestion Lisa. I have made those changes now :)

@Pranitha-malae Thanks for starting this! Can you answer the following questions? I can help document if I have the answers:

For the below questions, I'm getting at what does it mean for a user if this is healthy or has an outage. i.e. you will not be able to do X if there is an outage.
What does API Availability mean?
What does Web App Availability mean?
What does Web Version API Availability mean?
What does Query API Availability mean?
What does an outage mean for all of these?

One other thing is the actual status site still uses molecula and FeatureBase SaaS. Can that be updated to the proper routes/DNS and FeatureBase Cloud?

@Pranitha-malae Thanks for starting this! Can you answer the following questions? I can help document if I have the answers:

For the below questions, I'm getting at what does it mean for a user if this is healthy or has an outage. i.e. you will not be able to do X if there is an outage.
What does API Availability mean?
What does Web App Availability mean?
What does Web Version API Availability mean?
What does Query API Availability mean?
What does an outage mean for all of these?

One other thing is the actual status site still uses molecula and FeatureBase SaaS. Can that be updated to the proper routes/DNS and FeatureBase Cloud?

@gthrone25 I have updated the links in the status page to featurebase.com.
API availability means the status of all APIs under api.featurebase.com domain. Outage of this means that one or more of the endpoints are not working as required. One can look at the status page to check whether the error they received is because of their mistake or because of the failure of the endpoint.
3. Currently the version api is used for internals purposes. but it gives the availability of analytics.featurebase.com domain. The outage in this case means that APIs under the domain or not working.
4. This indicates the status of APIs under query.featurebase.com domain and the outage in this case also means the same as above.

@Pranitha-malae added the context and the new page considering its length. Please validate. @ljsinclair if there's anything you want to change here, go for it. I'll be pushing to prod tomorrow morning

Thank you @gthrone25. This looks good to me.

@Pranitha-malae added the context and the new page considering its length. Please validate. @ljsinclair if there's anything you want to change here, go for it. I'll be pushing to prod tomorrow morning


HOTFIX: Get executable name for installed CTest

Previous code was copy-pasted, and did not get the name of the executable. This adds code to get the executable name for inclusion in the installed CTest file.

Build is failing with the following:

Thanks @cgmillette for catching that! Build 2 of this PR worked correctly, can I request that you approve this? It needs to get in for 5.4.


Fixed scale on brush to 0-10.0.

SonarQube analysis reported 1 issue
Note: The following issues were found on lines that were not modified in the pull request. Because these issues can't be reported as line comments, they are summarized here:

 AncientFungus:LGEPR: Cppcheck cannot find all the include files (use --check-config for details)


keep more history, but only show the most recent ten lines by default

This is especially useful if you want to have the history always be displayed, in which case you may need to reduce the number of lines displayed to avoid colliding with other windows, which is what I do; this patch lets you reduce the number of lines displayed by default, while retaining a lot of history for debugging.

Good idea, thanks.


Search in Call Stack

I'd like to use the search feature including only the files from a call stack ( or opened during a debug session ).

Good suggestion, I will fold this into https://github.com/microsoft/vscode/issues/20530


Update portalpy  init.py based on types found portal properties file

Portal has a file called 'gw-content-types.properties' which stores the valid item types. Update the url, text, and file lists in the portalpy init.py file based on the contents of the gw-content-types.properties file.

Fixed in v.next. Merged into master.


Add a Metrics scaler

Need to do some testing in a deployed environment

@bdunne were are you at with this? Have you tested it live yet? The code looks good to me.

Have you tested it live yet?

Not yet.  I'll mark it as WIP until then.

@carbonin Please re-review


[stable/mongodb] Make metrics exporter configurable

What this PR does / why we need it:
Make metrics exporter liveness & readiness checks  configurable. The liveness & readiness checks' initialDelaySeconds & timeoutSeconds were harcoded before this. This PR aims to make it configurable in values while keeping the hardcoded values as defaults.
Which issue this PR fixes
(optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged)

fixes #

Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x ] DCO signed
[ x] Chart Version bumped
[ x] Variables are documented in the README.md

/assign @tompizmor @prydonius

Hi, according to semver:

Given a version number MAJOR.MINOR.PATCH, increment the:

MAJOR version when you make incompatible API changes,
MINOR version when you add functionality in a backwards-compatible manner, and
PATCH version when you make backwards-compatible bug fixes.
Additional labels for pre-release and build metadata are available as extensions to the MAJOR.MINOR.PATCH format.
it seems more appropriate to increase minor instead of patch, can you change it?

/ok-to-test

@carrodher fixed the Chart version :heavy_check_mark:

/lgtm


[SuperTextField][Android][iOS] Disables text field caret blink while dragging caret (Resolves #1705)

[SuperTextField][Android][ios] Disables text field caret blink while dragging caret (Resolves #1705)
Issue:
Text field's caret keeps blinking while caret's being dragged within the text field. On both Android and iOS, in the native apps, the caret stops blinking as long as the user's dragging the caret. Same is expected from super text field on android and ios.
SuperTextField behaviour on Android and iOS:
https://github.com/superlistapp/super_editor/assets/65209850/6465ba53-134a-4d05-aeec-3107463c7bee
Solution:
This PR updates both SuperAndroidTextField and SuperIOSTextField and their necessary internal components to match the native behaviour for caret blinking when user's dragging the caret within text field.  As long as the drag's is happening, caret blinking is disabled, and once the drag ends, caret blinking is enabled for the text field.
With fix, SuperTextField behaviour on Android and iOS:
https://github.com/superlistapp/super_editor/assets/65209850/3b08287a-e71f-4791-b64d-03ca513ebcee
Remarks:

SuperAndroidTextField and SuperAndroidTextField are updated to create an internal BlinkController that can be passed down to their respective TextLayoutCaret that displays and controlls the text field caret.
Fixes a bug in the TextLayoutCaret's by updating the createBlinkController method to return the passed BlinkController if present instead of returning it's own internal blinkController variable.
AndroidTextFieldTouchInteractor and IOSEditingControls are updated to receive the internal BlinkController from text field which is used to control blinking of caret on drag start/end within their drag interaction handlers.
AndroidTextFieldTouchInteractor and IOSTextFieldTouchInteractor are updated to receive the internal BlinkController from text field which is used to control blinking of caret on drag start/end within their drag interaction handlers.

@matthew-carroll Moved the caret start/stop controlls within the editingController for respective platforms. And also updated to signal start or stop blinking only if the caret has either stoped blinking or is blinking.  Tests are also added to ensure caret doesn't blink when dragging on android and ios, and when dragging the collapsed handle on android.

@matthew-carroll Updated things based on prev review. Major updates are related to

how we handle the blink stop call from interaction handles as I mentioned here and other updates
Tests are updated to check caret visibility after half caret flash period based on this comment.

@matthew-carroll Latest updates,

Added tests to ensure caret doesn't blink when dragging expanded selection handles in text field.
Added dragHandleByDistanceInSuperTextFieldOnMobile - A top level helper to drag a handle of specific type within text field on mobile.
Added _dragAndroidHandleByDistanceInSuperTextField - Handles android text field handle drag.
Added _dragIOSHandleByDistanceInSuperTextField - Handles iOS text field handle drag.
Moved caretBlinkController dispose call out of schedule frame callback within SuperAndroidTextField and SuperIOSTextField.
Other documentation and refactoring updates from last review.

@matthew-carroll Latest updates,

Added explicit methods dragUpstreamMobileHandleByDistanceInSuperTextField and dragDownstreamMobileHandleByDistanceInSuperTextField to drag upstream or downstream handle on text field.
Added explicit drag methods for android and ios,

_dragAndroidUpstreamHandleByDistanceInSuperTextField
_dragAndroidDownstreamHandleByDistanceInSuperTextField
_dragIOSUpstreamHandleByDistanceInSuperTextField
_dragIOSDownstreamHandleByDistanceInSuperTextField

_dragHandleByDistanceInSuperTextField added to abstract away the drag logic on the handle.
Docs updates based on last review.

@matthew-carroll Updated the docs on newly added methods based on last review.


Add unique constraints on remember_token and confirmation_token

This is useful to prevent eventual collisions, possibly when the
application is not using a great random string generator.
For reference Clearance random string implementation is:
SecureRandom.hex(20).encode('UTF-8')

Adding unique indexes prevents eventual collisions.
This is for new applications, existing applications can still have
duplicate tokens (they will be scoped by user_id during the lookup).

For my understanding about why I should add the unique index, why was this added for confirmation_token? It looks like confirmation_token is only looked up in combination with the user id: https://github.com/thoughtbot/clearance/blob/c8d561cc06e0305613954e48f1ddd445ca359296/app/controllers/clearance/passwords_controller.rb#L59-L60

Oops, nevermind, I see the referenced issue now.


[1.9] Item conduits have no support for IItemHandler

Issue Description:
I might be wrong here but on EnderIO for MC 1.9.4 item conduits do not connect to non-IInventory tiles.
This is a problem for mods that use getCapability and return a IItemHandler on their tiles.
https://github.com/SleepyTrousers/EnderIO/blob/1.9/src/main/java/crazypants/enderio/conduit/item/ItemConduit.java#L446
getExternalInventory doesn't check for getCapability.
What happens:
Connect a item conduit to a tile that uses capabilities, there is no connection.
What you expected to happen:
There should be a connection.
Steps to reproduce:

Place the block that has no IInventory on their tile
Connect a conduit

Affected Versions (Do not use "latest"):

EnderIO: 1.9.4-<IP_ADDRESS>_alpha
EnderCore: 1.9.4-<IP_ADDRESS>-alpha
Minecraft: 1.9.4
Forge: 1932

This a reasonably big job, but it should be done 'soon' : )

Would you be able to test with build 34+ from here: http://ci.tterrag.com/job/EnderIO-1.9.4/
I have added support but it is not well tested yet.

Will do, thanks for the quick fix.

It seems to be working in my initial tests, didn't test thorough enough so I suggest you leave this issue open. Thanks again!


Configure PR automation

Look into why PR project automation isn't working

Debugged this with @zanssa, we need to link the PR to the project for project automation to work.
This has been completed


JRuby testing

This lets tests run on travis. I use jruby-head while JRuby works forward to the 9k release - it only updates when builds are green :)
I also fixed the install by including a jruby-specific gem for JRuby.
Cheers,
Tobi

Oh yeah this #146

Coverage decreased (-2.68%) to 94.41% when pulling d79dc69cca505b53c7f714b8d624f2dae725253f on PragTob:jruby-testing into 62c37b89a36170d0081651707f51d6bc51859e52 on lotus:master.

mistake on my part, investigating (new shell tab, other ruby)

rebased and squashed into two imo meaningful commits. It installs on JRuby and the tests start running, unfortunately the specs still fail, but that can be left for another time.

Coverage decreased (-0.32%) to 96.78% when pulling 7661b56371ea588580f5c635b8c75f60d305dfb1 on PragTob:jruby-testing into 62c37b89a36170d0081651707f51d6bc51859e52 on lotus:master.

Coverage decreased (-0.32%) to 96.78% when pulling 7661b56371ea588580f5c635b8c75f60d305dfb1 on PragTob:jruby-testing into 62c37b89a36170d0081651707f51d6bc51859e52 on lotus:master.

Coverage decreased (-3.77%) to 93.33% when pulling 15d7bbd89a4de4c8da529d18797b3729e1e8e02e on PragTob:jruby-testing into 62c37b89a36170d0081651707f51d6bc51859e52 on lotus:master.

@PragTob Thanks for starting with this. :+1:  I'm going to merge, so it can serve as base for you or somebody else who want to tackle this task.
I had the impression that MiniTest run the specs in parallel on JRuby. Is it correct?

I don't use minitest in my projects, so Ino idea sorry.
Thanks for the merge! :)

@PragTob I was talking about the test suite of this project. ;)


Web interface does not function on case sensitive file systems

It appears that the files in www/assets/mailslurper/js/services are accessed in an inconsistent manner:
$ git grep "services/.lertService"
www/assets/mailslurper/js/controllers/AdminController.js:               "services/alertService",
www/assets/mailslurper/js/controllers/HomeController.js:                "services/alertService",
www/assets/mailslurper/js/controllers/ManageSavedSearchesController.js:         "services/AlertService",
www/assets/mailslurper/js/services/SettingsService.js:          "services/AlertService"

(same goes for MailService)
This causes mailslurper to present a mostly blank web interface when running on Linux.

I have made a commit in the 1.8.1 release that I think will address this. I don't have a Linux VM setup at this time to really test it. When I have some more time later this week I can fire one up and make sure. Thanks for the bug submits!

I did a go get -u ./..., rebuilt and cleared my browser cache.  Seems to work fine, and there were no errors on the JS console.

Excellent. I'm doing this on my Mac, and I've only been a Mac user for about a year. I was working under the assumption that the Mac OS was case sensitive... It appears I stand corrected!


Developer integration

Coverage remained the same at 100.0% when pulling f62e2cf5b15f5cc6ae42e7c288a0401500b12387 on ricardogobbosouza:fix-composer-event into e33428a99ca8a4141c5a05a0cc71ed59c4cfc3ac on cknow:master.

Coverage remained the same at 100.0% when pulling c9545603c59cc10b06265b75f2123e33e37a931e on ricardogobbosouza:fix-composer-event into e33428a99ca8a4141c5a05a0cc71ed59c4cfc3ac on cknow:master.

Coverage remained the same at 100.0% when pulling b8cb1bd42b942ba2bd5c5abaabc9d515344a36af on ricardogobbosouza:fix-composer-event into e33428a99ca8a4141c5a05a0cc71ed59c4cfc3ac on cknow:master.

Coverage remained the same at 100.0% when pulling d9bf276e20607a92ab1bdbf0c7e29b8a27c79ae0 on ricardogobbosouza:fix-composer-event into e33428a99ca8a4141c5a05a0cc71ed59c4cfc3ac on cknow:master.

Coverage remained the same at 100.0% when pulling 17398c7a751eb8cefb140b2f77b75743134c6c1d on ricardogobbosouza:fix-composer-event into e33428a99ca8a4141c5a05a0cc71ed59c4cfc3ac on cknow:master.

Coverage remained the same at 100.0% when pulling d2f4874f5009933868443cdd0b3968872361b904 on ricardogobbosouza:fix-composer-event into e33428a99ca8a4141c5a05a0cc71ed59c4cfc3ac on cknow:master.

Coverage remained the same at 100.0% when pulling d2f4874f5009933868443cdd0b3968872361b904 on ricardogobbosouza:fix-composer-event into e33428a99ca8a4141c5a05a0cc71ed59c4cfc3ac on cknow:master.

Coverage remained the same at 100.0% when pulling 2807aa86ad4aa63f6413eaf1a9d1f88b1f2ea339 on ricardogobbosouza:fix-composer-event into e33428a99ca8a4141c5a05a0cc71ed59c4cfc3ac on cknow:master.

Coverage remained the same at 100.0% when pulling 4d4b80edb233e97cc7927496e9a630ff3035c571 on ricardogobbosouza:fix-composer-event into e33428a99ca8a4141c5a05a0cc71ed59c4cfc3ac on cknow:master.


Revert "MM-24380 - Add ability to add components to the left and right of the RHS (#5505)"

This reverts commit 397e4b65a610cfc81ab8076dbf9348c71d4d4872. As per the UX design decision not to allow plugins to put actions in webapp's RHS title bar.
Ticket Link
Fixes https://mattermost.atlassian.net/browse/MM-25621

Hey @amyblais can I get approval to cherry-pick this into 5.24?

/cherry-pick release-5.24

Error trying doing the automated Cherry picking. Please do this manually
+++ Updating remotes...
Fetching upstream
Fetching origin
+++ Updating remotes done...
+++ Creating local branch automated-cherry-pick-of-#5615-upstream-release-5.24-1590686362
Branch 'automated-cherry-pick-of-#5615-upstream-release-5.24-1590686362' set up to track remote branch 'release-5.24' from 'upstream'.
+++ Downloading patch to /tmp/5615.patch (in case you need to do this again)

+++ About to attempt cherry pick of PR. To reattempt:
  $ git am -3 /tmp/5615.patch

Applying: Revert "MM-24380 - Add ability to add components to the left and right of the RHS (#5505)"
Using index info to reconstruct a base tree...
M	plugins/rhs_plugin/rhs_plugin.jsx
M	utils/constants.jsx
Falling back to patching base and 3-way merge...
Auto-merging utils/constants.jsx
Auto-merging plugins/rhs_plugin/rhs_plugin.jsx
CONFLICT (content): Merge conflict in plugins/rhs_plugin/rhs_plugin.jsx
Patch failed at 0001 Revert "MM-24380 - Add ability to add components to the left and right of the RHS (#5505)"
Use 'git am --show-current-patch' to see the failed patch
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".

+++ Conflicts detected:

UU plugins/rhs_plugin/rhs_plugin.jsx

+++ Aborting in-progress git am.

+++ Returning you to the master branch and cleaning up.


add ability for match to upload arbitrary files

Turns out this is not necessary, I was able to accomplish the same thing using the built in commands in a lane


Error using the new cache getOrSet() method:

I want to use the new getOrSet() method of Cache: https://github.com/yiisoft/yii2/pull/13186
Unfortunately i get the following error message:

Serialization of 'Closure' is not allowed

According to stackoverflow, PHP isn´t able to do this (yet):
http://stackoverflow.com/questions/13734224/exception-serialization-of-closure-is-not-allowed
Any ideas? Or am i using the getOrSet wrong?:
$offers_new = $cache->getOrSet(['merchant-offers-new', Yii::$app->user->id], function ($cache) use ($merchant) {
    return app\models\Offer::find()->leftJoin('offer_has_agency', 'offer_has_agency.offer_id = offer.id')->where([
        'merchant_id' => $merchant->id,
        'offer_has_agency.id' => null,
    ])->orderBy('created_at DESC')->all();
});

I am using:
$ php -v
PHP 7.0.9 (cli) (built: Jul 20 2016 11:08:23) ( ZTS )
Copyright (c) 1997-2016 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2016 Zend Technologies

Thanks a lot !

I think this is to do with trying to serialize a model object.
Does it work if you use asArray?

Using asArray is working as expected. I think the documentation should be adjusted as long as php does not support the serialization of objects:
https://github.com/yiisoft/yii2/pull/13186/files#diff-939db7aecd14e2b72c04d8f878da53e3R552
->asArray() should be attached to the example and the situation should be explained here.

You can serialize objects, just not closures.
I'd try a var_dump on one of the found records to see where the closure is.

Aha. now i understand the problem. I use the the softDeleteBehavior which indeed has an closure attached to it:
 ["_behaviors":"yii\base\Component":private]=>
    array(7) {
      [0]=>
      object(thyseus\files\behaviors\HasFilesBehavior)#3378 (1) {
        ["owner"]=>
        *RECURSION*
      }
      ["softDeleteBehavior"]=>
      object(yii2tech\ar\softdelete\SoftDeleteBehavior)#3379 (7) {
        ["softDeleteAttributeValues"]=>
        array(1) {
          ["deleted_at"]=>
          object(Closure)#3377 (1) {
            ["this"]=>
            *RECURSION*
          }
        }

So I guess it would fail the same way with old cache methods, right?

Interestingly not. This works:
$id = $merchant->id;
$offers_new = $db->cache(function($db) use($id) {
        return app\models\Offer::find()->leftJoin('offer_has_agency', 'offer_has_agency.offer_id = offer.id')->where([
            'merchant_id' => $id,
            'offer_has_agency.id' => null,
        ])->orderBy('created_at DESC')->all();
    }, 3600, $dependency);

And doing a
var_dump($offers_new)[0];
shows that there also is the closure in it.

Most probably you mean this attempt with 'old cache methods':
$key = ['merchant-offers-new', Yii::$app->user->id];
$offers_new = $cache->get($key);

if ($offers_new === false) {
    $offers_new = app\models\Offer::find()->leftJoin('offer_has_agency', 'offer_has_agency.offer_id = offer.id')->where([
        'merchant_id' => $merchant->id,
        'offer_has_agency.id' => null,
    ])->orderBy('created_at DESC')->all();

    $cache->set($key, $offers_new);
}

This also fails with the Serialization of 'Closure' is not allowed error. Any ideas on how to handle it, or should we just update the documentation with an hint about this? Using ->asArray() is fine (and maybe even more performant/memory-saving than without)

Yes. That means it's a duplicate of old serialization issue https://github.com/yiisoft/yii2/issues/8797 which is planned for 2.1. Updating docs is a good idea.

Cool! Thanks for the information.

@samdark is  #15410 already in 2.0.15? Because I experience the same problem with Yii::$app->cache->getOrSet and this is exactly the line that was fixed I suppose, because I get Closure exception which is caused by that line

It is not. Will be included into 3.0.


services/horizon: Build and test verify-range Docker image

Part of #2761

CodeQL seems stuck, I will merge without it.

Uhm, I rebased and the verify-range test gets stuck, I suspect it could be due to #3576
I will remove the PR and see if it passes

I think it is due to #3576  (it works with BRANCH=05e09089828a0528e5545a04d7f713dee8f8e379). @paulbellamy could you take a look?

OK, it seems to randomly get stuck (it just worked with master).

I am thinking it may be a memory problem, so I am going to move to an even earlier range.


Module not found: Can't resolve 'react-jss/lib/JssProvider

[ ] This is not a v0.x issue.
[ ] I have searched the issues of this repository and believe that this is not a duplicate.

Expected Behavior

Current Behavior

Examples

Context

in material-ui 3.2.0, I find I can't use jssprovider.  but 1.5.1 I can

@sunshixiong789 npm install react-jss and you will be good. See #12993.

think you

I think it should be like before

react-jss was always a transitive dependency. You should not import transitive dependencies. Eslint even has a rule implicit-dependency against that.

@sunshixiong789 I'm considering the option of having a WithStylesProvider.

@oliviertassinari for now doing npm install react-jss solves the problem but in this way we need to install all the dependency's dependency at root of our package.json :(

@devamir What version are you using?

@oliviertassinari I was facing the issue Object(...) is not a function on upgrading the material-ui to 4.x.x and then faced this issue/. It seemed to be the issue that npm install was not installing all the sub-dependencies.

react-jss is not a dependency of v4.0.0. We might introduce it back in #16180.

If you are using ^10.x.x use
import JssProvider from 'react-jss/src/JssProvider';
notice src in place of lib

@AleksandarSavic95

Material-UI depends on JSS v10. JSS v10 is not backward compatible with v9. Make sure JSS v9 is not installed in your environment. (Removing react-jss from your package.json can help). The StylesProvider component replaces the JssProvider one.

https://material-ui.com/guides/migration-v3/

in case of need you have to install jss-rtl  too


Suggested backup strategy

Hi,
I'm having a hard time finding info on a recommended way to back up whisper files.
There's projects like https://github.com/jjneely/whisper-backup that do lots of other things as well, but is there any simpler method? How likely am I to end up with corrupted whisper files if I simply cp the whole thing?
Thanks!

whisper-backup using same lock files as whisper for making files consistent - https://github.com/jjneely/whisper-backup/blob/master/whisperbackup/whisperbackup.py#L169-L188
You can use snippet above to make own simpler backup script.


Too big page is too laggy, hope to subdivide

Too big page is too laggy, hope to subdivide
https://code.visualstudio.com/api/references/vscode-api

Hi @shijunti19 Thank you for your suggestion. The vscode-api page is quite large due to being auto-generated from the VS Code Type Definition file https://github.com/microsoft/vscode/blob/master/src/vs/vscode.d.ts. At this point, we don't plan to break this up by namespace or some other subdivision.
If reviewing the web page is too slow, you could review the vscode.d.ts file directly in VS Code. The file is included in all VS Code extension projects as an npm module. Using Go to Definition on any VS Code type will bring up the vscode.d.ts file in the editor, were you can search, see in Outline view, or use the other code navigation commands.


Set up continuous integration

This will make tests get run every time a pull request is made.
@pavanramkumar you will have to activate your Travis for pyglmnet and then we can merge this PR.

nice! activated travis CI


[Functional Test] 1.4-30 ConnectionError: ('Connection aborted.', error(54, 'Connection reset by peer'))

Using Nexus 6P api 25 Device and CBL Android 1.4-30
ConnectionError: ('Connection aborted.', error(54, 'Connection reset by peer'))
Failing test - http://uberjenkins.sc.couchbase.com:8080/job/android-listener-client-sync-gateway/85/testReport/junit/testsuites.listener.shared.client_sg/test_replication/test_client_to_sync_gateway_complex_replication_with_revs_limit/
Failing test adb logcat - http://uberjenkins.sc.couchbase.com:8080/job/android-listener-client-sync-gateway/85/artifact/results/logs/LiteServAndroid-test_client_to_sync_gateway_complex_replication_with_revs_limit-2017-01-27 17%3A18%3A56.641005.txt

@raghusarangapani run the functional test with real device 02/01/2017. And all functional test passed.
http://uberjenkins.sc.couchbase.com:8080/job/android-listener-client-sync-gateway/114/console
If we observed the same failure with future functional test execution, please reopen this ticket.

Seeing it in a latest run - http://uberjenkins.sc.couchbase.com/job/android-listener-client-sync-gateway/116/testReport/junit/testsuites.listener.shared.client_sg/test_replication/test_initial_pull_replication_True_/

FYI: @sethrosetter and @raghusarangapani,
I currently run P2P sanity test with using the real device. I could observe ConnectionError intermittently. I also run ping <ip of real device>, and ping returns Request timeout for 30 times at the same time. So I believe the device or PC is out of network for  120sec (4sec * 30 times). This network  issue causes ConnectionError.

Tried running the test with the device connected to dantest with couchbase-mobile wifi. dantest has genymotion running jenkins jobs and the device interferes with the jobs causing them to fail. Seth and I decided that we will run all jobs on genymotion for now.

As we don't execute functional test with real device, I will move this ticket to backlog, and remove the 1.4.0 milestone tag.

duplicated with #1592 ? I will close this.


Fix/exchange error grid

Before submitting this PR, please make sure:

[ ] Your code builds clean without any errors or warnings
[ ] You are using approved title ("feat/", "fix/", "docs/", "refactor/")

A description of the changes proposed in the pull request:
A fix for the error mentioned in:
https://github.com/hummingbot/hummingbot/issues/5453
Tests performed by the developer:
Tips for QA testing:

Hi @rkc2000, can you please look at the failing tests in this PR? Thanks.


RETURN clause throws OCommandExecutorNotFoundException with SQL batch script

OrientDB Version, operating system, or hardware.
v2.2.10 MacOSX Java
Expected behavior and actual behavior
According to http://orientdb.com/docs/master/SQL-batch.html the RETURN clause can be used to return the result of a query. However, it fails with an OCommandExecutorNotFoundException
Steps to reproduce the problem
Consider the following Java snippet:
OrientGraph graph = ...;

String script = "return 'hello'";
Object result = graph.command(new OCommandScript("sql", script)).execute();
System.out.println(result);
// prints "hello" (fine)

script = "let a = select from V\n"
		+ "return $a";
result = graph.command(new OCommandScript("sql", script)).execute();
System.out.println(result);
// prints com.tinkerpop.blueprints.impls.orient.OrientDynaElementIterable@55a147cc (fine)

script = "return (select from V)";
result = graph.command(new OCommandScript("sql", script)).execute();
System.out.println(result);
// fails, with the following exception:

Exception in thread "main" com.orientechnologies.orient.core.command.OCommandExecutorNotFoundException: Cannot find a command executor for the command request: sql.(SELECT FROM V)
	DB name="testDatabase"
	DB name="testDatabase"
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
	at com.orientechnologies.orient.client.binary.OChannelBinaryAsynchClient.throwSerializedException(OChannelBinaryAsynchClient.java:427)
	at com.orientechnologies.orient.client.binary.OChannelBinaryAsynchClient.handleStatus(OChannelBinaryAsynchClient.java:378)
	at com.orientechnologies.orient.client.binary.OChannelBinaryAsynchClient.beginResponse(OChannelBinaryAsynchClient.java:260)
	at com.orientechnologies.orient.client.binary.OChannelBinaryAsynchClient.beginResponse(OChannelBinaryAsynchClient.java:152)
	at com.orientechnologies.orient.client.remote.OStorageRemote.beginResponse(OStorageRemote.java:2087)
	at com.orientechnologies.orient.client.remote.OStorageRemote$27.execute(OStorageRemote.java:1137)
	at com.orientechnologies.orient.client.remote.OStorageRemote$2.execute(OStorageRemote.java:192)
	at com.orientechnologies.orient.client.remote.OStorageRemote.baseNetworkOperation(OStorageRemote.java:224)
	at com.orientechnologies.orient.client.remote.OStorageRemote.networkOperation(OStorageRemote.java:189)
	at com.orientechnologies.orient.client.remote.OStorageRemote.command(OStorageRemote.java:1113)
	at com.orientechnologies.orient.core.command.OCommandRequestTextAbstract.execute(OCommandRequestTextAbstract.java:69)
	at com.tinkerpop.blueprints.impls.orient.OrientGraphCommand.execute(OrientGraphCommand.java:49)
	at Test2.main(Test2.java:38)

Note that "return (select $a as something)" fails as well.

Hi @benjaminbillet
It seems to be a bug, I'll take a look at it asap
Thanks
Luigi

Hi @benjaminbillet
I just pushed a fix for this in 2.2.x branch. The fix will be released with 2.2.11
I'm closing this, please reopen if you see any related problems
Thanks
Luigi


[PE-D][Tester B] Help Text for "edit e" command is incorrect

When typing in the command edit e, the following help text is shown:

In particular, [s/PHONE] is incorrect, it should be [s/START TIME]. This will align with your user guide too:

I believe this is a very small error which will likely require a quick fix! Don't worry, it does not affect the functionality of your command!

Labels: severity.Medium type.FeatureFlaw
original: brianchoon/ped#2

Duplicate of #174


Updates permissions to give apache access to the entire /code directory

Temporary workaround for #575. I'm not sure if this will work with our production site, but it gets rid of the PermissionError: [Errno 13] Permission denied: '/code/static' message locally (which is where the Django admin css is kept)

Rats, didn't work 😬

Yes, darn. I see that:

We'll just have to wait for @mechanicjay to get back then I suppose.


An error occurred (500) when calling the HeadObject operation

This error happened during saving a new datafile in the S3 storage:
Traceback (most recent call last):
  File "/opt/conda/lib/python3.7/site-packages/django/core/handlers/exception.py", line 47, in inner
    response = get_response(request)
  File "/opt/conda/lib/python3.7/site-packages/django/core/handlers/base.py", line 181, in _get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/opt/conda/lib/python3.7/contextlib.py", line 74, in inner
    return func(*args, **kwds)
  File "/opt/conda/lib/python3.7/site-packages/django/contrib/auth/decorators.py", line 21, in _wrapped_view
    return view_func(request, *args, **kwargs)
  File "/opt/conda/lib/python3.7/site-packages/django/views/generic/base.py", line 70, in view
    return self.dispatch(request, *args, **kwargs)
  File "/opt/conda/lib/python3.7/site-packages/django/contrib/auth/mixins.py", line 128, in dispatch
    return super().dispatch(request, *args, **kwargs)
  File "/opt/conda/lib/python3.7/site-packages/formtools/wizard/views.py", line 244, in dispatch
    response = super().dispatch(request, *args, **kwargs)
  File "/opt/conda/lib/python3.7/site-packages/django/views/generic/base.py", line 98, in dispatch
    return handler(request, *args, **kwargs)
  File "/opt/conda/lib/python3.7/site-packages/formtools/wizard/views.py", line 302, in post
    return self.render_done(form, **kwargs)
  File "/opt/conda/lib/python3.7/site-packages/formtools/wizard/views.py", line 358, in render_done
    done_response = self.done(list(final_forms.values()), form_dict=final_forms, **kwargs)
  File "/app/topobank/manager/views.py", line 409, in done
    d['datafile'] = default_storage.save(new_path, File(datafile))
  File "/opt/conda/lib/python3.7/site-packages/django/core/files/storage.py", line 53, in save
    name = self.get_available_name(name, max_length=max_length)
  File "/opt/conda/lib/python3.7/site-packages/storages/backends/s3boto3.py", line 605, in get_available_name
    return super().get_available_name(name, max_length)
  File "/opt/conda/lib/python3.7/site-packages/django/core/files/storage.py", line 91, in get_available_name
    while self.exists(name) or (max_length and len(name) > max_length):
  File "/opt/conda/lib/python3.7/site-packages/storages/backends/s3boto3.py", line 469, in exists
    self.connection.meta.client.head_object(Bucket=self.bucket_name, Key=name)
  File "/opt/conda/lib/python3.7/site-packages/botocore/client.py", line 391, in _api_call
    return self._make_api_call(operation_name, kwargs)
  File "/opt/conda/lib/python3.7/site-packages/botocore/client.py", line 719, in _make_api_call
    raise error_class(parsed_response, operation_name)

Exception Type: ClientError at /manager/surface/1316/new-topography/
Exception Value: An error occurred (500) when calling the HeadObject operation (reached max retries: 4): Internal Server Error

Probably this error is an fact a "not found" error and should be status 404, but due to problems in some storage nodes (one node is not reachable) it cannot be decided that it is not available.


cmd/lncli: fix nil map in payment req [skip ci]

Fixes #5989.
Fixes a panic in lncli if a payment request and the --data flag is used
at the same time.

@Roasbeef rc5 or 0.14.1?


chore: allow compiling only the JS packages

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Guess this will never get merged


Option to export angles as degrees or radians isnt working

Note to implementer: Make sure to test this setting for both entity and decal exports!

Looks like the current behavior is that entity rotation is always exported as degrees, but decal rotation is always exported as radians 🙃


Overhaul of Affiliated Packages page

Using an idea from Thomas R. Work done almost entirely by Erik Tollerud.

 Affiliated Package Table Overhaul


Get "This program needs access to the screen" using (PyInstaller) on MacOS Mojave

Hello There, Future Issue Creator!
If you've found a bug, make sure to include the following:
[X] OS
MacOS 10.14 (Mojave)
[X] Python Version
Python 3.7.1 (installed from python.org) and also Mac built-in Python 2.7.15
[X ] Gooey Version
Latest commit revision abd69a9bae66c4f81e294742b32d53a76537c400
[X ] Thorough description of problem
The problem is that I've tried all combinations to get a runnable "freezed" packages by using PyInstaller and cx_freeze. Also tried different combinations of Python (installed through pyenv, brew and finally MacPython from Python.org). But I will only focusing on explaining the Python 3.7.1 and Python 2.7.15 on Mojave scenarios.
With both setups I've used the included widget_demo.py in the source that works running using

/Library/Frameworks/Python.framework/Versions/3.7/bin/python3 (from python.org)
/usr/local/bin/python2 (built-in)

when calling it directly from python2/python3 (on command-line)
But as soon as you package using latest PyInstaller 3.5.dev0+b1be6a73e. (but also 3.4) using the below spec-file (but also tried many other combinations), it'll always successfully creates the packages but when you run this either trough terminal you get
"This program needs access to the screen. Please run with a
Framework build of python, and only when you are logged in
on the main display of your Mac."
(you get the whole debug below)
Because I have packaged a very simple wx Python-script successfully using same PyInstaller without this message (considering MacOS nor PyInstaller being the problem), and tried all combinations of Pythons (brew, macPython, built-in) I have the believe that there is something related to Gooey in combination with PyInstaller (and using the sample provided considering not the code being the problem)
[X] Expected Behavior
You should get the widget_demo window appearing
[X] Actual Behavior
You get this "This program needs access to the screen. " you run the compiled "single file" binary

dist/widget_demo

or you find that nothings happens if you open

dist/widget_demo.app (through finder)

[X] A minimal code example
I've used widget_demo.py from
https://github.com/chriskiehl/GooeyExamples/blob/master/examples/widget_demo.py
widget_demo.spec (attached) <-- for PyInstaller
I've tested the variation of
hiddenimports=['wx', 'gooey'] and hiddenimports=[]

excludes=['FixTk', 'tcl', 'tk', '_tkinter', 'tkinter', 'Tkinter'] and excludes=[] <-- due to error in PyInstaller

I've compiled the package using
python3 -m PyInstaller -F --windowed widget_demo.spec

and
python2 -m PyInstaller -F --windowed widget_demo.spec

(but also tried all combinations of not using -F or --windowed)
[X] Screenshot (if visual quirk)
N/A - problem is that not GUI shown
[X] Anything else you may think will be helpful
The complete debug when running
Package by PyInstaller
Daniels-MacBook-Air:gooey_test development$ python3 -m PyInstaller -F --windowed widget_demo.spec
334 INFO: PyInstaller: 3.5.dev0+b1be6a73e
334 INFO: Python: 3.7.1
343 INFO: Platform: Darwin-18.0.0-x86_64-i386-64bit
349 INFO: UPX is not available.
1189 INFO: checking Tree
1189 INFO: Building Tree because Tree-00.toc is non existent
1189 INFO: Building Tree Tree-00.toc
1194 INFO: checking Tree
1194 INFO: Building Tree because Tree-01.toc is non existent
1194 INFO: Building Tree Tree-01.toc
1197 INFO: Extending PYTHONPATH with paths
['/Users/development/git/my/gooey_test', '/Users/development/git/my/gooey_test']
1197 INFO: checking Analysis
1198 INFO: Building Analysis because Analysis-00.toc is non existent
1198 INFO: Initializing module dependency graph...
1203 INFO: Initializing module graph hooks...
1211 INFO: Analyzing base_library.zip ...
5491 INFO: Analyzing hidden import 'wx'
5662 INFO: Analyzing hidden import 'gooey'
5849 INFO: Processing pre-safe import module hook   six.moves
8820 INFO: running Analysis Analysis-00.toc
8848 INFO: Caching module hooks...
8852 INFO: Analyzing widget_demo.py
8867 INFO: Loading module hooks...
8868 INFO: Loading module hook "hook-xml.etree.cElementTree.py"...
8871 INFO: Loading module hook "hook-encodings.py"...
8938 INFO: Loading module hook "hook-PIL.py"...
8943 INFO: Excluding import 'PyQt4'
8944 INFO:   Removing import of PyQt4 from module PIL.ImageQt
8944 INFO: Excluding import 'tkinter'
8945 INFO: Excluding import 'PyQt5'
8946 INFO:   Removing import of PyQt5 from module PIL.ImageQt
8946 INFO: Excluding import 'FixTk'
8947 INFO: Excluding import 'PySide'
8948 INFO:   Removing import of PySide from module PIL.ImageQt
8949 INFO: Loading module hook "hook-PIL.Image.py"...
9033 INFO: Processing pre-find module path hook   distutils
9514 INFO: Loading module hook "hook-gooey.py"...
9526 INFO: Loading module hook "hook-xml.py"...
9807 INFO: Loading module hook "hook-pydoc.py"...
9810 INFO: Loading module hook "hook-distutils.py"...
9815 INFO: Loading module hook "hook-PIL.SpiderImagePlugin.py"...
9820 INFO: Excluding import 'tkinter'
9821 INFO: Excluding import 'FixTk'
9859 INFO: checking Tree
9859 INFO: Building Tree because Tree-02.toc is non existent
9859 INFO: Building Tree Tree-02.toc
9864 INFO: Looking for ctypes DLLs
9884 INFO: Analyzing run-time hooks ...
9897 INFO: Looking for dynamic libraries
10940 INFO: Looking for eggs
10940 INFO: Using Python library /Library/Frameworks/Python.framework/Versions/3.7/Python
10952 INFO: Warnings written to /Users/development/git/my/gooey_test/build/widget_demo/warn-widget_demo.txt
11000 INFO: Graph cross-reference written to /Users/development/git/my/gooey_test/build/widget_demo/xref-widget_demo.html
11019 INFO: checking PYZ
11019 INFO: Building PYZ because PYZ-00.toc is non existent
11019 INFO: Building PYZ (ZlibArchive) /Users/development/git/my/gooey_test/build/widget_demo/PYZ-00.pyz
11598 INFO: Building PYZ (ZlibArchive) /Users/development/git/my/gooey_test/build/widget_demo/PYZ-00.pyz completed successfully.
11610 INFO: checking PKG
11611 INFO: Building PKG because PKG-00.toc is non existent
11611 INFO: Building PKG (CArchive) PKG-00.pkg
27800 INFO: Building PKG (CArchive) PKG-00.pkg completed successfully.
27811 INFO: Bootloader /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/PyInstaller/bootloader/Darwin-64bit/run_d
27811 INFO: checking EXE
27811 INFO: Building EXE because EXE-00.toc is non existent
27811 INFO: Building EXE from EXE-00.toc
27811 INFO: Appending archive to EXE /Users/development/git/my/gooey_test/dist/widget_demo
27880 INFO: Fixing EXE for code signing /Users/development/git/my/gooey_test/dist/widget_demo
27885 INFO: Building EXE from EXE-00.toc completed successfully.
27892 INFO: checking BUNDLE
27893 INFO: Building BUNDLE because BUNDLE-00.toc is non existent
27893 INFO: Building BUNDLE BUNDLE-00.toc
27974 INFO: moving BUNDLE data files to Resource directory
Daniels-MacBook-Air:gooey_test development$

Running the application
Daniels-MacBook-Air:gooey_test development$ dist/widget_demo
[16176] PyInstaller Bootloader 3.x
[16176] LOADER: executable is /Users/development/git/my/gooey_test/dist/widget_demo
[16176] LOADER: homepath is /Users/development/git/my/gooey_test/dist
[16176] LOADER: _MEIPASS2 is NULL
[16176] LOADER: archivename is /Users/development/git/my/gooey_test/dist/widget_demo
[16176] LOADER: Extracting binaries
[16176] LOADER: Executing self as child
[16176] LOADER: set _MEIPASS2 to /var/folders/lv/t4393j6n46sf69z_s2mmg6240000gp/T/_MEI4mpbnW
[16176] LOADER: Registering signal handlers
[16177] PyInstaller Bootloader 3.x
[16177] LOADER: executable is /Users/development/git/my/gooey_test/dist/widget_demo
[16177] LOADER: homepath is /Users/development/git/my/gooey_test/dist
[16177] LOADER: _MEIPASS2 is /var/folders/lv/t4393j6n46sf69z_s2mmg6240000gp/T/_MEI4mpbnW
[16177] LOADER: archivename is /Users/development/git/my/gooey_test/dist/widget_demo
[16177] LOADER: Already in the child - running user's code.
[16177] LOADER: Python library: /var/folders/lv/t4393j6n46sf69z_s2mmg6240000gp/T/_MEI4mpbnW/Python
[16177] LOADER: Loaded functions from Python library.
[16177] LOADER: Manipulating environment (sys.path, sys.prefix)
[16177] LOADER: sys.prefix is /var/folders/lv/t4393j6n46sf69z_s2mmg6240000gp/T/_MEI4mpbnW
[16177] LOADER: Pre-init sys.path is /var/folders/lv/t4393j6n46sf69z_s2mmg6240000gp/T/_MEI4mpbnW/base_library.zip:/var/folders/lv/t4393j6n46sf69z_s2mmg6240000gp/T/_MEI4mpbnW
[16177] LOADER: Setting runtime options
[16177] LOADER: Initializing python
[16177] LOADER: Overriding Python's sys.path
[16177] LOADER: Post-init sys.path is /var/folders/lv/t4393j6n46sf69z_s2mmg6240000gp/T/_MEI4mpbnW/base_library.zip:/var/folders/lv/t4393j6n46sf69z_s2mmg6240000gp/T/_MEI4mpbnW
[16177] LOADER: Setting sys.argv
[16177] LOADER: setting sys._MEIPASS
[16177] LOADER: importing modules from CArchive
[16177] LOADER: extracted struct
[16177] LOADER: callfunction returned...
[16177] LOADER: extracted pyimod01_os_path
[16177] LOADER: callfunction returned...
[16177] LOADER: extracted pyimod02_archive
[16177] LOADER: callfunction returned...
[16177] LOADER: extracted pyimod03_importers
[16177] LOADER: callfunction returned...
[16177] LOADER: Installing PYZ archive with Python modules.
[16177] LOADER: PYZ archive: PYZ-00.pyz
[16177] LOADER: Running pyiboot01_bootstrap.py
[16177] LOADER: Running widget_demo.py
Writing Build Config to: /Users/development/git/my/gooey_test/gooey_config.json
This program needs access to the screen. Please run with a
Framework build of python, and only when you are logged in
on the main display of your Mac.
[16176] LOADER: Restoring signal handlers
[16176] LOADER: freeing args
[16176] LOADER: returning child exit status 1
[16176] LOADER: Back to parent (RC: 1)
[16176] LOADER: Doing cleanup
[16176] LOADER: Freeing archive status for /Users/development/git/my/gooey_test/dist/widget_demo

PyInstaller spec file
 Daniels-MacBook-Air:gooey_test development$ cat widget_demo.spec
# -*- mode: python -*-
import gooey
gooey_root = os.path.dirname(gooey.__file__)
gooey_languages = Tree(os.path.join(gooey_root, 'languages'), prefix = 'gooey/languages')
gooey_images = Tree(os.path.join(gooey_root, 'images'), prefix = 'gooey/images')

block_cipher = None
import sys
sys.modules['FixTk'] = None

a = Analysis(['widget_demo.py'],
             pathex=['/Users/development/git/my/gooey_test'],
             binaries=[],
             datas=[],
             hiddenimports=['wx', 'gooey'],
             hookspath=[],
             runtime_hooks=[],
             excludes=['FixTk', 'tcl', 'tk', '_tkinter', 'tkinter', 'Tkinter'],
             win_no_prefer_redirects=False,
             win_private_assemblies=False,
             cipher=block_cipher,
             noarchive=False)
pyz = PYZ(a.pure, a.zipped_data,
             cipher=block_cipher)
exe = EXE(pyz,
          a.scripts,
          a.binaries,
          a.zipfiles,
          a.datas,
          [],
          gooey_languages,
          gooey_images,
          name='widget_demo',
          debug=True,
          bootloader_ignore_signals=False,
          strip=False,
          upx=True,
          runtime_tmpdir=None,
          console=True )
app = BUNDLE(exe,
             name='widget_demo.app',
             icon=None,
             bundle_identifier=None)

widget_demo.spec.zip

This is a partial duplicate of #259. I'm going to close this one and link it in the other thread so all these OSX "screen access" issues are grouped together.  I'll respond in that thread.

Thank you @chriskiehl for such fast feedback, it was indeed a good resource reading "PyInstaller FAQ" that very closely relates to the same symptom that I've been seeing. Even though as I've been generating this "freezed" version by using as below this on a Macbook only while using built-in display it gives this error.
python3 -m PyInstaller -F --windowed widget_demo.spec

What makes me wonder is that if I follow the exact same steps but instead in a folder create an wx_test.py with the following code
import wx
class Frame(wx.Frame):
    def __init__(self, title):
        wx.Frame.__init__(self, None, title=title, size=(350,200))
app = wx.App(redirect=True)
top = Frame("Hello World")
top.Show()
app.MainLoop()

It'll generate a package that you could run either as "dist/wx_test" or "open dist/wx_test.app" and this works without any warnings or issues. While doing the same but instead using widget_demo.py together with this widget_demo.spec (this needed to include e.g. images + languages) it would give this "This program needs access to the screen".
Also, obviously there is no issues with neither widget_demo.py (proven when running by "python3 ./widget_demo.py" works perfectly fine), nor PyInstaller since that works perfectly find when packaging wx_test.py. And my understanding was that Gooey uses wx as framework so can't wrap my head around why it would work with this simplified wx_test.py but not widget_demo.py ..
But it is correct that while I was also (one of the many approaches) originally used pyenv I learned that you had to install the python-interpreter using this "--include-framework" and also tested anaconda which I also learned that if you wanted to run widget_demo.py you had to to use pythonw instead that I think must have answered @mrosewell issue he had.
I am very impressed by the simplicity of Gooey and also that it looks that good so I would be happy to do what I can to help "triage" this. I've spent a couple of days searching internet for others in the same spot which I would not find that unlikely - but the few I've seen are quite old and been using Python2 .. that is why I also now tested the same from another Mac OS 10.13 (High Sierra) using older Python 3.5.4 (installed from Mac binaries from www.python.org) in the hope of that it would make a difference but unfortunately not.
Thanks again ...


TSServer IntelliSense breaks when typing path with ../../..s

From @gabrielruss on April 19, 2018 17:16

VSCode Version: 1.22.2
OS Version: Windows 10

Steps to Reproduce:

Try to import a file multiple layers deep
After doing step 1 a few times, Intellisense will break and you will need to restart in order to get it back.

Does this issue occur when all extensions are disabled?: Yes

Copied from original issue: Microsoft/vscode#48224

From @gabrielruss on April 20, 2018 0:35

Updated global typescript package with npm install -g typescript@next
opened VSCode code --disable-extensions .

Issue remains

Can you please test upgrading to typescript@next in your workspace by following these instructions: https://code.visualstudio.com/Docs/languages/typescript#_using-newer-typescript-versions

Moving over to TS repo to continue investigation.
@gabrielruss Can you try collecting the  TypeScript server logs:

Add "typescript.tsserver.log": "verbose" to your user settings and restart VSCode.
Reproduce the issue
In VS Code in a js file, run the TypeScript: Open TS server log command. This should open a folder with a tsserver.log` file in it

Look for errors, stack traces, or other suspicious info near the end of the logs. If you can share the logs I or someone on the TS team can try looking through them to see what is going on

⚠Warning: The TypeScript log may include information from your workspace, including file paths and source code. If you have any concerns about posting this publicly on Github, just let me know and we can arrange something else. On our side, we only use these logs to investigate issues like this

Here you go.
tsserver.zip

@gabrielruss  can you please try out typescript@next I believe this is fixed now.

I thought I installed typescript@next via the npm install -g command yesterday but I tried again just now. When I do a npm list -g --depth=0 it says that I have<EMAIL_ADDRESS>Here is another log with the issue still happening. Is there some cached version of TypeScript I am using or something?
tsserver.zip

@gabrielruss After install, you need to then select that version of TypeScript in your workspace: https://code.visualstudio.com/Docs/languages/typescript#_using-the-workspace-version-of-typescript
We don't activate it automatically for security reasons

OH ok sorry that I missed that the first time. Well I got the new version going and I was still able to reproduce it unfortunately. Here is the file.
tsserver.zip

@gabrielruss From the log i cannot see any completion request that took more than 200ms. There were only two project updates that were 1s long (initial one and after adding all the typings for your project) that you can expect with such a large project.

Ok I am not sure what happened before but yeah...I can't reproduce now that I double checked. Sorry about the confusion. Thank you all so much for the help! So I guess this fix will be included in 2.9?

@gabrielruss Yes.


support for vmware

Hi,
Both vSphere and VCD will be very welcomed.
Thanks

It would be ingenious if the terraform-provider-vsphere would be supported. Do you by chance already have a status there?
Import documentation provider-vsphere
Thanks

Andy news on this?

Hi,
We still need it.
Thanks

Any news about it?

Actually, I might have soon time to focus on support for that provider, around Sep/Oct

I would be very interested to use this provider too. It's super cool if you're planning to support this Terraform provider.

Any news?

+1 for the waiting list)

+1

+1

+100500

Still waiting:-)

+1

+1

I could have used this  years ago...
+1

This would definitely complement the terraform provider vsphere!
+1

+1

+1 This would be great to have!

+1 would be really nice

Still waiting, this would be a great feature to have :-)

yup

… news? Closed using the stale action, great…


⚠ GitHub has degraded performance

In c0be78f, GitHub (https://www.githubstatus.com/api/v2/status.json) experienced degraded performance:

HTTP code: 200
Response time: 144 ms

Resolved: GitHub performance has improved in 3553623.


packaged app: use executable named for the project and main function

Summary
Create a function main as the default for a packaged app. Configure the default executable as:
example-packaged-app = "example_packaged_app:main"
Which is often what you want - the executable has the same name as the app.
The purpose is to more often hit what the user wants, so they don't have
to even rename the command to start developing.
Test Plan

existing tests are updated

I asked @zanieb briefly in discord before posting this one. It's a small but "opinionated" change I guess. Next step could be to add a minimal __main__.py.

I'm off today but I'll try to get this in early next week.


Update languages

Added new languages from https://github.com/caouecs/Laravel-lang and updated code style

Hi @Ragelyte
what I see is that you missed updating a Gruntfile.js for new languages.
@mikeerickson Mike, I suppose we still have the behaviour that when bundling with webpack all languages are included into a final bundle.js?

@Ragelyte As @vict-shevchenko has mentioned, this PR is indeed missing the Gruntfile update to include the new language.  If you could please make these changes and assure CI passes, I will move forward getting this PR merged.
@vict-shevchenko Yes, you are indeed correct.  When using the default require(import) it will include all languages.  Admittedly, this is not ideal and it produces a rather "large" bundle.  Other projects such as Momemt.js have this similar issue and there are alternatives available (ie letting developer determine which languages he/she wants to support)

@vict-shevchenko @mikeerickson  the  Gruntfile.js is now updated

Hi @mikeerickson,
I have now reverted the style changes and set the spacings to 2-characters. Reverted all the style changes to non-language files too.
Also ran grunt task to generate dist.
Would be good to setup a CI linter for codestyle.

Agreed, I have have actually created a todo for myself to take care of this.  I was actually surprised to see it wasn’t already there.
I will review this full PR tomorrow and get it merged if all is good.  Thanks for your submission.

@Ragelyte Thank you for your contribution, all looks good now.


[BUG] small suggestion, mention that this has a merge conflict editor right at the start of the readme.

Describe the bug

IMO it isn't super clear that this plugin has an amazing merge conflict editor, which is super helpful.
I think you should mention this right in the first line saying this can be used to resolve conflicts.
Thanks for all your hard work with this! The plugin is great :)
To Reproduce

Expected behavior

Screenshots

Desktop (please complete the following information):

OS:
Browser:
Version:

Smartphone (please complete the following information):

Device:
OS:
Browser:
Version:

Additional context

@RayBB Thanks a lot for your suggestion ! I love this kind of bug reports ! 😆
I will update the documentation to include more infos and screenshots on the plugin's features.
Thanks !


fix: Support for updating the extension component in vue page

New Pull Request
For more information, see the CONTRIBUTING guide.
Prerequisites
Please make sure you can check the following boxes:

[x] I have read the CONTRIBUTING document
[ ] My code follows the code style of this project
[ ] All new and existing tests passed

Type(s) of Changes
Contribution Type
What types of changes does your code introduce? Put an x in all the boxes that apply:

[ ] Bug fix (non-breaking change which fixes an issue, please reference the issue id)
[x] New feature (non-breaking change which adds functionality, make sure to open an associated issue first)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] I have updated the documentation accordingly
[ ] I have added tests to cover my changes

Description
When the count in the react component increases, the react extension will be updated. But in the vue component increases, the extension will not be updated.
Remarks
[Optionally place any follow-up comments, remarks, observations, or notes here for future reference]

It seems to be working fine for me🎉. vue sample


refactor: change estimate gas calculation

What this PR does / why we need it?
This PR disable the estimate flag of EVM config when estimate gas. The estimate gas returns 1.25 * gas_used as result.
What is the impact of this PR?
No Breaking Change
PR relation:

Ref #

CI Settings

CI Usage
Tip: Check the CI you want to run below, and then comment /run-ci.
CI Switch

[x] Web3 Compatible Tests
[x] OpenZeppelin tests
[x] v3 Core Tests

CI Description

CI Name
Description

Web3 Compatible Test
Test the Web3 compatibility of Axon

v3 Core Test
Run the compatibility tests provided by Uniswap V3

OpenZeppelin tests
Run the compatibility tests provided by OpenZeppelin, including OCT 1-5 | 6-10 | 11 | 12-15 | 16-19

/run-ci


Return another promise within a resolve handler to capture entire async operation

Like a month ago, there was an unhandled rejection coming from here, of a strange error.
Didn't find out what the error was, and it's gone now, but still...
Chaining promises this way makes sure the error is bubbled up to somewhere it can be handled appropriately, in this case Gulp so it can fail the build and show us an error message with stack trace.
Watch out for when unhandled rejections will crash the process:
C:\Users\Matt\Documents\dev\sweetalert2>node -e "Promise.reject(new Error('foo'))
(node:14656) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: foo
(node:14656) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Thanks!


Stop all chart interactions

Is there a chart setting or option to stop all chart interactions? I'd like to be able to have a mode for static chart only. I've tried a number of different settings to no avail.

Within the chart settings you could set handleScroll and handleScale to false.
Or you could just place a transparent div on top of the chart with the following css property added: pointer-events: none. That would stop any mouse / touch events from reaching the chart.

Hi,
I also need that kind of chart that will not show the marker on the line chart while hovering, but pointer-events: none will remove all of the events, while I would like ot have a hyperlink on that chart. Is there a way to do it?


Python3.4 (macports) support unavailable in El Capitan?

Yesterday I upgraded to El Capitan and reinstalled my macports distribution.
I also disabled rootless.
I use Python 3.4 as standard python, and want to use it in MacVim too.
$ which python
/opt/local/bin/python
$ ls -l /opt/local/bin/python
lrwxr-xr-x  1 root  admin  24 Jan 13 09:54 /opt/local/bin/python -> /opt/local/bin/python3.4
$ ls -l /opt/local/bin/python3.4
lrwxr-xr-x  1 root  admin  73 Jan 12 12:01 /opt/local/bin/python3.4 -> /opt/local/Library/Frameworks/Python.framework/Versions/3.4/bin/python3.4

Now I use this configuration to install MacVim:
git clone git://github.com/macvim-dev/macvim.git
cd macvim/src
export LDFLAGS=-L/usr/lib
vi_cv_path_python=/opt/local/bin/python ./configure \
    --with-features=huge \
    --enable-rubyinterp \
    --enable-perlinterp \
    --enable-cscope \
    --enable-python3interp
make
open MacVim/build/Release

Right now, I do not have a ~/.vim directory and also no ~/.vimrc file which could interfere with any settings.
When opening MacVim now, I typed the following into the status bar:
:python print('ok')
and got the response
E319: Sorry, the command is not available in this version
Here is the complete output (stdout and stderr) from the configure and make commands:
https://gist.github.com/mawimawi/ad9b0b3f1258153bd488
BTW: the directory /opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/config-3.4m does exist and contains these files:
-rw-r--r--  1 root  wheel  64370 Jan 12 12:01 Makefile
-rw-r--r--  1 root  wheel  15130 Jan 12 12:01 Setup
-rw-r--r--  1 root  wheel    370 Jan 12 12:01 Setup.config
-rw-r--r--  1 root  wheel     41 Jan 12 12:01 Setup.local
-rw-r--r--  1 root  wheel   3148 Jan 12 12:01 config.c
-rw-r--r--  1 root  wheel   1619 Jan 12 12:01 config.c.in
-rwxr-xr-x  1 root  wheel   7122 Jan 12 12:01 install-sh
lrwxr-xr-x  1 root  wheel     15 Jan 12 12:01 libpython3.4.a -> ../../../Python
lrwxr-xr-x  1 root  wheel     15 Jan 12 12:01 libpython3.4.dylib -> ../../../Python
lrwxr-xr-x  1 root  wheel     15 Jan 12 12:01 libpython3.4m.a -> ../../../Python
lrwxr-xr-x  1 root  wheel     15 Jan 12 12:01 libpython3.4m.dylib -> ../../../Python
-rwxr-xr-x  1 root  wheel   7396 Jan 12 12:01 makesetup
-rwxr-xr-x  1 root  wheel   2091 Jan 12 12:01 python-config.py
-rw-r--r--  1 root  wheel   3988 Jan 12 12:01 python.o

Any ideas why this went wrong?

At first, as I wrote in https://github.com/macvim-dev/macvim/wiki/Building, using configure and make is not recommended. Please use binary release. Or please use the official Homebrew MacVim formula if you really want to build MacVim by yourself. In both ways, MacVim requires Python 3.5.x not 3.4.x, but it doesn't matter in most py3 case. Put these lines in your .vimrc if you did brew install python3.
let $PYTHONHOME="/usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework/Versions/3.5"
set pythonthreedll=/usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework/Versions/3.5/Python

Still you want to solve the issue by yourself, you can check src/auto/* files.

feel free to reopen the issue.

After a lot of trying out, testing, fishing in muddy waters, hair pulling and swearing I gave up. Right now I'm starting to use PyCharm with the vi key bindings (so I have at least some of my programming motor skills still working) for Python development. Maybe I'll try again in a few months.


Implementation of device.expval and device.var

While working on PR #256, which is the implementation of device.sample, I redid the implementation of device.expval and device.var in default.qubit.
The new implementation is basically device.sample(...).mean() and device.sample(...).var() if one is not in analytic mode. What do you think of making this the default implementation in the device baseclass?
Of course, there are cases when plugin developers want to override expval and var because their backend has some special functionality for those or its an analytical plugin, but if it's really just obtaining samples from a hardware device then one could reduce the work of building a plugin by already implementing the functions as above.

I believe @josh146 had some thoughts on this. Would be good to state them here for posterity

I've thought about this a lot, and decided that this is a Good Idea™

I'm closing this for now, as it is a very change that can likely be re-evaluated once #178 is implemented.


Update ParmEd conda version to 2.0.5 (stable)

Reset the build number to 0

Why's that?

It's the first build for that version. Build number is for when the source doesn't change, but it has to be rebuilt for whatever reason

Got it.  Thanks!


[FEATURE] Visually isolate node of interest

I was excited to find this tool - it is quite helpful. Thanks for making it.
Is your feature request related to a problem? Please describe.
In a large workspace with many projects, what I see is many blue nodes and blue edges. When I click on a node, it and its edges are made bold. Although very useful, it's hard to use.
Describe the solution you'd like
It would be nice to have a way to isolate a node. Some ideas when clicking a node:

it and its edges become bold as usual, but all other nodes and unrelated edges are muted (grey)
incoming edges are one colour and outgoing edges are another
best: both 1 and 2 simultaneously

Hope you'll consider it, and thank you!

Sorry for the late reply. Yes this sounds like a good idea. I'm looking at changing the html display altogether to something that allows a bit more customizability in a easier way. I'll take this into consideration.

You might want to look at the way they do it in NUKE. I'm not saying it's better, just interesting - might provide you some nice ideas.

Very good idea for a tool, but @madushans is right - in the case of big solutions, it is not usable at all.
The nature of dependencies is a single-direction graph (in theory there should be no cycles, but I have seen some projects that do not follow this principle). Please consider adding the IncludeFolders option as it will be much more useful than excluding hundreds of folders users do not want to see. Alternatively consider something like expandable tree view where nodes are expandable as well.

I have tried it on a solution with 270+ projects and the HTML is very hard to read in such cases. Bold connectors do not help as well. I had to analyze dependencies and create my own dependency graph manually. I am not saying you're wrong, just that there are cases when it is not a suitable solution.

Yea there's a sweet spot where dependensee really shines.
If you only have a handful of projects, may be you don't need a visualizer as it may not be too hard to keep the structure in your head. (Though I can see teams may like to have the diagram in order to reason, or to explain it to the new joiners.)
If you have like a 100 or more projects, first... what u doin? get some help. But also changes like #23 and #26 can reduce the number of projects and packages.
Currently my overall thinking is that if you have 100s of projects, you probably should be looking at a smaller scope. May be a solution file that has a subset of the projects, or split the codebase to smaller pieces. Its questionable what one would be trying to achieve by seeing the dependencies of 100s of projects at once.
Better solution is likely to be able to group projects logically. I don't know how exactly to achieve this right now. But this could provide a more friendly and less overwhelming result than showing a diagram which only serves to show 'yep, there's a lotta stuff'.
How to group them is a good question. There are a few options I can think of.

If there are multiple solutions may be they're logical

this does assume a given project is not in multiple solution files.

File structure.

While some projects do have projects grouped this way, usually they're solution folders and not physical folders. So will have to have the option to use those or physical folders.

Project name/namespace

Likely the easiest one using prefix and/or suffix, though could also end up grouping things unexpectedly if dependensee gets it wrong.

Another way is to allow the project to have some description of groups. Does require the project authors have some json file i na known place DependenSee can read, like at the root folder. But this will be more explicit and allow more control over what to expect like groups, what to include or exclude .etc.

I'd like to add my 2 cents.

If you have like a 100 or more projects, first... what u doin? get some help.

Actually, that's what happens when you have a monorepo, which is a case for some companies (big and small) and it has it's benefits. And it's kinda my case.
And for it I do use DependenSee, and I'd like to thank you for the tool! It does help me to get insights into projects inter-dependency, find weird references, etc.
So I'd advocate for supporting huge solutions. I mean, if you have a couple of projects in your solution, it's not than hard to get the dependency graph manually anyway. And for huge solutions DependenSee is a life-saver!

I have a local change that can produce a slice through a solution based on giving it a single project directory that has no project-containing directories under it, and then chasing all the project dependencies of that project recursively until they've all been found.  We have a monorepo with multiple APIs, but with this fix I was able to see just focus down on a single API and all of it's dependencies's dependencies all the way up to the root of the dependency graph.  OOTB when I limited it in this way I got a very limited graph that only showed that projects immediate dependencies that were in that one project file, which wasn't what I wanted as I can get that from just looking at that was csproj in a text editor.  I'll try to get a PR together around it and we can see what @madushans thinks.

OK, the PR for this is posted too: https://github.com/madushans/DependenSee/pull/38.  Let me know if you have any questions @madushans.  If you're comfortable running this in vscode off a branch, this change is available on my fork at https://github.com/jeremy-allocate/DependenSee/tree/dev @mikhail-barg.  Point the source directory at a single project directory within the large solution and use the -ITDep flag to chase all of its dependencies recursively to the root and include them in the diagram.  Feedback welcome.