Language: PowerShell(or any), OS: Windows XP sp3 2GB, PrimalScript 2012 6.5.119, Hardware: Dell optiplex 755
Object Browser, select PowerShell -> problem
(like: instruction at xxblaxx referenced memory at 0x0000000. The memory could not be "written", Ok to terminate) Once had an immediate exit without error message.
Same machine same scenario, PrimalScript 2011 6.0.172 -> no problem.
Thanks for your time,
Peter
Object Browser on PowerShell
Forum rules
DO NOT POST LICENSE NUMBERS, ACTIVATION KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
DO NOT POST LICENSE NUMBERS, ACTIVATION KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
- Alexander Riedel
- Posts: 8478
- Last visit: Tue Mar 26, 2024 8:52 am
- Been upvoted: 37 times
Object Browser on PowerShell
Does this folder: C:Documents and SettingsAll UsersApplication DataSAPIENCachedData 2012exist on your machine and if so, what files are in it?
Alexander Riedel
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.
Object Browser on PowerShell
That folder exists and has:
25/04/2012 09:33 14,901 PowerShell32.Alias.Cache25/04/2012 09:33 432,574 PowerShell32.Cmdlet.Cache25/04/2012 09:33 475 PowerShell32.Modules.Cache25/04/2012 09:33 0 PowerShell32.Snapins.Cache25/04/2012 09:33 1,111,952 PowerShell32.Syntax.Cache 6 File(s) 1,559,902 bytesThe 2011 version (just cacheddata) has:
19/04/2012 12:37 17,150 PowerShell32.Alias.Cache19/04/2012 12:36 1,176,179 PowerShell32.Cmdlet.Cache 3 File(s) 1,193,329 bytes
btw the help function does not work: File - Options - Help: failed to launch help. Not very important.
Thanks,
Peter
25/04/2012 09:33 14,901 PowerShell32.Alias.Cache25/04/2012 09:33 432,574 PowerShell32.Cmdlet.Cache25/04/2012 09:33 475 PowerShell32.Modules.Cache25/04/2012 09:33 0 PowerShell32.Snapins.Cache25/04/2012 09:33 1,111,952 PowerShell32.Syntax.Cache 6 File(s) 1,559,902 bytesThe 2011 version (just cacheddata) has:
19/04/2012 12:37 17,150 PowerShell32.Alias.Cache19/04/2012 12:36 1,176,179 PowerShell32.Cmdlet.Cache 3 File(s) 1,193,329 bytes
btw the help function does not work: File - Options - Help: failed to launch help. Not very important.
Thanks,
Peter
- Alexander Riedel
- Posts: 8478
- Last visit: Tue Mar 26, 2024 8:52 am
- Been upvoted: 37 times
Object Browser on PowerShell
Hmm, maybe there is something in your cache that causes this.Could you zip the PrimalScript 2012 cache files and email the zip to support@sapien.com?
Alexander Riedel2012-04-26 11:48:36
Alexander Riedel2012-04-26 11:48:36
Alexander Riedel
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.
- Alexander Riedel
- Posts: 8478
- Last visit: Tue Mar 26, 2024 8:52 am
- Been upvoted: 37 times
Object Browser on PowerShell
Ok, I got the file and was able to produce the crash. Preventing that is easy and will be included in the next service build.The problem though is that your cache file simply is incomplete and corrupted, which caused the crash. So either Cachebuilder was interrupted ( simply delete all the files in the cache folder to reset) or some module threw the cachebuilder into an exception. if rebuilding the cache does not help, please run get-module -listavailable and let me know what the list says.
Alexander Riedel
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.
Object Browser on PowerShell
Emptying the cache leads to a predictable:
...CachedData 2012PowerShell32.Cmdlet.Cache was not found.
Each time you try to expand PowerShell in the Object browser it adds a 32 Bit entry:
Looking at the cache folder again:
Directory of C:Documents and SettingsAll UsersApplication DataSAPIENCachedData 2012
27/04/2012 10:09 <DIR> .27/04/2012 10:09 <DIR> ..27/04/2012 10:20 0 list.txt27/04/2012 09:58 14,901 PowerShell32.Alias.Cache27/04/2012 09:58 432,574 PowerShell32.Cmdlet.Cache27/04/2012 09:58 475 PowerShell32.Modules.Cache27/04/2012 09:58 0 PowerShell32.Snapins.Cache27/04/2012 09:58 1,111,952 PowerShell32.Syntax.Cache 6 File(s) 1,559,902 bytes 2 Dir(s) 21,745,594,368 bytes freeExit PrimalScript and start again: same error as before.
So it seems that whatever is generating the cache files is, generates corrupt files. Comparing the files with the "old" cache files does not show differences.
The results of get-module:
PS C:windowssystem32windowspowershellv1.0> get-module -listavailable
ModuleType Name ExportedCommands---------- ---- ----------------Manifest BitsTransfer {}Script BSActiveDirectory {}Script BSADS {}Script BSGeneral {}Script BSKMS {}Manifest BSNetwork {}Script BSOS {}Script BSOther {}Script BSPagingFile {}Script BSRegistry {}Script BSRemoteDesktop {}Script BSShare {}Manifest BSonPosh {}Script PAMADSNAPSHOT {}Script PAMDisks {}Script PAMEnv {}Script PAMLOAD {}Script PAMMath {}Script PAMRestorePoint {}Script PAMShares {}Script PAMStability {}Script PAMSysInfo {}Manifest Pscx {}Manifest PSRemoteRegistry {}Manifest ShowUI {}Binary Wasp {}
This does not look wrong to me.
Would replacing the cache files with the 2011 version do any good?
...CachedData 2012PowerShell32.Cmdlet.Cache was not found.
Each time you try to expand PowerShell in the Object browser it adds a 32 Bit entry:
Looking at the cache folder again:
Directory of C:Documents and SettingsAll UsersApplication DataSAPIENCachedData 2012
27/04/2012 10:09 <DIR> .27/04/2012 10:09 <DIR> ..27/04/2012 10:20 0 list.txt27/04/2012 09:58 14,901 PowerShell32.Alias.Cache27/04/2012 09:58 432,574 PowerShell32.Cmdlet.Cache27/04/2012 09:58 475 PowerShell32.Modules.Cache27/04/2012 09:58 0 PowerShell32.Snapins.Cache27/04/2012 09:58 1,111,952 PowerShell32.Syntax.Cache 6 File(s) 1,559,902 bytes 2 Dir(s) 21,745,594,368 bytes freeExit PrimalScript and start again: same error as before.
So it seems that whatever is generating the cache files is, generates corrupt files. Comparing the files with the "old" cache files does not show differences.
The results of get-module:
PS C:windowssystem32windowspowershellv1.0> get-module -listavailable
ModuleType Name ExportedCommands---------- ---- ----------------Manifest BitsTransfer {}Script BSActiveDirectory {}Script BSADS {}Script BSGeneral {}Script BSKMS {}Manifest BSNetwork {}Script BSOS {}Script BSOther {}Script BSPagingFile {}Script BSRegistry {}Script BSRemoteDesktop {}Script BSShare {}Manifest BSonPosh {}Script PAMADSNAPSHOT {}Script PAMDisks {}Script PAMEnv {}Script PAMLOAD {}Script PAMMath {}Script PAMRestorePoint {}Script PAMShares {}Script PAMStability {}Script PAMSysInfo {}Manifest Pscx {}Manifest PSRemoteRegistry {}Manifest ShowUI {}Binary Wasp {}
This does not look wrong to me.
Would replacing the cache files with the 2011 version do any good?
- Alexander Riedel
- Posts: 8478
- Last visit: Tue Mar 26, 2024 8:52 am
- Been upvoted: 37 times
Object Browser on PowerShell
Sorry, I should have added that you need to exit PrimalScript before deleting the files and wait for the cachebuilder32.exe process to finish after restarting it.And no, the 2011 files are different. From your cache files it seems to fail on the BSonPosh module.Where can I get a copy of this for testing?
Alexander Riedel
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.
Object Browser on PowerShell
Fair enough, i waited for cahchebuilder to finish and the "cache was not found message" is gone.
Source of BSonPosh module:
http://archive.msdn.microsoft.com/bsonposh
http://bsonposh.com/
You probably found that as well.
When needed i can remove that module.
Source of BSonPosh module:
http://archive.msdn.microsoft.com/bsonposh
http://bsonposh.com/
You probably found that as well.
When needed i can remove that module.
- Alexander Riedel
- Posts: 8478
- Last visit: Tue Mar 26, 2024 8:52 am
- Been upvoted: 37 times
Object Browser on PowerShell
I got the file and will investigate tomorrrow where it gets stuck. Thanks!
Alexander Riedel
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.
Object Browser on PowerShell
Thanks, the 6.5.120 version solved it all.
The changes introduced some cosmetic problems in the webbrowser part. That interface can remain even in script editing:
For me that is no issue, in normal usage the webbrowser part is not used.
Thanks again for the object browser fix.
The changes introduced some cosmetic problems in the webbrowser part. That interface can remain even in script editing:
For me that is no issue, in normal usage the webbrowser part is not used.
Thanks again for the object browser fix.