I'm having trouble getting this to scan as a VCAL, right now its scanning as a text type :
http://chart.apis.google.com/chart?cht=qr&chs=350x350&chl=BEGIN%3AEVENT%0D%0D%0ASUMMARY%3ADENTAL+APPOINTMENT%0D%0ADTSTART+[Appt_Date]+[Appt_Time]%3A%0D%0A3DESCRIPTION%3ADENTAL+REMINDER%0D%0AEND%3AEVENT%0D%0A
Any ideas or help would be deeply appreciated.
Thanks
You need to use "VEVENT" - not "EVENT" - otherwise the scanner doesn't know it's a VCAL.
Here's a valid sample event:
BEGIN:VEVENT
SUMMARY:Test
DTSTART;VALUE=DATE:20120124
DTEND;VALUE=DATE:20120125
END:VEVENT
So, the chart URL you need to use is:
http://chart.apis.google.com/chart?cht=qr&chs=350x350&chld=L&choe=UTF-8&chl=BEGIN%3AVEVENT%0D%0ASUMMARY%3ATest%0D%0ADTSTART%3BVALUE%3DDATE%3A20120124%0D%0ADTEND%3BVALUE%3DDATE%3A20120125%0D%0AEND%3AVEVENT%0D%0A
Related
enter image description here
Hi Hello I have a question, why did I actually get this error I want to know what he actually says and I would love to get a detailed explanation.
Firstly, please provide atleast some code for context. Secondly, don't post a screenshot of the error, just include it as a codeblock in your post. That being said, my best guess from the limited information is that you need to use ctx.message.author. In your error screenshot, it seems you are just using message.author.
The guild_permissions.administrator is not exists on discord.py and that's why you getting "User" object has no attribute 'guild_permissions' error and you do not need to post a screenshot here but it's okay.
Also do you have the has_permissions?
If you do not have then
from discord.ext import commands, tasks
from discord.ext.commands import is_owner, has_permissions, MissingPermissions, BadArgument
If you do, use
#client.command()
#has_permissions(administrator=True)
async def command(ctx):
#yourscript
That's just my opinion what i was thinking.
If you're using on_message then please provide a script what you did.
For a year, if you make your dropcam public, you can use this code to get a dropcam snapshot:
<img src="https://nexusapi.dropcam.com/get_image?XXXXXXXXX>
Now, it doesn't work and it return this error message:
The query parameter 'uuid' was malformed: XXXXX is not valid camera uuid
Any ideas?
Thanks.
The uuid is specific to every camera.
Because you have to specify uuid as a parameter, for example https://nexusapi.dropcam.com/get_image?uuid=6a3cf1e5b10247a28d65bbdf49e1e6b8
I am having trouble using the MockOperation Editor in Soap UI.
I have got this request:
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
<s:Body>
<methodName xmlns="http://tempuri.org/" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<dataAreaId>error</dataAreaId>
<pInvoiceList>
<dataAreaId>NOTTHESAME</dataAreaId>
...
</pInvoiceList>
</methodName>
</s:Body>
</s:Envelope>
I tried almost every XPATH expression but I always get "Missing match in request"
What to fill in the Xpath box?
I tried:
//dataAreaId/text()
//dataAreaId/
//dataAreaId
/dataAreaId/text()
/dataAreaId
/methodName/dataAreaId/text()
/methodName/dataAreaId/
/methodName/dataAreaId
I finally managed to get it based on the answer from user1740631
Seems I it had to do with namespaces afterall.
The correct syntax:
declare namespace tem='http://tempuri.org/';
//tem:methodName/tem:dataAreaId[1]
If you don't care about namespaces you can use the following syntax:
XPath1.0
//*[local-name() = 'methodName']/*[local-name() = 'dataAreaId'][1]
XPath2.0
//*:methodName/*:dataAreaId[1]
Write like this
For First One
//methodName[1]/dataAreaId[1]
For Second one
//methodName[1]/pInvoiceList[1]/dataAreaId[1]
*If you have multiple node with same name in Xml then you should use numbers to locate that particular node.
There is a good hint: When defining an Assertion for a Testcase (or maybe also in the Mock-Window) there is a button "Declare" above the XPath-Expression-Field. It doesn't really look like a button, until you point with the mouse-pointer at it, so I didn't realize it at first.
Just click on the button an SoapUI (actually I use 5.2.1) will add the declare-statements for you, that you can use.
I found that feature coincidentally, as it is not really visible. Maybe this can help also...
recently I faced strange error with raw format:
index.php?option=com_content&view=category&layout=blog&id=44&Itemid=80&format=raw
Error 500:
View not found [name, type, prefix]: category,raw,contentView
I googled for this problem, but actually did not find the correct answer for this...
So what is wrong with that ?
Joomla version: 1.5.21
Your help would be appreaciated.
Perhaps try adding a view to your component e.g. view.raw.php
I am trying to incorporate this script here (http://snippets.dzone.com/posts/show/7530), yet i'm no ruby wizard.
Right now it pulls down mail that I want with the local_file name, but was wondering if its possible to have it pull it down and save it by the 'message subject title + date of message'. When I try using mail.date, I get a longer than normal string, and can't convert it with Time.parse().
For instance, right now it pulls down an attachment as 103134.htm, which has no significance to me, and I'd rather have it be "Logs from Blah - 11/12/2009.htm" since it pulls the subject and date from the original message instead of the attachment local_name.
Any help would be greatly appreciated!
Thanks!
mail.date already returns a Time object, so it is not required that you parse it again. Instead use mail.date.strftime("%m/%d/%Y") to get your desired output