Status Update
Comments
[Deleted User] <[Deleted User]> #2
emulator: WARNING: Host CPU is missing the following feature(s) required for x86 emulation: SSSE3
what is the CPU in your computer?
The new emulator system requirements are posted here:
ra...@google.com <ra...@google.com> #3
It does not have SSSE3, but I don't see it as a requirement in the Android emulator specs.
iv...@olioex.com <iv...@olioex.com> #4
ra...@google.com <ra...@google.com> #5
I have an AMD Phenom II x6 1090T running Ubuntu 14.04 64 bit, which doesn't support SSSE3. API 22 x86 works. API 23 x86 doesn't work (i.e. emulator starts but its screen keeps black).
[Deleted User] <[Deleted User]> #6
I have an AMD Phenom II X6 1055T running Ubuntu 14.04 64 bit. API 22 x86 works. API 23 x86 doesn't work (i.e. emulator starts but its screen keeps black).
This is happening for Platform N too.
iv...@olioex.com <iv...@olioex.com> #7
AMD Phenom(tm) II X4 945 Processor it has no ssse3. Running Arch Linux. API 23 gives a black screen. The arm images do work in a paint drying kind of way. API 23 doesn't work on Genymotion either
Older images work pretty good.
st...@ostec.de <st...@ostec.de> #8
OS: slackware 64 14.1 on AMD Phenom II x6 1090T
Android SDK: 23.0.5, 24.3.4 or 24.4.1 , Note 25.1.3 does not work as it depends from QT5.
From command line I could get screen with text "ANDROID" and that's all.
Last test was "/opt/android/sdk_r24.4.1/tools/emulator64-x86 -avd api21.v501-cpu.x86 -debug-all -noaudio -nocache" and result is similar as first post plus repeating errors:
emulator: Error while connecting to socket '
[Deleted User] <[Deleted User]> #9
ma...@gmail.com <ma...@gmail.com> #10
CPU - Athlon x64 X2 3600+.
RAM: 8GB
OS: Manjaro x64
All x86 images work with same SSSSE3 warning, except API 23.
Just black screen in AVD emulator.
Genymotion API 23 does work here on same computer.
ma...@gmail.com <ma...@gmail.com> #11
[Deleted User] <[Deleted User]> #12
CPU: AMD Phenom II X4 955 Processor
RAM: 8 GB
OS: Linux Fedora 24 x86_64
All Android images woks with SSSE3 warning, except API 23 x86 and API 24 x86.
API 22 x86 and below works fine. API 23 x86 and API 24 x86 doesn't work (emulator
starts but it screens keeps black.
cp...@gmail.com <cp...@gmail.com> #13
- AMD Athlon II X2 250 Processor
- Linux Fedora 22 x64
- API 23 and 24
ma...@gmail.com <ma...@gmail.com> #14
To be specific:
API 22 x86 image works fine.
API 23+ x86 images give black screen.
- AMD Phenom II X4 955 Processor
- RAM: 8GB
- OS: Arch-based (Antergos)
bo...@gmail.com <bo...@gmail.com> #15
CPU : AMD A4-3330MX APU with Radeon(tm) HD Graphics
OS : Ubuntu 17.04
y-...@grandsight.biz <y-...@grandsight.biz> #16
Android Studio 2.3.3
[Deleted User] <[Deleted User]> #17
emulator: WARNING: Host CPU is missing the following feature(s) required for x86 emulation: SSSE3
It is certainly true, the Phenom II doesn't support SSSE3. But this wasn't required previously.
Also tried
/usr/local/toolset/android-sdk/tools/emulator -avd 'Nexus_5X_API_26' -no-accel
But that failed to start at all. I might be prepared to buy an AMD FX processor with SSSE3 if that would solve the problem. The only practical solution for now is to use a real phone for testing (AMD emulation is too slow).
is...@sparta.cl <is...@sparta.cl> #18
[Deleted User] <[Deleted User]> #19
ra...@google.com <ra...@google.com> #20
jc...@solarcasa.energy <jc...@solarcasa.energy> #21
xa...@gmail.com <xa...@gmail.com> #22
li...@gmail.com <li...@gmail.com> #23
for all the other developers that can not run emulator on your current AMD processors: thanks for your patience and for bringing this issue up.
I have talked to the tool chain people and they told me they have to require SSSE3. simply disabling SSSE3 is not doable as the tool chain
is already assuming SSSE3 support. (I tried and it still uses SSSE3 instructions anyway).
what we can do going forward is to make sure we can run emulator on the main line AMD processors on linux at least.
(HAXM only works with intel chips on mac/windows)
ns...@greenpeace.org <ns...@greenpeace.org> #24
Beforewords, sorry for me being mean, I really don't want to tell you how to do your job. But you're working in damn Google, and this issue is α) far from being a rocket science, and β) hangs on you for a year! Do something!
a....@gmail.com <a....@gmail.com> #25
it sucks that emulator does not work on certain AMD CPUs, for such a long time: many other devs are feeling the same frustration too.
changing android tool-chain is not in my control. but will definitely keep experimenting other options, and any suggestion is always welcomed.
I did talk to someone who knows a few more thing on this topic, we might try to do something else, such as just emulate the SSSE3-no idea how easy/hard that will be,
but will keep you posted.
yg...@caylym.com <yg...@caylym.com> #26
>
>I did talk to someone who knows a few more thing on this topic, we might try to do something else, such as just emulate the SSSE3-no idea how easy/hard that will be,
Then reassign the issue to ones who are in control of the toolchain. You're sure can go as far as emulating SSSE3, but unless you already have something offhand to make this working, it's a bunch of work, you have to emulate 16 instructions. And this is even more hilarious considering how easy the direct solution — simply don't use SSSE3.
mi...@agilecreatives.net <mi...@agilecreatives.net> #27
I already got complains from other teams (including toolchain team) that emulator image is holding them back;
The decision to update tool chain is more based on physical hardware, not based on emulator. going forward, emulation
is likely the only solution we have left with.(performance could take a hit on certain CPUs, but restricting SSSE3 usage will slow down
other CPUs that do have SSSE3).
(btw, assign this emulator specific bug to other team will keep it in unresolved longer)
ps...@gmail.com <ps...@gmail.com> #28
Many tools, emulators and visualization solutions are supporting CPUs without SSSE3. Without performance issues. Please provide a fix.
(You may use SSSE3 when it is supported by a specific CPU)
ml...@e2f.com <ml...@e2f.com> #29
It would be good if the product supports CPU's in common use over the previous five or so years, but not necessarily those introduced further back than that. The low level of activity on this thread probably reflects the level of interest and priority the problem should be given. At least I know know where things stand.
I do think some official statement on required hardware should be provided on release. Otherwise dev's just waste their time trying to figure out what's going on. Personally this is just a hobby. I could walk away from Android development until I felt comfortable with the way forward, which for me was an easy US$100 CPU upgrade to AMD FX.
I guess if some large customer is interested in this issue they could offer to pay, or scream loudly. Google also might want to consider the goodwill and popularity of the platform amongst relatively impoverish developers tapping away at home on old desktops (who might make recommendations to less impoverished workplaces).
mi...@agilecreatives.net <mi...@agilecreatives.net> #30
> If Google wants to restrict the required hardware that's up to them.
I do agree in general, but I'm annoyed by the fact I don't see in this thread any links to a bugreport which would say that Android Emulator doesn't work on certain CPUs on Windows for the same SSSE3 reason. Just show me one, and be sure, I'd be calmed down.
mu...@google.com <mu...@google.com> #31
mi...@gmail.com <mi...@gmail.com> #32
iv...@olioex.com <iv...@olioex.com> #33
I do not understand the reasoning of forcing SSSE either. As #26 pointed out, direct way of solving the issue is not to assume SSSE. However, I do remember argument from toolchain team is "Since all x86 hardware android is currently running on has this, we can assume this to reduce maintenance effort". That does not make much sense to me. In real life, android on X86 hardware seems to be rare. And this type of reason can be used in future again and again.
Perhaps as user, you can open a bug to toolchain team asking for their help?
Back to the emulator side, we do not have any update so far. Emulating all these instructions might be a solution but we do not have time to cover this. Whether we should go this way is under discussion. SSSE is SIMD which aims performance gain in certain application. Emulating is slow as we all see in running arm image on x86.
mi...@agilecreatives.net <mi...@agilecreatives.net> #34
fa...@gmail.com <fa...@gmail.com> #35
ar...@pc.partners <ar...@pc.partners> #36
ji...@gmail.com <ji...@gmail.com> #37
jc...@solarcasa.energy <jc...@solarcasa.energy> #38
The FX series CPUs use socket AM3+ which is to some extends backwards compatible to socket AM3 and that socket was used by some Phenom II era systems / mainboards. Check the (online) CPU compatibility list for your mainboard whether you have CPU upgrade options with your current board. But you can be unlucky and either have an older socket AM2+ board or a board that simply doesn't support FX series processors.
Would also check whether it's even worth upgrading an old 2008 processor to an almost equally old FX processor - it's probably the cheapest option but I would have a general look at used systems or used CPU+mainboard combinations, there are a lot out there that are more recent than the FX6300 and they are not that much more expensive.
br...@gmail.com <br...@gmail.com> #39
As such, if I buy now a FX-6300 or better AM3+ CPU and find out that with Android Studio 3.4 I need at least Ryzen or only works on Intel ... just because the people responsible with these tools don't care to deprecate it in a version or 2, with actually announcing this at least on the blog or during IO ... what do I do then ? Why are Android Tools devs copying Apple's way of "deprecating" and "improving" the tools we use ?
re...@gmail.com <re...@gmail.com> #40
I have to agree at least we should disclose such kind of information to user.
al...@cazisoft.com <al...@cazisoft.com> #41
How can we at this moment get a promise from the OS team that :
1. they will not change things like this (forcing users to upgrade hardware to use generic Android tools) without at least 1-2 years of prior notice
2. publish these kind of changes on Android Docs or Google Android Blog ... or anywhere that users have time to adjust
?
lu...@wetlandssake.com <lu...@wetlandssake.com> #42
It's not like it's a major expense (compared to a new PC).
I can easily see how this could have been overlooked by google and most corporate development shops. How many of them would still be using old AMD CPU's? The problem is probably cropping up now because PC upgrades are far less worthwhile than they were 10 years ago. So many small/sole outfits have probably not bothered upgrading in years.
If these changes are truly driven by improvements to the Android OS, then I don't think the OS team should be overly constrained by having to support really old development hardware. But they should endeavour to signal changes in advance so that poorer development shops can start resourcing the support/funds for new hardware. If would also be good if they were clearer on what is/isn't going to be fixed.
mi...@agilecreatives.net <mi...@agilecreatives.net> #43
a....@gmail.com <a....@gmail.com> #44
bi...@gmail.com <bi...@gmail.com> #45
kr...@remerge.io <kr...@remerge.io> #46
al...@gmail.com <al...@gmail.com> #47
Not all x86 hardware has SSSE3 CPU features, once I used a Acer x86 based tablet to run OpenSSL and found some open source library assumes SSSE3 existed in all x86 configuration and caused crash problem.
[Deleted User] <[Deleted User]> #48
Same Problem here. I think i tried everything i could, but nothing seems to do the job. Could we have an answer or a way to solve this from the google team ?
ma...@gmail.com <ma...@gmail.com> #49
[Deleted User] <[Deleted User]> #50
2. Google is doing nothing to resolve the situation.
3. Very often this problem is solved by creating a new file, transferring the source code to it and working with the new file.
For Google employees:
I wonder if your management is not ashamed to do nothing on this issue for several years ?
aa...@caredesk.org <aa...@caredesk.org> #51
ro...@aboitizpower.com <ro...@aboitizpower.com> #52
mi...@gmail.com <mi...@gmail.com> #53
the same basic complaint...my stuff suddenly stopped working after it had
worked fine for months or years. It is very clear Google has no appetite to
fix the problem.
On Wed, Aug 17, 2022, 3:57 PM <buganizer-system@google.com> wrote:
mi...@gmail.com <mi...@gmail.com> #54
I don't have a solution, but I was able to implement
bm...@gmail.com <bm...@gmail.com> #55
ma...@condenast.com <ma...@condenast.com> #56
[Deleted User] <[Deleted User]> #57
function duplicateSheetWithProtections() {
var currentDate = Utilities.formatDate(new Date(), "GMT", "dd/MM/yy"); //format for date
var ss = SpreadsheetApp.getActiveSpreadsheet();
sheet = ss.getSheetByName('EComm VCB Master'); // detailing which sheet to copy
sheet2 = sheet.copyTo(ss).setName(currentDate);
I have this code saved in another sheet that I originally used to create the code so I wasn't messing around in a live document and that one is still working fine
[Deleted User] <[Deleted User]> #58
This might help someone although not related to charts per se: I just ran into a similar problem where all calls regarding sheets under the active spreadsheet would throw this error even though the script had not changed for a long time.
Examples of Apps Script function calls that would throw ”Service Spreadsheets failed while accessing document with id ...”:
SpreadsheetApp.getActiveSpreadsheet().getActiveSheet()
SpreadsheetApp.getActiveSpreadsheet().getSheets()
SpreadsheetApp.getActiveSpreadsheet().getNumSheets()
The fix to this was about as obscure as the error. Tracing back the file's version history, I found out that an XLOOKUP
formula was added in one cell. There were no formula errors or anything hinting at this formula causing problems and it produced good output. Still, this one cell was actually making all sheet operations from Apps Script side throw. After clearing this cell the script worked again.
XLOOKUP
is a new function that was just added to Google Sheets a few months ago, I'm wondering if it could still have some bugs. Inserting the XLOOKUP
formula again reproduces the buggy behavior and I might investigate this a bit more to build a minimal reproducible example sheet that I could share.
ph...@gmail.com <ph...@gmail.com> #59
also, similar issue, code was working yesterday and now it's not. I get the feeling that in most cases described here, people worked with charts, in my case the same exception was thrown on the last line of the code fragment below where I'm using setValue(). Anyhoo, my script was binded to a spreadsheet and originally I was using getActiveSpreadsheet and getActiveSheet (lines 2 and 3 of the snip below) . However, once I changed to openByID and getSheetByName (lines 4 and 5), it started working ¯\_(ツ)_/¯.
const insertTableForNewMonth = function(monthName) {
// const ss = SpreadsheetApp.getActiveSpreadsheet() // Not working
// const sheet = ss.getActiveSheet(); // Not working
const ss = SpreadsheetApp.openById('########')
const sheet = ss.getSheetByName('##');
const startColumn = sheet.getLastColumn() + 2;
const monthNameRange = sheet.getRange(1, startColumn, 1, 4);
monthNameRange
.merge()
.setValue(getCurrentMonthName()) // exception was thrown here
Hope this helps someone.
Cheers
[Deleted User] <[Deleted User]> #60
Same issue here with this code
''' var newDataSourceSheetName = year+"_"+ month +"_Data_Source"; var templateSheet = activeSpreadsheet.getSheetByName("Template_Data_Source"); templateSheet.copyTo(activeSpreadsheet).setName(newDataSourceSheetName); var dataSourceNewSheet = activeSpreadsheet.getSheetByName(newDataSourceSheetName); ''' This line explores with the same error. No changes in months and was always working
templateSheet.copyTo(activeSpreadsheet).setName(newDataSourceSheetName);
sa...@melhorenvio.com <sa...@melhorenvio.com> #61
The solution presented in
jp...@google.com <jp...@google.com>
en...@foundernest.com <en...@foundernest.com> #62
kk...@nyle.com <kk...@nyle.com> #63
ja...@gmail.com <ja...@gmail.com> #64
la...@gmail.com <la...@gmail.com> #65
sr...@gmail.com <sr...@gmail.com> #66
te...@detechcentral.com <te...@detechcentral.com> #67
ERROR: ScriptError: Exception: Service Spreadsheets failed while accessing document with id:
The data in the google sheets have not changed, and the code has not changed.
So the question really is what did Google change?
cn...@usaid.gov <cn...@usaid.gov> #68
ci...@gmail.com <ci...@gmail.com> #69
le...@gmail.com <le...@gmail.com> #70
Exception: Service Slides failed while accessing document with id XXXXXXXXXXXXXXXXX.
ti...@hotmail.com <ti...@hotmail.com> #71
me...@geotab.com <me...@geotab.com> #72
This is not exclusive to Sheets; I get this same error while trying to insert (Page.insertImage(blobSource)
) or replace (PageElement.asImage().replace(blobSource)
) an image in a Slides document.
It started randomly and only happens in a specific document; I recreated the doc and container-bound script from scratch and the new version has no issue.
In fact, I tried changing the scripts to each edit the other doc (using SlidesApp.openById(id)
), and the old script successfully edits the new doc, while the new script fails to edit the old doc. Whatever is causing the issue must be within the doc itself, not the script.
ma...@jlborgo.com.au <ma...@jlborgo.com.au> #73
[Deleted User] <[Deleted User]> #74
ku...@coefficient.io <ku...@coefficient.io> #75
an...@coefficient.io <an...@coefficient.io> #76
Same issue, specifically when calling .getAs("image/png")
on a Combo chart. If I switch it to an Area chart there's no issue.
Would be great to see this issue addressed. Thanks!
to...@gmail.com <to...@gmail.com> #77
Exactly the same as previous comment, error happens on a Combo chart
that has a left and right axis, fine with a Line chart. Charts created using GAS.
ya...@embibe.com <ya...@embibe.com> #78
sh...@paypay-corp.co.jp <sh...@paypay-corp.co.jp> #79
ma...@schibsted.com <ma...@schibsted.com> #80
The sheet has line, column, area and combo charts, stacked and not stacked, created from scratch from the same data. Some use both axis, some use only left. None of them have checked "Aggregate". The script tries to change the title of the charts.
...
let updatedChart = chart
.modify()
.setOption("title", new_title)
.build()
sheet.updateChart(updatedChart); // throws error
All types of line, area and column charts work.
All of the combo charts throws the error "Service Spreadsheets failed while accessing document with id 13ZgoU1XledWP_LrMFdMvpjQyOsZ4au1H4J3NQhMqV3I"
wa...@gmail.com <wa...@gmail.com> #81
sheet.updateChart(updatedChart);
then throws error "Service Spreadsheets failed while accessing document with id xxx"
Description
A short description of the issue:
SpreadsheetApp.getActive().getSheetByName().getCharts().getAs() returns this error: "Service Spreadsheets failed while accessing document with id", but only when the line chart has a right vertical axis. If the line chart has a left vertical axis, the script runs as expected.
A small code sample that reliably reproduces the issue. The sample should run as-is or with minimal setup, without external dependencies.
function getAsBug() {
var sheet = SpreadsheetApp.getActive().getSheetByName('bug'); var chartImage = sheet.getCharts()[0].getAs('image/png'); // Chart 0 should be a line chart with a left vertical axis, no error will be returned. var chartImage = sheet.getCharts()[1].getAs('image/png'); // Chart 1 should be a line chart with a right vertical axis, an error will be returned.
}
What steps will reproduce the problem?
What is the expected output? What do you see instead? If you see error messages, please provide them.
I expect chartImage to hold a copy of the chart selected with .getAs(). Instead, I get this error message: "Service Spreadsheets failed while accessing document with id 1WdpJynTfTaWnee49Syd1T9ZcGu7y7zGzFuZbDgkRmLA"