gitorious fatal error when accessing remotely - bitnami

I just installed a new gitorious server. From inside the LAN I'm able to pull\push without a problem. However from outside the LAN I get:
== Gitorious: ==========================================================
fatal error
========================================================================
fatal: The remote end hung up unexpectedly
I found the following error in gitorious_auth.log:
FATAL -- : NoMethodError private method `gsub!' called for nil:NilClass: /opt/bitnami/apps/gitorious/htdocs/script/../lib/gitorious/ssh/client.rb:34:in `initialize'
What does it mean and how can I fix it? How come it occurs only from remote access?

I now believe the root cause of the problem that I was using : instead of / in the url. For example I used:
git#[domain]:[proj]/[repo.git]
instead of:
git#[domain]/[proj]/[repo.git]
I'm not sure why this mattered while accessing remotely whereas it didn't when I was within the LAN...

Related

Failed to start the VM error when starting a Dataflow SQL job

Getting the following error when I try to launch a Dataflow SQL job:
Failed to start the VM, launcher-____, used for launching because of status code: INVALID_ARGUMENT, reason: Error: Message: Invalid value for field 'resource.networkInterfaces[0].network': 'global/networks/default'. The referenced network resource cannot be found. HTTP Code: 400.
This issue just started today.
Adding the default network solved the issue.

Fatal error in ../../video/video_receive_stream.ccafter calling webrtc from my application iOS

Hi i have integrated AppRTC(webrtc demo app) application into my Application, it builds fine, but when i turn on video call its crashing with following error
SocketRocket: In debug mode. Allowing connection to any root cert
#
# Fatal error in ../../video/video_receive_stream.cc, line 119
# last system error: 0
# Check failed: decoder.decoder
#
#
please help me out, on where it may occur and what needs to be corrected
Thanks & regards

Passenger could not spawn process for application

I have deployed my webapp on CentOS 7 using bundle --standalone and have configured the app to use the correct gems by using .bundle/config. It works great when I use rails server, but when I set it up to use passenger I get the following error:
[ 2016-02-02 13:27:50.7037 5134/7fb8225b8700 age/Cor/App/Implementation.cpp:304 ]: Could not spawn process for application /var/www/rails-web: An error occurred while starting up the preloader. It exited before signalling successful startup back to Phusion Passenger.
Error ID: 7b0eafb9
Error details saved to: /tmp/passenger-error-YR2EzW.html
Message from application: An error occurred while starting up the preloader. It exited before signalling successful startup back to Phusion Passenger. Please read this article for more information about this problem.<br>
<h2>Raw process output:</h2>
<pre>
/usr/share/rubygems/rubygems/path_support.rb:68:in `path=&apos;: undefined method `+&apos; for nil:NilClass (NoMethodError)
from /usr/share/rubygems/rubygems/path_support.rb:30:in `initialize&apos;
from /usr/share/rubygems/rubygems.rb:357:in `new&apos;
from /usr/share/rubygems/rubygems.rb:357:in `paths&apos;
from /usr/share/rubygems/rubygems.rb:379:in `path&apos;
from /usr/share/rubygems/rubygems/specification.rb:794:in `dirs&apos;
from /usr/share/rubygems/rubygems/specification.rb:658:in `each_normal&apos;
from /usr/share/rubygems/rubygems/specification.rb:669:in `_all&apos;
from /usr/share/rubygems/rubygems/specification.rb:822:in `each&apos;
from /usr/share/rubygems/rubygems/specification.rb:864:in `find&apos;
from /usr/share/rubygems/rubygems/specification.rb:864:in `find_inactive_by_path&apos;
from /usr/share/rubygems/rubygems.rb:175:in `try_activate&apos;
from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:132:in `rescue in require&apos;
from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:144:in `require&apos;
from <internal:abrt_prelude>:2:in `<compiled>&apos;
</pre>
The code around path_support.rb:68 involves setting GEM_PATH. What does this error message mean and how can I fix it. Thanks.
This appears passenger looks in /home/<username>/.gem/ruby as a part of its spawn process. If /home/<username> doesn't exist (like with system users that don't have home directories), you get this error.
Here is the bug report.

Aptana "Content Assist" did not complete normally

I have a problem with the Aptana Studio 3.
It is a fresh installation. I have imported a Ruby on Rails - project that a edited with a texteditor before. I want to use Aptana, for a more comfortable development but the Content Assist fails.
If I try to use the Content Assist it throws the following exception and write it to the Console:
[2013-03-08 16:34:40] An error occurred while processing the invoke block for the command ERb Content Assist in C:\Users\Chris\Aptana Rubles\rails.ruble\commands\content_assist.rb: (NoMethodError) undefined method `getInstance' for Java::ComAptanaIndexCore::IndexManager:Class
org.jruby.exceptions.RaiseException: (NoMethodError) undefined method `getInstance' for Java::ComAptanaIndexCore::IndexManager:Class
at Rails::ContentAssistant.index_manager(C:/Users/Chris/Aptana Rubles/rails.ruble/lib/content_assistant.rb:87)
at Rails::ContentAssistant.gem_indices(C:/Users/Chris/Aptana Rubles/rails.ruble/lib/content_assistant.rb:79)
at org.jruby.RubyProc.call(org/jruby/RubyProc.java:274)
at org.jruby.RubyProc.call(org/jruby/RubyProc.java:229)
at Java::JavaUtil::Collection.each(C:/Users/Chris/AppData/Local/Aptana Studio 3/plugins/org.jruby_1.6.4.1331328108/lib/ruby/site_ruby/shared/builtin/java/java.util.rb:7)
at org.jruby.RubyEnumerable.collect(org/jruby/RubyEnumerable.java:706)
at Rails::ContentAssistant.gem_indices(C:/Users/Chris/Aptana Rubles/rails.ruble/lib/content_assistant.rb:79)
at Rails::ContentAssistant.gem_and_project_indices(C:/Users/Chris/Aptana Rubles/rails.ruble/lib/content_assistant.rb:74)
at Rails::ContentAssistant.assist(C:/Users/Chris/Aptana Rubles/rails.ruble/lib/content_assistant.rb:31)
at #<Class:0x101f95cf6>.define_content_assist(C:\Users\Chris\Aptana Rubles\rails.ruble\commands\content_assist.rb:7)
at org.jruby.RubyProc.call(org/jruby/RubyProc.java:274)
at org.jruby.RubyProc.call(org/jruby/RubyProc.java:233)
The Aptana Log File contains this message:
!ENTRY org.eclipse.ui 4 4 2013-03-08 16:34:40.465
!MESSAGE "Content Assist" did not complete normally. Please see the log for more information.
!ENTRY org.eclipse.ui 4 0 2013-03-08 16:34:40.465
!MESSAGE (Errno::EINVAL) =::
!STACK 0
org.jruby.exceptions.RaiseException: (Errno::EINVAL) =::
at org.jruby.RubyHash.replace(org/jruby/RubyHash.java:1623)
I don't know how to handle this error. Do I have to install anything else to use the Content Assist with Ruby on Rails?
I found a solution at https://jira.appcelerator.org/browse/APSTUD-2718
As a workaround:
1) Commands > Rails Bundle > Edit this Bundle will grab a copy of the
new code
This removed the error messages for me.
I have found this link, that describes my problem as "Unresolved" (reported in 12/Sep/12):
https://jira.appcelerator.org/browse/APSTUD-7406
But this is "Aptana Studio 3.2.2" and I have got Version 3.3.3, I can't believe that this problem isn't solved.
Anybody else using Aptana knowing this problem?

Symfony error - PHP Fatal error: Class sfPropelRouteCollection not found in config_routing.yml.php

I get a 500 error when I try to run the site's backend in IE.
Apache error log.
Symfony error - PHP Fatal error: Class 'sfPropelRouteCollection' not found in
\\cache\\backend\\prod\\config\\config_routing.yml.php on line 5
I tried investigating config_routing.yml.php and it appears that it's calling a new sfPropelRouteCollection class, and cannot find it.
I found the file containing it in:
\lib\vendors\symfony\lib\plugins\sfPropelPlugin\lib\routing\sfPropelRouteCollection.class.php
I cleared the cache several times, that didn't help.
The frontend of the site is running normally

Resources