Debugging routing issue in Netbox plugin (Django) - django

I'm trying to debug a new plugin I'm writing for Netbox. But I'm currently stuck at the error.
'netbox_redfish' is not a registered namespace inside 'plugins'
There is a stack trace but it isn't pointing to the line of code which is causing the error.
Code can be found here: https://github.com/accelleran/netbox_redfish
Thanks

Related

Plugin build with C++/Juce - Crashed validation in LogicProX

I'm completely new to this but I'm taking a course in Audio Plugin Development as a way to try and improve my understanding of C++. I've hit a wall quite early where the plugin caused Logic to crash. I'm using Xcode and Juce and when I got to this point in Xcode and built the plugin, it said 'build succeeded' and opened Logic, which then crashed, directing me back to this line of code
thread 1: breakpoint1.1
If I open Logic independently without Xcode, it's not crashing, but when I reset and rescan plugins, I get a crashed validation for that plugin
Logic: crashed validation
I don't fully understand where it's directing me to or where the problem is, I retraced my steps in following the directions in the course and I think I've done everything correctly. In the previous step I did the initial build of the plugin and that worked fine, without any crashes.
I've tried deleting breakpoints and running again but it's still the same problem. As I say, I'm very new to this so could be something very simple but any help would be great. Thanks a lot

"Unable to open file libc++abi.dylib". Program builds, but crashes upon being run. Using xcode 10.1 (10B61)

newbie here. I am following along this SFML flappy bird tutorial. I am currently stuck at this portion of stage creation where a "Splash State" (or logo loading screen) is made. The code of which is exactly the same as what is shown here.
I am using xcode 10.1.
The project builds. But when I tried running it, it crashes and I am greeted with the following:
Failed to load image "Resouces/res/Splash Background.png". Reason: Unable to open file
libc++abi.dylib: terminating with uncaught exception of type std::out_of_range: map::at: key not found
(lldb)"
If I understand it correctly, it's saying it cannot perform the action of loading the image at the aforementioned path because it is not able to open "libc++abi.dylib". And now the program is being terminated. (please help me understand this problem better by either confirming or correcting me here).
When I tried looking for "libc++abi.dylib", it is missing. Instead, I can only find "libc++abi.td".
This thread says to add that under Link Binary With Libraries. That did not produce any result.
The tutorial shows that the code runs and a "Splash State" or logo screen is expected to appear. Instead my program crashes and I am greeted with the aforementioned error.
I was wondering if anyone else ran into similar issues?
It's solved. It is made by a typo on my end... sorry.
I'll try my best to explain it here for those of you who may have the same issues:
The game asset is governed by a map, which is a private member variable of a "AssetManager" class. The typo is at the file path. Because of this, the map never inserted the key since the file path isn't valid.
When the map is later accessed, it would be out of range since nothing ever got inserted (since the asset did not load).
Basically, the error of not being to open "libc++abi.dylib" is caused by the map being out of range.

C++ Builder XE7: Using TChart in packages

I am confronted with a weird situation and I couldn't find any informations about this yet.
I have postet this issue allready on the new Embarcadero community forum but I'm not very hopeful that I will get an answer there... So I decided to create a new account here.
http://community.embarcadero.com/index.php/forum/tools/336-c-builder-xe7-and-teechart-standard)
I use the TChart component which is shiped with the IDE of XE7 (like in older versions). When I
use it in a package (.dll or .bpl) I get an access violation when I dynamically load, unload, and reload (reloading is the problem) the package wich contains a form with a chart in it. I looked at the loaded packages with a process monitoring tool and everything seems to be allright. The Tee9210.bpl is loaded successfully. When compiling the projects with /XE6 this error doesn't occur.
I could reproduce this on a second environement so I don't think its an issue of my installation/pc.
Can anybody reproduce this? I could provide a test project if needed.
Thank you in advance.
Kerem
Edit:
Access Violation when loading the bpl the second time:
Exception class: $C0000005
Message: 'access violation at 0xeeffeeff: access of address 0xeeffeeff'
I noticed that when I try to load the bpl again after this message I get a different exception:
Exception class: $C0000005
Message: 'access violation at 0x503230cf: read of address 0x00000000'
Sorry for posting the same question on two pages, but I wasn't sure if the new embarcadero
forum is popular enough to expect an answer from there.
But fortunately Yeray from Steema is active there, too. And I hope the solution could be read on the following link soon.
http://community.embarcadero.com/index.php/forum/tools/336-c-builder-xe7-and-teechart-standard

Stack size too large error when compiling site from the Web Administrator

I am attempting to compile our site from the Railo Web Administrator on a new build server we have just configured. It has the latest installation of Railo 3 that was installed using the Helicon Zoo web installer. When I attempt to compile I receive the following error:
(class: admin/applications/appbuilder_create_app_cfm$cf, method: _call000005 signature:
(Lrailo/runtime/PageContext;)V) Stack size too large, Error Occurred in File
[C:\inetpub\wwwroot\Version120Daily\Admin\Applications\appbuilder_create_app.cfm:46]
The file and line number point to the middle of a large SQL insert statement. I have also played around with the Java memory variables for the Java instance that the Railo process runs under with no success. Currently the settings look like this: -Xms256M -Xmx512M -Xss1m However, I have attempted to increase the Xss up to as much as 128m.
Has anyone else encountered a similar problem or does anyone know what might cause this error to occur. I would appreciate any help someone can offer.

Intraweb class not found at runtime

I've beenworking with the IntraWeb framework on Borland C++Builder. Sometimes it happens that an application crashes because of a strange uncaught exception:
An unhandled application error has occured within My IntraWeb Application.
...
Error message raised by the application: Class TIWTimer not found
This happens when a new session is started. For example, by entering the address in a browser.
Also, the message appears in the classic IntraWeb error web page
The class that cannot be found is either TIWTimer or TIWButton but I think this is irrelevant.
The problem seems to occur randomly and sometimes goes away with a rebuild, but other times it will go away by rewriting the code or starting from a new project.
So, the question is, how come the link error is not found at link-time?
Why does it occur at all, since those classes belong to the standard IW library?
Has anyone had the same issue?
How can it be solved?
Use Intraweb XII in C++Builder XE2, it has good improvement and bug fixes.
in this version you can assign urls to forms, for example:
myhost/login.htm or myhost/login.aspx
for more information see this