I have been banging my head against the wall for the last few hours and i can't figure out what the issue is with this haml code. It is probably something simple, but at this point i just can't figure it out. Can someone please let me know what i am doing wrong with this code(attendees_modal.hamlc):
%h4
Attendees
#attendee_modal_close
%img{src:"/assets/attendee_modal_close.png"}
#attendee_modal_people
- #attendee_list.each do |attendee|
.attendee_photo
- attendee.picURL = "/assets/noPhoto.jpeg" if #picURL == "/images/noPhoto.jpeg"
%img.round(src="#{attendee.picURL}" class="#{attendee.status}" )
- if attendee.status == "host"
.agent_mark
.attendee_name
= attendee.name
I am getting this error when try to load the page:
[stdin]:7:26: error: unexpected |
#attendee_list.each do |attendee|
^
Thank you in advance for helping me with this and stopping me from throwing my laptop out the window :)
Related
I`m working with an exercise from the Google Data Analysis Course, that asks me to write and execute the following query:
SELECT
station_name,
ridership_2013,
ridership_2014
ridership_2014-ridership_2013 AS change_2014_raw
FROM
bigquery-public-data.new_york_subway.subway_ridership_2013_present
but every time I try to run it, I get the same error:
Syntax error: Expected end of input but got "-" at [5:17]
I think that the error is the dash from the subtraction between ridership_2014-ridership_2013, but I'm not sure if it`s something from my keyboard or something else,
I'll appreciate some of your help on this,
Thank you!!
I'm wanting to use the rMVP.report() function but constantly running into problems. This is what the code looks like:
library(rMVP)
MVP.Report("LV1.csv",
plot.type="m",
multracks=TRUE,
threshold=c(0.05/299685),
threshold.col=c("red","blue"),
bin.size=1.5e6,
outward=TRUE,
file.type="jpg",
memo="",
band=0.5,
dpi=300,
highlight=NULL)
Here is what the error is:
Error in 1:(ncol(Pmap) - 3) : argument of length 0
If anyone is familiar with rMVP and it's functions let me know if you can help with this!
I have recently started seeing an error when i simply run
SELECT * FROM region-eu.INFORMATION_SCHEMA.JOBS_BY_PROJECT
Field name dml_stats does not exist in STRUCT<...
Excluding field dml_stats doesn't seem to work either.
Anyone else spotted this?
Cheers.
There are already 2 issues reported in the public issue tracker.
https://issuetracker.google.com/issues/193159258
https://issuetracker.google.com/issues/193437397
This seems to be a bug on the Google side. Hopefully, they will fix it soon.
I have a rather long view thahas been working for years. After upgrading the server to SQL server 2014. I started getting a bind error: dboSubjects.Race" could not be bound.
The dboSubjects.Race is used like this in the view:
dbo.SUBJECTS.Race, dbo.SUBJECTS.Sex, dboSubjects.Race + dbo.SUBJECTS.Sex AS RaceSex,
If I remove the
dboSubjects.Race + dbo.SUBJECTS.Sex AS RaceSex
The view then functions. Can anyone explain how I can fix this problem and explain why it stopped working. I can only quess that the upgrade had something to do with it.
Thanks for your help
Perry
dboSubjects.Race + dbo.SUBJECTS.Sex AS RaceSex
You are missing a dot in the first part - should probably be dbo.Subjects.Race
Our team can't use the DAG right now.
When trying to add an item with the provider DagBankSeCUrityQA - Bank (14748) I get a refresh error code 517.
Example itemID: 15466424
Please assist.
Thanks,
Michael.
If you are still getting this error let us know, it seems like you might be getting this error due to some temporary issue during that time.