Error while publishing in community edition

studio
publish

#1

Steps to reproduce: I created the workflow and when I tried to publish the project I am getting error “Project cannot be published. ~email file has validation errors.” I do not have any email related stuff in this project. Also I have only this single project(xaml) file in the folder. Please help.

Current Behavior:

Expected Behavior:

Studio/Robot/Orchestrator Version:

Last stable behavior:
Last stable version:
OS Version:
Others if Relevant: (workflow, logs, .net version, service pack, etc):


#2

Hi @ManojK

The ~email file is the actual .xaml file name in your project. Before publishing UiPath checks the project for errors. That means that one of the activities in your workflow has validation errors. You could check the red and blue “bullets” to see exactly the activities that have errors.
Here is an example:


#3

Hi Ovi,

Actually don’t see any validation errors. Please see attachment below.

Thanks
Manoj


#4

Is there an “email” file in the Project panel?(left side of the screen) If so, please open it and check for validation errors.

When publishing it means that all the files in the project folder are archived.


#5

Hi Ovi,

Thanks for help. No email related anything in the project panel.

Thanks
Manoj


#6

Can you attach your project here?


#7

Sure,

Here it is.

Build XML.xaml (45.2 KB)


#8

I get an error when publishing: “Project cannot be published. excel temp file has validation errors.”.
What other files do you have in your project folder?


#9

I have these three items


#10

I am also getting an error while trying to publish locally. Error - Invalid URI : URI is empty.

image

Error logs are :-

16:13:11:400 => [ERROR] [UiPath.Workflow.Logging.StudioTraceListener] [20] System.Exception: Publishing the project has

failed.

Error: Invalid URI: The URI is empty. —> System.UriFormatException: Invalid URI: The URI is empty.
at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind)
at System.Uri…ctor(String uriString)
at NuGet.PackageRepositoryFactory.CreateRepository(String packageSource)
at UiPath.Project.Deploy.ProjectPackageManager.InitPushRepository()
at UiPath.Project.Deploy.ProjectPackageManager…ctor()
at UiPath.Project.Deploy.ProjectPackageManager.get_Instance()
at UiPath.Project.ProjectManager.Publish(Int32 timeoutMS)
at UiPath.Workflow.ViewModels.MainViewModel.PackAndPush()
— End of inner exception stack trace —


#11

@ManojK Have you been able to get this working? Am facing the same problem.

Sorry am replying on an old thread…

Thanks,
Satin