You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to robotframework-users
Hi,
I'm using a YAML file to pass a dictionary:
SEARCH_PERSON:
Name:
- michael test
- John Smith
Work Place:
- Facebook
- Home
and getting this error:
Resolving variable '${PersonInfo.Work Place}' failed: SyntaxError: unexpected EOF while parsing (<string>, line 1)
tried to encapsulate with quotes and double quotes and even adding ${SPACE} between the words, with no luck.
any suggestions?
Anne kootstra
unread,
Jan 3, 2019, 2:41:09 AM1/3/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to robotframework-users
Have you tried: ${PersonInfo.["Work Place"]?
Kind regards,
Anne
Op dinsdag 1 januari 2019 08:46:24 UTC+1 schreef Omer Nir:
Omer Nir
unread,
Jan 3, 2019, 8:54:27 AM1/3/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to robotframework-users
nope.
receiving this error:
failed: ConstructorError: while constructing a mapping
Pekka Klärck
unread,
Jan 3, 2019, 9:06:39 AM1/3/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Omer Nir, robotframework-users
ti 1. tammik. 2019 klo 9.46 Omer Nir (omni...@gmail.com) kirjoitti:
>
> Hi,
>
> I'm using a YAML file to pass a dictionary:
>
> SEARCH_PERSON:
> Name:
> - michael test
> - John Smith
> Work Place:
> - Facebook
> - Home
>
> and getting this error:
>
> Resolving variable '${PersonInfo.Work Place}' failed: SyntaxError: unexpected EOF while parsing (<string>, line 1)
This syntax uses Python's attribute access and fails because
attributes cannot contain spaces. The easiest solution is using the
item access syntax instead. There are basically two possibilities: