Hello, when I was trying to install cobra from command line,I got these error messages and installation failed. How can I solve this problem and install cobra friends?
ScreenShoot:
Forums
Install Error!!
9 posts
• Page 1 of 1
Re: Install Error!!
Wow I haven't seen that one before.
-- What do you see if you enter this at the command line?
-- Did you run the command line as an admin? You can do this by right clicking the command prompt launch icon and choosing "Run as administrator".
-Chuck
-- What do you see if you enter this at the command line?
- Code: Select all
type _ch_cobra-extra-source.cobra
-- Did you run the command line as an admin? You can do this by right clicking the command prompt launch icon and choosing "Run as administrator".
-Chuck
- Charles
- Posts: 2515
- Location: Los Angeles, CA
Re: Install Error!!
Sir, I run command line as an administrator but result is same, there is nothing change. And when I paste code which you gave me above, command line says me: "System can not find the specified file".. What do you think about this problem, sir?
- gleyzy
- Posts: 4
Re: Install Error!!
Could this be related to a different encoding? Probably not, but it was the first think I though about from the command prompt title.
- Gameday
- Posts: 27
Re: Install Error!!
Sorry, I thought that file was an intermediate file written to disk, but it's just kept in memory. Can you edit Cobra-2010-04-02\Source\Phases\ParsePhase.cobra to add the following 3 print statements around line 27?
Run again and share the output.
Thanks,
Chuck
# implement -extra-source option
extraSource = .options.getDefault('extra-source', '').trim to String
if extraSource <> ''
print '> > >'
print extraSource
print '< < <'
Run again and share the output.
Thanks,
Chuck
- Charles
- Posts: 2515
- Location: Los Angeles, CA
Re: Install Error!!
I did all things you said like these:
But, the output is same, nothing change..
But, the output is same, nothing change..
- gleyzy
- Posts: 4
Re: Install Error!!
When I add those lines and run the installer, I get extra output like so:
If you just glance at it, it does not stand out, but if you look more carefully, do you see a " : > > >" line?
- Code: Select all
...
==== Build Cobra standard library
run: cobra.exe -bsl -kif Cobra.Lang\AssemblyAttrs.cobra -key-file:Cobra.Lang\Cobra.Lang.snk
: > > >
: use System.Reflection
: assembly
: has AssemblyVersion('0.8.0.1')
:
: namespace Cobra.Lang
: class CobraInfo
: get cobraPath as String is shared
: return r"C:\Documents and Settings\Chuck\My Documents\Projects\Cobra\Workspace-E\Source\cobra.exe"
: < < <
: Compilation succeeded
If you just glance at it, it does not stand out, but if you look more carefully, do you see a " : > > >" line?
- Charles
- Posts: 2515
- Location: Los Angeles, CA
Re: Install Error!!
I looked carefully, no change and like that signs. Have you got MSN? Can you connect my computer and try to solve remotely?
- gleyzy
- Posts: 4
Re: Install Error!!
I haven't heard back. Or I missed your email.
I added some code to print the extra source if it has a failure:
http://cobra-language.com/trac/cobra/changeset/2375
So if this happens again, we'll have more info. If you want to try it out, see HowToInstallFromSource.
I added some code to print the extra source if it has a failure:
http://cobra-language.com/trac/cobra/changeset/2375
So if this happens again, we'll have more info. If you want to try it out, see HowToInstallFromSource.
- Charles
- Posts: 2515
- Location: Los Angeles, CA
9 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 46 guests