Images not showing in Form Recognizer Label Editor - forms

I have created a Form Recognizer Service using the Quick Start instructions and created the connection and project in the label editor without errors. The SAS URI is valid and the Form Recognizer key and end point are valid. I have validated the container location by entering the URL with a file name in a browser and viewing them. According to the Instructions in Quick Start and instructions provided by Microsoft and others my setup is complete and correct. When the project is saved the image files are supposed to appear in the label editor and they do not. I have created numerous projects and connections with the same result. I believe the key items are the Form Recognizer end point and key, the SAS URI, and the source (the form to be recognized) location. Everything else is text of my choosing. Can you provide any insights into what I have missed? Thanks

Is your data flat on the container or in a folder ? If in a folder please add the folder name to the folder path in the project setting.
If it is not in a folder can you please try copying it into a folder and see if it works.

Related

Can't find .py files for new doctypes

Complete newbie here. Built a new site and a new app. Installed the new app. Want to add a custom script, but can't find the ".py" files for the doctypes I created.
The "Custom?" checkbox is left checked and greyed out.
I am logged in as an administrator and I set the site developer_mode config to 1.
(I know I can add custom scripts from the gui, but still, it's sometimes more convenient to work on my own IDE).
Basicaly I want to create a table as a child ("Reciepe") of a doctype ("Dishes"). The table should have a data field (quantity) and a select field (raw_material). I want to populate the raw_material with var_name field from another doctype ("Raw Materials", which also has their prices, thus allowing me to calculate the cost of each dish).
Inside the sites directory, there will be site_config.json file. Ensure developer_mode is present in that file.
$ cat sites/dev.localhost/site_config.json
Clear the cache b running
$ bench clear-cache
After that, go to Browser console and verify developer_mode, user.
If these 2 values are shown correctly in browser console, then Custom? will be unchecked and .py files will be generated.
I followed the tutorial and created the app "library_management". The py-files were created here:
/home/myuser/frappe-bench/apps/library_management/library_management/library_management/doctype

Can't create a local repository.

I just installed Source tree on my windows. I set the name, email fields and chose the default directory for repositories as C:\Users\repos
And then in the new tab, I selected '+ Create'. But upon filling the
When I click Create, nothing happens.
I do not know why but, after changing the path C:\repos\reposA. It started working!! (I previously specified this path C:Users\repos\reposA)

cannot find image of webite header in joomla

Am just beginning with joomla on a site that is already existing and was previously managed by someone else who is not available at the moment. I am trying to troubleshoot a problem why the website is displaying the header differently in different PCs but I am not being able to find the image of that header file. I tried to look for it under "site > media" but cannot find the image among the images in that area. I also tried to look for the path to the image through the template css and found this path ../images/logo.png which I believe must be the path to the header image but I honestly don't really know which path ../images/logo.png is but assuming it is the one under "media" then I still cannot find the image. Could you give me a clue on where the header image files could be found cause I've actually still failed? Or, could you make me understand this path ../images/logo.png or how to find an image on a joomla admin interface like say "logo.png". In fact I discover that on looking at the CSS for the template, the image paths found in it are not found in "Media"? Is there another path for the images in the template and how do I access them? I cannot FTP my host at the moment to view the physical files due to the long procedure needed so am hoping that there is a way to find it. I only have joomla admin access and nothing like Cpanel as yet. The joomla version of the site is 1.5.22 which I know is an old one but I plan to do first things first. Hope I've given enough infor.
Try using FireBug, or Chrome debugger - (press F12) and check "Click an element in the page to inspect" to see where the specific image is located exactly.

GWT Browse files/directories

Here is my requirement:
In my application, I want to get a path of file from user and process the file accordingly.
I am providing a text box in which user can directly enter the path.
Or user can opt to choose a file by clicking on Browse button and selecting a file.
Which widget shall I use to browse local files and directories?
I found one widget called FileUpload but whenever I get the fileName by fileUpload.getFileName, it does not give me the whole path.
You don't need the whole path.
Please see the links below.
The first link covers the client side and the second one the servlet side.
http://gwt.google.com/samples/Showcase/Showcase.html#!CwFileUpload
http://commons.apache.org/fileupload/using.html

iReport: Uploading Image to JasperServer (fail)

I am currently using a JasperServer repository to hold reports. I would like to include an image of a logo in the upper-right hand corner of the report. However, every time I attempt to add an image to the resources I get an error that says:
Error:1 - 0
Any guesses?
This is how I did it:
Create a report on Ireport with a picture on it (e.g. logo.jpg)
Edit the .jrxml file using a text editor.
Search for the image file name. You will find the file name (with full path) in a cdata tag
Change it to <![CDATA["repo:logo.jpg"]]>
Save and Upload the report to the JasperServer
Edit the report and choose Controls & Resources.
Add a resource, select the image file (e.g. logo.jpg) and name it exactly as logo.jpg.
Submit and... run... the report :)
When you open the file again on iReport, it will only show an image generic icon...
The most likely reason for the error that you are seeing is that there's a problem with the web services configuration. The most likely problem is that the image is greater than 16Kb, so Axis needs to save the attachment to a temporary directory. A useful test is to make sure that images smaller than 16Kb work with no problems.
Your quickest workaround is to upload the picture via the JasperServer web UI. Then your report should work as expected. If so, it's also validation that the problem is with web services (not with the repository database or some other component).
The most likely permanent solution is to recursively change ownership of the directory .../webapps/jasperserver/. Or you might prefer to only chown .../webapps/jasperserver/WEB-INF/attachments. Or you could change the attachments directory by editing this line in server-config.wsdd:
<parameter name="attachments.Directory" value="attachments"/>