Open marhar opened 11 years ago
@scottlininger : another report on this. :/ any idea?
If somebody can point me to a log file, etc, I'm happy to help troubleshoot...
Hey Mark,
We had another user with this problem. He was able to manually install it by unzipping the RBZ and putting its contents into his plugins folder. Unfortunately, we haven't yet gotten to the bottom of the issue. RBZs install fine on the macs we have here at our office.
Here's the thread.
https://github.com/SketchUp/sketchup-stl/issues/55
Please let us know if you have any other clues as to what may be different between your system and "vanilla" mac setups.
If you open the Ruby Console - what is the output of:
Sketchup.find_support_file('Plugins')
and
File.exist? Sketchup.find_support_file('Plugins')
?
And what is the output of ENV.each { |k,v| puts "#{k}\t#{v}" };nil
?
I have the same issue. Results for me for those commands are...
Sketchup.find_support_file('Plugins') /Library/Application Support/Google SketchUp 8/SketchUp/Plugins
and
true
and
PATH /usr/bin:/bin:/usr/sbin:/sbin SHELL /bin/zsh SSH_AUTH_SOCK /tmp/launch-9ku57k/Listeners Apple_Ubiquity_Message /tmp/launch-kXsjMI/Apple_Ubiquity_Message Apple_PubSub_Socket_Render /tmp/launch-9nY6ED/Render DISPLAY /tmp/launch-lipWOi/org.macosforge.xquartz:0 __CF_USER_TEXT_ENCODING 0x1F5:0:0 COMMAND_MODE unix2003 IG_ROOT /Applications/Google SketchUp 8/SketchUp.app/Contents/Resources nil
I'm pretty sure on my machine it's because of needing su permissions to write to /Library/Application Support/Google SketchUp 8/SketchUp/Plugins
The result of your ENV constant is a bit odd. several keys I´d expect to be there is missing.
Mine, on a fresh 10.8 system:
PATH /usr/bin:/bin:/usr/sbin:/sbin
TMPDIR /var/folders/h9/wsl4nlt90dq2kx5qr3x9hmph0000gn/T/
SHELL /bin/bash
HOME /Users/thomas
USER thomas
LOGNAME thomas
SSH_AUTH_SOCK /tmp/launch-pPO6Aj/Listeners
Apple_Ubiquity_Message /tmp/launch-lQyYHZ/Apple_Ubiquity_Message
Apple_PubSub_Socket_Render /tmp/launch-m2j9Nv/Render
COMMAND_MODE unix2003
__CF_USER_TEXT_ENCODING 0x1F5:0:0
IG_ROOT /Applications/Google SketchUp 8/SketchUp.app/Contents/Resources
You have no temp, user or home variable in your list. I think I ran into another user that had that - when a plugin I wrote tried to write to the temp folder - but was unable because there was no temp environment variable.
I think the user was logged as admin - or root.
What are you logged in as?
There we go - found the thread: the environment variables wasn´t set properly when the user was running as root.
http://sketchucation.com/forums/viewtopic.php?f=323&t=18992&start=300#p425813
Is this the case here as well?
Ah, most excellent! The plugins directory was owned by root/admin with perms of 755.
I chmodded to 777, and it installed with no problem.
chmodded back to 755, file/import.../stl importer works perfectly now.
Thanks for the help! Mark
On 3/21/13 8:25 AM, Thomas Thomassen wrote:
If you open the Ruby Console - what is the output of:
Sketchup.find_support_file('Plugins') /Library/Application Support/Google SketchUp 8/SketchUp/Plugins
File.exist? Sketchup.find_support_file('Plugins') true
ENV.each { |k,v| puts "#{k}\t#{v}" };nil PATH /usr/bin:/bin:/usr/sbin:/sbin TMPDIR /var/folders/xp/ljbn7_mx20zc3714bjwpytcm0002yx/T/ SHELL /bin/bash HOME /Users/mh USER mh LOGNAME mh SSH_AUTH_SOCK /tmp/launch-eoPBY2/Listeners Apple_Ubiquity_Message /tmp/launch-iTRBxz/Apple_Ubiquity_Message Apple_PubSub_Socket_Render /tmp/launch-yUsri0/Render DISPLAY /tmp/launch-wRnhx0/org.macosforge.xquartz:0 COMMAND_MODE unix2003 __CF_USER_TEXT_ENCODING 0xBDD:0:0 IG_ROOT /Applications/Google SketchUp 8/SketchUp.app/Contents/Resources nil
mh@maru /Library/Application Support/Google SketchUp 8/SketchUp --> ls -l '/Library/Application Support/Google SketchUp 8/SketchUp' total 24 drwxr-xr-x 4 root admin 136 Nov 26 2011 Components drwxr-xr-x 20 root admin 680 Nov 26 2011 Materials drwxr-xr-x 3 root admin 102 Nov 26 2011 Resources -rwxrwxr-x 1 root admin 5615 Dec 4 10:55 SketchUp.dat drwxr-xr-x 10 root admin 340 Mar 20 15:47 Styles -rwxrwxr-x 1 root admin 443 Dec 4 10:56 glcards.dat drwxr-xr-x 8 root admin 272 Mar 20 15:47 plugins drwxr-xr-x 18 root admin 612 Mar 20 15:47 tools
So, you where logged in as root? and root had permissions of 755?
Or where you logged in as another user?
You said you set the permissions back to 755 - and after that all these environment variables was populated?
On 3/27/13 8:40 AM, Thomas Thomassen wrote:
So, you where logged in as root? and root had permissions of 755?
Or where you logged in as another user?
You said you set the permissions back to 755 - and after that all these environment variables was populated?
— Reply to this email directly or view it on GitHub https://github.com/SketchUp/sketchup-stl/issues/69#issuecomment-15530947.
I think this was the timeline:
I'm guessing the install works for most users, since Sketchup was also installed by the same user. Adding a "permissions problem on plugin dir /..." message would I think be sufficient.
Thanks again for the help! Mark
@scottlininger - something you lot are able to reproduce now with this new information?
I've filed it as an internal bug. This is great that we think we know the root cause. We'll investigate further.
I installed Sketchup as non-admin user, also encountered this problem installing the plugin (same user). Changing permissions on the plug-in folder described above (giving my non-admin user read/write permissions) did the trick. Thanks to all for the insights!
@metasea What is your system specifications?
iMac 27" with 2.66 GHz i5, running 10.8.3 (12D78). Radeon HD 4850 512 MB graphics.
Is there any update on this? We're having similar issues on a couple of Macs (both 10.8) here with the latest version of SketchUp 8.
Have you checked the folder permissions?
@scottlininger, any internal updates on this issue?
On 7/15/13 10:28 AM, Thomas Thomassen wrote:
Have you checked the folder permissions?
— Reply to this email directly or view it on GitHub https://github.com/SketchUp/sketchup-stl/issues/69#issuecomment-20986861.
Specifically, it seems this case:
is the one that causes the problem, since the plugins folder can only be written to by the admin account.
Unable to install this Extension. SketchUp was unable to install the Extension you have chosen for some unknown reason. Consult your Extension's documentation for additional help.
Mac OSX 10.8.2 SketchUp 8.0.16845 sketchup-stl-1.0.0.rbz
Any pointers for troubleshooting appreciated!