search for: syntaxerror

Displaying 20 results from an estimated 147 matches for "syntaxerror".

2006 Nov 10
1
Rpad
...at the end of the html page: .............................................. DEBUG: DEPRECATED: dojo.xml.domUtil is deprecated, use dojo.dom instead DEBUG: DEPRECATED: dojo.xml.htmlUtil is deprecated, use dojo.html instead DEBUG: failed loading gui/src/widget/SortableTable.js with error: [SyntaxError: Errore di sintassi] DEBUG: failed loading gui/src/widget.js with error: [SyntaxError: Errore di sintassi] DEBUG: failed loading gui/src/__package__.js with error: [SyntaxError: Errore di sintassi] DEBUG: failed loading gui/src.js with error: [SyntaxError: Errore di sintassi] DEBUG:...
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
...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 #{syntf.path} rescue NoMethodError,SyntaxError,NameError,StandardError,SystemExit,ScriptError => snfault fltlog = File.open("/test/result/script.log", "w") fltlog.puts "#{snfault}" fltlog.close end `) + "</pre>") Rescue don''t work in this ca...
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/mala...
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))
...Users/nikosd/.rvm/gems/ree-1.8.7-2011.02@.../bin/rake test Testing started at 12:00 PM ... (in /Users/nikosd/Work/.../.../...) /Users/nikosd/.rvm/gems/ree-1.8.7-2011.02@.../gems/activerecord-3.0.5/lib/active_record/associations.rb:1673:in `configure_dependency_for_has_one'': compile error (SyntaxError) /Users/nikosd/.rvm/gems/ree-1.8.7-2011.02@.../gems/activerecord-3.0.5/lib/active_record/associations.rb:1672: syntax error, unexpected kIF_MOD, expecting kWHEN association.destroy if association ^ from /Users/nikosd/.rvm/gems/ree-1.8....
2006 Jan 20
4
validates_format_of > Invalid regular expression with simple pattern
..., :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 ./script/../config/../app/models/user.rb:6: invalid regular expression: /^[A-z0-9_.- ]*$/ This is strange. I forgot something ?
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
...anoo] [appfuse-tapestry] ERROR [Thread-2] Window.run(245) | Caught exception in Window.setTimeout() [canoo] ======= EXCEPTION START ======== [canoo] EcmaError: lineNumber=[1] column=[72] lineSource= [function GargoyleWrapper0() {org.mozilla.javascript.InterpretedFunction@f78a5] name=[SyntaxError] sourceName=[Wrapper definition for Window.setTimeout()] message= [illegal character] errorObject=[SyntaxError: illegal character] [canoo] com.gargoylesoftware.htmlunit.ScriptException: illegal character [canoo] at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.execu...
2006 Jun 08
19
Agile Web Dev (book) question: errors
...he 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 app/models/cart.rb:15: parse error, unexpected $, expecting kEND Not sure where to turn to figure this out being a newb. TIA Stuart -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachme...
2012 Dec 10
1
[LLVMdev] install llvm on sparc/solaris
.../llvm-3.1/utils/llvm-build/llvm-build", line 3, in ?     import llvmbuild   File "/llvm3.1/llvm-3.1/utils/llvm-build/llvmbuild/__init__.py", line 1, in ?     from main import main   File "/llvm3.1/llvm-3.1/utils/llvm-build/llvmbuild/main.py", line 65     @staticmethod     ^ SyntaxError: invalid syntax make[1]: Entering directory `/llvm3.1/llvm-3.1/lib/Support' llvm[1]: Constructing LLVMBuild project information. Traceback (most recent call last):   File "/llvm3.1/llvm-3.1/utils/llvm-build/llvm-build", line 3, in ?     import llvmbuild   File "/llvm3.1/llvm-3.1/...
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 error, unexpected ''['', expecting ''\n'' or '';''...
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 => 1} ^ from (irb):32 from :0 Any ideas? Take care. --~--~---------~--~----~------------~-------~--~----~ You received this message because you a...
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 missing pages, but sometimes I can not print the document at all, no matter what I do. We are using lprng Has anyone heard of this problem? Please let me know. Thanks, Kevin...
2012 Jul 22
3
Puppet template tags and Java JSP tags
...9;'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'': > compile error (SyntaxError) > /etc/puppet/modules/xxx/templates/webapps/xxx/yyy/Mantle.jsp:1: syntax > error, unexpected tIDENTIFIER, expecting $end > Is there any know way to deal with JSP pages ? Thanks all, -- You received this message because you are subscribed to the Google Groups "Puppet Users"...
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 because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To pos...