Displaying 20 results from an estimated 147 matches for "syntaxerrors".
Did you mean:
syntaxerror
2006 Nov 10
1
Rpad
I've just compiled and installed Rpad from the sources under *nix
(freeBSD 6.1) and R 2.4.0, and followed the suggested procedure to
setup an Rpad server step by step.
Now when I try to execute whatever
.Rpad example file the IE browser hangs endlessly with a "loading page"
pop-up and the following errors show up at the end of the html page:
2011 Dec 23
1
/gems/ZenTest-4.6.2/lib/autotest.rb:315:in `load': /Users/jayparteek/.autotest:7: invalid multibyte char (US-ASCII) (SyntaxError)
I am using latest version for rspec-rails, ZenTest. I am getting
following error, when ever I try to run autotest.
Please help
-head at mhart6/gems/ZenTest-4.6.2/lib/autotest.rb:315:in `load'': /Users/
jayparteek/.autotest:7: invalid multibyte char (US-ASCII)
(SyntaxError)
2006 Feb 07
11
breaking down a list view
I''m trying to figure out how to change the order of a list view and it''s
obvious to me that I don''t understand what I get from a simple scaffold
to know enough to alter it.
If someone would be so kind to tell me what this means ...
def list
@placment_pages, @placements = paginate :placements, :per_page => 10
end
@placement_pages, # I am guessing that this
2006 Nov 02
2
Rescue don't work on web applications
Hi,
I''ve a Rails application who starts a Ruby script .
The script is made via Web -> database.
Than you can select a script to start via a database list.
Problem:
In case of errors , I like to start a rescue showing the users the
problems.
render(:text => "<pre>" + CGI::escapeHTML(`
begin
/home/luc/radrails/cpe/public/startq_test.rb
2012 Oct 23
2
SyntaxError in Posts#index ?
For some reason getting this... Any ideas?
Extracted source (around line *#13*):
10: <%= link_to "Show", post %> |
11: <span class="admin">
12: <%= link_to "Edit", edit_post_path(post) %> |
13: <%= link_to "Delete", post, method: :delete, data: {confirm: "Are you sure?"} %> |
14: </span>
15:
2009 Nov 17
6
after changed the tag i got the same eror
SyntaxError in Upload#index
Showing *app/views/upload/uploadfile.rhtml* where line *#10* raised:
compile error
app/views/upload/uploadfile.rhtml:10: syntax error
Extracted source (around line *#10*):
7: <% end %>
Trace of template inclusion: app/views/upload/uploadfile.rhtml
RAILS_ROOT: /home/malathi/www/upload
Application Trace <http://localhost:3000/upload#> | Framework
2006 Mar 15
13
usage of constants
I would like to define some constants that I can use across models and
views and I cannot figure out how to do that. Googling hasn''t turned up
anything useful and I''m looking at the PickAxe book, and I get the
impression that a constant must belong to a class.
If I just want a constant like...
CompanyPhoneNo = "(602) 999-9999"
and be able to use it in any view
2011 Mar 07
1
has_one :dependent => :destroy error (in `configure_dependency_for_has_one': compile error (SyntaxError))
Hi I''m getting the following error :
/Users/nikosd/.rvm/rubies/ree-1.8.7-2011.02/bin/ruby -e
$stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)
/Users/nikosd/.rvm/gems/ree-1.8.7-2011.02@.../bin/rake test
Testing started at 12:00 PM ...
(in /Users/nikosd/Work/.../.../...)
2006 Jan 20
4
validates_format_of > Invalid regular expression with simple pattern
Hello,
I try this :
validates_format_of :name , :with => /^[A-z0-9_.- ]*$/ , :message =>
"bad characters"
for accept any name with chars "A" to "z" , "0" to "9" , with "_" "."
"-" and " "
The pattern is really simple but I have this error :
SyntaxError in Login#register
2012 Nov 01
2
SyntaxError in Posts#index
getting this error
compile error
/Users/bradwrage/webapps/blog/app/views/posts/index.html.erb:5: syntax error, unexpected ''=''
...w Goal", new_post_path, class="btn btn-success" );@output_bu...
^
/Users/bradwrage/webapps/blog/app/views/posts/index.html.erb:7: syntax error, unexpected kDO_BLOCK, expecting kEND
''); @posts.each
2005 Aug 10
1
Issues with Canoo WebTest
I''m trying to use Canoo WebTest (based on HtmlUnit) to test my webapp
after integrating scriptaculous. While my test passed, I get a nice
long exception message which barely makes any sense (see below).
I found I could get rid of this message by commenting out line 114 of
effects.js:
114 this.timeout = setTimeout(this.loop.bind(this), 10);
Any idea of what might be causing
2006 Jun 08
19
Agile Web Dev (book) question: errors
This is kind of frustrating (but no doubt helpful in the long run) that
after following along and coding , and d/l the code the same error is
appearing.
For those who are familiar with the depot app, I''ve run into a problem after
fixing the cart to reflect quanitites. I worked through the intended error
messages but now have this appearing:
SyntaxError in StoreController#add_to_cart
2012 Dec 10
1
[LLVMdev] install llvm on sparc/solaris
Hello,
Is there any package to install llvm 3.1 on solaris? Standard installation by compiling the sources does not run smoothly.
I found that similar issues have been addressed before, but without replies:
http://clang-developers.42468.n3.nabble.com/Using-Clang-LLVM-on-sparc-solaris-td2807126.html
I tried to install llvm 3.1 on a system with Sun Microsystems Inc. SunOS 5.10 Generic
2012 Jun 07
2
Gentoo Linux-installed Samba 4 alpha 21 getting python error
I installed the Samba 4 alpha 21 using the Samba 4 alpha 20 ebuild as a
template:
When I try to run the samba-tool command, I keep getting
*Code:*File "/usr/bin/samba-tool", line 38
except SystemExit, e:
^
SyntaxError: invalid syntax
2008 Aug 01
2
Syntax Errors on the wiki
After encountering a few syntax errors today, I decided I should
document what they were so I could stop remembering the fixes :)
http://reductivelabs.com/trac/puppet/wiki/SyntaxErrors
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com
To unsubscribe from this group, send email to puppet-users+unsubscribe@...
2007 Aug 06
5
Problems with array mock
Hi everyone,
I''m trying this in my helper spec and it didn''t work:
@curr_odontogram.should_receive(''photos[1]'').and_return(@photo)
and the error is:
SyntaxError in ''PersonHelper Deberia devolverme un link para eliminar una foto''
compile error
/home/gramos/src/rails/r-dental/config/../vendor/plugins/rspec/lib/spec/mocks/proxy.rb:99:
syntax
2008 Oct 10
2
Add hash to serialized column
Hey guys,
I''m trying to merge a hash with another using the .merge! function.
class User < ActiveRecord::Base
serialize :preferences
end
This is what I end up with in the console:
>> u = User.find(1)
>> u.preferences.merge!{:test => 1}
SyntaxError: compile error
(irb):32: syntax error, unexpected tASSOC, expecting ''}''
u.preferences.merge!{:test
2002 Sep 12
4
Major Printing Failure Problem
Hi everyone,
I am using Samba 2.2.3a on a Redhat Linux 7.2 Intel server as a
printserver on a W2K PDC network. I have a Xerox 440 printer, an HP
4500 PS and an HP 4550 PS printer using my Samba printserver.
I am often receiving the following error message:
ERROR: syntaxerror
OFFENDING COMMAND:
STACK:
at which point printing stops and the printers start saying TIMEOUT.
Sometimes I can reprint
2012 Jul 22
3
Puppet template tags and Java JSP tags
Hi All,
I was trying to templatize some JSP page I would like to dynamically
generates but it looks like puppet doesn''t like it.
Common JSP tags are <% ... %> so I guess it''s getting confused between
regular tags and jsp''s one.
This is an example of the trace it is givin me :
/etc/puppet/modules/xxx/templates/webapps/xxx/yyy/Mantle.jsp:1:in `result'':
2008 Apr 22
2
syntax error in runner.rb
ruby script/runner ''load "filename.rb"''*
fails with
./script/../config/../vendor/rails/railties/lib/commands/runner.rb:47:
(eval):1: compile error (SyntaxError)
Rails version is 1.2.0 on Linux
Any clues on what could be incorrect?
Thanks!
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message