Convert To Spray

[Migrated from Assembla ticket 21 - reported by @reid-spencer on 2014-10-11 23:57:01.000]
Decouple from Play 2.2 keeping only the good portions (config, json) and use sbt-web directly with spray. We don't need to expose routing or even much data from the web environment at all. Consequently just hand craft spray routes that correspond to the entities in Scrupal. Utilize sbt-twirl for templates. Incorporate the sbt-web asset pipeline. Decouple Scrupal's core from the vagaries of http as much as possible (i.e. it should be possible to add another transport for scrupal, such as akka or ACE).

[Migrated from comment on Assembla ticket 21 - comment by @reid-spencer on 2014-10-21 11:02:28.000]
Fix ng-show Problem - InProgress #21

Replace global page_is_ready variable with Angular controller that has a page_is_ready scope variable
Install the controller on the body element.

Committed to: scrupal:master
Commit: [[r:fb1ac1c9271e4d74ff2a8991e159ee52bbfb4122|scrupal:fb1ac1c927]]

[Migrated from comment on Assembla ticket 21 - comment by @reid-spencer on 2014-11-07 00:09:35.000]
Major Reorganiztion And Conversion To Spray - InProgress #21
This is a squash of 31 commits and results in a non-functional WIP that compiles and
tests cleanly but is not a fully functional system because of disabled code.
This is being committed for safe keeping and sharing. The changes are as follows:
Cleanup

Move Patterns to utils
Eliminate dead code

Build Fixes

Remove cruft
Make tests non-forking, non-parallel and unbuffered

Cleanup

Attempt to get project build happening with more options
Revise the debug script to add more options and support YourKit instrumentation.

Profiler

Add a profiling utility for quick/focused profiling tasks

Improve Configuration

Break out mongodb and akka configuration to separate files
Add mongodb to logging configuration.

Simplify Debug Options

Use sbt 0.13.6

Add twril, native-packagers and spray's revolver sbt plugins

Break project into sub-projects

Break Build.scala into separate files

Break dependence on most of Play

Incorporate spray and akka

Use Grizzled SLF4J

Move many of the utilities to their own sub-project

Compensate for lack of having Play

Ensure all tests still work.

Cleanup the code, remove Java heritage.

Convert DataAccessObject to use BSONDocument and BSONCollection instead of JSON

Create a Query Builder DSL in BSONValueBuilder

Move package level things to package object

Create initial test cases for BSONValueBuilder and DBContext

Add IntelliJ settings to git

Temporarily hide test directory because it doesn't build

Make everything build with IntelliJ provided sbt tool

Get everything compiling

Fix spray libraries

Fix .idea/modules

Create scrupal-api and start moving code to it

Make Registrable objects auto-register

Fix Hasher tests

Add Specs for Profiler and ScrupalComponent

Make ConfigHelperSpec pass (resource path issue)

Make all tests pass.

Simplify the asT signature in Registrable

Fix corresponding test cases.

Make Registry log failures to unregister at finalize

Avoid generating those logs in tests.

Tone down logging of ignored exceptions

Make DBContext work

Fix bugs in emptyDatabase and isEmpty with "system.*" collection names

Get the WithFakeDB utility working for test cases.

DataAccessObject can now create, drop and insert/find arbitrary objects

Redesign core classes for BSON storage with ReactiveMongo

Get all core classes compiling.

Add test for Icons

Revise scrupal-core to separate out api from core

Make it all work with MongoDB

Convert types and objects to work with BSON not JSON

Get it all working per the tests.

Add ConfigKeys from old scrupal.api

Better core.api package comments

Reduce dependencies

Remove .idea files for clean start

Initial http module

Get everything working according to tests

Remove remaining stuff to web module

Add IntelliJ 14 .idea files after import and build

Get Feature And Site Directives Working

Extract Validator from Type

Forms: generic validation for BSONValue

Start a scrupal-config project for the config wizard

Factor AbstractRegistry out of Registry

Make a "Utils Tests" test runner and share it

Set the coding style

Add Tests for each module

Factor things out of objects and put them in Registry[T]

Get run configurations for testing working properly.

Update file colors to highlight modified files

Permit higherKinds and existensials for scala compiler

Revise codeStyle options

Get Twirl compiler working through various build settings

Implement some initial form support

Add logger.xml to various projects

Improve Form validation

Comment out ConfigWizard -- later

Exclude scrupal-web from the build, too many errors, too much redesign

Make everything pass except ConfigWizard

Committed to: scrupal:master
Commit: [[r:218de57ceb6b244b433cccb1ead019c5259ebd30|scrupal:218de57ceb]]

[Migrated from comment on Assembla ticket 21 - comment by @reid-spencer on 2014-10-17 03:37:49.000]
Integrate sbt-web  - InProgress #21

Upgrade build settings and webjar version for Play 2.3.4
Setup the rjs/digest/gzip asset pipeline
jshintify the javascript
Resolve all paths to work with hew WebJars Asset controller
Get pages displaying again
Issues: still can't get QuoteCtrl working, marked element not rendering correctly

Committed to: scrupal:master
Commit: [[r:5bd41cf955b8024fd19d23bb2f2f75d46b1421f4|scrupal:5bd41cf955]]

[Migrated from comment on Assembla ticket 21 - comment by @reid-spencer on 2014-11-15 05:00:19.000]
Move Old Controllers To scrupal-http and Comment Out - InProgress #21

Controllers will not be part of scrupal-web, that's for the web application
Old controllers for assets, apidoc, home, etc. were written for play, comment them out
We will eventually convert these to work with scrupal-http controllers
Re-instate the scrupal-web module even though it is basically empty. It now compiles.
Remove inspections in IDEA for Unit returning functions defined with =
Make the top level project aggregate everything else so commands flow down from the top.

Committed to: scrupal:master
Commit: [[r:0233aec3e512b968ee697a3c9dfc1902e940aa23|scrupal:0233aec3e5]]

[Migrated from comment on Assembla ticket 21 - comment by @reid-spencer on 2014-11-15 04:19:42.000]
Project Configuration Update - InProgress #21
Committed to: scrupal:master
Commit: [[r:3a01b6431a991f3f2c7ddfa1bcda565638cfb4e8|scrupal:3a01b6431a]]

[Migrated from comment on Assembla ticket 21 - comment by @reid-spencer on 2014-11-15 04:20:35.000]
Project Configuration Update - InProgress #21
Committed to: scrupal:master
Commit: [[r:dbf19889605c42b86d1d3a5e04df524b0cd048a2|scrupal:dbf1988960]]

[Migrated from comment on Assembla ticket 21 - comment by @reid-spencer on 2014-11-18 06:14:44.000]
Get Build Working - InProgress #21

Remove cruft from the modules.xml file
The default build number is 0 not "-SNAPSHOT" and is required to be numeric now
The -SNAPSHOT suffix is added to build number 0, but otherwise not.

Committed to: scrupal:master
Commit: [[r:c585650d7a3738f80aaaa7107c2d65642e786be2|scrupal:c585650d7a]]

[Migrated from comment on Assembla ticket 21 - comment by @reid-spencer on 2014-11-18 05:20:29.000]
The Start Of An Asset Pipeline - InProgress #21

Add SbtWeb, RequireJS, Gzip and Digest to the scrupal-http project
Adjust build settings to get assets from .../assets directory (same level as src)
Add a requirejs, digest, gzip pipeline
Add a do-nothing js file, scrupal.js just to test the pipeline
This is a step towards having the AssetsController actually find assets.

Committed to: scrupal:master
Commit: [[r:a2fd93af33ccbd8c36908aa46ab2328180117df6|scrupal:a2fd93af33]]

[Migrated from comment on Assembla ticket 21 - comment by @reid-spencer on 2014-11-15 04:29:24.000]
Minor Tweeks To Bootstrap - InProgress #21

Provide a default implementation of bootstrap() method
Remove redundant implementations of bootstrap()
Make overrides as necessary for bootstrap()
Use e.nonEmpty isntead of !e.isEmpty

Committed to: scrupal:master
Commit: [[r:5aa40647bca5757204014113afa97bb6f3dcbe0b|scrupal:5aa40647bc]]

[Migrated from comment on Assembla ticket 21 - comment by @reid-spencer on 2014-11-08 16:44:04.000]
Incorporate Basic Twirl Templates - InProgress #21

Move the error pages and various page constructions from scrupal-web to scrupal-http
Make a stubbed Assets controller that doesn't work but is sufficient for reverse routing assets
Make the RouteConstructionFailure error use the new page infrastructure
Make HasherSpec more tolerante of timing failures

Committed to: scrupal:master
Commit: [[r:dfccf6a075829cafe53569baea8e6270fe09a48f|scrupal:dfccf6a075]]

[Migrated from comment on Assembla ticket 21 - comment by @reid-spencer on 2014-11-18 16:30:21.000]
Re-Enable Build / Add Test Case - InProgress #21

Fix compilation problems in controllers
Add AssetLocatorSpec to test the asset locator
Add test data for AssetLocatorSpec to work with
Make AssetLocator not require an ExecutionContext (no longer works with Enumerators)

Committed to: scrupal:master
Commit: [[r:46e986ba0078187cdbaa80c59df9eb8ee0964ea0|scrupal:46e986ba00]]

[Migrated from comment on Assembla ticket 21 - comment by @reid-spencer on 2014-11-18 20:07:10.000]
Get Stream Marshalling Working - InProgress #21

Clearly, delegated marshallers need a content type.
Also, one must actually invoke a marshaller to get data marshalled!
Make StreamingResponseActor a top level class for easier Actor instantiation

Committed to: scrupal:master
Commit: [[r:e9c0697ccc972992a728e262343776940cda02a2|scrupal:e9c0697ccc]]

[Migrated from comment on Assembla ticket 21 - comment by @reid-spencer on 2014-11-18 14:58:25.000]
Deal With Stream Marshalling - InProgress #21

Provide an "asset_paths" configuration option read by AssetLocator
The "asset_paths" provide additional paths to search for assets beyond resources
Adjust AssetLocator.resourceOf to read from the "asset_paths"
Add a StreamResult to wrap an InputStream as one way to return a result
Make AssetLocator.fetch return a StreamResult instead of EnumeratorResult
Endow Scrupal with a configurable timeout and a "withActorExec" to pass frequent implicits down
Make AssetsController fetch the asset_paths from configuration, or empty
Teach AssetsController just enough to serve a favicon
Make the argument to Controller.routes have the Scrupal object be implicit
Adjust EntityController to use the makeMarshallable functions in ScrupalMarshallers
Enhance ScrupalMarshallers to deal with Stream, Exception, and Result[_] type results, and futures of them.

Committed to: scrupal:master
Commit: [[r:a7c53f24c4cfbd958446ceefb8da7ffea78582cb|scrupal:a7c53f24c4]]

[Migrated from comment on Assembla ticket 21 - comment by @reid-spencer on 2014-11-18 23:46:46.000]
Refactor Action/Result - InProgress #21

Remove NodeProcessor as redundant, unused and illadvised
Move EntityProcessor to core.api and renamed it ActionProcessor
Revise EntityProcessor to process all Actions, not just Entity actions
Rename TextResult as StringResult and use TxtResult for a Twirl TxtFormat type of result
Move all the Result objects to their own file and document thoroughly
Minor adjustments and clarifications in Disposition, added Unspecified as the first failure type
Add two templates for converting exceptions to html and text, including stack trace
Start work on a BSONDocument marshaller (low level binarizing needs work)
Make the defaultLayout handle more of the new Result types
Provide marshallers for OctetsResult and TxtResult
Extend mystery_marshaller to decode all the Result types we have so far

Committed to: scrupal:master
Commit: [[r:cae353a96b310aaeb831d6774a3f1fdf5214c008|scrupal:cae353a96b]]

[Migrated from comment on Assembla ticket 21 - comment by @reid-spencer on 2014-11-18 20:23:27.000]
Switch to ContentType Instead Of MediaType - InProgress #21

ContentType permits us to use alternative character encodings and is MediaType compatible.

Committed to: scrupal:master
Commit: [[r:c74ed83430c09fbf50f5cfd9faf7667b48c66d9c|scrupal:c74ed83430]]

[Migrated from comment on Assembla ticket 21 - comment by @reid-spencer on 2014-11-19 14:01:41.000]
Upgrade Asset Retrieval - InProgress #21

Turn Akka logging to "INFO" level for better debugging
Don't include "lib" in the webjars asset path
Provide a PathOf.lib target for specifying webjar libraries
Make a "head_route" Route in ScrupalService to provide any initial logic (e.g. debug logging)
Pass the controllers generated by createControllers into createRouter instead of relying on Registry
Make sure the AssetsController is always included and always highest priority
Teach AssetsController about libraries, themes, and NotFound
Add some RequestLogger utility functions for logging various things (like everything)
Make Streaming of BSONValue a bit more type safe
Move bootswatch themes into a assets/themes
Make all asset folders regular and consistent and fully spelled out
Make ErrorResult and ExceptionResult return the right HTTP StatusCodes, especially 404

Committed to: scrupal:master
Commit: [[r:afddaa8e24ada6242bcf90360942835d93c9e4c2|scrupal:afddaa8e24]]

[Migrated from comment on Assembla ticket 21 - comment by @reid-spencer on 2014-11-19 16:14:15.000]
Upgrade Asset Retrieval - InProgress #21

Fix routes: never forget the ~ after each path!
Move assets to scrupal-core and make it the place where assets are built
Copy route information to new controllers from old play routes file
Remove the old play routes file
Revise copyright in a few files that still need updating

Committed to: scrupal:master
Commit: [[r:a9d0823c20bb2825958f5b9a12687185bdc83faa|scrupal:a9d0823c20]]

[Migrated from comment on Assembla ticket 21 - comment by @reid-spencer on 2014-11-19 20:56:48.000]
Get CSS Working - InProgress #21

Integrate Less compilation into sbt-web
Add web/less/main and web/gzipCompress directories to assets_paths
Fix copyright settings in IDEA to use max length of 120 not 80
Move marked and font-awesome dependencies to core
Move requirejs dependences to web (http is now agnostic about content)
Don't do rjs in core pipeline, it only delivers static pages, no javascript
Add rjs to the scrupal-web pipeline
Change default theme to bootswatch/cyborg
get font-awesome as a library item
Allow AssetLocator to opt out of finding minified resources (e.g. for icons and images)
Treat themes separately in the AssetsController

Committed to: scrupal:master
Commit: [[r:0db507ce12fd3da696f18a2726f8ce0925cb5fb1|scrupal:0db507ce12]]

[Migrated from comment on Assembla ticket 21 - comment by @reid-spencer on 2014-11-28 05:04:49.000]
Generalize Route Formation - InProgress #21

Add a dispatch method to action for convenience that forwards to the Scrupal object
Allow ActionProviders to have subordinate ActionProviders in a hierarchy.
Make Entity, Application, Site, and Scrupal all be ActionProviders in that order of hierarchy
Remove the Pathable trait and use the key in ActionProvider instead
Define UserContext in terms ofr a Principal and make its applicator consistent with the others
Make Entity a TerminalActionProvider that has no subordinates
Adjust Entity interface to only require a Context not an ApplicationContext so it can appear in any Context.
Replace the getAppEntities facility with processing the subordinate ActionProvider hierarchy
Implement a context method in Controller that discerns a Scrupal context
Create an ActionProviderController that generates the routes for an ActionProvider
Define SiteController as an ActionProviderController for sites
Define ApplicationController as an ActionProviderController for applications
Rework EntityController to derive from ActionProviderController and override the action method
Revise the WelcomeController to derive from ActionProviderController

Committed to: scrupal:master
Commit: [[r:542fbd6b474ba01b8abb22115a7706ab538e6468|scrupal:542fbd6b47]]

[Migrated from comment on Assembla ticket 21 - comment by @reid-spencer on 2014-11-20 04:56:48.000]
Integrate Welcome Site & EchoApp - InProgress #21

Fix issues with enablement and type erasure. Have to do it filter style where the type information is known.
Add a Template trait to allow storing content generating functions in the database (with arguments)
Subclass Tamplate for TwirlTxt and TwirlHtml. Create BSONHandlers for new Template classes.
Remove "actions" from the Entity type and invoke method/Action. This is what the facets are for
Minor improvements to Layout to coincide with its sister, Template
Remove the notion of a Default Site and create WelcomeSite. Instantiate it when no other site is loaded
Move all the node types in CoreNodes into api.Node for collocation of companion object
A Site's "host" field can be a regex. Allow for multiple matches. WelcomeSite Will match ".*" (anything)
Complete the implementation of EchoEntity. All methods return results generated by Twirl Templates
Make sure the Echo* things are enabled for each other at construction time, or else they get filtered out!
Add templates for printing out BSONValue and friends
Fix EntityController to get the plural/singular thing straight. Singular = facet

Committed to: scrupal:master
Commit: [[r:3168d766fec772c8dd77ece324898eca72f439db|scrupal:3168d766fe]]

[Migrated from comment on Assembla ticket 21 - comment by @reid-spencer on 2014-11-20 07:02:58.000]
Connect WelcomeController With Welcome Site - InProgress #21

Various typos fixed and minor cleanups done.
Get theming under control. Each site can specify a provider and name which is put into the context
Allow Template objects to be Referenced from the database
Factor SiteController out of EntityController to deal with site level things
Make SiteController emit the site's root node for the / or empty path but otherwise pass to subclass
Derive EntityController from SiteController and refactor
Derive WelcomeController from SiteController and refactor
Remove the old Welcome template as it is in core now
Give all Registries a logger_identity that makes it clear they are a Registry

Committed to: scrupal:master
Commit: [[r:a7a4bb26ac47b00b148403abc653e3455f6cf63e|scrupal:a7a4bb26ac]]

[Migrated from comment on Assembla ticket 21 - comment by @reid-spencer on 2014-11-28 14:38:26.000]
Update Project Files - InTest #21

Changes from IDEA import.

Committed to: scrupal:master
Commit: [[r:818dad05843089af34aec0ec8fc63577e60e9a97|scrupal:818dad0584]]

[Migrated from comment on Assembla ticket 21 - comment by @reid-spencer on 2014-12-12 13:50:29.000]
Cleanup Some TODO Items - InTest #21

RichResults no longer needed
TODO items are out of date.

Committed to: scrupal:master
Commit: [[r:b645cb5849156f1d894a53f5eba01bcdfea97b34|scrupal:b645cb5849]]

[Migrated from comment on Assembla ticket 21 - comment by @reid-spencer on 2014-12-03 03:44:12.000]
Fix Test Case - InTest #21

Make PrincipalSpec be repeatable by emptying database first.

Committed to: scrupal:master
Commit: [[r:27d078af9046e309cea088f276def7d030ae647b|scrupal:27d078af90]]

[Migrated from comment on Assembla ticket 21 - comment by @reid-spencer on 2014-12-04 04:34:09.000]
Various Rearrangements - InProgress #21

Move scrupal-web to scrupal-opa
Fix and move javascripts to scrupal-opa from main site
Start work on an indexing feature for MarkedDoc
Update copyright settings
Include bootstrap javascript in main page

Committed to: scrupal:master
Commit: [[r:8e9bbc970d8de972609f3903881984a0708c579e|scrupal:8e9bbc970d]]

[Migrated from comment on Assembla ticket 21 - comment by @reid-spencer on 2015-01-12 14:44:10.000]
This conversion is complete


[vidzi] Get Error Wrong IP

[x] I've verified and I assure that I'm running youtube-dl 2017.04.03
[x] At least skimmed through README and most notably FAQ and BUGS sections
[x] Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

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

youtube-dl -v http://vidzi.tv/embed-a7btehrmc0j0.html
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'http://vidzi.tv/embed-a7btehrmc0j0.html']
[debug] Encodings: locale cp1256, fs mbcs, out cp720, pref cp1256
[debug] youtube-dl version 2017.04.03
[debug] Python version 3.4.4 - Windows-10-10.0.14393
[debug] exe versions: none
[debug] Proxy map: {}
[Vidzi] a7btehrmc0j0: Downloading webpage
[Vidzi] a7btehrmc0j0: Downloading m3u8 information
[debug] Invoking downloader on 'http://<IP_ADDRESS>:8777/hls/gnuqic3xue2qedz7nlyrrgttk2zkxog2sgn2w3acbk6dgk3bmxnl73po366a/chunk.m3u8'
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 1
[download] Destination: CimaClub Com Billions S02E05  HDTV-a7btehrmc0j0.mp4
[download] 100% of 39.00B in 00:00
WARNING: a7btehrmc0j0: malformated aac bitstream. Install ffmpeg or avconv to fix this automatically.

youtube-dl --source-address http://vidzi.tv/embed-a7btehrmc0j0.html
Usage: youtube-dl [OPTIONS] URL [URL...]

youtube-dl: error: You must provide at least one URL.
Type youtube-dl --help to see a list of all options.

E:\Youtube-dl>youtube-dl --source-address -v http://vidzi.tv/embed-a7btehrmc0j0.html
[Vidzi] a7btehrmc0j0: Downloading webpage
ERROR: Unable to download webpage: <urlopen error [Errno 11001] getaddrinfo failed> (caused by URLError(gaierror(11001, 'getaddrinfo failed'),))
...
<end of log>

Single video: http://vidzi.tv/embed-a7btehrmc0j0.html

Description of your issue, suggested solution and other information
The program generates the link but there is a problem with the IP address :
http://<IP_ADDRESS>:8777/hls/gnuqic3xue2qedz7nlyrrgttk2zkxog2sgn2w3acbk6dgk3bmxnatyxo366a/chunk.m3u8
But Result :  Wrong IP: (<IP_ADDRESS>) vs <IP_ADDRESS>

PS C:\dev\youtube-dl\master> py -3.6 .\youtube_dl\__main__.py http://vidzi.tv/embed-a7btehrmc0j0.html
[Vidzi] a7btehrmc0j0: Downloading webpage
[Vidzi] a7btehrmc0j0: Downloading m3u8 information
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 452
[download] Destination: CimaClub Com Billions S02E05  HDTV-a7btehrmc0j0.mp4
[download]   0.4% of ~399.85MiB at 701.10KiB/s ETA 52:59
ERROR: Interrupted by user

what's the problem ? I have tried a lot and could not download the video

And also this problem With vidzi:
ERROR: Unable to download webpage: <urlopen error [Errno 7] no address associated with hostname.> (caused by URLError(gaierror(7, 'no address associated with hostname.'),))

what's solve this problem

He clearly added the cant-reproduce tag, which means that the issue is on your end.


Pulldasher UI Update

Not finished, but a pull request makes things easier to go through.

This is pretty!
But I have some usability complaints:

The indicator for "My Pull" used to be a lot more visible. I appreciate being able to see where my pulls are in the line-up and putting the icon on the left side with all the busyness over there makes it less useful.

The build status indicators, while fancy and animated, are less useful because the important ones (failed states) don't stand out as much. We previously hid the passing state until you :hover  so the non-passing ones would stand out. Perhaps add one more failed state (No build status at all) then hide the passing state until hover.

The "Refresh" button is super prominent but is almost never used / needed.

I think seeing the milestone date all the time was useful.

Also, you hadn't merged master in since a few pulls back so deploying this branch meant losing a few recent pulls. I merged and re-deployed.

@danielbeardsley

The indicator for "My Pull" used to be a lot more visible

I'm fairly certain it was basically the same icon, but a slightly different color. Since all your pulls are guaranteed to be at the top of every column anyway, what more do you want?

We previously hid the passing state... (and that was better)

You're right, that's fixed now.

The "Refresh" button is super prominent but is almost never used / needed.

It's a tiny circle that's hidden until you hover over the pull... so I wouldn't really call it prominent. As for it "never being used / needed" I think that depends on the user. If we need the real estate for something else or nobody at iFixit actually uses it then yeah, we should remove it.

you hadn't merged master

Oops, I wasn't aware the branch was out of date. That said... I was baffled by how many typos were introduced: 7bcb1ce. How did that happen?

I'm fairly certain it was basically the same icon, but a slightly different color. Since all your pulls are guaranteed to be at the top of every column anyway, what more do you want?

It was the same or similar, but it used to stand out a lot more / maybe used to be on the right side? Also, no, they don't show up at the top, they are seemingly scattered or at the bottom. Perhaps the indicator could be right-aligned or something. Perhaps a better solution is to implement more toggles that use css classes to hide / show various pulls.
Typos? I didn't see any typo fixes in that commit. Just adding a bunch of semi-colons.


AttributeError: 'ComfyUIFluxForwardWrapper' object has no attribute 'img_in'

ComfyUI Error Report
Error Details

Node ID: 13
Node Type: SamplerCustomAdvanced
Exception Type: AttributeError
Exception Message: 'ComfyUIFluxForwardWrapper' object has no attribute 'img_in'

Stack Trace
  File "/home/ubuntu/16T/lsm/ComfyUI/execution.py", line 323, in execute
    output_data, output_ui, has_subgraph = get_output_data(obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)

  File "/home/ubuntu/16T/lsm/ComfyUI/execution.py", line 198, in get_output_data
    return_values = _map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)

  File "/home/ubuntu/16T/lsm/ComfyUI/execution.py", line 169, in _map_node_over_list
    process_inputs(input_dict, i)

  File "/home/ubuntu/16T/lsm/ComfyUI/execution.py", line 158, in process_inputs
    results.append(getattr(obj, func)(**inputs))

  File "/home/ubuntu/16T/lsm/ComfyUI/comfy_extras/nodes_custom_sampler.py", line 633, in sample
    samples = guider.sample(noise.generate_noise(latent), latent_image, sampler, sigmas, denoise_mask=noise_mask, callback=callback, disable_pbar=disable_pbar, seed=noise.seed)

  File "/home/ubuntu/16T/lsm/ComfyUI/comfy/samplers.py", line 740, in sample
    output = self.inner_sample(noise, latent_image, device, sampler, sigmas, denoise_mask, callback, disable_pbar, seed)

  File "/home/ubuntu/16T/lsm/ComfyUI/comfy/samplers.py", line 715, in inner_sample
    self.conds = process_conds(self.inner_model, noise, self.conds, device, latent_image, denoise_mask, seed)

  File "/home/ubuntu/16T/lsm/ComfyUI/comfy/samplers.py", line 667, in process_conds
    conds[k] = encode_model_conds(model.extra_conds, conds[k], noise, device, k, latent_image=latent_image, denoise_mask=denoise_mask, seed=seed)

  File "/home/ubuntu/16T/lsm/ComfyUI/comfy/samplers.py", line 578, in encode_model_conds
    out = model_function(**params)

  File "/home/ubuntu/16T/lsm/ComfyUI/comfy/model_base.py", line 750, in extra_conds
    out = super().extra_conds(**kwargs)

  File "/home/ubuntu/16T/lsm/ComfyUI/comfy/model_base.py", line 201, in extra_conds
    concat_cond = self.concat_cond(**kwargs)

  File "/home/ubuntu/16T/lsm/ComfyUI/comfy/model_base.py", line 715, in concat_cond
    num_channels = self.diffusion_model.img_in.weight.shape[1] // (self.diffusion_model.patch_size * self.diffusion_model.patch_size)

  File "/home/ubuntu/miniconda3/envs/flux/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1931, in __getattr__
    raise AttributeError(

System Information

ComfyUI Version: v0.3.4-5-gb4526d3
Arguments: main.py
OS: posix
Python Version: 3.10.0 (default, Mar  3 2022, 09:58:08) [GCC 7.5.0]
Embedded Python: false
PyTorch Version: 2.5.1+cu121

Devices

Name: cuda:0 NVIDIA RTX 6000 Ada Generation : cudaMallocAsync

Type: cuda
VRAM Total:<PHONE_NUMBER>6
VRAM Free:<PHONE_NUMBER>
Torch VRAM Total:<PHONE_NUMBER>0
Torch VRAM Free: 59651032

Logs
2024-12-20T14:12:42.289628 -
2024-12-20T14:12:42.315198 - ## ComfyUI-Manager: installing dependencies done.2024-12-20T14:12:42.315248 -
2024-12-20T14:12:42.315284 - ** ComfyUI startup time:2024-12-20T14:12:42.315312 -  2024-12-20T14:12:42.315345 - 2024-12-20 14:12:42.3152622024-12-20T14:12:42.315373 -
2024-12-20T14:12:42.315404 - ** Platform:2024-12-20T14:12:42.315432 -  2024-12-20T14:12:42.315460 - Linux2024-12-20T14:12:42.315487 -
2024-12-20T14:12:42.315516 - ** Python version:2024-12-20T14:12:42.315642 -  2024-12-20T14:12:42.315662 - 3.10.0 (default, Mar  3 2022, 09:58:08) [GCC 7.5.0]2024-12-20T14:12:42.315678 -
2024-12-20T14:12:42.315703 - ** Python executable:2024-12-20T14:12:42.315715 -  2024-12-20T14:12:42.315729 - /home/ubuntu/miniconda3/envs/flux/bin/python2024-12-20T14:12:42.315741 -
2024-12-20T14:12:42.315755 - ** ComfyUI Path:2024-12-20T14:12:42.315768 -  2024-12-20T14:12:42.315781 - /home/ubuntu/16T/lsm/ComfyUI2024-12-20T14:12:42.315793 -
2024-12-20T14:12:42.315822 - ** Log path:2024-12-20T14:12:42.315835 -  2024-12-20T14:12:42.315849 - /home/ubuntu/16T/lsm/ComfyUI/comfyui.log2024-12-20T14:12:42.315861 -
2024-12-20T14:12:42.761609 -
Prestartup times for custom nodes:2024-12-20T14:12:42.761634 -
2024-12-20T14:12:42.761653 -    0.0 seconds:2024-12-20T14:12:42.761662 -  2024-12-20T14:12:42.761669 - /home/ubuntu/16T/lsm/ComfyUI/custom_nodes/rgthree-comfy2024-12-20T14:12:42.761676 -
2024-12-20T14:12:42.761683 -    1.2 seconds:2024-12-20T14:12:42.761689 -  2024-12-20T14:12:42.761695 - /home/ubuntu/16T/lsm/ComfyUI/custom_nodes/ComfyUI-Manager2024-12-20T14:12:42.761702 -
2024-12-20T14:12:42.761709 -
2024-12-20T14:12:43.626250 - Total VRAM 48539 MB, total RAM 128644 MB
2024-12-20T14:12:43.626335 - pytorch version: 2.5.1+cu121
2024-12-20T14:12:44.317828 - xformers version: 0.0.28.post3
2024-12-20T14:12:44.317938 - Set vram state to: NORMAL_VRAM
2024-12-20T14:12:44.317992 - Device: cuda:0 NVIDIA RTX 6000 Ada Generation : cudaMallocAsync
2024-12-20T14:12:44.386718 - Using xformers cross attention
2024-12-20T14:12:44.724505 - [Prompt Server] web root: /home/ubuntu/16T/lsm/ComfyUI/web
2024-12-20T14:12:44.725632 - Adding extra search path checkpoints /home/ubuntu/16T/lsm/ComfyUI_bf/models/checkpoints/
2024-12-20T14:12:44.725671 - Adding extra search path clip /home/ubuntu/16T/lsm/ComfyUI_bf/models/clip/
2024-12-20T14:12:44.725695 - Adding extra search path clip_vision /home/ubuntu/16T/lsm/ComfyUI_bf/models/clip_vision/
2024-12-20T14:12:44.725717 - Adding extra search path configs /home/ubuntu/16T/lsm/ComfyUI_bf/models/configs/
2024-12-20T14:12:44.725737 - Adding extra search path controlnet /home/ubuntu/16T/lsm/ComfyUI_bf/models/controlnet/
2024-12-20T14:12:44.725755 - Adding extra search path diffusion_models /home/ubuntu/16T/lsm/ComfyUI_bf/models/diffusion_models
2024-12-20T14:12:44.725774 - Adding extra search path diffusion_models /home/ubuntu/16T/lsm/ComfyUI_bf/models/unet
2024-12-20T14:12:44.725791 - Adding extra search path embeddings /home/ubuntu/16T/lsm/ComfyUI_bf/models/embeddings/
2024-12-20T14:12:44.725808 - Adding extra search path loras /home/ubuntu/16T/lsm/ComfyUI_bf/models/loras/
2024-12-20T14:12:44.725824 - Adding extra search path upscale_models /home/ubuntu/16T/lsm/ComfyUI_bf/models/upscale_models/
2024-12-20T14:12:44.725841 - Adding extra search path vae /home/ubuntu/16T/lsm/ComfyUI_bf/models/vae/
2024-12-20T14:12:45.710773 - Web extensions folder found at /home/ubuntu/16T/lsm/ComfyUI/web/extensions/ComfyLiterals2024-12-20T14:12:45.710800 -
2024-12-20T14:12:45.712010 - Traceback (most recent call last):
  File "/home/ubuntu/16T/lsm/ComfyUI/nodes.py", line 2027, in load_custom_node
    module_spec.loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/home/ubuntu/16T/lsm/ComfyUI/custom_nodes/ComfyUI-Crystools/__init__.py", line 10, in <module>
    from .core import version, logger
  File "/home/ubuntu/16T/lsm/ComfyUI/custom_nodes/ComfyUI-Crystools/core/__init__.py", line 5, in <module>
    from .common import *
  File "/home/ubuntu/16T/lsm/ComfyUI/custom_nodes/ComfyUI-Crystools/core/common.py", line 4, in <module>
    from deepdiff import DeepDiff
ModuleNotFoundError: No module named 'deepdiff'

2024-12-20T14:12:45.712059 - Cannot import /home/ubuntu/16T/lsm/ComfyUI/custom_nodes/ComfyUI-Crystools module for custom nodes: No module named 'deepdiff'
2024-12-20T14:12:45.726343 - ### [START] ComfyUI AlekPet Nodes v1.0.35 ###2024-12-20T14:12:45.726361 -
2024-12-20T14:12:45.947753 - Node -> ChatGLMNode: ChatGLM4TranslateCLIPTextEncodeNode, ChatGLM4TranslateTextNode [Loading] 2024-12-20T14:12:45.947782 -
2024-12-20T14:12:45.949914 - Node -> GoogleTranslateNode: GoogleTranslateCLIPTextEncodeNode, GoogleTranslateTextNode [Loading] 2024-12-20T14:12:45.950002 -
2024-12-20T14:12:45.954277 - Node -> DeepTranslatorNode: DeepTranslatorCLIPTextEncodeNode, DeepTranslatorTextNode [Loading] 2024-12-20T14:12:45.954291 -
2024-12-20T14:12:45.956580 - Node -> ArgosTranslateNode: ArgosTranslateCLIPTextEncodeNode, ArgosTranslateTextNode [Loading] 2024-12-20T14:12:45.956788 -
2024-12-20T14:12:45.959941 - Node -> ExtrasNode: PreviewTextNode, HexToHueNode, ColorsCorrectNode [Loading] 2024-12-20T14:12:45.960059 - Node -> PoseNode: PoseNode [Loading] 2024-12-20T14:12:45.960113 -
2024-12-20T14:12:45.960216 -
2024-12-20T14:12:45.973770 - Node -> IDENode: IDENode [Loading] 2024-12-20T14:12:45.973832 -
2024-12-20T14:12:45.988072 - Node -> PainterNode: PainterNode [Loading] 2024-12-20T14:12:45.988089 -
2024-12-20T14:12:45.988171 - ### [END] ComfyUI AlekPet Nodes ###2024-12-20T14:12:45.988188 -
2024-12-20T14:12:46.040177 - ### Loading: ComfyUI-Impact-Pack (V8.0.1)2024-12-20T14:12:46.040196 -
2024-12-20T14:12:46.052002 - [Impact Pack] Wildcards loading done.2024-12-20T14:12:46.052046 -
2024-12-20T14:12:46.052434 - ASTERR config loaded successfully2024-12-20T14:12:46.052450 -
2024-12-20T14:12:46.169609 -
Depthcrafter Nodes Loaded
2024-12-20T14:12:46.169637 -
2024-12-20T14:12:46.480678 -
2024-12-20T14:12:46.480713 - [rgthree-comfy] Loaded 42 exciting nodes. 🎉2024-12-20T14:12:46.480725 -
2024-12-20T14:12:46.480734 -
2024-12-20T14:12:46.481493 - ### Loading: ComfyUI-Manager (V2.52)2024-12-20T14:12:46.481508 -
2024-12-20T14:12:46.501659 - ### ComfyUI Revision: 2859 [b4526d3f] | Released on '2024-11-24'2024-12-20T14:12:46.501688 -
2024-12-20T14:12:46.535609 - Exception in thread 2024-12-20T14:12:46.535847 - Thread-2 (<lambda>)2024-12-20T14:12:46.536029 - :
2024-12-20T14:12:46.536451 - Traceback (most recent call last):
2024-12-20T14:12:46.536677 -   File "/home/ubuntu/.local/lib/python3.10/site-packages/aiohttp/connector.py", line 1073, in _wrap_create_connection
2024-12-20T14:12:46.538162 -     2024-12-20T14:12:46.538244 - sock = await aiohappyeyeballs.start_connection(2024-12-20T14:12:46.538282 -
2024-12-20T14:12:46.538337 -   File "/home/ubuntu/.local/lib/python3.10/site-packages/aiohappyeyeballs/impl.py", line 122, in start_connection
2024-12-20T14:12:46.538807 -     2024-12-20T14:12:46.538848 - raise OSError(first_errno, msg)2024-12-20T14:12:46.538877 -
2024-12-20T14:12:46.538918 - ConnectionRefusedError2024-12-20T14:12:46.538951 - : 2024-12-20T14:12:46.538984 - [Errno 111] Multiple exceptions: [Errno 111] Connect call failed ('<IP_ADDRESS>', 443), [Errno 111] Connect call failed ('::', 443, 0, 0)2024-12-20T14:12:46.539848 -
2024-12-20T14:12:46.539884 -
The above exception was the direct cause of the following exception:

2024-12-20T14:12:46.539920 - Traceback (most recent call last):
2024-12-20T14:12:46.539959 -   File "/home/ubuntu/miniconda3/envs/flux/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
2024-12-20T14:12:46.540259 -     2024-12-20T14:12:46.540290 - self.run()2024-12-20T14:12:46.540319 -
2024-12-20T14:12:46.540355 -   File "/home/ubuntu/miniconda3/envs/flux/lib/python3.10/threading.py", line 946, in run
2024-12-20T14:12:46.541144 -     2024-12-20T14:12:46.541184 - self._target(*self._args, **self._kwargs)2024-12-20T14:12:46.541213 -
2024-12-20T14:12:46.541250 -   File "/home/ubuntu/16T/lsm/ComfyUI/custom_nodes/ComfyUI-Manager/glob/manager_server.py", line 1344, in <lambda>
2024-12-20T14:12:46.541849 -     2024-12-20T14:12:46.541883 - threading.Thread(target=lambda: asyncio.run(default_cache_update())).start()2024-12-20T14:12:46.541913 -
2024-12-20T14:12:46.541947 -   File "/home/ubuntu/miniconda3/envs/flux/lib/python3.10/asyncio/runners.py", line 44, in run
2024-12-20T14:12:46.542067 -     2024-12-20T14:12:46.542098 - return loop.run_until_complete(main)2024-12-20T14:12:46.542127 -
2024-12-20T14:12:46.542162 -   File "/home/ubuntu/miniconda3/envs/flux/lib/python3.10/asyncio/base_events.py", line 641, in run_until_complete
2024-12-20T14:12:46.542470 -     2024-12-20T14:12:46.542502 - return future.result()2024-12-20T14:12:46.542539 -
2024-12-20T14:12:46.542575 -   File "/home/ubuntu/16T/lsm/ComfyUI/custom_nodes/ComfyUI-Manager/glob/manager_server.py", line 1341, in default_cache_update
2024-12-20T14:12:46.543017 -     2024-12-20T14:12:46.543049 - await asyncio.gather(a, b, c, d, e)2024-12-20T14:12:46.543079 -
2024-12-20T14:12:46.543116 -   File "/home/ubuntu/16T/lsm/ComfyUI/custom_nodes/ComfyUI-Manager/glob/manager_server.py", line 1328, in get_cache
2024-12-20T14:12:46.543426 -     2024-12-20T14:12:46.543457 - json_obj = await core.get_data(uri, True)2024-12-20T14:12:46.543486 -
2024-12-20T14:12:46.543529 -   File "/home/ubuntu/16T/lsm/ComfyUI/custom_nodes/ComfyUI-Manager/glob/manager_core.py", line 623, in get_data
2024-12-20T14:12:46.543930 -     2024-12-20T14:12:46.543961 - async with session.get(uri) as resp:2024-12-20T14:12:46.543989 -
2024-12-20T14:12:46.544022 -   File "/home/ubuntu/.local/lib/python3.10/site-packages/aiohttp/client.py", line 1353, in __aenter__
2024-12-20T14:12:46.544792 -     2024-12-20T14:12:46.544831 - self._resp = await self._coro2024-12-20T14:12:46.544859 -
2024-12-20T14:12:46.544894 -   File "/home/ubuntu/.local/lib/python3.10/site-packages/aiohttp/client.py", line 657, in _request
2024-12-20T14:12:46.545073 -     2024-12-20T14:12:46.545104 - conn = await self._connector.connect(2024-12-20T14:12:46.545132 -
2024-12-20T14:12:46.545184 -   File "/home/ubuntu/.local/lib/python3.10/site-packages/aiohttp/connector.py", line 564, in connect
2024-12-20T14:12:46.545959 -     2024-12-20T14:12:46.545990 - proto = await self._create_connection(req, traces, timeout)2024-12-20T14:12:46.546016 -
2024-12-20T14:12:46.546046 -   File "/home/ubuntu/.local/lib/python3.10/site-packages/aiohttp/connector.py", line 975, in _create_connection
2024-12-20T14:12:46.546638 -     2024-12-20T14:12:46.546672 - _, proto = await self._create_direct_connection(req, traces, timeout)2024-12-20T14:12:46.546698 -
2024-12-20T14:12:46.546729 -   File "/home/ubuntu/.local/lib/python3.10/site-packages/aiohttp/connector.py", line 1350, in _create_direct_connection
2024-12-20T14:12:46.547037 -     2024-12-20T14:12:46.547064 - raise last_exc2024-12-20T14:12:46.547091 -
2024-12-20T14:12:46.547120 -   File "/home/ubuntu/.local/lib/python3.10/site-packages/aiohttp/connector.py", line 1319, in _create_direct_connection
2024-12-20T14:12:46.547410 -     2024-12-20T14:12:46.547438 - transp, proto = await self._wrap_create_connection(2024-12-20T14:12:46.547464 -
2024-12-20T14:12:46.547494 -   File "/home/ubuntu/.local/lib/python3.10/site-packages/aiohttp/connector.py", line 1088, in _wrap_create_connection
2024-12-20T14:12:46.547966 -     2024-12-20T14:12:46.547999 - raise client_error(req.connection_key, exc) from exc2024-12-20T14:12:46.548025 -
2024-12-20T14:12:46.548052 - aiohttp.client_exceptions2024-12-20T14:12:46.548078 - .2024-12-20T14:12:46.548103 - ClientConnectorError2024-12-20T14:12:46.548141 - : 2024-12-20T14:12:46.548172 - Cannot connect to host raw.githubusercontent.com:443 ssl:default [Multiple exceptions: [Errno 111] Connect call failed ('<IP_ADDRESS>', 443), [Errno 111] Connect call failed ('::', 443, 0, 0)]2024-12-20T14:12:46.548197 -
2024-12-20T14:12:47.872728 - /home/ubuntu/miniconda3/envs/flux/lib/python3.10/site-packages/albumentations/__init__.py:13: UserWarning: A new version of Albumentations is available: 1.4.23 (you have 1.4.15). Upgrade using: pip install -U albumentations. To disable automatic update checks, set the environment variable NO_ALBUMENTATIONS_UPDATE to 1.
  check_for_updates()
2024-12-20T14:12:47.897588 - [ReActor] - STATUS - Running v0.5.2-a1 in ComfyUI2024-12-20T14:12:47.897609 -
2024-12-20T14:12:47.910298 - Torch version: 2.5.1+cu1212024-12-20T14:12:47.910315 -
2024-12-20T14:12:48.006192 - Traceback (most recent call last):
  File "/home/ubuntu/16T/lsm/ComfyUI/nodes.py", line 2027, in load_custom_node
    module_spec.loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/home/ubuntu/16T/lsm/ComfyUI/custom_nodes/ComfyUI-MMAudio/__init__.py", line 1, in <module>
    from .nodes import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS
  File "/home/ubuntu/16T/lsm/ComfyUI/custom_nodes/ComfyUI-MMAudio/nodes.py", line 17, in <module>
    from .mmaudio.eval_utils import generate
  File "/home/ubuntu/16T/lsm/ComfyUI/custom_nodes/ComfyUI-MMAudio/mmaudio/eval_utils.py", line 14, in <module>
    from .model.utils.features_utils import FeaturesUtils
  File "/home/ubuntu/16T/lsm/ComfyUI/custom_nodes/ComfyUI-MMAudio/mmaudio/model/utils/features_utils.py", line 13, in <module>
    from ...ext.synchformer import Synchformer
  File "/home/ubuntu/16T/lsm/ComfyUI/custom_nodes/ComfyUI-MMAudio/mmaudio/ext/synchformer/__init__.py", line 1, in <module>
    from ...ext.synchformer.synchformer import Synchformer
  File "/home/ubuntu/16T/lsm/ComfyUI/custom_nodes/ComfyUI-MMAudio/mmaudio/ext/synchformer/synchformer.py", line 7, in <module>
    from ...ext.synchformer.motionformer import MotionFormer
  File "/home/ubuntu/16T/lsm/ComfyUI/custom_nodes/ComfyUI-MMAudio/mmaudio/ext/synchformer/motionformer.py", line 7, in <module>
    from timm.layers import trunc_normal_
ModuleNotFoundError: No module named 'timm.layers'

2024-12-20T14:12:48.006266 - Cannot import /home/ubuntu/16T/lsm/ComfyUI/custom_nodes/ComfyUI-MMAudio module for custom nodes: No module named 'timm.layers'
2024-12-20T14:12:48.010880 - [comfyui_controlnet_aux] | INFO -> Using ckpts path: /home/ubuntu/16T/lsm/ComfyUI/custom_nodes/comfyui_controlnet_aux/ckpts
2024-12-20T14:12:48.010918 - [comfyui_controlnet_aux] | INFO -> Using symlinks: False
2024-12-20T14:12:48.010947 - [comfyui_controlnet_aux] | INFO -> Using ort providers: ['CUDAExecutionProvider', 'DirectMLExecutionProvider', 'OpenVINOExecutionProvider', 'ROCMExecutionProvider', 'CPUExecutionProvider', 'CoreMLExecutionProvider']
2024-12-20T14:12:48.018546 - Traceback (most recent call last):
  File "/home/ubuntu/16T/lsm/ComfyUI/nodes.py", line 2027, in load_custom_node
    module_spec.loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 879, in exec_module
  File "<frozen importlib._bootstrap_external>", line 1016, in get_code
  File "<frozen importlib._bootstrap_external>", line 1073, in get_data
FileNotFoundError: [Errno 2] No such file or directory: '/home/ubuntu/16T/lsm/ComfyUI/custom_nodes/nunchaku/__init__.py'

2024-12-20T14:12:48.018610 - Cannot import /home/ubuntu/16T/lsm/ComfyUI/custom_nodes/nunchaku module for custom nodes: [Errno 2] No such file or directory: '/home/ubuntu/16T/lsm/ComfyUI/custom_nodes/nunchaku/__init__.py'
2024-12-20T14:12:48.040327 - here: /home/ubuntu/16T/lsm/ComfyUI/custom_nodes/ComfyUI-tbox2024-12-20T14:12:48.040346 -
2024-12-20T14:12:48.040896 - Using ckpts path: /home/ubuntu/16T/lsm/ComfyUI/custom_nodes/ComfyUI-tbox/../../models/annotator2024-12-20T14:12:48.040910 -
2024-12-20T14:12:48.040920 - Using symlinks: False2024-12-20T14:12:48.040927 -
2024-12-20T14:12:48.040937 - Using ort providers: ['CUDAExecutionProvider', 'DirectMLExecutionProvider', 'OpenVINOExecutionProvider', 'ROCMExecutionProvider', 'CPUExecutionProvider']2024-12-20T14:12:48.040944 -
2024-12-20T14:12:48.472608 - --------------
2024-12-20T14:12:48.472687 -  ### Mixlab Nodes: Loaded
2024-12-20T14:12:48.473071 - ChatGPT.available False
2024-12-20T14:12:48.473208 - edit_mask.available True
2024-12-20T14:12:48.479096 - ## clip_interrogator_model not found: /home/ubuntu/16T/lsm/ComfyUI/models/clip_interrogator/Salesforce/blip-image-captioning-base, pls download from https://huggingface.co/Salesforce/blip-image-captioning-base2024-12-20T14:12:48.479114 -
2024-12-20T14:12:48.479152 - ClipInterrogator.available True
2024-12-20T14:12:48.479419 - TextGenerateNode.available False
2024-12-20T14:12:48.479458 - RembgNode_.available True
2024-12-20T14:12:48.480124 - TripoSR.available False
2024-12-20T14:12:48.480255 - MiniCPMNode.available
2024-12-20T14:12:48.480488 - Scenedetect.available False
2024-12-20T14:12:48.510226 - FishSpeech.available False
2024-12-20T14:12:48.510532 - SenseVoice.available False
2024-12-20T14:12:48.510767 - Whisper.available False
2024-12-20T14:12:48.510890 - fal-client## OK2024-12-20T14:12:48.510902 -
2024-12-20T14:12:48.510951 - FalVideo.available
2024-12-20T14:12:48.510975 -  --------------
2024-12-20T14:12:49.758253 - Nvidia APEX normalization not installed, using PyTorch LayerNorm2024-12-20T14:12:49.758283 -
2024-12-20T14:12:53.238072 - Total VRAM 48539 MB, total RAM 128644 MB
2024-12-20T14:12:53.238146 - pytorch version: 2.5.1+cu121
2024-12-20T14:12:53.238176 - xformers version: 0.0.28.post3
2024-12-20T14:12:53.238241 - Set vram state to: NORMAL_VRAM
2024-12-20T14:12:53.238286 - Device: cuda:0 NVIDIA RTX 6000 Ada Generation : cudaMallocAsync
2024-12-20T14:12:53.241170 -
Import times for custom nodes:
2024-12-20T14:12:53.241227 -    0.0 seconds: /home/ubuntu/16T/lsm/ComfyUI/custom_nodes/websocket_image_save.py
2024-12-20T14:12:53.241253 -    0.0 seconds: /home/ubuntu/16T/lsm/ComfyUI/custom_nodes/Comfyui_Flux_Style_Adjust
2024-12-20T14:12:53.241273 -    0.0 seconds (IMPORT FAILED): /home/ubuntu/16T/lsm/ComfyUI/custom_nodes/nunchaku
2024-12-20T14:12:53.241295 -    0.0 seconds: /home/ubuntu/16T/lsm/ComfyUI/custom_nodes/ComfyUI_AdvancedRefluxControl
2024-12-20T14:12:53.241313 -    0.0 seconds: /home/ubuntu/16T/lsm/ComfyUI/custom_nodes/ASTERR
2024-12-20T14:12:53.241330 -    0.0 seconds: /home/ubuntu/16T/lsm/ComfyUI/custom_nodes/comfy-image-saver
2024-12-20T14:12:53.241347 -    0.0 seconds: /home/ubuntu/16T/lsm/ComfyUI/custom_nodes/ComfyUI-enricos-nodes
2024-12-20T14:12:53.241363 -    0.0 seconds: /home/ubuntu/16T/lsm/ComfyUI/custom_nodes/ComfyLiterals
2024-12-20T14:12:53.241379 -    0.0 seconds: /home/ubuntu/16T/lsm/ComfyUI/custom_nodes/ComfyUI-Florence2
2024-12-20T14:12:53.241394 -    0.0 seconds (IMPORT FAILED): /home/ubuntu/16T/lsm/ComfyUI/custom_nodes/ComfyUI-Crystools
2024-12-20T14:12:53.241411 -    0.0 seconds: /home/ubuntu/16T/lsm/ComfyUI/custom_nodes/ComfyUI-Custom-Scripts
2024-12-20T14:12:53.241426 -    0.0 seconds: /home/ubuntu/16T/lsm/ComfyUI/custom_nodes/ComfyUI_essentials
2024-12-20T14:12:53.241441 -    0.0 seconds: /home/ubuntu/16T/lsm/ComfyUI/custom_nodes/ComfyUI-Frame-Interpolation
2024-12-20T14:12:53.241457 -    0.0 seconds: /home/ubuntu/16T/lsm/ComfyUI/custom_nodes/ComfyUI_UltimateSDUpscale
2024-12-20T14:12:53.241476 -    0.0 seconds: /home/ubuntu/16T/lsm/ComfyUI/custom_nodes/rgthree-comfy
2024-12-20T14:12:53.241492 -    0.0 seconds: /home/ubuntu/16T/lsm/ComfyUI/custom_nodes/ComfyUI-LivePortraitKJ
2024-12-20T14:12:53.241508 -    0.0 seconds: /home/ubuntu/16T/lsm/ComfyUI/custom_nodes/svdquant
2024-12-20T14:12:53.241525 -    0.0 seconds: /home/ubuntu/16T/lsm/ComfyUI/custom_nodes/Comfyui_leffa
2024-12-20T14:12:53.241540 -    0.0 seconds: /home/ubuntu/16T/lsm/ComfyUI/custom_nodes/ComfyUI-HunyuanVideoWrapper
2024-12-20T14:12:53.241557 -    0.0 seconds: /home/ubuntu/16T/lsm/ComfyUI/custom_nodes/ComfyUI-CogVideoXWrapper
2024-12-20T14:12:53.241572 -    0.0 seconds: /home/ubuntu/16T/lsm/ComfyUI/custom_nodes/ComfyUI-GGUF
2024-12-20T14:12:53.241587 -    0.0 seconds: /home/ubuntu/16T/lsm/ComfyUI/custom_nodes/ComfyUI-KJNodes
2024-12-20T14:12:53.241602 -    0.0 seconds: /home/ubuntu/16T/lsm/ComfyUI/custom_nodes/ComfyUI-segment-anything-2
2024-12-20T14:12:53.241617 -    0.0 seconds: /home/ubuntu/16T/lsm/ComfyUI/custom_nodes/comfyui_controlnet_aux
2024-12-20T14:12:53.241633 -    0.0 seconds: /home/ubuntu/16T/lsm/ComfyUI/custom_nodes/ComfyUI-VideoHelperSuite
2024-12-20T14:12:53.241648 -    0.0 seconds: /home/ubuntu/16T/lsm/ComfyUI/custom_nodes/ComfyUI-Impact-Pack
2024-12-20T14:12:53.241663 -    0.0 seconds: /home/ubuntu/16T/lsm/ComfyUI/custom_nodes/ComfyUI-tbox
2024-12-20T14:12:53.241676 -    0.0 seconds: /home/ubuntu/16T/lsm/ComfyUI/custom_nodes/ComfyUI-Manager
2024-12-20T14:12:53.241691 -    0.1 seconds: /home/ubuntu/16T/lsm/ComfyUI/custom_nodes/comfyui-tensorops
2024-12-20T14:12:53.241706 -    0.1 seconds (IMPORT FAILED): /home/ubuntu/16T/lsm/ComfyUI/custom_nodes/ComfyUI-MMAudio
2024-12-20T14:12:53.241723 -    0.1 seconds: /home/ubuntu/16T/lsm/ComfyUI/custom_nodes/ComfyUI-DepthCrafter-Nodes
2024-12-20T14:12:53.241738 -    0.3 seconds: /home/ubuntu/16T/lsm/ComfyUI/custom_nodes/ComfyUI-SUPIR
2024-12-20T14:12:53.241754 -    0.3 seconds: /home/ubuntu/16T/lsm/ComfyUI/custom_nodes/ComfyUI_Custom_Nodes_AlekPet
2024-12-20T14:12:53.241769 -    0.5 seconds: /home/ubuntu/16T/lsm/ComfyUI/custom_nodes/comfyui-mixlab-nodes
2024-12-20T14:12:53.241784 -    0.8 seconds: /home/ubuntu/16T/lsm/ComfyUI/custom_nodes/ComfyUI_LayerStyle
2024-12-20T14:12:53.241799 -    1.3 seconds: /home/ubuntu/16T/lsm/ComfyUI/custom_nodes/ComfyUI-PuLID-Flux-Enhanced
2024-12-20T14:12:53.241814 -    1.4 seconds: /home/ubuntu/16T/lsm/ComfyUI/custom_nodes/comfyui-reactor-node
2024-12-20T14:12:53.241828 -    3.4 seconds: /home/ubuntu/16T/lsm/ComfyUI/custom_nodes/ComfyUI-Inspyrenet-Rembg
2024-12-20T14:12:53.241842 -
2024-12-20T14:12:53.249945 - Starting server

2024-12-20T14:12:53.250106 - To see the GUI go to: http://<IP_ADDRESS>:8188
2024-12-20T14:13:06.756995 - /home/ubuntu/16T/lsm/ComfyUI/custom_nodes/comfyui-mixlab-nodes/webApp/lib/photoswipe-lightbox.esm.min.js2024-12-20T14:13:06.757154 -
2024-12-20T14:13:06.773487 - /home/ubuntu/16T/lsm/ComfyUI/custom_nodes/comfyui-mixlab-nodes/webApp/lib/pickr.min.js2024-12-20T14:13:06.773565 -
2024-12-20T14:13:06.794937 - /home/ubuntu/16T/lsm/ComfyUI/custom_nodes/comfyui-mixlab-nodes/webApp/lib/photoswipe.min.css2024-12-20T14:13:06.794990 -
2024-12-20T14:13:06.797104 - FETCH DATA from: /home/ubuntu/16T/lsm/ComfyUI/custom_nodes/ComfyUI-Manager/extension-node-map.json2024-12-20T14:13:06.797137 - 2024-12-20T14:13:06.801234 -  [DONE]2024-12-20T14:13:06.801257 -
2024-12-20T14:13:06.924917 - /home/ubuntu/16T/lsm/ComfyUI/custom_nodes/comfyui-mixlab-nodes/webApp/lib/classic.min.css2024-12-20T14:13:06.924988 -
2024-12-20T14:13:06.928108 - /home/ubuntu/16T/lsm/ComfyUI/custom_nodes/comfyui-mixlab-nodes/webApp/lib/model-viewer.min.js2024-12-20T14:13:06.928163 -
2024-12-20T14:13:06.935639 - /home/ubuntu/16T/lsm/ComfyUI/custom_nodes/comfyui-mixlab-nodes/webApp/lib/juxtapose.css2024-12-20T14:13:06.935704 -
2024-12-20T14:13:06.936238 - /home/ubuntu/16T/lsm/ComfyUI/custom_nodes/comfyui-mixlab-nodes/webApp/lib/juxtapose.min.js2024-12-20T14:13:06.936286 -
2024-12-20T14:13:22.474446 - got prompt
2024-12-20T14:13:22.649131 - Using xformers attention in VAE
2024-12-20T14:13:22.649922 - Using xformers attention in VAE
2024-12-20T14:13:27.078991 - model_type FLOW
2024-12-20T14:13:28.158838 - clip missing: ['text_projection.weight']
2024-12-20T14:13:28.280663 - Requested to load FluxClipModel_
2024-12-20T14:13:28.280747 - Loading 1 new model
2024-12-20T14:13:29.520540 - loaded completely 0.0 9319.23095703125 True
2024-12-20T14:13:29.908422 - Requested to load Flux
2024-12-20T14:13:29.908507 - Loading 1 new model
2024-12-20T14:13:29.909138 - loaded completely 0.0<PHONE_NUMBER>703125 True
2024-12-20T14:13:29.915814 - !!! Exception during processing !!! 'ComfyUIFluxForwardWrapper' object has no attribute 'img_in'
2024-12-20T14:13:29.916687 - Traceback (most recent call last):
  File "/home/ubuntu/16T/lsm/ComfyUI/execution.py", line 323, in execute
    output_data, output_ui, has_subgraph = get_output_data(obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
  File "/home/ubuntu/16T/lsm/ComfyUI/execution.py", line 198, in get_output_data
    return_values = _map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
  File "/home/ubuntu/16T/lsm/ComfyUI/execution.py", line 169, in _map_node_over_list
    process_inputs(input_dict, i)
  File "/home/ubuntu/16T/lsm/ComfyUI/execution.py", line 158, in process_inputs
    results.append(getattr(obj, func)(**inputs))
  File "/home/ubuntu/16T/lsm/ComfyUI/comfy_extras/nodes_custom_sampler.py", line 633, in sample
    samples = guider.sample(noise.generate_noise(latent), latent_image, sampler, sigmas, denoise_mask=noise_mask, callback=callback, disable_pbar=disable_pbar, seed=noise.seed)
  File "/home/ubuntu/16T/lsm/ComfyUI/comfy/samplers.py", line 740, in sample
    output = self.inner_sample(noise, latent_image, device, sampler, sigmas, denoise_mask, callback, disable_pbar, seed)
  File "/home/ubuntu/16T/lsm/ComfyUI/comfy/samplers.py", line 715, in inner_sample
    self.conds = process_conds(self.inner_model, noise, self.conds, device, latent_image, denoise_mask, seed)
  File "/home/ubuntu/16T/lsm/ComfyUI/comfy/samplers.py", line 667, in process_conds
    conds[k] = encode_model_conds(model.extra_conds, conds[k], noise, device, k, latent_image=latent_image, denoise_mask=denoise_mask, seed=seed)
  File "/home/ubuntu/16T/lsm/ComfyUI/comfy/samplers.py", line 578, in encode_model_conds
    out = model_function(**params)
  File "/home/ubuntu/16T/lsm/ComfyUI/comfy/model_base.py", line 750, in extra_conds
    out = super().extra_conds(**kwargs)
  File "/home/ubuntu/16T/lsm/ComfyUI/comfy/model_base.py", line 201, in extra_conds
    concat_cond = self.concat_cond(**kwargs)
  File "/home/ubuntu/16T/lsm/ComfyUI/comfy/model_base.py", line 715, in concat_cond
    num_channels = self.diffusion_model.img_in.weight.shape[1] // (self.diffusion_model.patch_size * self.diffusion_model.patch_size)
  File "/home/ubuntu/miniconda3/envs/flux/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1931, in __getattr__
    raise AttributeError(
AttributeError: 'ComfyUIFluxForwardWrapper' object has no attribute 'img_in'

2024-12-20T14:13:29.916889 - Prompt executed in 7.32 seconds

Attached Workflow
Please make sure that workflow does not contain any sensitive information such as API keys or passwords.
{"last_node_id":40,"last_link_id":120,"nodes":[{"id":16,"type":"KSamplerSelect","pos":[480,912],"size":[315,58],"flags":{},"order":0,"mode":0,"inputs":[],"outputs":[{"name":"SAMPLER","type":"SAMPLER","links":[19],"shape":3}],"properties":{"Node name for S&R":"KSamplerSelect"},"widgets_values":["euler"]},{"id":13,"type":"SamplerCustomAdvanced","pos":[864,192],"size":[272.3617858886719,124.53733825683594],"flags":{},"order":16,"mode":0,"inputs":[{"name":"noise","type":"NOISE","link":37,"slot_index":0},{"name":"guider","type":"GUIDER","link":30,"slot_index":1},{"name":"sampler","type":"SAMPLER","link":19,"slot_index":2},{"name":"sigmas","type":"SIGMAS","link":20,"slot_index":3},{"name":"latent_image","type":"LATENT","link":116,"slot_index":4}],"outputs":[{"name":"output","type":"LATENT","links":[24],"slot_index":0,"shape":3},{"name":"denoised_output","type":"LATENT","links":null,"shape":3}],"properties":{"Node name for S&R":"SamplerCustomAdvanced"},"widgets_values":[]},{"id":8,"type":"VAEDecode","pos":[866,367],"size":[210,46],"flags":{},"order":17,"mode":0,"inputs":[{"name":"samples","type":"LATENT","link":24},{"name":"vae","type":"VAE","link":12}],"outputs":[{"name":"IMAGE","type":"IMAGE","links":[9],"slot_index":0}],"properties":{"Node name for S&R":"VAEDecode"},"widgets_values":[]},{"id":27,"type":"EmptySD3LatentImage","pos":[480,624],"size":[315,106],"flags":{},"order":9,"mode":0,"inputs":[{"name":"width","type":"INT","link":112,"widget":{"name":"width"}},{"name":"height","type":"INT","link":113,"widget":{"name":"height"}}],"outputs":[{"name":"LATENT","type":"LATENT","links":[116],"slot_index":0,"shape":3}],"properties":{"Node name for S&R":"EmptySD3LatentImage"},"widgets_values":[1024,1024,1]},{"id":34,"type":"PrimitiveNode","pos":[432,480],"size":[210,82],"flags":{},"order":1,"mode":0,"inputs":[],"outputs":[{"name":"INT","type":"INT","links":[112,115],"slot_index":0,"widget":{"name":"width"}}],"title":"width","properties":{"Run widget replace on values":false},"widgets_values":[1024,"fixed"],"color":"#323","bgcolor":"#535"},{"id":35,"type":"PrimitiveNode","pos":[672,480],"size":[210,82],"flags":{},"order":2,"mode":0,"inputs":[],"outputs":[{"name":"INT","type":"INT","links":[113,114],"slot_index":0,"widget":{"name":"height"}}],"title":"height","properties":{"Run widget replace on values":false},"widgets_values":[1024,"fixed"],"color":"#323","bgcolor":"#535"},{"id":28,"type":"Note","pos":[48,576],"size":[336,288],"flags":{},"order":3,"mode":0,"inputs":[],"outputs":[],"properties":{"text":""},"widgets_values":["If you get an error in any of the nodes above make sure the files are in the correct directories.\n\nSee the top of the examples page for the links : https://comfyanonymous.github.io/ComfyUI_examples/flux/\n\nflux1-dev.safetensors goes in: ComfyUI/models/unet/\n\nt5xxl_fp16.safetensors and clip_l.safetensors go in: ComfyUI/models/clip/\n\nae.safetensors goes in: ComfyUI/models/vae/\n\n\nTip: You can set the weight_dtype above to one of the fp8 types if you have memory issues."],"color":"#432","bgcolor":"#653"},{"id":10,"type":"VAELoader","pos":[-59.268310546875,441.1297912597656],"size":[311.81634521484375,60.429901123046875],"flags":{},"order":4,"mode":0,"inputs":[],"outputs":[{"name":"VAE","type":"VAE","links":[12],"slot_index":0,"shape":3}],"properties":{"Node name for S&R":"VAELoader"},"widgets_values":["ae.safetensors"]},{"id":30,"type":"ModelSamplingFlux","pos":[488.4796142578125,1171.9072265625],"size":[315,130],"flags":{},"order":13,"mode":0,"inputs":[{"name":"model","type":"MODEL","link":120,"slot_index":0},{"name":"width","type":"INT","link":115,"slot_index":1,"widget":{"name":"width"}},{"name":"height","type":"INT","link":114,"slot_index":2,"widget":{"name":"height"}}],"outputs":[{"name":"MODEL","type":"MODEL","links":[54,55],"slot_index":0,"shape":3}],"properties":{"Node name for S&R":"ModelSamplingFlux"},"widgets_values":[1.15,0.5,1024,1024]},{"id":37,"type":"Note","pos":[489.2357177734375,1384.7225341796875],"size":[314.99755859375,117.98363494873047],"flags":{},"order":5,"mode":0,"inputs":[],"outputs":[],"properties":{"text":""},"widgets_values":["The reference sampling implementation auto adjusts the shift value based on the resolution, if you don't want this you can just bypass (CTRL-B) this ModelSamplingFlux node.\n"],"color":"#432","bgcolor":"#653"},{"id":9,"type":"SaveImage","pos":[1166.2532958984375,181.24807739257812],"size":[985.3012084960938,1060.3828125],"flags":{},"order":18,"mode":0,"inputs":[{"name":"images","type":"IMAGE","link":9}],"outputs":[],"properties":{},"widgets_values":["ComfyUI"]},{"id":17,"type":"BasicScheduler","pos":[480,1008],"size":[315,106],"flags":{},"order":15,"mode":0,"inputs":[{"name":"model","type":"MODEL","link":55,"slot_index":0}],"outputs":[{"name":"SIGMAS","type":"SIGMAS","links":[20],"shape":3}],"properties":{"Node name for S&R":"BasicScheduler"},"widgets_values":["simple",25,1]},{"id":22,"type":"BasicGuider","pos":[1021.094970703125,-18.349931716918945],"size":[222.3482666015625,46],"flags":{},"order":14,"mode":0,"inputs":[{"name":"model","type":"MODEL","link":54,"slot_index":0},{"name":"conditioning","type":"CONDITIONING","link":42,"slot_index":1}],"outputs":[{"name":"GUIDER","type":"GUIDER","links":[30],"slot_index":0,"shape":3}],"properties":{"Node name for S&R":"BasicGuider"},"widgets_values":[]},{"id":6,"type":"CLIPTextEncode","pos":[384,240],"size":[422.84503173828125,164.31304931640625],"flags":{},"order":10,"mode":0,"inputs":[{"name":"clip","type":"CLIP","link":118}],"outputs":[{"name":"CONDITIONING","type":"CONDITIONING","links":[41],"slot_index":0}],"title":"CLIP Text Encode (Positive Prompt)","properties":{"Node name for S&R":"CLIPTextEncode"},"widgets_values":["a cyberpunk cat holding a huge neon sign that says \"hello world\", wearing fancy goggles and a black leather jacket",[false,true]],"color":"#232","bgcolor":"#353"},{"id":26,"type":"FluxGuidance","pos":[532.2808227539062,124.01781463623047],"size":[317.4000244140625,58],"flags":{},"order":12,"mode":0,"inputs":[{"name":"conditioning","type":"CONDITIONING","link":41}],"outputs":[{"name":"CONDITIONING","type":"CONDITIONING","links":[42],"slot_index":0,"shape":3}],"properties":{"Node name for S&R":"FluxGuidance"},"widgets_values":[3.5],"color":"#233","bgcolor":"#355"},{"id":25,"type":"RandomNoise","pos":[480,768],"size":[315,82],"flags":{},"order":6,"mode":0,"inputs":[],"outputs":[{"name":"NOISE","type":"NOISE","links":[37],"shape":3}],"properties":{"Node name for S&R":"RandomNoise"},"widgets_values":[399560686632038,"randomize"],"color":"#2a363b","bgcolor":"#3f5159"},{"id":39,"type":"SVDQuantTextEncoderLoader","pos":[-84.28152465820312,232.42758178710938],"size":[352.79998779296875,154],"flags":{},"order":7,"mode":0,"inputs":[],"outputs":[{"name":"CLIP","type":"CLIP","links":[118]}],"properties":{"Node name for S&R":"SVDQuantTextEncoderLoader"},"widgets_values":["flux","t5xxl_fp16.safetensors","clip_l.safetensors",512,"BF16"]},{"id":40,"type":"SVDQuantLoRALoader","pos":[-191.89285278320312,1152.733642578125],"size":[536.7554931640625,90.70185852050781],"flags":{},"order":11,"mode":0,"inputs":[{"name":"model","type":"MODEL","link":119}],"outputs":[{"name":"MODEL","type":"MODEL","links":[120],"slot_index":0}],"properties":{"Node name for S&R":"SVDQuantLoRALoader"},"widgets_values":["None",1]},{"id":38,"type":"SVDQuantFluxDiTLoader","pos":[-766,1151],"size":[448.5325622558594,82.2337646484375],"flags":{},"order":8,"mode":0,"inputs":[],"outputs":[{"name":"MODEL","type":"MODEL","links":[119],"slot_index":0}],"properties":{"Node name for S&R":"SVDQuantFluxDiTLoader"},"widgets_values":["mit-han-lab/svdq-int4-flux.1-schnell",0]}],"links":[[9,8,0,9,0,"IMAGE"],[12,10,0,8,1,"VAE"],[19,16,0,13,2,"SAMPLER"],[20,17,0,13,3,"SIGMAS"],[24,13,0,8,0,"LATENT"],[30,22,0,13,1,"GUIDER"],[37,25,0,13,0,"NOISE"],[41,6,0,26,0,"CONDITIONING"],[42,26,0,22,1,"CONDITIONING"],[54,30,0,22,0,"MODEL"],[55,30,0,17,0,"MODEL"],[112,34,0,27,0,"INT"],[113,35,0,27,1,"INT"],[114,35,0,30,2,"INT"],[115,34,0,30,1,"INT"],[116,27,0,13,4,"LATENT"],[118,39,0,6,0,"CLIP"],[119,38,0,40,0,"MODEL"],[120,40,0,30,0,"MODEL"]],"groups":[],"config":{},"extra":{"ds":{"scale":0.8769226950000005,"offset":[368.15796288775135,126.4514276831074]},"groupNodes":{"EmptyLatentImage":{"nodes":[{"type":"PrimitiveNode","pos":[432,480],"size":{"0":210,"1":82},"flags":{},"order":6,"mode":0,"outputs":[{"name":"INT","type":"INT","links":[],"widget":{"name":"height"},"slot_index":0}],"title":"height","properties":{"Run widget replace on values":false},"color":"#323","bgcolor":"#535","index":0},{"type":"PrimitiveNode","pos":[672,480],"size":{"0":210,"1":82},"flags":{},"order":7,"mode":0,"outputs":[{"name":"INT","type":"INT","links":[],"slot_index":0,"widget":{"name":"width"}}],"title":"width","properties":{"Run widget replace on values":false},"color":"#323","bgcolor":"#535","index":1},{"type":"EmptySD3LatentImage","pos":[480,624],"size":{"0":315,"1":106},"flags":{},"order":10,"mode":0,"inputs":[{"name":"width","type":"INT","link":null,"widget":{"name":"width"}},{"name":"height","type":"INT","link":null,"widget":{"name":"height"}}],"outputs":[{"name":"LATENT","type":"LATENT","links":[],"shape":3,"slot_index":0}],"properties":{"Node name for S&R":"EmptySD3LatentImage"},"widgets_values":[1024,1024,1],"index":2}],"links":[[1,0,2,0,34,"INT"],[0,0,2,1,35,"INT"]],"external":[[0,0,"INT"],[1,0,"INT"],[2,0,"LATENT"]],"config":{"0":{"output":{"0":{"name":"height"}},"input":{"value":{"visible":true}}},"1":{"output":{"0":{"name":"width"}},"input":{"value":{"visible":true}}},"2":{"input":{"width":{"visible":false},"height":{"visible":false}}}}}}},"version":0.4}

I have a similar problem with you. Have you solved it?

I have a similar problem with you. Have you solved it?

no,do you have any opinions？

I have a similar problem with you. Have you solved it?

no,do you have any opinions？

i have no idea for this

I have a similar problem with you. Have you solved it?

no,do you have any opinions？

i have no idea for this

I solved it, just update Comfyui to the latest version


Fix tutorials' display on TopoModelX doc's website

What?
The Tutorials Tab of TopoModelX's documentation website does not display the tutorials properly.
https://pyt-team.github.io/topomodelx/tutorials/index.html
Specifically, the headers of every tutorials shows up which clutters the page without providing any useful information:
Tutorials
[Train a Cellular Attention Network (CAN)](https://pyt-team.github.io/topomodelx/notebooks/cell/can_train.html)
[Set-up](https://pyt-team.github.io/topomodelx/notebooks/cell/can_train.html#Set-up)
[Pre-processing](https://pyt-team.github.io/topomodelx/notebooks/cell/can_train.html#Pre-processing)
[Create the Neural Network](https://pyt-team.github.io/topomodelx/notebooks/cell/can_train.html#Create-the-Neural-Network)
[Train the Neural Network](https://pyt-team.github.io/topomodelx/notebooks/cell/can_train.html#Train-the-Neural-Network)
[Train the Neural Network with Attention](https://pyt-team.github.io/topomodelx/notebooks/cell/can_train.html#Train-the-Neural-Network-with-Attention)
[Train a Convolutional Cell Complex Network (CCXN)](https://pyt-team.github.io/topomodelx/notebooks/cell/ccxn_train.html)
[Set-up](https://pyt-team.github.io/topomodelx/notebooks/cell/ccxn_train.html#Set-up)

Etc...
We need to prevent these headers to appear, so that only the thumbnails of the tutorials are shown.
Why?
Because displaying headers of tutorials does not provide any useful information and clutters the page.
Where?
On TopoModelX, modify the documentation website's "tutorials" tab by modifying:
https://github.com/pyt-team/TopoModelX/tree/main/docs/tutorials
How?
Maybe the :maxdepth: 1 parameter can be tuned?

@ninamiolane
The tutorial website for me opens up like this:

@ninamiolane
Would you like me to remove the Section Navigation on the left?

@devendragovil indeed, the display of the tutorials has changed (and improved) since this task was done.
Tasks that remain:

[ ] FIX: Make the titles consistents
Many tutorials have the title "Train a Hypergraph Neural Network". That is not precise enough.
Let's modify the tutorials titles so that they are of the form "Train a [name of the model] ([abbreviation of the model])".
For example: "Train a Cell Attention Network (CAN)".
[ ] If needed, clean the Navigation section on the left.
By updating the titles, the Navigation section might become more readable already.
Clean it such that only the titles of the tutorials appear, but not their sections' titles.
No need to remove it entirely.

Thanks!


Add device HmIP-BSL to Homematic IP

Description:

Added support for HmIP-BSL (Switch Actuator for brand switches – with signal lamp)

Pull request in home-assistant.io with documentation (if applicable): home-assistant/home-assistant.io#8448
Checklist:

[x] The code change is tested and works locally.
[x] Local tests pass with tox. Your PR cannot be merged unless tests pass
[x] There is no commented out code in this PR.

If user exposed functionality or configuration variables are added/changed:

[x] Documentation added/updated in home-assistant.io

@mxworm: Hi Mattias, please review my HmIP-BSL code.

@mxworm : Thanks a lot for your feedback. But same issues are still unclear.

@mxworm Is the code OK for you? Or did I misinterpret your recommendations?

Thanks for the effort and patience with my requests :-)
@MartinHjelmare from my side the code can be released.

@mxworm @MartinHjelmare
Thank you very much for your feedback and support.

Die Farbe lässt sich nicht ändern.
The color can not be changed.

eQ-3 had a maintnance today, so restart homassistant.
I went home 15 minutes ago and i wasn't able to switch any homematicip related stuff.
After restart everthing works as expected.

Super!


Clone entity, e.Clone()

Provide a method to clone an entity like e.Clone() and make sure both the entity and all components are using the internal object pool to reduce memory allocation.
Suggestion
var clone = pool.CreateEntity();

var components = entity.GetComponents();
var indices = entity.GetComponentIndices();

foreach(var index in indices) {
    var component = entity.GetComponent(index);
    var newComponent = clone.CreateComponent(index, component.GetType());
    component.CopyPublicMemberValues(newComponent);
    clone.AddComponent(index, newComponent);
}

Maybe even add the ability to specify a list of components like
e.Clone(Component[])
or
e.Clone(Component)

For example, to create a copy, but not copy something unnecessary. Especially it can be helpful when several people work on the project.

It's worth mentioning that a SingleEntity should not be cloned


What I'm trying to resolve is just to get exactly the same splined data as the chart shows.
Maybe there's an simpler solution.

There is an example at https://observablehq.com/@d3/d3-interpolatebasis; as you can see the basis interpolator does not go through the exact values—spikes are smoothed out.
If you want to report an issue, please share a notebook with a complete dataset and explain what you're trying to achieve.


spanner-client: Retry PDML on "Received unexpected EOS on DATA frame from server"

This bug is related to the Spanner client library.
For long lived transactions (>= 30 minutes), in the case of large PDML changes, it is possible that the gRPC connection is terminated with an error "Received unexpected EOS on DATA frame from server".
In this case, we need to retry the transaction either with the received resume token obtained on reading the stream or from scratch. This will ensure that the PDML transaction continues to execute until it is successful or a hard timeout is reached.
We have already implemented such change in the Java client library, for more information see this PR: googleapis/java-spanner#360.
In order to test the fix, we can use a large spanner database. Please speak to @thiagotnunes for more details.

@thiagotnunes I see the java change looks for any of these strings, I assume we should do the same?
"HTTP/2 error code: INTERNAL_ERROR"
"Connection closed with unknown cause"
"Received unexpected EOS on DATA frame from server"

@mr-salty There is another error that we have not seen in the Java client library, but we have seen in other libraries (which is curious): "RST_STREAM" (https://github.com/googleapis/python-spanner/pull/122/files#diff-81c1269f69a551cb02a056013d0db2e3R37).
If you'd like to be cover all grounds, I would retry on the 3 you mentioned and the RST_STREAM one.

Hm, I think we'll need some larger changes to address this in C++ - currently we use a non-streaming ExecuteSql call with a timeout of 10 minutes.
IIUC Java uses a streaming call (does that imply we do periodically receive resume_token responses from the backend?), and has an overall timeout of 2 hours.  I was also looking at #4528 which doesn't have a specific PDML timeout, so I assume we would use the ExecuteStreamingSql timeout of 1 hour?  or, is the 2 hours important?
@thiagotnunes I normally work pretty late if you're available for a chat sometime later

@mr-salty sorry I think I missed you. I scheduled a meeting for us to go over it next week.

I see PRs for this. Is this issue fixed?

I still have a PR pending and need to test it with a real long-running query (Thiago added me to the relevant project and sent me instructions)

Is this done?  It is now out of SLO.

Is this done?  It is now out of SLO.

greg and I discussed this last week. I think we can close this bug because what is (possibly) left to do is change the retry timeouts per #4528 , which we weren't able to reach consensus on.
If a user had long running-queries and manually set the timeouts long enough, they should not run into the issue (not properly resuming) that was the initial motivation for this issue. with the default timeouts, their query would time out before they ever saw this issue.

greg and I discussed this last week. I think we can close this bug because what is (possibly) left to do is change the retry timeouts per #4528 , which we weren't able to reach consensus on.
If a user had long running-queries and manually set the timeouts long enough, they should not run into the issue (not properly resuming) that was the initial motivation for this issue. with the default timeouts, their query would time out before they ever saw this issue.


speech brain in Distributed control system c# or c

Please train speech brain  in Persian and English languge  for specialized words in Distributed control system
so that it can recognize words in this field.

Hi, I am not sure to understand what you would like to see here.

@TParcollet I mean, speehbrain for the most specialized words in the field of oil and gas, especially industrial systems  " Distributed control system "  deltav and .... using the deep learning.

The current version of the toolkit already allows users to train a system with this and other features. This is not something the  development team is gong to do though because we have to focus on core functionalities and not on specific topics like that.


How to change the format dynamically?

Hi! I want to ask that what I should do to change the format.
For example, if I choose "day", format is "yyyy-mm-dd hh:ii"; If I choose "month", format is "yyyy-mm-dd". I meet the challenge that the format always the one that I set the first time.
And I've tried some solutions, but none worked.
Thank u very much!

Hi refer to #2100


404 Resource Not Found error when deleting a custom domain from a CDN endpoint

Package Name: @azure/arm-cdn
Package Version: 4.2.0
Operating system: Windows 10 Pro
[x] nodejs

version:

[ ] browser

name/version: 8.11.2

[x] typescript

version: 3.4.5

Is the bug related to documentation in

[ ] README.md
[ ] source code documentation
[ ] SDK API docs on https://docs.microsoft.com

Describe the bug
CdnManagement.customDomains.deleteMethod fails with a 404 Not Found error after a few seconds of waiting. It seems like the deleteMethod is querying for the custom domain to check if it is deleted and eventually results in a 404 after it is deleted, giving the false impression that the delete failed. But the delete itself actually succeeds.
To Reproduce
Steps to reproduce the behavior:

Create a custom domain for a CDN endpoint using cdnClient.customDomains.create(...)
Delete the custom domain using cdnClient.customDomains.deleteMethod(...)
The call to deleteMethod will take a few seconds to complete, possibly because of long polling? After a few seconds, the call fails with a 404 Not Found.

Here's the stringified response:
{ Error: The requested resource was not found.
        at new RestError (C:\.......\node_modules\@azure\ms-rest-js\lib\restError.ts:18:5)
        at C:\.....\node_modules\@azure\ms-rest-js\lib\policies\deserializationPolicy.ts:117:27
        at <anonymous>
        at process._tickCallback (internal/process/next_tick.js:188:7)
      code: 'NotFound',
      statusCode: 404,
      request:
       WebResource {
         streamResponseBody: undefined,
         url: 'https://management.azure.com/subscriptions/xxxxxxxxxxxx/resourcegroups/nyp-group-test/providers/Microsoft.Cdn/operationresults/78798702-724a-4a5d-8e13-db333495bbd1/profileresults/nyp-cdn-profile-test-dev/endpointresults/nyp-cdn-endpoint-test/customdomainresults/dev?api-version=2017-10-12',
         method: 'GET',
         headers: HttpHeaders { _headersMap: [Object] },
         body: undefined,
         query: undefined,
         formData: undefined,
         withCredentials: false,
         abortSignal: undefined,
         timeout: 0,
         onUploadProgress: undefined,
         onDownloadProgress: undefined,
         proxySettings: undefined,
         operationSpec:
          { httpMethod: 'DELETE',
            path: 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/customDomains/{customDomainName}',
            urlParameters: [Array],
            queryParameters: [Array],
            headerParameters: [Array],
            responses: [Object],
            serializer: [Object] },
         shouldDeserialize: true,
         operationResponseGetter: [Function: getOperationResponse] },
      response:
       { body: '{\r\n  "error": {\r\n    "code": "NotFound",\r\n    "message": "The requested resource was not found."\r\n  }\r\n}',
         headers: HttpHeaders { _headersMap: [Object] },
         status: 404 },
      body:
       { error:
          { code: 'NotFound',
            message: 'The requested resource was not found.' } } }

Expected behavior
The call to deleteMethod returns a 2xx success code.
Screenshots
N/A
Additional context
N/A

@daschult - Any idea what is happening in the polling of this Long Running Operation?

Ping.

@praneetloke - New version of @azure/ms-rest-azure-js has been published. Please delete the node_modules folder and execute npm i again. Make sure that 1.3.6 version of @azure/ms-rest-azure-js has been installed. npm list @azure/ms-rest-azure-js.
Let us know if this solves the problem.

@amarzavery While there isn't a 404 anymore, I get this now. It looks like this might related to this line from PR you merged?
Note that I removed my subscription ID from the stacktrace below.
{ Error: Error "SyntaxError: Unexpected token o in JSON at position 1" occurred while parsing the response body - [object Object].
        at new RestError (/home/vsts/work/1/s/pulumi-stack/node_modules/@azure/ms-rest-js/lib/restError.ts:18:5)
        at errorHandler (/home/vsts/work/1/s/pulumi-stack/node_modules/@azure/ms-rest-js/lib/policies/deserializationPolicy.ts:196:15)
        at process._tickCallback (internal/process/next_tick.js:68:7)
      code: 'PARSE_ERROR',
      statusCode: 200,
      request:
       WebResource {
         streamResponseBody: undefined,
         url:
          'https://management.azure.com/subscriptions/xxxxxxx/resourcegroups/nyp-group-test/providers/Microsoft.Cdn/operationresults/1fcfc5a2-41ab-4e68-864b-4d8f1d70caef?api-version=2017-10-12',
         method: 'GET',
         headers: HttpHeaders { _headersMap: [Object] },
         body: undefined,
         query: undefined,
         formData: undefined,
         withCredentials: false,
         abortSignal: undefined,
         timeout: 0,
         onUploadProgress: undefined,
         onDownloadProgress: undefined,
         proxySettings: undefined,
         operationSpec:
          { httpMethod: 'DELETE',
            path:
             'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/customDomains/{customDomainName}',
            urlParameters: [Array],
            queryParameters: [Array],
            headerParameters: [Array],
            responses: [Object],
            serializer: [Serializer] },
         operationResponseGetter: [Function: getOperationResponse] },
      response:
       { request:
          WebResource {
            streamResponseBody: undefined,
            url:
             'https://management.azure.com/subscriptions/xxxxx/resourcegroups/nyp-group-test/providers/Microsoft.Cdn/operationresults/1fcfc5a2-41ab-4e68-864b-4d8f1d70caef?api-version=2017-10-12',
            method: 'GET',
            headers: [HttpHeaders],
            body: undefined,
            query: undefined,
            formData: undefined,
            withCredentials: false,
            abortSignal: undefined,
            timeout: 0,
            onUploadProgress: undefined,
            onDownloadProgress: undefined,
            proxySettings: undefined,
            operationSpec: [Object],
            operationResponseGetter: [Function: getOperationResponse] },
         status: 200,
         headers: HttpHeaders { _headersMap: [Object] },
         readableStreamBody: undefined,
         bodyAsText: { status: 'Succeeded', error: [Object] } },
      body:
       { status: 'Succeeded', error: { code: 'None', message: null } } }

@praneetloke - Please delete the node_modules folder and re-install @azure/ms-rest-azure-js: "^1.3.7".  The issue should be fixed. Let me know if you see further issues.

@amarzavery using those versions works! Please feel free to close this issue.


Run as unprivileged user (and create that user via packages)

This creates a user and group xrootd-monitoring-shoveler and runs the service as that user.
Furthermore, it adds a dependency of the service on network-online.target to prevent it from coming up before the network is online.
While not strictly necessary, it's likely better to merge this after https://github.com/opensciencegrid/xrootd-monitoring-shoveler/pull/34 to ensure it does not break anything, since that PR tests the packaging and execution.
I tried that in my fork (to ensure I don't break things :wink: ), and it worked well in my tests.

This looks good, have you tested on both debian and RPM?

This looks good, have you tested on both debian and RPM?

Thanks!
I have not tested on a physical system, but https://github.com/opensciencegrid/xrootd-monitoring-shoveler/pull/34 installs the packages directly on various distros (RockyLinux 8 and 9, Debian stable, testing and unstable). Since it uses the packages built with goreleaser and runs them in a matching OS container, I think that's (almost) as good as testing on a real system (I tested in a fork applying #34 first and then #47 ).
If you prefer an actual test on a physical node, I can also do that latest next week.


Add processing of blackhole

The blackhole makes you drop objects

Seems processing only takes place if it's the first item in the inventory.
All objects get dropped until bag (EOF) is found


Not working for iOS in Xamarin.Forms

I have just installed the latest version of the package from Nuget and added a reference Xamarin.Forms XAML. It is working for Android and showing the proper circular image with the border but when building for iOS it is showing the simple image.
Bug Information
Version Number of Plugin: 2.0.2
Device Tested On iPhone 6S
Simulator Tested On:
The version of VS: Enterprise 2017 for Mac
The version of Xamarin: Xamarin.iOS <IP_ADDRESS>
Versions of other things you are using:
Xamarin.Android: <IP_ADDRESS>
Visual Studio for Mac <IP_ADDRESS>3
Steps to reproduce the Behavior
Expected Behavior
Should show the circular image as it is showing on Android device and simulators.
Actual Behavior
Working properly for Android but showing a simple image as it shows in Image Control for iOS.
Code snippet
<ContentPage
x:Class="App1.XYZMaster"  Title="Master"
xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:circleImage="clr-namespace:ImageCircle.Forms.Plugin.Abstractions;assembly=ImageCircle.Forms.Plugin.Abstractions" >

<StackLayout VerticalOptions="End">
     <circleImage:CircleImage x:Name="UserImage"  FillColor="White" WidthRequest="70"
        HeightRequest="70" BorderColor="White" BorderThickness="4" HorizontalOptions="Start"
        VerticalOptions="EndAndExpand" Margin="20,0,0,10"/>
</StackLayout>

</ContentPage>```

### Screenshots

Make sure you Init the control and set linker : https://github.com/jamesmontemagno/ImageCirclePlugin#final-builds
Works just fine.


impl Fromstd::fs::FileType for fuse::FileType

Would this be a useful patch?
It would probably use FileTypeExt

Not sure if this is very useful, since filesystem implementations need to provide this information and usually don't get it from existing files. So except for examples (mirror filesystem) I don't see much sense in this conversion. It could be handy for mirror examples though (maybe together with a conversion for fuse::FileAttr as well)

Reflecting the rust runtime is useful for other reasons, although I get the advantage of transparency to the fuse API - helps with examples from other languages.
My thought process is that mirror/loopback filesystems with some amended functionality are the more common use-cases (rather than the exception) - I'm working on an S3-backed hierarchical filesystem.
It would be great to have both - explicit FUSE API and compatibility layer from rust std.


Use webpack instead of javascript

Have this default template use webpack as a type in wrangler.toml
Then move index.js to ./src/index.js and  update package.json?
I am not sure if it will confuse users by now having src, workers-site and worker directories that all contain a worker script though. This probably needs design

workers-site is not in this template

Correct nor worker until build time. We would be adding a new directory concept: src. (which yes seems simple enough but then we have worker-site for site projects) I just think it's confusing that we are defining all these different directories. Also, the other templates just use index.js so it'd be another chore to change all the others.
I am open more opinions though if we think this should be a priority

yeah. this is just how i structure projects, it gets really messy really quick if you want to start adding more files other than index.js which is why i like a src directory. it's a very common pattern that i dont think people would be confused by and seems separate from the concerns about build directories.

I also add src as soon as a project gets complex, but just switching to webpack doesn't necessarily mean that we need to add src here, right? afaik our webpack type looks for index.js


chore(dep) Upgrade to latest markdown transform

Signed-off-by: Jerome Simeon<EMAIL_ADDRESS>

Coverage remained the same at 95.535% when pulling eab7a034be5c22e8e0ef899121af391c5a56059d on jeromesimeon:js-chore-upgrade-markdown into 702515f354897cadd2a75ffbe071d6f8f6141833 on accordproject:master.


Add new holiday

About the PR

Changelog

:cl:

add: A new holiday has been added on March 9th.

I hate this so much

I came to fact-check that you made it 3/9.
And you did.
😄

At this point just add catgirls.

no

no


Old table widgets are not working.

Shows only empty div.
But they work correctly in Edit mode.
For example:
zebrunner.com/app/dashboards/130

Blocker on some projects!!!

successfully tested in zafira-ui 1.201-SNAPSHOT


Limit birthday window

follow-on to https://github.com/studentinsights/studentinsights/pull/1505
Who is this PR for?
educators, primarily those with grade-level, school or district-level access
What problem does this PR fix?
the birthday paradox!
What does this PR do?
limit number of student birthdays shown in feed

selfie


Infinite loop if dependencies are empty

Consider this:
package.json:
"postinstall": "npmpd"
"darwinDependencies": {}
npm install will now be stuck in endless loop, because npmpd will call npm install without arguments.

Fixed in https://github.com/bertofer/npm-platform-dependencies/commit/78985de9a5c35f7c2252d59195c527159e74488d , thanks for noticing :)


pycc distutils integration

Based on PR #1476. This also includes documentation and API cleanups.

Is this the PR where it makes sense to add the user documentation describing how to do ahead of time compilation in their Python project?

Yes, probably.

Time for a remerge now that #1476 has been merged to master.

On OS X 10.11, I'm seeing linker errors when I try to import a compiled module that uses NRT functions:
# src_mode.py
import numpy as np
from numba.pycc import CC

cc = CC('mode')

@cc.export('simple_mode', 'int64(int64[:])')
def simple_mode(x):
    sorted_x = np.sort(x)

    return sorted_x[0]

if __name__ == "__main__":
    cc.compile()

(Ignore the names.  This is cut down from a larger test.)
When I compile the module by running python src_mode.py and and then attempt to import the generated module, I get this error:
(numba_aot)Rover:mode stan$ python
Python 3.4.3 |Continuum Analytics, Inc.| (default, Mar  6 2015, 12:07:41)
[GCC 4.2.1 (Apple Inc. build 5577)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import mode
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: dlopen(/work/continuum/aot_demo/mode/mode.so, 2): Symbol not found: _NRT_MemInfo_alloc_safe_aligned
  Referenced from: /work/continuum/aot_demo/mode/mode.so
  Expected in: flat namespace
 in /work/continuum/aot_demo/mode/mode.so

On OS X 10.11, I'm seeing linker errors when I try to import a compiled module that uses NRT functions:

Hmm, I'm not sure what to say. Is the failure only with this PR or also on master? Also, is it only for NRT functionality? What happens if you use a helperlib function e.g. math.gamma()?
Adding cc.verbose = True helps you see what steps are performed.

Oh, and I don't know what kind of toolchain is available on OS X, but you can try nm  --defined-only name_of_the_so_file to see what symbols are defined inside it.

I can make that error go away if I remove the VISIBILITY_HIDDEN before NRT_MemInfo_alloc_safe_aligned in nrt.h.  Then I get a similar linker error for another function declared in nrt.h
If I remove VISIBILITY_HIDDEN from 3 specific functions used by this code, then I get to linker error with a fourth function: NRT_adapt_ndarray_from_python.  I'm not sure what is deciding the visibility of this function.
Basically, it looks like the linker is failing to statically link NRT function calls into the extension on OS X for some reason.

OK, mystery solved (sort of).  I discovered that I had gcc 4.9 built by MacPorts in my path.  Once I removed that, reverting back to the system gcc (which is aliased to clang on OS X now), everything worked fine.  I have no idea why the MacPorts version of gcc was not statically linking as expected.

The problem also occur on gcc4.9 on ubuntu 14.04:
$ CC=gcc-4.9 python -m numba.tests.test_pycc_tresult TestCC.test_compile_helperlib -v
test_compile_helperlib (__main__.TestCC) ... C compiler: gcc-4.9 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC

creating /tmp/pycc-build-pycc_test_helperlib-jacj3i82/home
creating /tmp/pycc-build-pycc_test_helperlib-jacj3i82/home/sklam
creating /tmp/pycc-build-pycc_test_helperlib-jacj3i82/home/sklam/dev
creating /tmp/pycc-build-pycc_test_helperlib-jacj3i82/home/sklam/dev/numba
creating /tmp/pycc-build-pycc_test_helperlib-jacj3i82/home/sklam/dev/numba/numba
creating /tmp/pycc-build-pycc_test_helperlib-jacj3i82/home/sklam/dev/numba/numba/pycc
compile options: '-flto -DPYCC_MODULE_NAME=pycc_test_helperlib -DPYCC_USE_NRT=0 -I/home/sklam/miniconda/envs/numba_devel34/include/python3.4m -I/home/sklam/miniconda/envs/numba_devel34/lib/python3.4/site-packages/numpy/core/include -c'
Warning: Can't read registry to find the necessary compiler setting
Make sure that Python modules winreg, win32api or win32con are installed.
gcc-4.9: /home/sklam/dev/numba/numba/pycc/modulemixin.c
gcc-4.9: /home/sklam/dev/numba/numba/pycc/../_math_c99.c
gcc -pthread -shared -L/home/sklam/miniconda/envs/numba_devel34/lib -Wl,-rpath=/home/sklam/miniconda/envs/numba_devel34/lib,--no-as-needed -flto /tmp/pycc-build-pycc_test_helperlib-jacj3i82/pycc_test_helperlib.cpython-34m.o /tmp/pycc-build-pycc_test_helperlib-jacj3i82/home/sklam/dev/numba/numba/pycc/modulemixin.o /tmp/pycc-build-pycc_test_helperlib-jacj3i82/home/sklam/dev/numba/numba/_math_c99.o -L/home/sklam/miniconda/envs/numba_devel34/lib -L/home/sklam/miniconda/envs/numba_devel34/lib/python3.4/site-packages/numpy/core/lib -lpython3.4m -lnpymath -lm -o /tmp/test_pycc/pycc_test_helperlib.cpython-34m.so
lto1: fatal error: LTO_tags out of range: Range is 0 to 368, value is 756
compilation terminated.
lto-wrapper: gcc returned 1 exit status
/usr/bin/ld: lto-wrapper failed
collect2: error: ld returned 1 exit status
lto1: fatal error: LTO_tags out of range: Range is 0 to 368, value is 756
compilation terminated.
lto-wrapper: gcc returned 1 exit status
/usr/bin/ld: lto-wrapper failed
collect2: error: ld returned 1 exit status
ERROR

======================================================================
ERROR: test_compile_helperlib (__main__.TestCC)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/sklam/miniconda/envs/numba_devel34/lib/python3.4/distutils/unixccompiler.py", line 194, in link
    self.spawn(linker + ld_args)
  File "/home/sklam/miniconda/envs/numba_devel34/lib/python3.4/site-packages/numpy/distutils/ccompiler.py", line 28, in <lambda>
    m = lambda self, *args, **kw: func(self, *args, **kw)
  File "/home/sklam/miniconda/envs/numba_devel34/lib/python3.4/site-packages/numpy/distutils/ccompiler.py", line 72, in CCompiler_spawn
    raise DistutilsExecError('Command "%s" failed with exit status %d%s' % (cmd, s, msg))
distutils.errors.DistutilsExecError: Command "gcc -pthread -shared -L/home/sklam/miniconda/envs/numba_devel34/lib -Wl,-rpath=/home/sklam/miniconda/envs/numba_devel34/lib,--no-as-needed -flto /tmp/pycc-build-pycc_test_helperlib-jacj3i82/pycc_test_helperlib.cpython-34m.o /tmp/pycc-build-pycc_test_helperlib-jacj3i82/home/sklam/dev/numba/numba/pycc/modulemixin.o /tmp/pycc-build-pycc_test_helperlib-jacj3i82/home/sklam/dev/numba/numba/_math_c99.o -L/home/sklam/miniconda/envs/numba_devel34/lib -L/home/sklam/miniconda/envs/numba_devel34/lib/python3.4/site-packages/numpy/core/lib -lpython3.4m -lnpymath -lm -o /tmp/test_pycc/pycc_test_helperlib.cpython-34m.so" failed with exit status 1

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/sklam/dev/numba/numba/tests/test_pycc_tresult.py", line 184, in test_compile_helperlib
    with self.check_cc_compiled(self._test_module.cc_helperlib) as lib:
  File "/home/sklam/miniconda/envs/numba_devel34/lib/python3.4/contextlib.py", line 59, in __enter__
    return next(self.gen)
  File "/home/sklam/dev/numba/numba/tests/test_pycc_tresult.py", line 142, in check_cc_compiled
    cc.compile()
  File "/home/sklam/dev/numba/numba/pycc/cc.py", line 166, in compile
    extra_ldflags=extra_ldflags)
  File "/home/sklam/dev/numba/numba/pycc/platform.py", line 100, in link_shared
    extra_preargs=extra_ldflags)
  File "/home/sklam/miniconda/envs/numba_devel34/lib/python3.4/distutils/unixccompiler.py", line 196, in link
    raise LinkError(msg)
distutils.errors.LinkError: Command "gcc -pthread -shared -L/home/sklam/miniconda/envs/numba_devel34/lib -Wl,-rpath=/home/sklam/miniconda/envs/numba_devel34/lib,--no-as-needed -flto /tmp/pycc-build-pycc_test_helperlib-jacj3i82/pycc_test_helperlib.cpython-34m.o /tmp/pycc-build-pycc_test_helperlib-jacj3i82/home/sklam/dev/numba/numba/pycc/modulemixin.o /tmp/pycc-build-pycc_test_helperlib-jacj3i82/home/sklam/dev/numba/numba/_math_c99.o -L/home/sklam/miniconda/envs/numba_devel34/lib -L/home/sklam/miniconda/envs/numba_devel34/lib/python3.4/site-packages/numpy/core/lib -lpython3.4m -lnpymath -lm -o /tmp/test_pycc/pycc_test_helperlib.cpython-34m.so" failed with exit status 1

----------------------------------------------------------------------
Ran 1 test in 0.830s

FAILED (errors=1)

The problem appears to be related to: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=753134

Maybe for this PR we could disable the -flto flag and revisit this in the future when we have more information about where -flto works in practice.

The same problem occurred on gcc-5 too.

Ok, it looks like -flto may still be quite buggy... (surprising, as it works fine for me with gcc 4.9.2 on Ubuntu 15.04... perhaps they backported additional patches).
I'll file a separate PR to disable it.


Extend ApiGatewayResolver functionality to support splitting routes into multiple files

Is your feature request related to a problem? Please describe.
I've been trying out the functionality of ApiGatewayResolver and it's working great for my needs; however it doesn't support splitting the individual routes into different files.
Describe the solution you'd like
Mirroring the style of Flask, I'd like to use a proxy object which can replicate the original @app.route decorator; and can later be used to apply the routes onto the original app.
Describe alternatives you've considered
The only simple alternative that I can see currently available is to keep all of the routes defined in the main handler file.
Additional context
I wrote a concise implementation that is working well for me; I'll submit it as a PR to get some input.

@BVMiko - this is a cool idea.  But i can see where splitting things up makes things flexible.
I have kind of done the opposite myself.  Kept all of the routes on the main lambda and then reference imported services.
eg:
from aws_lambda_powertools.event_handler.api_gateway import ApiGatewayResolver
from . import FooService, BarService

app = ApiGatewayResolver()
foo_service = FooService()
bar_service = BarService()

@app.get("/foo")
def get_foo():
    return foo_service.foo()

@app.get("/bar")
def get_bar():
    return bar_service.bar()


[Question] Type hints?

Checklist

[x] I'm asking a question
[x] I've looked through the README and FAQ for similar questions
[x] I've searched the bugtracker for similar questions including closed ones

Question
I know this is a fork, and I'm wondering if you plan to regularly update from youtube-dl, but youtube-dl still supports ancient Python and can be a bit tricky to contribute to because of all the workaround functions that need to be used. I think type hints and static type checking (Mypy) can help in this regard. And perhaps, some bugs would be caught before an issue gets filed. A CI task for any new PR can be a static type check, which should give fairly high confidence that the code will work.
Are you interested in making such a change? Much of it would be regex based. This also means the core stuff like _real_extract() is not going to be allowed to change very often. But I think this is okay as it has been stable for a long time.
Type hints would also mean dropping support for Python < 3.6 and possibly 3.7 because of improvements in the type system. In fact 3.9 is best because it removes most of the extra imports (no typing.List, simply use list built-in).
On the ancient Python versions like 2.6/2.7, nobody should be using these as they are far past their time for support.

this is off topic: i wanted to add some thoughts around making a fork of youtube-dl in such a way that it is easy to merge.  could help consolidate the developer effort.  i'm interested in typehints and would enjoy adding them, but right now with so muhc fragmentation i'm skeptical that it is a good investment.

This is out of scope for now. Python 2 should still be officially supported till beginning of next year. After that Python 2 Support will be not guaranteed (but may still work).