Manifest file verification Error when uploading to Firefox Marketplace - firefox-os

my Application to Firefox OS,
WebIDE's simulator can install it,
but Firefox Marketplace say that
"There was an error when deploy the manifest from the ZIP file."
(JP)「ZIP ファイルからマニフェストを展開する際にエラーが発生しました。」
what should I do to upload without the error?

This type of error generally occurs when you zip the app folder instead of zipping the app folder files. Example if you open the zip file you should be able to see your default.html and manifest.webapp file. If this answer is incorrect then do let us know how you solved your problem.

Related

pmcore Asset is not a valid PDF

I have copy a new Pimcore pro on my webserver.
When I drag and drop a PDF Asset in documents it shows the Message "Asset is not a valid PDF. Sorry! Somthing went wrong."
At Assets I can watch the PDF and at the Documents looks that it link is ok = Dependencies works! But I can't see the preview or in frontend.
What could that be?
Check two things:
Is there PDF lib install on web server?
You can install the PDF lib by following this link. You can check all the install library in setting from admin panel.
Is there full permission (0777) on /website/var folder and /pimcore folder?
You can give the permission by using the control panel (If it is provided by server service provider) or by using the command sudo chmod -R 0777 /website/var/* .
Mostly such issues arise due to permission when pimcore try to upload any file on server.

FastReport.Mono fails to export reports to PDF due to fonts issues

I'm trying FastReport.Mono on Linux (CentOS 7) to see if I can make an app to generate reports from FastReport files. Example FastReport.Mono app seems to work, however there are problems with PDF export demo. I get the error message on attempt to export:
Could not find file "/root/.local/share/FastReport/font.list".
File name: '/root/.local/share/FastReport/font.list'
The path /root/.local/share/FastReport/ exists, but there's indeed no requested file inside.
I have installed truetype fonts mentioned in FastReport.Mono readme (they went into usr\share\fonts\msttcore), it did not change anything.
Creating an empty font.list file brought this error message:
Enumeration has either not started or has already finished.
How do I resolve this problem and make PDF export work?
Could not find file "/root/.local/share/FastReport/font.list". File name: '/root/.local/share/FastReport/font.list'
BTW, you are working as root - this is not good for security. Anyway, you have to check following directory: "/usr/share/fonts/truetype". Does it exist and TrueType fonts are there? If not, then you can define shell variable FONTDIR with following command:
$ export FONTDIR="/path/to/truetype/fonts"
At the time of first export to PDF format the FastReport.Mono check fonts in this directory and build font.list file. If font.list file present in "$HOME/.local/share/FastReport/" directory, then software checks that information in this file is an actual.
How do I resolve this problem and make PDF export work?
These issues should be fixes in next build.

Where are installed Google Chrome extensions stored locally?

I have installed Google Chrome's extension Chrome Office Viewer (Beta) for open Excel, Word and Power Point documents in browser. And now I need to install this extension to others computers in local network.
The problem is that the computers is not connected to the Internet.
How can I extricate (get) installed Google Chrome's extension for installing to others computers (offline)?
Chrome extensions are stored in your filesystem, under the Extensions folder, inside Chrome's user data directory.
Windows XP: C:\Documents and Settings\%USERNAME%\Local Settings\Application Data\Google\Chrome\User Data\Default\Extensions\<Extension ID>
Windows 10/8/7/Vista: C:\Users\%USERNAME%\AppData\Local\Google\Chrome\User Data\Default\Extensions\<Extension ID>
macOS: ~/Library/Application Support/Google/Chrome/Default/Extensions/<Extension ID>
Linux: ~/.config/google-chrome/Default/Extensions/<Extension ID>
Chrome OS: /home/chronos/Extensions/<Extension ID>
You can copy the extension folder and drop it on a USB or in a network drive.
To install
Open Chrome and go to chrome://extensions.
Make sure Developer Mode is checked.
Click Load Unpacked Extension....
Find your copied directory and click Open.
The extension should install locally.
Rename the file extension .crx to .zip , like ( example.crx to example.zip )
Extract the zip file using Winrar or similar software
and Enjoy :)
To download the crx without store access, use this url.
https://clients2.google.com/service/update2/crx?response=redirect&x=id%3D~~~~%26uc
//replace the ~~~~ characters with the id of extension :
https://chrome.google.com/webstore/detail/ultimate-user-agent-switc/ljfpjnehmoiabkefmnjegmpdddgcdnpo?hl=fr
To install an extension from a crx file, open Extension page and drag and drop the crx inside.
in window you should first enable hidden file and then go to this directory :
Windows 10/8/7/Vista: C:\Users\%USERNAME%\AppData\Local\Google\Chrome\UserData\Default\Extensions\<Extension ID>
in above directory you will see extentions by id
For Ubuntu, now its in path: ~/.config/google-chrome/Profile\ 1/Extensions/ due to introduction of Profiles

.pptx files are downloaded with wrong mime-type as .potx in IIS

So, when downloading a .pptx file from a website hosted on windows IIS 7.5, it downloads it as .potx in InternetExplorer. Somehow it changes its mime-type. I checked for mime-types on that website in IIS and they are correct:
For potx :application/vnd.openxmlformats-officedocument.presentationml.template
For pptx: application/vnd.openxmlformats-officedocument.presentationml.presentation
So where could be the problem? It happens on all browsers, just on chrome and firefox it does not change its extension but it shows that it is wrong mime-type, and on IE it changes to .potx so it becomes unreadable. Any hints, where i could i start digging for problem?
Was finally able to solve this and the thing you need to do is install this on the server:
http://www.microsoft.com/en-us/download/confirmation.aspx?id=3
Some explanation on the problem was found here:
http://www.epinova.no/blog/lars-oyvind-bodahl/dates/2009/12/office-2007-files-behaves-as-compressed-folder/

Microsoft.WindowsAzure.targets "The specified path, file name,or both are too long"

I am trying to publish a project to Windows Azure but get an error in the generated Microsoft.WindowsAzure.targets file related to length of paths and file names. How can I determine which is the problematic path or filename. The error relates to the "" tag in the generated file
Thanks
Martin
Already an older post - did you check this post?
Path too long error when building a windows azure service
This might reslove your issue.
Since this was still a problem for me years later and the above doesn't apply to Azure SDK v2.8, I was able to solve it by creating a symbolic link to my projects folder. Open up the command prompt as an administrator and run this:
mklink /D C:\Dev C:\Users\danzo\Source\Workspaces
Obviously you can change "C:\Dev" to whatever you want it to be and you'll need to change the longer path above to the root directory of your soltions/projects folder.

Resources