Courier 2.7.1 - Unable to load item width id (with id?)
Courier 2.7.1 Umbraco 4.7.1
When attempting to transfer homepage get this error.
error:Umbraco.Courier.Core.Exceptions.PackageException: Unable to load item with id 'bc1349c0-2b25-40e2-8699-f4f3a8eccd05' from provider 'PropertyData' ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentException: Illegal characters in path. at System.IO.Path.CheckInvalidPathChars(String path) at System.IO.Path.IsPathRooted(String path) at Umbraco.Courier.Core.ResourceCollection.Add(String filePath, String temporaryFolder) at Umbraco.Courier.Core.ResourceCollection.Add(String filePath) at Umbraco.Courier.DataResolvers.Images.FindResoucesInString(String str, Item item) in c:\Program Files (x86)\teamcity\buildAgent\work\872c402d3442319c\Contrib\Providers\Umbraco.Courier.DataResolvers\DataResolvers\Images.cs:line 72 at Umbraco.Courier.DataResolvers.Images.Packaging(Item item) in c:\Program Files (x86)\teamcity\buildAgent\work\872c402d3442319c\Contrib\Providers\Umbraco.Courier.DataResolvers\DataResolvers\Images.cs:line 41 --- End of inner exception stack trace --- at System.RuntimeMethodHandle._InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeType typeOwner) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at Umbraco.Courier.Core.ResolutionManager.(Item item, ItemEvent e, ItemProvider provider) at Umbraco.Courier.Core.ItemProvider.Package(ItemIdentifier id) at Umbraco.Courier.RepositoryProviders.Local.Package(ItemIdentifier itemId) in c:\Program Files (x86)\teamcity\buildAgent\work\872c402d3442319c\Contrib\Providers\Umbraco.Courier.RepositoryProviders\Local\Local.cs:line 227 at Umbraco.Courier.Core.Packaging.RevisionPackaging.(ItemIdentifier itemId, ItemProvider provider, QueuedItemIdentifier itemInQueue) --- End of inner exception stack trace --- at Umbraco.Courier.Core.Packaging.RevisionPackaging.(ItemIdentifier itemId, ItemProvider provider, QueuedItemIdentifier itemInQueue) at Umbraco.Courier.Core.Packaging.RevisionPackaging.() at Umbraco.Courier.Core.Packaging.RevisionPackaging.Package() at Umbraco.Courier.Core.TaskManager.(IRevisionTask value) 31/10/2012 17:00:45
System.ArgumentException: Illegal characters in path. at System.IO.Path.CheckInvalidPathChars(String path) at System.IO.Path.IsPathRooted(String path) at Umbraco.Courier.Core.ResourceCollection.Add(String filePath, String temporaryFolder)
There is a file in one of the properties, which has an illegal character in its path, or it could be a false match made by courier, when trying to transfer the property data, added a fix to handle this more gracefull in 2.7.3 nightly
Courier 2.7.1 - Unable to load item width id (with id?)
Courier 2.7.1 Umbraco 4.7.1
When attempting to transfer homepage get this error.
error:Umbraco.Courier.Core.Exceptions.PackageException: Unable to load item with id 'bc1349c0-2b25-40e2-8699-f4f3a8eccd05' from provider 'PropertyData' ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentException: Illegal characters in path. at System.IO.Path.CheckInvalidPathChars(String path) at System.IO.Path.IsPathRooted(String path) at Umbraco.Courier.Core.ResourceCollection.Add(String filePath, String temporaryFolder) at Umbraco.Courier.Core.ResourceCollection.Add(String filePath) at Umbraco.Courier.DataResolvers.Images.FindResoucesInString(String str, Item item) in c:\Program Files (x86)\teamcity\buildAgent\work\872c402d3442319c\Contrib\Providers\Umbraco.Courier.DataResolvers\DataResolvers\Images.cs:line 72 at Umbraco.Courier.DataResolvers.Images.Packaging(Item item) in c:\Program Files (x86)\teamcity\buildAgent\work\872c402d3442319c\Contrib\Providers\Umbraco.Courier.DataResolvers\DataResolvers\Images.cs:line 41 --- End of inner exception stack trace --- at System.RuntimeMethodHandle._InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeType typeOwner) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at Umbraco.Courier.Core.ResolutionManager.(Item item, ItemEvent e, ItemProvider provider) at Umbraco.Courier.Core.ItemProvider.Package(ItemIdentifier id) at Umbraco.Courier.RepositoryProviders.Local.Package(ItemIdentifier itemId) in c:\Program Files (x86)\teamcity\buildAgent\work\872c402d3442319c\Contrib\Providers\Umbraco.Courier.RepositoryProviders\Local\Local.cs:line 227 at Umbraco.Courier.Core.Packaging.RevisionPackaging.(ItemIdentifier itemId, ItemProvider provider, QueuedItemIdentifier itemInQueue) --- End of inner exception stack trace --- at Umbraco.Courier.Core.Packaging.RevisionPackaging.(ItemIdentifier itemId, ItemProvider provider, QueuedItemIdentifier itemInQueue) at Umbraco.Courier.Core.Packaging.RevisionPackaging.() at Umbraco.Courier.Core.Packaging.RevisionPackaging.Package() at Umbraco.Courier.Core.TaskManager.(IRevisionTask value) 31/10/2012 17:00:45
Hi Yarik
The core issue is this:
System.ArgumentException: Illegal characters in path. at System.IO.Path.CheckInvalidPathChars(String path) at System.IO.Path.IsPathRooted(String path) at Umbraco.Courier.Core.ResourceCollection.Add(String filePath, String temporaryFolder)
There is a file in one of the properties, which has an illegal character in its path, or it could be a false match made by courier, when trying to transfer the property data, added a fix to handle this more gracefull in 2.7.3 nightly
Hi Per.
I dowloaded this build from
http://nightly.umbraco.org/UmbracoCourier/2.7.3/nightly%20builds/Courier_2.7.3_2.7.3.23.zip
And i get the same error.
I found the problem!
I have a Textbox multiple data type in homepage document type.
I insterted google analytics tracking codes to the field.
For example:
<!-- Clicky code start -->
<script type="text/javascript">
var clicky={log:function(){return;},goal:function(){return;}};
var clicky_site_id=229385;
(function(){
var s=document.createElement('script');
s.type='text/javascript';
s.async=true;
s.src=(document.location.protocol==='https:'?'https://static.getclicky.com':'http://static.getclicky.com')+'/js';
(document.getElementsByTagName('head')[0]||document.getElementsByTagName('body')[0]).appendChild(s);
})();
</script>
<!-- Clicky code end -->
<!-- Google Analytics code start -->
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-215455-1']);
_gaq.push(['_setDomainName', 'none']);
_gaq.push(['_setAllowLinker', true]);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
<!-- Google Code for visitors Remarketing List -->
<script type="text/javascript">
/* <![CDATA[ */
var google_conversion_id = 1069869864;
var google_conversion_language = "en";
var google_conversion_format = "3";
var google_conversion_color = "ffffff";
var google_conversion_label = "2CU6CNCQgwMQqNaT_gM";
var google_conversion_value = 0;
/* ]]> */
</script>
<script type="text/javascript" src="https://www.googleadservices.com/pagead/conversion.js">
</script>
<noscript>
<div style="display:inline;">
<img height="0" width="0" style="border-style:none;" alt="" src="https://www.googleadservices.com/pagead/conversion/1069869864/?value=0&label=2CU6CNCQgwMQqNaT_gM&guid=ON&script=0"/>
</div>
</noscript>
<!-- End of google remarketing code -->
<!-- Start of HubSpot Tracking Code -->
<script type="text/javascript" language="javascript"> var hs_portalid=20731; var hs_salog_version = "2.00"; var hs_ppa = "tufin.app2.hubspot.com"; document.write(unescape("%3Cscript src='" + document.location.protocol + "//" + hs_ppa + "/salog.js.aspx' type='text/javascript'%3E%3C/script%3E")); </script>
<!-- End of HubSpot Tracking Code -->
<!--Web-Stat Start-->
<script type="text/javascript" src="https://server4.web-stat.com/wtslog.pl?al4823,3"></script>
<!--Web-Stat End-->
<!--Clicky image start-->
<noscript class="NoScript"><p><img alt="Clicky" width="1" height="1" src="https://in.getclicky.com/229385ns.gif" /></p></noscript>
<!--Clicky image end-->
<!--Web Stat image start-->
<noscript><p><a href="http://www.web-stat.com"><img src="<?php echo $protocol; ?>://server4.web-stat.com/3/al4823.gif" alt="web tracker" /></a></p></noscript>
<!--Web Stat image end-->
<!--ActiveInsight start-->
<script type="text/javascript">
window.AIConfig = {};
window.AIConfig.accountId='tufin';
window.AIConfig.mailTextField = 'txtEmail';
var protocol = (("https:" == document.location.protocol) ? "https:" : "http:");
document.write(unescape("%3Cscript src='"+protocol+"//cloud2.insightera.com/js/it.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<!--ActiveInsight End-->
I think that Courier is trying to parse the links as it thinks it is RTE field instead of text.
When i removed google codes and inserted plain text everything was fine.
Regard,
Yarik
is working on a reply...