|
View:
New views
5 Messages
—
Rating Filter:
Alert me
|
|
|
namespace_unload issuesI've ended up in the tricky situation of not being able to unload a
namespace. The namespace actn_ was created at startup and can not be unloaded or it contains unloadable namespaces or tags. Is there anyway can tell what namespaces were loaded at startup? I thought there was a $__global_namespaces__ global or something built into Lasso. Anyone know the best way to track this? I've check all the other site folders and it seems like it might be a problem with the tags and types themselves. Everything is defined as -namespace='actn'. Is there an easy way to track what's going on here? Any suggestions would be greatly appreciated? Many thanks, Adam -- This list is a free service of LassoSoft: http://www.LassoSoft.com/ Search the list archives: http://www.ListSearch.com/Lasso/Browse/ Manage your subscription: http://www.ListSearch.com/Lasso/ |
|
|
Re: namespace_unload issuesUnless a tag needs to be -privileged, I find it much more convenient
to load tags from outside of the startup folder. That way the files can reside alongside the rest of your project, and they're easy to refresh as needed without restarting the site. http://devblog.jasonhuck.com/2008/04/10/using-namespaces-to-load-lasso-tags-into-memory/ - jason On Thu, Jul 2, 2009 at 11:45 AM, Adam de Zoete<lists@...> wrote: > I've ended up in the tricky situation of not being able to unload a > namespace. > > The namespace actn_ was created at startup and can not be unloaded or it > contains unloadable namespaces or tags. > > Is there anyway can tell what namespaces were loaded at startup? I thought > there was a $__global_namespaces__ global or something built into Lasso. > Anyone know the best way to track this? > > I've check all the other site folders and it seems like it might be a > problem with the tags and types themselves. Everything is defined as > -namespace='actn'. > > Is there an easy way to track what's going on here? Any suggestions would be > greatly appreciated? > > Many thanks, > > Adam > > -- > This list is a free service of LassoSoft: http://www.LassoSoft.com/ > Search the list archives: http://www.ListSearch.com/Lasso/Browse/ > Manage your subscription: http://www.ListSearch.com/Lasso/ > > > -- tagSwap.net :: Open Source Lasso Code <http://tagSwap.net/> -- This list is a free service of LassoSoft: http://www.LassoSoft.com/ Search the list archives: http://www.ListSearch.com/Lasso/Browse/ Manage your subscription: http://www.ListSearch.com/Lasso/ |
|
|
Re: namespace_unload issuesI had a quick read and looks like a viable alternative. For the site
with the issue, I had all my tags under SVN in a folder alongside my web root. They were symlinked into the LassoSite lassoLibraries folder. In a config file for the site i'd just unload a namespace at the top if I was working with it. Worked for years, but not today! Thanks for the tag and the suggestions. Adam Jason Huck wrote: > Unless a tag needs to be -privileged, I find it much more convenient > to load tags from outside of the startup folder. That way the files > can reside alongside the rest of your project, and they're easy to > refresh as needed without restarting the site. > > http://devblog.jasonhuck.com/2008/04/10/using-namespaces-to-load-lasso-tags-into-memory/ > > - jason > > > > > > > On Thu, Jul 2, 2009 at 11:45 AM, Adam de Zoete<lists@...> wrote: >> I've ended up in the tricky situation of not being able to unload a >> namespace. >> >> The namespace actn_ was created at startup and can not be unloaded or it >> contains unloadable namespaces or tags. >> >> Is there anyway can tell what namespaces were loaded at startup? I thought >> there was a $__global_namespaces__ global or something built into Lasso. >> Anyone know the best way to track this? >> >> I've check all the other site folders and it seems like it might be a >> problem with the tags and types themselves. Everything is defined as >> -namespace='actn'. >> >> Is there an easy way to track what's going on here? Any suggestions would be >> greatly appreciated? >> >> Many thanks, >> >> Adam >> >> -- >> This list is a free service of LassoSoft: http://www.LassoSoft.com/ >> Search the list archives: http://www.ListSearch.com/Lasso/Browse/ >> Manage your subscription: http://www.ListSearch.com/Lasso/ >> >> >> > > > -- This list is a free service of LassoSoft: http://www.LassoSoft.com/ Search the list archives: http://www.ListSearch.com/Lasso/Browse/ Manage your subscription: http://www.ListSearch.com/Lasso/ |
|
|
Re: namespace_unload issuesPrototyped ctypes can't be unloaded, it seems. In case your namespace
contains prototypes. On Thu, Jul 2, 2009 at 6:43 PM, Adam de Zoete<lists@...> wrote: > I had a quick read and looks like a viable alternative. For the site with > the issue, I had all my tags under SVN in a folder alongside my web root. > They were symlinked into the LassoSite lassoLibraries folder. In a config > file for the site i'd just unload a namespace at the top if I was working > with it. Worked for years, but not today! Thanks for the tag and the > suggestions. > > Adam > > > Jason Huck wrote: >> >> Unless a tag needs to be -privileged, I find it much more convenient >> to load tags from outside of the startup folder. That way the files >> can reside alongside the rest of your project, and they're easy to >> refresh as needed without restarting the site. >> >> >> http://devblog.jasonhuck.com/2008/04/10/using-namespaces-to-load-lasso-tags-into-memory/ >> >> - jason >> >> >> >> >> >> >> On Thu, Jul 2, 2009 at 11:45 AM, Adam de Zoete<lists@...> wrote: >>> >>> I've ended up in the tricky situation of not being able to unload a >>> namespace. >>> >>> The namespace actn_ was created at startup and can not be unloaded or it >>> contains unloadable namespaces or tags. >>> >>> Is there anyway can tell what namespaces were loaded at startup? I >>> thought >>> there was a $__global_namespaces__ global or something built into Lasso. >>> Anyone know the best way to track this? >>> >>> I've check all the other site folders and it seems like it might be a >>> problem with the tags and types themselves. Everything is defined as >>> -namespace='actn'. >>> >>> Is there an easy way to track what's going on here? Any suggestions would >>> be >>> greatly appreciated? >>> >>> Many thanks, >>> >>> Adam >>> >>> -- >>> This list is a free service of LassoSoft: http://www.LassoSoft.com/ >>> Search the list archives: http://www.ListSearch.com/Lasso/Browse/ >>> Manage your subscription: http://www.ListSearch.com/Lasso/ >>> >>> >>> >> >> >> > > > -- > This list is a free service of LassoSoft: http://www.LassoSoft.com/ > Search the list archives: http://www.ListSearch.com/Lasso/Browse/ > Manage your subscription: http://www.ListSearch.com/Lasso/ > > > -- Mvh Johan Sölve ____________________________________ Montania System AB Halmstad Stockholm Malmö http://www.montania.se Johan Sölve Mobil +46 709-51 55 70 johan@... Kristinebergsvägen 17, S-302 41 Halmstad, Sweden Telefon +46 35-136800 | Fax +46 35-136801 -- This list is a free service of LassoSoft: http://www.LassoSoft.com/ Search the list archives: http://www.ListSearch.com/Lasso/Browse/ Manage your subscription: http://www.ListSearch.com/Lasso/ |
|
|
Re: namespace_unload issuesI can't find any in there. I think i'll use Jason's tag, it looks good
and seems to handle errors when loading into the global namespace. That should detect where the problem lies. Johan Solve wrote: > Prototyped ctypes can't be unloaded, it seems. In case your namespace > contains prototypes. -- This list is a free service of LassoSoft: http://www.LassoSoft.com/ Search the list archives: http://www.ListSearch.com/Lasso/Browse/ Manage your subscription: http://www.ListSearch.com/Lasso/ |
| Free embeddable forum powered by Nabble | Forum Help |