What is the caching of my module? Python or Fusion360?

I am developing a script for Fusion360 with Python. I have two files and main protocol.

# Helper_Log.py
import adsk.core, adsk.fusion, adsk.cam, traceback
from Helper_Fusion Import Fusion as myFusions


Class counter ():
def __init __ (self):
self.message = 0
self.error = 0
self.exeption = 0


_flags = {
& # 39; logToMessageBox & # 39 ;: False,
& # 39; logToConsole & # 39 ;: right
}

_counter = Counter ()
_ui = None
_app = None



def logError (message):
global _counter
_counter.error + = 1
Log (& # 39 ;: __ error # {} ___: {} & # 39; format (_counter.error, message))

def logtExeption ():
global _counter
_counter.exe option + = 1
log (& # 39 ;: __ exception # {} ___: failed:  n {} & # 39; format (_counter.exeption, traceback.format_exc ())


def logMessage (message):
global _counter
_counter.message + = 1
Log (& # 39 ;: __ message # {} ___: {} & # 39; format (_counter.message, message))




def log (message):
if_flags['logToMessageBox']:
__showInMessageBox (message)
if_flags['logToConsole']:
__showInConsole (message)


def __checkUi ():
global _ui, _app
if not _ui:
_ui = myFusions.getUi (_app)
if not _ui:
return incorrectly
otherwise:
return true
otherwise:
return true

def __showInMessageBox (message):
if __checkUi ():
_ui.messageBox (message)

def __showInConsole (message):
Print (message)



# AddOn.py
Import sys, os
sys.path.append (C: \ user \ user \ AppData \ roaming \ Autodesk \ Autodesk Fusion 360 \ API \ MyHelpers & # 39;)


import adsk.core, adsk.fusion, adsk.cam, traceback
import Helper_Log as myLogger

Counter = 0


def run (context):
global counter
Counter + = 1
myLogger.logMessage (counter)

If I run the script multiple times, those are the results:

>>>: __ Message # 1 ___: 1
>>>: __ message # 2 ___: 1
>>>: __ Message # 3 ___: 1
>>>: __ Message # 4 ___: 1

The counter of main.py resets every execution, but the log counter does not. Even if I change the log file and run the script, the new code will not run until I restart Fusion.
Can someone tell me what happens?

I'm using the Spyder IDE that came with Fusion360.

8 – Configuration and documentation of the scheduling module

I have successfully installed the module but am having trouble configuring the usage.

I have an ENTITY / FIELD DEFINITION error, although I updated entities from drush. This shows me that they need to be installed, but no action is taken. According to protocols, I see that the DB tables are not created and as a result there are errors at each level
I can not access the applicants and appointment lists, and I can not manage appointments for the selected content type node. gives another mistake.

See the error text

The site has an unexpected error. Please try again later.
TypeError: Pass argument 1
Drupal webprofiler Views ViewExecutableFactoryWrapper :: get ()
implement interface Drupal views ViewEntityInterface, given null,
called in
/var/www/html/edu.local/public_html/site/web/modules/contrib/appointments/src/Controller/AppointmentsManagementController.php
on the line 94 in
Drupal webprofiler Views ViewExecutableFactoryWrapper-> get () (line 33
from
modules / contrib / devel / webprofiler / src / Views / ViewExecutableFactoryWrapper.php).
Drupal webprofiler Views ViewExecutableFactoryWrapper-> get (NULL)
(Line: 94)
Drupal terminals controller appointmentmanagementcontroller-> terminlistecontent (& # 39; 3 & # 39;)
call_user_func_array (array, array) (line: 123)
Drupal Core EventSubscriber EarlyRenderingControllerWrapperSubscriber-> Drupal Core EventSubscriber {closure} ()
(Line: 582)
Drupal Core Render Renderer-> executeInRenderContext (object, object)
(Line: 124)
Drupal Core EventSubscriber EarlyRenderingControllerWrapperSubscriber-> wrapControllerExecutionInRenderContext (array,
Array) (line: 97)
Drupal Core EventSubscriber EarlyRenderingControllerWrapperSubscriber-> Drupal Core EventSubscriber {closure} ()
(Line: 151) Symfony Component HttpKernel HttpKernel-> handleRaw (Object,
1) (line: 68) Symfony Component HttpKernel HttpKernel-> handle (Object,
1, 1) (line: 57) Drupal Core StackMiddleware Session-> handle (Object,
1, 1) (line: 47)
Drupal Core StackMiddleware KernelPreHandle-> handle (Object, 1, 1)
(Line: 106) Drupal page_cache StackMiddleware PageCache-> pass (Object,
1, 1) (line: 85)
Drupal page_cache StackMiddleware PageCache-> handle (Object, 1, 1)
(Line: 47)
Drupal Core StackMiddleware ReverseProxyMiddleware-> handle (Object, 1,
1) (line: 38)
Drupal webprofiler StackMiddleware WebprofilerMiddleware-> handle (Object,
1, 1) (line: 52)
Drupal Core StackMiddleware NegotiationMiddleware-> handle (Object, 1,
1) (line: 23) Stack StackedHttpKernel-> handle (object, 1, 1) (line:
693) Drupal Core DrupalKernel-> handle (Object) (line: 19)

Error in the log

Type php Date Friday, June 21, 2019 – 18:36 User eduadmin
Location http: //edu.local/node/3/appointments_management
Reference http: //edu.local/node/3/revisions Message TypeError: Argument
I went to
Drupal webprofiler Views ViewExecutableFactoryWrapper :: get ()
implement interface Drupal views ViewEntityInterface, given null,
called in
/var/www/html/edu.local/public_html/site/web/modules/contrib/appointments/src/Controller/AppointmentsManagementController.php
on the line 94 in
Drupal webprofiler Views ViewExecutableFactoryWrapper-> get () (line 33
from
/var/www/html/edu.local/public_html/site/web/modules/contrib/devel/webprofiler/src/Views/ViewExecutableFactoryWrapper.php)
# 0 /var/www/html/edu.local/public_html/site/web/modules/contrib/appointments/src/Controller/AppointmentsManagementController.php(94):
Drupal webprofiler Views ViewExecutableFactoryWrapper-> get (NULL) # 1
[internal function]:
Drupal terminals controller appointmentmanagementcontroller-> terminlistecontent (& # 39; 3 & # 39;)
# 2 /var/www/html/edu.local/public_html/site/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php (123):
call_user_func_array (array, array) # 3
/var/www/html/edu.local/public_html/site/web/core/lib/Drupal/Core/Render/Renderer.php(582):
Drupal Core EventSubscriber EarlyRenderingControllerWrapperSubscriber-> Drupal Core EventSubscriber {closure} ()
# 4 /var/www/html/edu.local/public_html/site/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php (124):
Drupal Core Render Renderer-> executeInRenderContext (Object (Drupal Core Render RenderContext),
Object (completion) # 5
/var/www/html/edu.local/public_html/site/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(97):
Drupal Core EventSubscriber EarlyRenderingControllerWrapperSubscriber-> wrapControllerExecutionInRenderContext (array,
Array) # 6
/var/www/html/edu.local/public_html/site/vendor/symfony/http-kernel/HttpKernel.php(151):
Drupal Core EventSubscriber EarlyRenderingControllerWrapperSubscriber-> Drupal Core EventSubscriber {closure} ()
# 7 /var/www/html/edu.local/public_html/site/vendor/symfony/http-kernel/HttpKernel.php(68):
Symfony Component HttpKernel HttpKernel-> handleRaw (object (Symfony Component HttpFoundation Request),
1) # 8
/var/www/html/edu.local/public_html/site/web/core/lib/Drupal/Core/StackMiddleware/Session.php(57):
Symfony Component HttpKernel HttpKernel-> handle (object (Symfony Component HttpFoundation Request),
1, true) # 9
/var/www/html/edu.local/public_html/site/web/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(47):
Drupal Core StackMiddleware Session-> handle (object (Symfony Component HttpFoundation Request),
1, true) # 10
/var/www/html/edu.local/public_html/site/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(106):
Drupal Core StackMiddleware KernelPreHandle-> handle (object (Symfony Component HttpFoundation Request),
1, true) # 11
/var/www/html/edu.local/public_html/site/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(85):
Drupal page_cache StackMiddleware PageCache-> pass (object (Symfony Component HttpFoundation Request),
1, true) # 12
/var/www/html/edu.local/public_html/site/web/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(47):
Drupal page_cache StackMiddleware PageCache-> handle (object (Symfony Component HttpFoundation Request),
1, true) # 13
/var/www/html/edu.local/public_html/site/web/modules/contrib/devel/webprofiler/src/StackMiddleware/WebprofilerMiddleware.php(38):
Drupal Core StackMiddleware ReverseProxyMiddleware-> handle (object (Symfony Component HttpFoundation Request),
1, true) # 14
/var/www/html/edu.local/public_html/site/web/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(52):
Drupal webprofiler StackMiddleware WebprofilerMiddleware-> handle (object (Symfony Component HttpFoundation Request),
1, true) # 15
/var/www/html/edu.local/public_html/site/vendor/stack/builder/src/Stack/StackedHttpKernel.php(23):
Drupal Core StackMiddleware NegotiationMiddleware-> handle (object (Symfony Component HttpFoundation Request),
1, true) # 16
/var/www/html/edu.local/public_html/site/web/core/lib/Drupal/Core/DrupalKernel.php(693):
Stack StackedHttpKernel-> handle (object (Symfony Component HttpFoundation Request),
1, true) # 17
/var/www/html/edu.local/public_html/site/web/index.php(19):
Drupal Core DrupalKernel-> handle (object (Symfony Component HttpFoundation Request))
# 18 {main}.

In that sense: Do I have to install the Bat module for your module to work properly? Maybe I missed something during the installation?

Need some advice to get ahead,
I have addressed a problem with the module, but no participant answers
https://www.drupal.org/project/appointments/issues/3063371

magento2 – Magento 2 Module Observer Sequence order and sales order event

We have two modules that trigger the same event: checkout_submit_all_after.But I have to give a preference for this, I tried to give sequence in module b, but it does not work. For Ex module A and module B triggers the same event, but module B triggers First, it's my request to trigger module A, and after module B, there's a way I can do this. And what are the events that are triggered when the order placed over cron jobs is placed by crons? .Please give me a solution for going forward.
Thank you

Module – How do I remove GraphQL from Magento 2.3?

You may be able to remove it from your Magento 2.3 by installing the following package:

Composer need yireo / magento2-replace-graphql: 2.3.1

OR

You can specify the packages to remove in yours composer.jsonas you can see below.

"replace": {
"magento / module-bundle-graph-ql": "*",
"magento / module-catalog-graph-ql": "*",
"magento / module-catalog-inventory-graph-ql": "*",
"magento / module-catalog-url-rewrite-graph-ql": "*",
"magento / module-cms-graph-ql": "*",
"magento / module-cms-url-rewrite-graph-ql": "*",
"magento / module-configure-product-graph-ql": "*",
"magento / module-customer-graph-ql": "*",
"magento / module-directory-graph-ql": "*",
"magento / module-downloadable-graph-ql": "*",
"magento / module-eav-graph-ql": "*",
"magento / module-graph-ql": "*",
"magento / module-grouped-product-graph-ql": "*",
"magento / module-theme-graph-ql": "*",
"magento / module-quote-graph-ql": "*",
"magento / module-sales-graph-ql": "*",
"magento / module-send-friend-graph-ql": "*",
"magento / module-store-graph-ql": "*",
"magento / module-swatches-graph-ql": "*",
"magento / module-tax-graph-ql": "*",
"magento / module-url-rewrite-graph-ql": "*",
"magento / module-weee-graph-ql": "*",
"magento / module-wishlist-graph-ql": "*"
},

Magento 2 Custom module default.xml CSS is not called

I have my module files like this

app / code / Vendor / GeoIp / view / frontend / layout / default.xml



    
        
    

My CSS file under the following path

app / code / Vendor / GeoIp / view / frontend / web / css / popup.css

Other code of the module works fine, I have emptied the cache, s: upgrade, s: s: d often, but it does not work.

I can not find any mistakes in the code above. What is wrong?

Coding problem SMS Framework module with Nexmo SMS

I use this SMS Framework module with Nexmo SMS Gateway, but I had a problem coding messages. I have to send messages to Sweden and the MENA countries.

Is there an update to fix this problem, even in hard code like "type = unicode" and where needs to be added.

https://www.drupal.org/project/nexmo/issues/3063168#comment-13155705
https://www.drupal.org/project/smsframework/issues/3063167#comment-13155706

Greetings,

ImportError: No module named & # 39; openpyxl & # 39; … Python raspberry … this raspberry bug seems to work well on my micro … what can it be?

I made a small program in Python to use with raspberry. I tested it and it worked well pip install openpyxl ……… no note works well on raspberry this error appears below:

Python 3.5.3 (default, September 27, 2018, 17:25:39)
[GCC 6.3.0 20170516] under Linux
Enter "copyright", "credits" or "license ()" for more information.

======== RESTART: / home / pi / Documents / Python Works / TestingTkinter.py ========
Tracing (last call last):
File "/ home / pi / Documents / Python Works / TestingTkinter.py", line 5, in
import openpyxl
ImportError: No module named & # 39; openpyxl & # 39;

8 – Skip a form step programmatically in the simple_multistep module

I try to use the Simple Multistep module to skip a step in the form of a multi-level node. I tried to follow the snippet, which works pretty well to skip a step.

$ skipStep = $ form_state-> get (& # 39; multistep_controller & # 39;);
$ skipStep-> raiseStep ();
$ form_state-> setRebuild ();

However, there is a problem if you click the back button and do not return,

I've been searching a lot, but no luck, does anyone have an idea?