-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Couldn't run RawTools on Windows 7 #5
Comments
Hello, Thanks for bringing up the issue. I think windows might be blocking the file, though I'm not sure. This isn't something we have encountered, but we haven't done much testing on Windows 7. Try this:
If that doesn't work, see if there is a similar option in the properties of the .dll files in the directory. To be sure, is your .NET version 4.6.2 or greater? Kevin |
Thanks for your quick reply. The ,NET version is 4.6.2 C:RawTools1.3.2>RawTools.exe parse -f ch_23Aug2018_HeLa_Std_1.raw -x Processing: ch_23Aug2018_HeLa_Std_1.raw Unhandled Exception: System.NullReferenceException: Object reference not set to |
Hm. Well, that's some progress at least! I can reproduce the error by giving it the name of a raw file that doesn't exist (which is something I should address as well). Can you try using the full path to the file after -f? It is supposed to work with just the filename, but maybe this is another Windows 7 thing we haven't found... |
Hello, I've got the same errr on windows10 enterprise. Even with the full path and it doesn't seem to be blocked. Thank you very much, Benoit |
Hi Benoit, Try replacing the RawTools.exe.config file with the following file: GitHub won't let me upload something with the extension .config, so I changed it to .txt. Be sure to change it back to .config, so it will be called If it is a security issue, which the error message seems to indicate, I think this will fix it. If it works I will make this a permanent change to the config file in the repository. Kevin |
Hello, It did fix it!! Very useful output!! |
Great! Thanks for letting me know. I'll make that a permanent change to the
config file then.
Kevin
…On Thu, Nov 22, 2018, 2:17 PM KunathBJ ***@***.*** wrote:
Hello,
It did fix it!! Very useful output!!
Thanks a lot!
Benoit
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#5 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/APT50MK72vD5gRjaXg3cJlWyxH5gGSetks5uxyJ5gaJpZM4YtxhH>
.
|
@fazeliniah let me know if your issue wasn't resolved and we can reopen this. Kevin |
Hm. The most obvious cause of this would be that your computer is running a 32-bit OS or has a x86 based processor... but I imagine that is not the case since v1.4.1 works fine. There is very little difference between 1.4.1 and 1.4.2. I didn't change the target OS architecture or anything... Have you tried any of the compatibility modes in the program properties? The only significant change in 1.4.2 that might cause the system to be unhappy is that the .NET cultural environment is forced to be "invariant" to prevent certain language settings from using comma decimals instead of dot decimals in the MGF file, as X!Tandem seems to have no idea what to do with them. Is your OS language set to something other than English? Possibly that combined with an over-zealous systems security might be causing the issue, but I really don't know... |
I am running 64-bit operating system with x64-based processor. i7, 16GB ram. I have the .NET framework 4.7.2 (461808). |
Hi,
I get the following error message when I try to run RawTools. I appreciate any help.
Thanks
C:\RawTools1.3.2>RawTools parse -f ch_23Aug2018_HeLa_Std_1.raw -x
Processing: ch_23Aug2018_HeLa_Std_1.raw
Unhandled Exception: System.TypeInitializationException: The type initializer fo
r 'ThermoFisher.CommonCore.Data.Business.RawFileReaderFactory' threw an exceptio
n. ---> System.IO.FileLoadException: ThermoFisher.CommonCore.RawFileReader.dll i
s not found in C:\Users\Owner\Downloads\RawTools1.3.2 ---> System.IO.FileLoadExc
eption: Could not load file or assembly 'file:///C:\Users\Owner\Downloads\RawToo
ls1.3.2\ThermoFisher.CommonCore.RawFileReader.dll' or one of its dependencies. O
peration is not supported. (Exception from HRESULT: 0x80131515) ---> System.NotS
upportedException: An attempt was made to load an assembly from a network locati
on which would have caused the assembly to be sandboxed in previous versions of
the .NET Framework. This release of the .NET Framework does not enable CAS polic
y by default, so this load may be dangerous. If this load is not intended to san
dbox the assembly, please enable the loadFromRemoteSources switch. See http://go
.microsoft.com/fwlink/?LinkId=155569 for more information.
--- End of inner exception stack trace ---
at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String cod
eBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark&
stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntro
spection, Boolean suppressSecurityChecks)
at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName as
semblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMar
k& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIn
trospection, Boolean suppressSecurityChecks)
at System.Reflection.RuntimeAssembly.InternalLoadFrom(String assemblyFile, Ev
idence securityEvidence, Byte[] hashValue, AssemblyHashAlgorithm hashAlgorithm,
Boolean forIntrospection, Boolean suppressSecurityChecks, StackCrawlMark& stackM
ark)
at System.Reflection.Assembly.LoadFrom(String assemblyFile)
at ThermoFisher.CommonCore.Data.ObjectFactory
1.Initialize(Boolean throwExcep tions) --- End of inner exception stack trace --- at ThermoFisher.CommonCore.Data.ObjectFactory
1.Initialize(Boolean throwExceptions)
at ThermoFisher.CommonCore.Data.Business.RawFileReaderFactory.CreateReader()
at ThermoFisher.CommonCore.Data.Business.RawFileReaderFactory..cctor()
--- End of inner exception stack trace ---
at ThermoFisher.CommonCore.Data.Business.RawFileReaderFactory.ReadFile(String
fileName)
at RawTools.Program.DoStuff(ParseOptions opts) in C:\Users\Kevin\Documents\GS
C\Projects\RawTools\RawTools\Program.cs:line 329
at CommandLine.ParserResultExtensions.WithParsed[T](ParserResult
1 result, Ac tion
1 action)at RawTools.Program.Main(String[] args) in C:\Users\Kevin\Documents\GSC\Proje
cts\RawTools\RawTools\Program.cs:line 63
The text was updated successfully, but these errors were encountered: