/webdesigner/community?hl=en
This content is likely not relevant anymore. Try searching or browse recent questions.
-
8/8/18
Create new file from template error : could not open a new file from the template 1 Recommended Answer 8 Replies 0 Me Too's
1 Recommended Answer
$0 Recommended Answers
Last edited 9/19/18
here is the browser.log :
E0808 15:05:16 ../../shell/cef_objects/ninja_cef_client.cc:1233] directory create: Internal shell error - createDirectory for path: (null)/Google Web Designer/templates/
E0808 15:05:16 ../../shell/cef_objects/ninja_cef_client.cc:1233] The custom templates folder could not be created: Error: Internal shell error - createDirectory for path: (null)/Google Web Designer/templates/
E0808 15:05:48 ../../shell/cef_objects/ninja_cef_client.cc:1233] directoryRead: Internal shell error - directoryRead for path: (null)/Google Web Designer/templates/
E0808 15:05:48 ../../shell/cef_objects/ninja_cef_client.cc:1233] Metadata file cannot be read.: Error: Internal shell error - directoryRead for path: (null)/Google Web Designer/templates/
E0808 15:08:23 ../../shell/cef_objects/ninja_cef_client.cc:1233] directory create: Internal shell error - createDirectory for path: (null)/Google Web Designer/components
E0808 15:08:23 ../../shell/cef_objects/ninja_cef_client.cc:1233] New Document From Template Error: Error: Internal shell error - createDirectory for path: (null)/Google Web Designer/components

What should I do to solve this problem?
All Replies (8)
8/9/18
Hi Nabil,

Sorry you run into this issue. It looks like this is a permission issue. Can you please check if you have write access to the following folders?

/usr/local/google/home/<username>/Documents/Google Web Designer/
/usr/local/google/home/<username>/.local/share/google-web-designer

Can you please try setting write permission to those folders and try again?

Thanks,
San
Google Web Designer team
marked this as an answer
Helpful?
-
8/11/18
Thank you San, however I don't have the folders that you specified. I have the following folders :

~$ ls -l /home/nabil/Documents/
drwxrwxr-x 3 nabil nabil 4096 Aug 11 08:51 Google Web Designer

~$ ls -l /home/nabil/.local/share/google-web-designer/
total 16
drwxrwxr-x 4 nabil nabil 4096 Aug  1 16:18 data
drwxrwxr-x 2 nabil nabil 4096 Aug  8 15:53 logs
drwxrwxr-x 2 nabil nabil 4096 Aug  8 15:24 preferences
drwxrwxr-x 5 nabil nabil 4096 Aug 11 08:42 webapp

I use ubuntu server 14.04, which I ssh -X from sled11.
Please note that I can create a new file without a problem.
For example: ~$ ls Documents/Google\ Web\ Designer/test
googbase_min.js        gwdpagedeck_style.css     gwd_workspace.json
gwdgooglead_min.js     gwdpage_min.js            test_groups_archive
gwdgooglead_style.css  gwdpage_style.css         test.html
gwdpagedeck_min.js     gwd_webcomponents_min.js
Please note also that as stated in my first post I can't create it from a template.
For example: ~$ ls Documents/Google\ Web\ Designer/demopsc728x90_315/
assets                  gwd-events-support.1.0.js  thumbnail.svg
demopsc728x90_315.html  gwd_workspace.json
Please advise
marked this as an answer
Helpful?
8/13/18
Can you please create a new folder called "templates" in /home/<username>/Documents/Google Web Designer/ and set the write permission to it then try creating a new file from a template again?

Thanks,
San
Google Web Designer team
marked this as an answer
Helpful?
-
8/13/18
When you say set the write permission, do you mean chown to another user other than the username? (the folder is created by the <username>)
In GWD, I went to the file menu then 'New from template', but still the same issue.
Please provide a step by step details, thank you.
marked this as an answer
Helpful?
8/13/18
Do you happen to run Google Web Designer on a Pixel Chromebook?  We just tried it on a Pixel Chromebook and ran into the same issue with user Documents returned as null. Our engineer will look into this. We don't have a workaround to this issue yet. If your system configuration is different, please let us know the details.

Thanks,
San
Google Web Designer team
marked this as an answer
Helpful?
-
8/16/18
I use ubuntu 14.04, please let me know when you will find a solution.
marked this as an answer
Helpful?
-
8/18/18
It's working!
Thank you
marked this as an answer
Helpful?
This question is locked and replying has been disabled.
Discard post? You will lose what you have written so far.
Write a reply
10 characters required
Failed to attach file, click here to try again.
Discard post?
You will lose what you have written so far.
Personal information found

We found the following personal information in your message:

This information will be visible to anyone who visits or subscribes to notifications for this post. Are you sure you want to continue?

A problem occurred. Please try again.
Create Reply
Edit Reply
Delete post?
This will remove the reply from the Answers section.
Notifications are off
Your notifications are currently off and you won't receive subscription updates. To turn them on, go to Notifications preferences on your Profile page.
Report abuse
Google takes abuse of its services very seriously. We're committed to dealing with such abuse according to the laws in your country of residence. When you submit a report, we'll investigate it and take the appropriate action. We'll get back to you only if we require additional details or have more information to share.

Go to the Legal Help page to request content changes for legal reasons.

Reported post for abuse
Unable to send report.
This reply is no longer available.
/webdesigner/threads
false
//accounts.google.com/ServiceLogin
You'll receive email notifications for new posts at
Unable to delete question.
Unable to update me-too.
Unable to update subscription.
You have been unsubscribed
Deleted
Unable to delete reply.
Removed from Answers
Marked as Recommended Answer
Removed recommendation
Undo
Unable to update reply.
Unable to update vote.
Thank you. Your response was recorded.
Unable to undo vote.
Thank you. This reply will now display in the answers section.
Link copied
Locked
Unlocked
Unable to lock
Unable to unlock
Pinned
Unpinned
Unable to pin
Unable to unpin
Marked
Unmarked
Unable to mark
Reported as off topic
/webdesigner/profile/0?hl=en-GB